skysight-inc/HackerNews huggingface dataset:
I wrote a library for animating image backgrounds on the web using After Effects style filters and transitions:

https://aeroheim.github.io/midori/

It's basically a post-processing pipeline implemented with Three.js and WebGL using a few shaders that I wrote.

I created it primarily because I needed it for one of my current projects, so the use case is fairly niche and mostly only relevant for stuff like creative coding. It was my first dive into computer graphics however, and I learned a TON about computer graphics in general and had a lot of fun writing the library.
Related! Housewife-knowledge: In a curious particular case a manufacturer lowered the volume of a dish soap from 600ml to 500ml. After a shit-storm the producer resumed offering the old 600ml plastic bottle, but not without written '+20% free' on his plastic bottles.
It's on the same Wikipedia page under Example[0]

[0]: https://en.wikipedia.org/wiki/Braess's_paradox#Example
It's better than most 140 character articles that plague news sites these days
There is a chart: https://www.nature.com/articles/s42003-021-02019-y/figures/2

Humans are above rats in this chart in both yawn duration and brain mass.

Rats are above dogs though.
LeetCode Remove Nth Node from End of List
This has nothing to do with hacking/software/technology.
Like discovering Bill Cosby was a POS. :'(
I was unable to buy one, due to the organisations insistence on using paypal as a payment processor - and having been "banned" from using paypal, for refusing to send "identity documents".

Unless that situation has changed, it seems at odds with the open source, do not track me, ethos.
Increasingly, workers expect pandemic workplace adaptations to stick
I built a tool to calculate how much alcohol you need for alcohol you need at a party based on the BAC formula.

I guess it's not very useful.
it does not do the same. it does few things that react does and thats it. what an ignorant comment
paperoni is awesome!

I once implemented the crossref api in rust in order to search for publications from the command line https://github.com/mattsse/crossref-rs
> If you judge technologies based on a single anecdote you've heard on the internet

I don't

> I don't know what bone you have to pick with any technology other than React

I don't have a bone to pick.

> but achieving declarative DOM manipulation pre-React was as simple as

Yes, it was possibly achievable. Did anyone achieve it? You claimed that evertyhing React has was done better before React. When asked about examples, you answered first with Svelte (which appeared after React), and then with disparate technologies which are are at best esoteric and at worst extremely complex.

> That was definitely easier than learning React, and by building a component structure with vanilla javascript functions, you could have all the functionality and expressiveness of JSX without a compile step or external libraries.

You probably could, but did you? Oh, wait, you didn't. The hot tech du jour when React was released were knockout.js and backbone.js.

And, once again, the etirety of "learning React" took less than a day. And "building a component structure using vanilla javascript functions" was literally a three-page tutorial if you wanted it.

Compare this to Rx that you gave as an example of something "better than React". The author of the original Rx.Net sat by the author of RxJava, and it still took the author of RxJava several months to understand the concept. Lens, another of your examples, is esoteric even in Haskell.

But sure, "everything was done better before React came along" :-\

> React shaked things up in a good way

Indeed, it did.

Funnily enough, you start with "Transpiling, hooks and components have all been done (and done better) before React came along" and then continue with "there's no single 'React but better and made earlier'."
Using cloudflare breaks tor.
It never worked. But served its purpose well to sell HTTP2 which made it easier to sell HTTP3. People seem to always forget Google is an advertising company.
If you like this, wait until you look at the "acceptable levels of rat feces" the FDA sets for many us "foods"

https://www.independent.co.uk/news/uk/home-news/food-standar...
"Chip shortage" means a lot more than just microcontrollers. The ripple effects of it have affected all sorts of analog semiconductors and integrated circuits. I only do small quantities of electronics but I've seen the lead times on bog standard parts like relay controllers and op amps shoot up and stocks are starting to dwindle.
There is, in fact, a current court case around a Sheriff's deputy accused of planting methamphetamine related paraphenelia in over 162 cases. See the ongoing Zachary Wester affair.

That's falsely implicating 162 innocents of a felonius crime, tarnishing their future prospects for life, which reulted in plea bargains being accepted because the accused could not get sufficient legal representation to make the prospect of a successful legal defense doable, and a completely innocent of the charge individual didn't want to run the risk of amplification of sentence just for exercising a civil right. Besides being an example of why plea bargains make a mockery of our legal system; "just take this lesser charge that we don't have to really work at proving it so we can be done with it, because think of how bad the sentence will be if you make us work at it", it demonstrates that even procedures as they are now are such that an officer/prosecutor have and are willing to exploit their capability to manufacture suffering for those they serve for personal gain.

The System is getting shocked by it's vulnerability to the untrustworthy agent currently. So I wouldn't discount some fundamental reassessments of procedure down the road.
Open sourced a minifier/beautifer/pastebin so that it can be self hosted.

With on focus on performance with minimalist UX

https://gisteam.herokuapp.com/
https://github.com/hirako2000/gisteam
so he's a massive attention seeking fraud..
I built XState because I wanted a way for developers to integrate state machines & statecharts into web applications in a way that could be automatically visualized: https://github.com/davidkpiano/xstate
Carey currently sits on the board of... a blank-check vehicle, Omnichannel Acquisition Corp.

I thought "SPAC" was a terrible idiom. "Blank-check vehicle" is certainly worse.
Can meditating make you more productive? Scientists think so
Meditation has been scientifically proven to modify your brain. Do it to become more productive.
Been down this route - thermals and acoustics are a nightmare.

Unless you really can't spare the space for a full tower its better not to
Compared to two weeks(!!!) by sea, which was the norm back then, two days sounds really impressive.
Think of travel consumption in terms of kms, not cars, trains or whatnot. Waiting in a traffic jam is not traveling.

You can own 20 houses, not renting them out. People just wouldn't, because it's pointless. You could also own 97 iphones, or 400 pairs of jeans. Latent demand just that people would buy more if it was cheaper. That's normal, not broken.

IDk what "artificially look like there's induced demand happening" means. If we could we would travel many more KMs. 1000s of times more, if teleporting existed and made travel instantaneous. The cost of travel, is largely time.
Those ships still have to enter the harbor and then have to be unloaded. The Benjamin Franklin has a 52 foot draft and stacks containers 10 high [1]. That means deeper dredging and bigger cranes. She called on LA, Oakland and Seattle but now transits from Asia to Europe via the Suez Canal.

Who pays for this dredging and these cranes? The localities. It's difficult to defray these costs with shipping fees. American President Lines pulled their headquarters from Oakland to Phoenix when Oakland did that. [2]

[1] https://en.wikipedia.org/wiki/CMA_CGM_Benjamin_Franklin

[2] https://www.prlog.org/10551489-apl-phoenix-headquarters-relo...
> And yet it's true. 2/3rds of pasture is not suitable for agriculture and would be worthless without ruminants.

So it's worthless with ruminants. So what? Why not just leave it alone/fallow?

Also, how much water does it take to grow those ruminants and also the animals they feed?
Did anyone manage to get Pip to install the provided requirements.txt? I tried on the debian:buster-slim, ubuntu:latest and python:3 Docker images but annoy, numpy and/or scipy fail to compile.
Those corporate boxes go pretty small.

https://www.amazon.com/Lenovo-ThinkCentre-M93-i7-4765T-Win10...

To me NUCs have sort of the same problem as their brethren in this space, you end up with too much money into them.

In terms of cheap desktops, I've settled into older Thinkpads for now. Tolerably quiet (although I do consider fanless desktops now and again), cheap, they appear to be the kings of OS compatibility, as fixable as a laptop can be, built-in battery backup for the shitty power we have 'round these parts.

At some point I'll have to modernize, but find it hard to spend much on computers. That's what employers/clients are for.
Perhaps, if it were said unsarcastically.

Unfortunately that wasn't the case here. They didn't actually think they missed anything.

Looking at the rest of the comments in this thread though, I don't see many that fit their narrative at all. So in reality, they missed the boat entirely.
I'm not sure why, but DP seems to be on the way out. Anecdotally, I haven't seen DP ports on displays or laptops bought in the last year or two.
ECU – Eating more fruit and vegetables linked to less stress – study
https://github.com/simplelocalize/simplelocalize-cli

Uploading & downloading translations
I have built series of canvas libraries using Typescript, render engine, layout and CSS support.

The story is that I have spent decade writing a JavaScript UI library, I was hired during early days of jQuery movement, pivoted several times (html + images, html + css, flat html + css, canvas, canvas + webgl) however end up with unused tools and UI kit, few years later, during 2017 I have decided to rewrite some tools using Typescript and release as GPL2 (which I should change to LGPL2) and changed career.
Totally but they would also know I was just speaking of the US. I don’t have any frame of reference for someone who says they are African.
Ten minutes away is not ten miles away. In fact, there are multiple grocery stores within 3-4 miles of the location you chose.

https://www.google.be/maps/search/grocery+store/@32.3769377,...
Yes, you're obliged to consent - you don't necessarily have to help them, but you're also prohibited to obstruct or delay them, especially destroy or hide the evidence. A lawful warrant overrides any expectations of privacy. Furthermore, there's no "self-defence" concept in any computer-related statutes; protecting a life can be an excuse for certain otherwise illegal actions, but protecting your data or devices is not; a "hack-back" is a crime on its own even if it would run on a criminal's computer, but in the Cellebrite case it's presumed that when law enforcement runs the data collection, they have full legal rights to access that device and data.

For a physical world analogy, let's suppose that someone gets shot, and you run away with the gun used and throw it into a river. Even if you'd be acquitted for the shooting itself (due to e.g. self-defence, or perhaps someone else did that shooting), you can be convicted for throwing the gun into the river as tampering with physical evidence, as hiding that gun is a crime by itself if the jury assumes that you did it so that it wouldn't get used as evidence. That applies even if there wasn't any warrant yet, as the investigation hadn't yet started; it's sufficient that you would have expected that this might get used as evidence.
I've been having decision paralysis about setting up my own personal website. I would personally like to avoid some bloated frameworks or tools like Wordpress, Squarespace, Wix, etc. I'm also not really sure I even want a blog. I'd like to have a collection of articles that aren't just written once and then moved on from but rather are updated and refined over time. I've looked at static website generators, but don't really feel they're that simple.

So I've been looking to just do things from scratch. Maybe it would be nice to write articles in markdown and have a custom static website generator that takes these and publishes them. It could be a fun F# or Racket project. The idea of simple HTML and CSS being loaded for maximum speed and old school web with a little something for interactive graphs and other things is something that sits well for me.

Although, I just took on a new Elixir job, and something with Liveview and Livebook for interactivity could be really cool.

Anyone else struggle with this and end up coming up with a solution or finding one?
That also explains why they could just drop the location "Ontario" into TFA without qualifying it by its location in San Bernardino County.
I was dissatisfied with the available fixture/test data generation tooling for Obection.js and Knex, so I ported factory_bot from Ruby to Typescript. I’ve called it Fixture Riveter [0]. It’s more verbose than the other similar tools (factory_girl for javascript, Fishery for typescript), but it’s extremely versatile and supports factory_bot’s full api.

[0]: https://github.com/Batterii/fixture-riveter
Didn't credit a janitor who lived miles away in California, and gave it instead to an MBA and her entire team in the Midwest?

I suspect that Flamin Hot Cheetos were released early on, and after Montanez' pitch for Sabrositas, they involved him with the design of the existing product even more. But taking claim for inventing Flamin Hot Cheetos is quite simply fraud, especially in the face of overwhelming evidence against those claims.
Those are measuring crime within a city, not comparing cities. Though I think you're going to have a hard time separating 'walkability', and other features of old European cities.
I think you should justify text. The article you linked is old and hasn't caught up to the development in browsers. It is correct about text being ugly if justified without hyphens but most browsers nowadays support hyphens [0] and have for some time. For a good example of justified text together with hyphens, see: https://www.gwern.net/Holy-wars.

[0]: https://caniuse.com/css-hyphens
Pretty neat. Is the Music app written somewhere ?

Also question to the room, is DI really worth it ? All that complexity to switch out sub-classes . A clean design but in practice it just feels like too much work for the benefit.
- Visual Tech Trees (React, javascript) [0]

- JQ Live View (VS Code extension) [1]

Both used to create my game, a pokemon-ish roguelite (React, typescript) [2]

--
Links:

[0]: https://ldd.github.io/react-tech-tree/ [0-source]: https://github.com/ldd/react-tech-tree

[1]: https://github.com/ldd/vscode-jq

[2]: https://www.necromancers-gift.com/
Cheers, yes that was the idea!

I looked for a while to find something similar. I'm sure it must already be implemented out there, but to answer the question in the original post about why build something, I couldn't find an easily downloadable "tool" for doing it when I looked (2019) and it was simple enough to be "fun".
https://github.com/cnizzardini/cakephp-swagger-bake which builds out openapi from your cakephp applications meta data. One of many projects I took up to occupy myself during covid lockdowns.

I wasn't satisfied with writing the YAML or annotations manually.
Call me crazy, but I feel like at this point everybody should have their own SSL certificates & MITM proxy setups so they can easily see all traffic from all their devices and apps, and filter appropriately or extract data, etc. Both for outbound & inbound traffic.

This should be made easier and more accessible for everyone. We should be empowering the people and putting control back in people's hands.
Maus by Art Spiegelman
https://archive.org/details/MAUSBook1ASurvivorsTaleArtSpiegelman

https://archive.org/details/MAUSBook2AndHereMyTroublesBeganArtSpiegelman
It doesn't need interest from market makers. You want GUSD, you can buy it from Gemini at 1:1. You want to sell, they redeem at 1:1. You don't need market makers unless you want to get ripped off.
Out of curiosity, how did your LCP in Chrome timeline [1] look like before/after inlining? If LCP is lower with inlining, then the approach works beyond doubt!

1: LCP – Largest Contentful Paint – a core web vital metric representing time for the visible viewport to be stable. This is better than the old "document ready" because document ready is technical, hundred other things like reflows can happen after document ready. Whereas LCP represents from a user perspective when the viewport is ready. When fonts create reflows, the viewport becomes unstable and LCP will be higher. Lower LCP = Better user-perceived loading time. https://web.dev/lcp/
I'd say "it depends". Having a tiny laptop-type thermal solution (high TDP chip, low mass heatsink, tiny whiny fan) would indeed just be as annoying as a laptop, but there are plenty of configurations where it works just fine. The larger NUC-style devices (generally marketed as "this one has room for a 2.5" drive) with low power chips when used for light basic work don't really consume enough power to get hot.

This is even something you can make completely passive; check out some of those ODMs in China that make passively cooled M and U series Intel PCs. Generally marketed as industrial PCs and software routers, they do have 18W parts that work fine in 35°C ambient for years and have plenty of performance. It really depends on what you use it for. (Qotom is one of them, there are a lot of white-label manufacturers, but when they make the boards it's pretty close to the 'actual' ODM instead of just another re-badge)
I made Smocker[1]. It's a mock server we use extensively with my coworkers because we develop Go HTTP "micro" services and most of the tests we write are integration/component tests. We needed a way to mock the external services to test our service in an isolated way. Before that we used http-mock-server but it came short in a lot of ways: JSON config (very bad when you need to configure it to return JSON payloads), bad performances (our tests made it crash routinely), big memory and space footprint (a bit annoying for our CI and for our test machines). So we made Smocker to fix these issues and add more useful features. It does less than http-mock-server but is more focused IMO.

[1]: https://smocker.dev
Metered entrances help a bit (I've seen the difference in traffic when they went from being installed to operaring in santa clara county), but you would have to run them very aggressively (long cycles) to eliminate congestion, and people would not be happy to wait for that long.

When the line from the meters spills onto the adjancement roadway, some people will take alternate routes, but mostly people want to get onto the freeway because it's the best route, even if it's congested.
Maybe it require some training but on my phone I find this example low readable, my speed of reading is slowed and my cognitive overhead/eye movements are increased.
To me it's the kind of UX thing that look good if you don't look at it well but once you have to it's just plain inferior.
The consequences are pathetic. I'd speculate they wouldn't be going to the roughest of prisons either.
I read Spelunky book from this series and found it extremely well written and very insightful in areas of game design. I've actually play the game after I've read the book.
> I haven't open sourced them because I doubt anyone would care about those old MS-DOS/TP7

Maybe not a huge audience but I bet the people needing them would be hugely grateful. I use a couple old tools that I gladly contribute ( money ) to because despite being old they work great and there is no alternative.
This is really cool! I’ve never seen a slideshow look that nice
> P.S. The company has quite an interesting list of buyers: https://www.exporthub.com/shenzhen-thinkwell-digital-co-ltd-... . Including one "eternal friend" of US who has recently been caught red handed stingraying the state department, and the whitehouse.

Link is to a motorcycle mp3 player. What am I missing?
Declaration of Canadian Physicians for Science and Truth
Yes logically there should be. The more skilled you are at something in general the less energy you expend in it. This includes socializing.

Without data it can't be truly known. But such data is likely garbage as it's very hard to quantify good social skills.

However if you remain impartial the intuition and logic is inescapable.

The less skilled you are at socializing the more energy you spend on deploying that skill. This means a good portion of introverts are introverted because they are bad at socializing.

I mean if you think about it what I said is utterly and completely obvious. It's this oversupply of "the benefites of being an introvert" articles that is making people think otherwise.

This stuff is BS science. The introvert extrovert classification is an arbitrary division. Doing science on this division is like doing an experiment on "do people with long hair make better leaders?"
Ask HN: What's your thoughts about distributed rate limiter
Recently I studied rate limiter with special interest with distributed client side rate limiter to achieve no spof horizontal scale.
However would like to get more insight for example youtube doorman deployment outside google maybe.
FYI the shade balls aren't primarily about conserving water; that's just a side-benefit. There's a Veritasium video about it.

The shade balls are primarily to prevent the water's antibacterial chemicals from interacting with sunlight and becoming poisonous.

This became necessary after some recent upstream changes in the process.
Has anyone read Jordan Mechner's Prince of Persia journal? Was thinking of checking it out: https://www.amazon.com/gp/product/0578627310?pf_rd_r=HMREHVA...
Wow I love it!
In case anyone else is wondering what an IMSI-Catcher is, let me save you a google:

"An international mobile subscriber identity-catcher, or IMSI-catcher, is a telephone eavesdropping device used for intercepting mobile phone traffic and tracking location data of mobile phone users."

1 - https://en.wikipedia.org/wiki/IMSI-catcher
Can’t you turn that off?
>You probably could, but did you? Oh, wait, you didn't. The hot tech du jour when React was released were knockout.js and backbone.js.

I did. It's kind of funny to hear that you cannot even entertain the idea that people actually did declarative UIs before React with plain old vanilla JS, because that was my bread and butter back in the day. That's precisely how I did frontend until React came along, and so did many others. We sometimes sprinkled in some CoffeeScript to get nicer function syntax, before () => {} and babel existed, but it wasn't necessary if we wanted to avoid a compile step.

Just because some frameworks were prevalent at the time didn't mean that everyone used them. Large portion of seasoned developers rejected all frameworks and still do today. They had shot themselves in the foot with MVC/"trying to do everything" -frameworks enough times to learn that not all answers come from a single framework that encompasses your whole application. This is nothing new or esoteric, and still today a good lesson to learn for new developers. Instead many people continue to use "the standard" framework, fighting against it when it fails to fit the domain logic of their app, and waiting for a new framework to arrive to save the day. Frameworks have gotten much more flexible about this today, but React wasn't anything revolutionary on the framework side of things.

It's not as simple as "React bad/React good". A framework/library can be good in certain aspects and bad in others. I loved React when it came out, because of the VDOM. Wasn't a fan of everything else though, and especially not a fan of how it was used as "the new standard framework to tightly couple your application into". This is not a contradiction, it's just non black-and-white thinking.