skysight-inc/HackerNews huggingface dataset:
Cool rant, news at 11.

I would say the flaws lie deeper with PHP but that would remotely imply there is a "fix" for webdev, which is the last thing i'm gonna say.(though wasm looks pretty interesting, but at that point you're better off spinning a desktop application, which would be faster and more secure)
35mpg == 15 km/L

Wow, that's not good... A large Sedan from early 2000s driven well can easily beat that..

I regularly hear about small cars doing 70 mpg == 30km/L

My Toyota Yaris is not fuel efficient at 130 km/h on the highway, but it still manages 40mpg = 17 km/L

Of course, it's not SUV.. I basically decided against buy a big car until EVs are ready -- they are now, but that doesn't mean I should throw out my existing car :)
As someone who at the time had a Pentium processor at 100Mhz and 32Mb of RAM, I feel confident enough to say that Winamp was lean as hell.

Random anecdote: I had a SNES emulator at the time that was fast enough to play "Zelda: Link to the Past" but only as long as I did it without sound. Winamp was fast enough that I could keep it playing in the background without slowing down the game.
If that community likes these ideas, that is not anybody else's business. Unless you believe there exists undeniable truth + an algorithm to find it, you have to accept that people can each decide what they believe is true - even [what you and I perceive as] hurtful and misguided ideas such as the above.
It’s not easy because of all the bureaucracies and inefficiencies at large companies. Most employees at AWS are probably barely inspired compared to the people working at Vercel who can also ship much faster. Nothing new here just what PG has been saying for years.
https://archive.md/8hDJt
I agree with your comparison with Boderlands, But I also think XIII[1] was a pioneer of the said effects in a game(or at least from the ones I've played in early 2000s).

Arcane had similar impression on me as 'Spider-Man: Into the Spider-Verse' did in terms of animation quality perhaps Arcane is even more visually appealing considering a personal bias for steam-punk(Arcane-punk seems to be a term now); Sound Engineering is great too.

[1] https://en.wikipedia.org/wiki/XIII_(2003_video_game)
How much expertise do you need though? The minute you start installing plugins you're putting in a way to hack the site. WordPress core is pretty well examined for bugs at this point but the ecosystem is rife with security issues
In addition to what you described, we can also add a bit more logic: "Only exclude if it is blocked by more than X subscribed lists" or "Only exclude if it is blocked by both Rachel Maddow and Ben Shapiro".
The Temporal TypeScript SDK
CockroachDB is pretty close. I wouldn't say I'd go fully into production in one day but the failover behavior is Raft based and easy to understand. I could prototype an enterprise cluster in a few hours without descending into the arcane bowels of secret pg_incantations and "I think this is set up right but not sure if it will actually recover" clunky shit.
Ask HN: How to find investors for a Herpes Vaccine?
I'm trying to see if there are any organisations or trusts that would donate funds purely based on a philanthropist nature if convinced. E.g SoftBank

Speaking to activist on a subreddit advocating for a cure to HSV-1/HSV-2. The virus has been linked to Alzheimer's and other degenerative diseases and is one of the leading causes of suicide in the young because of stigma.

There seems to be promising work being done in the field namely by Dr. Keith Jerome and Fred Hutch and a Chinese Pharmaceutical company BD Gene.

But it seems the group needs lobbying power and the pharmaceuticals also need funding, how best would you think to address this issue?
Wordpress is the modern dat Geocities.
Without providing alternatives, this is simply a rant.

Of course, CMS system like WordPress has all sorts of problems. However, it makes one person or a small team can start and test business idea easily. Not everyone wants to start a business with hiring someone to build a custom website even before they know what the website should look like.

The fact that it is hard to fix a WordPress website with loads of plugins is because it is expensive to hire someone to write a custom website with all the functions of the plugins.
... because serious businesses build their website for free?
Ask HN: Hoooooow to Hire Marketing Team?
hey friends, I've been working in marketing for like 9 years and right now marketing hiring became really tough:

- less skilled candidates
- less candidates who wants to work in a fast-moving startup
- strong competition for talent

I feel like I almost need to run after good candidate and send him/her gifts Is it the same on your end?
No idea. Could have been a visitor to North Korea who took photos on the tour (North Korea now does sort-of permit photos in certain areas to tourists).
IIRC Flatpak actually deduplicates all platform runtime and apps on file level automatically due to the backing storage being an ostree. The same thing also gives flatpak efficient diff updates for apps and platform runtime.
This trope he ends with, of guys wives tolerating their crypto mining interests sheds more light than it initially seems. I get periodic incomings from non-tech female friends asking me if their male partner is being taken in by a pyramid scheme. There are lots of women in tech and this isn't about that, it's about the relationship to risk.

My acquaintences with PhDs in a variety of fields all say crypto is bullshit, whereas my entrepreneur friends have mining rigs because buying electricity for a few pennies and converting it to a token people will pay 3-5x for is a no-brainer.

Smart people are essentially defined as being able to see, navigate, and align with what they understand or percieve as the real factor of power that drives the outcome in a situation. This is distinct from people who are intelligent, who are also almost defined by their aptitude for handling abstraction and reasoning about mixed counterfactuals. They're different perspectives. The reason I think my friends wives ask me about whether crypto is bullshit is because they are the smart-indexed part of the partnership, where they see all the seedy, dodgy stuff about crypto and react to it with disgust because it's an inferior distraction to what they know to be true about the world.

The intelligence indexed side of the partnership recognizes that only from shit do all things grow, and so they seek out and take the risk. It's not an intrinsic male/female thing, it's an orientation to risk as a result of their indexing.

I'm not in crypto (other than making an NFT of an experimental musical track to test it, priced too high for anyone to buy), because I didn't see it as on the list of viable paths to financial independence for me (even though it has been for hundreds of thousands of others), and it just looked like a giant deferred tax liability that will psychologically turn crypto holders into fugitives from their own governments and societies. A decade of cultivating what used to be only hacker-level paranoia has knock-on effects. Cryptocurrencies are the seed of an ideology that has analogies and precedents, but it is still forming, I think.

The people who think crypto is bullshit believe it because the smartest thing for them to do is to signal their alignment to establishment values, as if you had any apprehension of how vast and powerful the establishment was, you would too, so the thinking goes. When the rewards are greater than your perceived risk/returns on that, you buy a mining rig. I'm sure there is a straightforward game theory model to describe it.

More people believe it's useful than don't, but the people who signal they don't have the political power, so it's a question of how to bet on who prevails, and the volatility in the interim, imo.
Wow, I can see where Neill Blomkamp got his inspiration for Elysium :)
> Basic as it is, it is worth reminding folks reading this and similar articles that Python, even with type annotations, does not have a compile pass

This is literally false, Python does have a compilation phase, and with its default settings it saves the compiled results for reuse.

You probably mean a static analysis phase, and that's...up to your workflow. If you are using mypy, pyright/pylance, or a other typechecker, it does have a static type analysis phase, that's what those are. And if you are getting typw feedback in an IDE, that's probably what you are doing.

> PyCharm is great, and it highlights many typing errors in code as you write them. But it gives up very easily in the presence of any indirection at all (many basic decorators which don't change function signatures, for example, are enough to cause it to stop trying to type check decorated functions at all)

Most of Python's major typecheckers (not sure about PyCharm’s custom one, definitely Pyright/Pylance and mypy) have configurable levels of strictness. They can definitely be configured not to give up easily.

But a decorator is a function, and if it is untyped rather than expressing how it transforms the wrapped function signature—even if it does not, in fact, transform the function signature—then it will probably have an Any type (none of typecheckers are great at inference) and either defeat or fail typechecking, depending on strictness settings.

> Rather, this is a reminder, especially for new python programmers: don't assume that type annotations give you anything (except documentation, which it's on you to keep accurate) for free.

Annotations alone don't give you anything (and aren't free, as you have to crrate them), but static analysis definitely gives you something.
“… when ROI is a heavy-tailed distribution … then severely tamping down on the right side of the curve to improve legibility is very costly and can cost you the majority of your potential returns.”
Probably use Nest over Express if you want something complete like Rails. Express is pretty barebones, its not much more than a wrapper for Node’s http module.
These are all great, but the one I find myself using constantly on source code and other text-oriented files is The Silver Searcher (ag)[1]. It’s not as useful for file _names_, but most of the time, I care about contents and this searches, in realtime, at an incredible speed. Add the -l flag to list only filenames and you’ve got an amazing code location tool.

[1] https://github.com/ggreer/the_silver_searcher
Yeah it's pretty dark. The scrolling appears to be time-based. After you spend x milliseconds on a section, it'll let you move onto the next with any scroll event.
> Which, I’m sorry to say, makes it pretty hard to shut up about it.

True. It is hard to ignore. (It will get harder for most). The ones that are very dangerous and must be avoided are the crypto people hyping only a single coin to do everything, despite its well documented drawbacks and red flags.

As the author of the article mentions further, they are also in these investments themselves.

> My personal opinion: currently overvalued, but cryptocurrencies have some merit in medium-large p2p payments, online gaming, and digital asset trading

Exactly. Some cryptocurrencies are more better for fast low fee P2P payments than others, and most often easily conflate 'Bitcoin' to mean 'all' cryptocurrencies, and that every single one of them is environmentally bad. which is completely false.

Cryptocurrencies in general are here to stay. Some will be used for several use-cases and some will just wither away.
I am confused how this works. I would assume `SECONDS` would just be a shell variable and it was first assigned `0` and then it should stay same, why did it keep counting the seconds?

> SECONDS
bash: SECONDS: command not found
> SECONDS=0; sleep 5; echo $SECONDS;
5
> echo "Your command completed after $SECONDS seconds";
Your command completed after 41 seconds
> echo "Your command completed after $SECONDS seconds";
Your command completed after 51 seconds
> echo "Your command completed after $SECONDS seconds";
Your command completed after 53 seconds
The Merlion
lol i thought we were trying to stop pipelines and reduce carbon emissions?
How else should we discuss the emails and cold calls? Perhaps in terms of how sincere and how hard-working they are or how much effort the recruiters we don't want to talk to put into reaching us? Or should we simply remain silent, tolerating this behavior stoically because being displeased is a cruel status display?

I increasingly don't reply, but I'm also aware that greeting outreach with silence is a far cry from kindness. I have trouble believing that this is really the best option. I'm really not sure what to tell my juniors - nobody really wants to hear that being bothered frequently by self-interested parties is just part of the burden of privilege.
Why ? Valuations are generally high these days and Big tech has the cash. If there’s a crash all valuations go down and they’re even more acquirable.

The acquisition doesn’t have to happen at these valuations for the investors to make money. See - Liquidation preferences
It may not be great, but it did get us to our Seed Round. There are a lot of low cost contractors you can hire to maintain and customize a Wordpress site. This was a boon for us when we were very small. As we grew we upgraded to Hubspot, but Wordpress is what got us started.
uBlock Origin, Firefox Multi-Account Containers, Temporary Containers, Containerise, and Tree Style Tabs for me. I also quite like Tab Session Manager, and get a decent amount of use out of QR Code Generator.

uBlock Origin is an ad blocker, and script blocker, with per-site rules. I use it in "Advanced User" mode.

Multi-Account Containers allows isolating sites to containers, all cookies, local storage, etc, are kept within that container only (but all addons work across all containers). So my HN container saves my HN login, my Stackexchange container saves my stackexchange login, etc.

Temporary containers makes sites that aren't assigned to a permanent container get assigned to a temporary container that gets deleted shortly after they're closed. So anything that doesn't have a permanent assignment gets something akin to a Private Browsing tab.

Containerize allows wildcard matching for domains to permanent containers. So sites with logins that have a bunch of subdomains & redirects can match all of them to the same container. EG *.jetbrains.com opens in a container for Jetbrains, so their redirect-to-login flow works.

Tree-style tabs provides better organization of things I'm working on than flat tabs without a hierarchy.

Tab Session Manager lets me save and load entire sessions of tabs at once, or just single windows from a session, and give those sessions names.

QR Code Generator is handy for exactly what the name says.
Sure! Basically, the idea is that rather than requests in JavaScript going through an API, each user connection is maintained by a lightweight process on the server (which Elixir can scale easily), and then interactions with the page are pushed as a diff via WebSockets and then magically merged into the DOM. Interactive pages, no JavaScript required. I'm still pretty new to it, but after learning the ropes it's seeming very productive, and most importantly, fun.

https://dockyard.com/blog/2018/12/12/phoenix-liveview-intera...
Huh, never knew about $SECONDS.
That gives you immutability on that instance, but the benefits are diminished since the language is not immutable-first. If it were, I’d expect f2.setY(30) to return a new immutable instance of Foo with x == 20 and y == 30. As it stands, there’s not a reliable way to get “an immutable Foo instance with everything the same except for y, which has this new value.”

For a class with two properties, you can make a new constructor that initializes both, though it’s a bit unwieldy. It becomes unworkable when you have five or ten properties. A more data-oriented approach would be to use a key/value map, and have standard functions to “update” map members by returning new maps with the “updated” value(s). Those libraries probably exist for C++, but you have to enforce their use, whereas languages that are built around those concepts provide stronger guarantees from the outset.
Remove write access so the web user can’t write files and run a cron job.

this is what I run overnight personally:
```
wp plugin update-all;
wp theme update --all;
wp core update;
wp language core update;
wp language plugin update --all;
wp language theme update --all;
wp core update-db --network;
```
I wish Spotify would separate the player from the service. As a service, Spotify is amazing. As a player, I would like to use something like Winamp.
It's a hard problem because people's individual psychologies are so different; more concretely, what works for one person might not for another.

Here's what worked for me. In terms of thoughts, I rejected the conditioning (maybe even the instinct) that I need to have lots of friends, or even a close friend, to be happy. I still dress nice and take care of myself, but I'm happier with solitary activities like reading, where I can still learn from other people. I also don't hesitate to do typical group activities by myself sometimes (e.g. grabbing a nice dinner or going to the movies). I also do see people at martial arts, though it's less of a direct friendship with them.

For a population instead of an individual, I would generally recommend being okay with being solitary and staying connected by working on projects or anything related to physical fitness without expecting friendships. I think it's hard to have a best friend for most people as you get older, anyways; I believe it's better for a significant other to be a close confidant in that sense.
In someway this reminds me of the wonderful 1940s and 1950s artwork by Chelsey K. Bonestell.

https://en.wikipedia.org/wiki/Chesley_Bonestell
Same way as after StackOverflow.

A combination of thorough logging throughout the codebase at various levels of detail, one off print statements, then once it's narrowed down to a specific chunk of code reading it intently and finally if that doesn't work fire up a debugger and step through it.
That's because they used primitives, no? In that case also look at some other options: https://www.reddit.com/r/java/comments/r0b9o9/a_tale_of_java.... While I still think Koloboke in general is the fastest, I do agree that the difference between it and fastutil will not be very big.

Or was this for Object/boxed primitives, too?
There's a thriving ecosystem these days around the ASGI standard for building concurrent web applications in Python - it came out of the Django project originally but Starlette and FastAPI are the most widely used implementations of it.
This truck had no logos.
>
Type erasure gets blamed for too much. Want to see some languages that make generics sing? Take a look at SML, Haskell, or Rust. What's another interesting characteristic that unites them? They erase all types. Not just generic type parameters like Java does. Everything is type erased. And they do just fine.

You're both right and wrong.

You're technically correct, which we all know is the best kind of correct, but you're wrong because you're leaving out very important Gestalt context. (EDIT: Actually, you vaguely touch on it, but you focus on arrays and Lists, which I think misses the point)

You're correct because Rust and Haskell, et al, have fully erased types (well... Rust has trait objects, which are implemented with vtables- does that count?), and nobody really complains about it. So, in a very specifically-literal sense, you're right that it's not the type-erasure that is the (sole) problem in Java.

The real problem is that Java is BIG on *runtime reflection*. You can't "reflect" on types that don't exist, so every time you do use reflection (which is approximately 100% of Java projects) and generics (which is also approximately 100% of Java projects), you're in for nonsense. Between generics, reflection, and null, I literally feel my blood pressure rise when I think about dealing with Java, and even Kotlin.

Where Java leans on runtime reflection, Haskell and Rust cannot and do not. And, therefore, the communities have found compile-time (or just tedious write-time) solutions to things like (de)serialization.

So, type erasure isn't the problem, and runtime reflection isn't a problem. But you can't do both and expect anything good to come of it.
Restormer: Efficient Transformer for High-Resolution Image Restoration
My understanding is that, by volume, most people using Linux "in anger" (whose needs mostly dictate the direction of Linux development) aren't the SREs maintaining living systems for years at a time; rather, they're the DevOps people with constant streams of greenfield projects, involving half-baked third-party components, that in turn need all sorts of random bleeding-edge dependencies.
I don’t think a market-based solution pricing in externalities would be the approach of choice for any Soviet dictator… What would be your proposal for how to avoid >2 degrees C?
Show HN: PostureNet: Real Time Posture Monitoring on Your  iMac
A real time posture monitoring  Mac App:
1. Reminds you when you slouch;
2. Privacy centric: train your own posture model and none of your data leaves your computer;
3. All computing on local machine, use it even without internet;
4. Currently doesn't support external camera (coming soon);
5. Works great if the camera is in a fixed position: e.g.,  iMac

Free to download on  Mac AppStore, please let me know what you think.
You're the only service apart of AWS and DO I'm aware of where I can host WordPress and static sites using the same account and dashboard. It's not the sexiest tech stack for Startups, but a WP plugin for static site generation and docker deploys (pro plan) would be killer.

There are some neat static site generator plugins out there (simplystatic, wp2static) which can be used in localwp, an easy to use and popular local dev environment from wpengine.

People could start with a static site for free/cheap, deployed from their local env to Render, and then move to docker when their sites and dynamic needs grow. This could make it a lot easier for peeps building their audience with blogs and digital products before they get into SaaS.
I think the point would be to let these things happen in smaller, isolated communities. You can wall them off from the rest of the world, but still let them share whatever they want.

I guess the benefit would be the ability to get updates from your crazy family members while not having to see everything they post?

Whether or not this is a net positive for the world is a different question.
Didn't have time to write about it, but I've used a GCProfiler as well. With a few exceptions, all the 5 implementations are comparable.
The Shoplifting Capital of the USA
London Breed and all of her cronies need to step down or face RICO charges for aiding/abetting widespread retail theft. They are essentially running a west coast mafia now.
This is a good one. The classic example would be: "why didn't you tell me $x"

When you told them $x in the first line of an email you sent to them 2 times.
Yeah their first faq q says this, even this linked blog page is WP lol.
Financial Planning Tools for Startup Employees
OP probably talking about Phoenix's "LiveView" (https://www.phoenixframework.org/ check the video about it).

Phoenix LiveView is a framework where it keeps websocket open with the client and renders DOM changes server side and passes it to the client [0]. Thus with fully server side development without any JS you can have almost full SPA experience.

[0] Have no experience with it, and only read about it some time ago, so don't judge me on the details, but the gist of the "LiveView" idea should be like that.
I think you can get pretty far by having good conventions and not over-thinking it, but remember also that this is all about being pragmatic instead of taking a one-size-fits-all approach — if you found yourself doing a _ton_ of highly-granular requests, that might be a clue that you're not in the sweet spot and an API client might be a better fit.