skysight-inc/HackerNews huggingface dataset:
I love this way of thinking about web application development, and we take a similar approach on my team at work.

There are problems though.

> When a form is "editable" … I just have that plus button add a query param and use HTTP GET to get a new version of the form with that field added.

I've done this kind of thing before, but the sticking point for me was how this interacted with the history API. If a user visits a form, adds a new field with a GET request, and then uses the browser's back button, where do they end up? Where would they expect to be?

Instead of taking this approach, in some places we've generated a template on the server which matches the inputs that should exist in the form and then used a DOMParser to parse the template from a string.

Here's an example.

;(function() {
var parser = new DOMParser();
var ol = document.getElementById(#{theId});

function addRow() {
var doc = parser.parseFromString(#{blankDateInput}, 'text/html');
var li = document.createElement('li');
var dateInput = doc.querySelector('.date-input');

li.appendChild(dateInput);
ol.appendChild(li);
dateInput.querySelector('input').focus();
}

document.getElementById(#{addRow}).addEventListener('click', addRow);
})();

---

An alternative approach is to just generate more inputs than the user will actually need, and only show the first one. The "button" to add a new field is actually a label connected to a hidden checkbox, and you use a combination of sibling selectors and the :checked pseudo-selector in CSS to show the next input.

You can use the state of each field's adjacent checkbox to decide whether or not the value in the field should be parsed on the server.
One exception does not make the theory untrue. Consider sworn enemies like China and the US still trading with each other despite their soured relationship.

And seeing how Russia has been severely weakened by Putin’s imperialist tendencies, other countries would be wary of repeating the same thing.
I got one of the Fossil Hybrid Watches. Looks like a normal watch (that was important for me) but has an eInk display in the background. I've disabled lots of notifications but it still keeps track of various data without a hassle and relays important messages to the watch face.

Battery lifetime on a charge is... I don't know, maybe I charge it once a week or every 10 days or something like that?! It's not so often that I find myself doing it conciously, I just sometimes take it of at night and leave it to charge.

Was around 150 € which I found okay.
How do I improve? If you could give me some tips, that would be great.
Tesla is very good at gaming the EPA's rating system. In testing by Edmunds[0], every single Tesla has underperformed its range estimates in real-world conditions. Meanwhile, 52 of 53 non-Teslas have outperformed their EPA estimates, often by incredible amounts (20% for the BMW iX xDrive50, 59% for the Porsche Taycan, 36% for the Mini Cooper SE).

0. https://www.edmunds.com/car-news/electric-car-range-and-cons...
Web version of Threads will be available in the next few days
I just read science, not the unsubstantiated metaphysical claims of meditation traditions.

Playing the fantasy of an "omniscient oracle" often seems to be the ego trip of popular meditation gurus today. They are all quite scientifically illiterate.
> replaced by newcomers, sometimes imported from the other side of the world

Depending on how you view it that bit is actually wrong. You are specifically NOT ALLOWED to ship bees between e.g. Europe and North America. I think you can send sperm and maybe eggs (not sure if that's possible).
I would learn a lot, but I really want a printed version! Maybe I can convince the local print shop do to it double sided and bind it?
I love seeing work in this space! I made a collaborative whiteboard app for the reMarkable a while ago: https://github.com/fenollp/reMarkable-tools

It is packaged in the homebrew Toltec repo https://toltec-dev.org/
Author of `wherr` here. The idea is to minimise the effort needed to debug programs that already make use of the `?` operator, when the underlying error doesn't already contain file and line information, where the error is possibly coming from code of of your own control. Sure, you could catch such errors and return a refined error type, but that's more code, which might be what you want in the end, but this is for the code that currently makes use of the simple `?` operator.

Once the file and line where the error is returned has been identified (using `wherr`), it might be a good idea, like you suggest, to introduce a new error type or refine the existing one. But maybe the error is fine as it is, and you just needed to know where it came from, to fix some bug, that when fixed, will cause the error to not happen any longer. Basically, when feeling confident an error cannot happen, some people use `.unwrap()` or `.expect()`, which *do* reveal the file and line, but then the program also panics. This might be what you want, but if you're developing a library, you probably most times want to let the "user" (the developer using the library) decide what course of action to take, based on the error. However, that "user" might not be at all interested in the file and line information of where the error originates from in your library source code, since the user might not be capable of fixing the possible bug anyway. But maybe the user wants to file a bug report, and then it would be helpful to know the file and line information.

> What about all the other places where everything went right? Wanna log those, too? :)

If everything went right, the Ok(val) is simply returned as Ok(val) unchanged, see `wherr/src/lib.rs`:
match result {
Ok(val) => Ok(val),
...
> ushered in modern global prosperity.

Until shit hits the fan, then it's a free for all

https://www.rfi.fr/en/europe/20200402-china-coronavirus-face...
I'm sure you can config your beard to be gray in your 20s dude, you've managed with emacs for 3-years!
>or that dairy farms don't care about their cows

If you go by the conditions the majority of milk cows in industrialized nations live under that is a very obvious conclusion.
Bees "steal" nectar (sugar) AND pollen (protein) :-)
Exactly. You've been dead much longer than you've been alive, so death is no mystery :)
Probably the word "Maid" in the description triggered the AI ban bot
Very difficult. My previous company had to file for bankruptcy in March and I've been unemployed since then.

I've 16 years of experience in IT and applied to 27 jobs since March. 17 rejections, 8 didn't respond. With the 2 remaining jobs I'm in the final stage but there are other candidates and the companies can choose the best one, I don't have high hopes.

I feel horrible, it's really taxing on me, the waiting time between interviews, checking emails hoping to get an update just to get notified that people are on vacation, everything is delayed. The companies have multiple candidates to choose from, they are not in a hurry.
> If you don't come from a math-y background and are trying to "get into serious mathematics", the only way to do this is to get a PhD.

> I realize this might come across as gatekeeping, but the reality is that each subfield of math (or any scientific discipline) has its own set of tactics for approaching problems, which have been developed over the years by the people actually in the trenches.

There are degrees of seriousness. Sure, even a very good foundation is not enough to do novel work in say, algebraic geometry (but then again, sometimes it is enough to make progress in combinatorics) - but the strongest undergrads are still much closer to freshly minted PhDs than they are to laymen.

Mathematical maturity is the first and hardest step; after that, people will know where to go for the folklore if they want it.
https://youtube.com/playlist?list=PL2FF649D0C4407B30
I have my Emacs setup to never split anything and just use the whole frame (window). That also goes for things like helm. Instead of splitting I prefer to open multiple frames and let my window manager, manage them. This really improved my workflow.
Apple internal emails from the period have been released as court evidence. They didn't make the decision to create a native SDK until 4 months after the iPhone was released (by this time there was already jailbreak sideloading available) https://nitter.net/techemails/status/1400270458608664577

In another email it seems like before the device was released the need for a native SDK was considered only as a stopgap until HSDPA was fast enough to make web apps good enough (the original iPhone was EDGE only) https://www.techemails.com/p/scott-forstall-emails-steve-job...
Yes, cattle depends on us, but we definitely don't depend on them; that was the point I was trying to make.
You can pretty much make the same argument about Docker. Docker abstracts away runc, runc abstract away cgroup.

I don't think calling it abstraction is correct. OneDiffusion is designed to be opinionated and help users to run diffusion models easily. It includes best practice, default options, optimisation baked in such that it helps developers to move faster.

You can also make that argument about debugging any AI application in production. If you were just writing a simple web server to run this model behind a APIs, there are a plethora to think about, scaling, resource utilisation, load balancing, batching, etc. Hence the argument for creating an standarized interface for these type of serving problems.

We haven't even touched k8s, and throughput, latency, serving optimisation, but you get the idea of building this from scratch versus using library such as OneDiffusion.

Of course we are also working to improve the library and include more features, so looking forward to hearing more constructive feedback!
“Programming” and “Programmers” Mean Different Things to Different People
Based on the blog you referenced up thread:

I upload a large document to your drive product from my workstation.
I go to search on my phone.
My phone needs to download the content in order to index it.
My phone downloads the content from you. You pay for the bandwidth.

If I provision a new device, and it needs a new search index, it needs to download all of my content once, in order to populate the local index of the content.

If I'm something like a youtube content producer, I might put extremely large files in the drive. Per the blog post all the other devices signed into drive will see this new file and pull it down to index it.

So if I upload a 15gb video from my iphone to later process it on the workstation, my laptop, ipad and workstation will all download it. That means you need to serve up 45gb of bandwidth. Cost of operation as described in post above.
As mentioned by another poster, there is actual research[0] showing that, once controlling for additional factors, Autopilot actually increases crashes by 11%. This is utilising Tesla-provided data, too, which could mean the data itself is already biased.

0. https://engrxiv.org/preprint/view/1973
I highly recommend Top-Bar Beekeeping: Organic Practices for Honeybee Health, by Les Crowder.

My bees are treatment-free and going strong, and we'll be converting all of our Langstroth hives to top-bar hives this coming Spring.

Basically, honeybee hives with mite treatment have high failure rates, and honeybee hives with no chemical treatments do better when the bees have been bred for mite resistance, so do the latter.

As for top-bar hives vs. Langstroth, it's nigh impossible to keep from killing bees with Langstroth hives every time you get into them, and that's what makes them sting. Besides wanting a better relationship with the bees, it feels real bad to kill any, so why do it? Langstroth hives are only advantageous for large-scale commercial beekeeping (because the "supers" stack, and because the frames fit neatly in honey extractors), but in every other way Langstroth hives are just awful.
This thread is on the "Mastering Emacs" book and from its author, on the topic of mastering Emacs window managements you can read this:

https://www.masteringemacs.org/article/demystifying-emacs-wi...

To be honest I've never played with this part of Emacs. The way I use it I'm fine with the default. But if not it's possible to take control of Emacs internal windows management.
There is Jetbrains Fleet already, so we’ll see about that.
Are you joking or seriously unable to imagine a use case for a translator app? Maybe to translate one's voice from one language in to the other???

Are you named like that because your brain is powered by an early llm?
(second word in lowercase please: Alburnoides bipunctatus).

In any case some species are key species and have more impact on ecosystems than other.
Yes they did
These days though you can offload that to a configuration distribution like Spacemacs, Prelude, or Doom Emacs.
I'm laughing pretty hard here, that analogy makes no sense whatsoever and doesn't follow my logic at all.

Perhaps if the chef in question was serving an entire book as a meal sprinkled with some feces :)
I should have said "invading another country that hasn't attacked you or your allies previously". Taking an invasion back to the original invaders is much more justifiable. My point was that starting a new war has virtually never been a good thing.

For example, if the USA were to attack North Korea to stop the obvious human rights violations happening there, I don't think that would actually be a morally justifiable act. It would be much more likely to lead to more human suffering overall than it actually prevents: this was my intended point.
> omitting "unnecessary" keys .... without removing my hands from the home row

The "keep hands on home row" is the motivation behind omitting the "unnecessary" keys, at least for the keyboards which use a small spacebar and give the thumbs more keys to use.

With those small 36-key keyboards, your hands pretty much have nowhere to go except to remain on home row.

> as many keys as possible

I once saw someone made a keyboard with 450 keys.
https://relivesight.com/projects/433/
The nectar and pollen that flowers produce is in fact a limited resource, both in quantity and in time available.

Honeybees have the capability of depleting such resources because they are far more active than they actually need to be, which is one of the reasons we use them for crops with very high densities of flowers, like blueberries. They are efficient and thorough enough to get the job done.

There are times of the year (in particular, late summer/fall) where good flowers are especially hard to come by, and so solitary bees can have trouble trying to compete against a hive in the area when they are trying to gather the resources they need to reproduce. Meanwhile a hive also has honey stored so dips in availability during the year matter much less.
Oh, really?

How do you explain wild feral cattle thriving in the Kimberley, Arnhem Land, etc. then?

https://news.csu.edu.au/feature/are-feral-cattle-the-brumbie...

https://www.abc.net.au/listen/programs/offtrack/the-banteng-...

http://www.windyhills.com.au/wild-cattle/
I’m having a very hard time imagining how you would go from a “percent time waiting on memory” to something productive without doing more work in between. Even assuming you’re dealing with your own, native code, the number tells you almost nothing about where the problem is. The only process I’ve ever seen working is “hmm I have a CPU-bound performance problem (as reported by e.g. Activity Monitor)” → “I used a profiler and the problem is here or it’s spread out” → “I used a specialized tool”.
Where generally the proverbial "one data structure" is a hash map.

"Just use a map" [0]

[0] https://www.youtube.com/watch?v=aSEQfqNYNAc
I doubt it will improve the maintainability. Many of those old programs were written to fit the IBM environment. Besides there was always a shortage of space and memory that forced you to use certain programming techniques that would be totally useless in java.
I would love to see it convert a Cobol/CICS program into a java program with a gui ;)
Did that phone have OIS? That's what seems to break with the iphones. Anecdotally, my iphone 7 has ridden countless miles on motorbike handlebars with no issue.

Motorbike GPS, and more broadly mapping, is one of the main uses I get from my phone that my laptop can't provide. Also music, when out and about. Other than that, my phone sees little to no action. During COVID lockdowns, it would gather visible dust from lack of use. That's why I like looking out for deals on refurbished iphones, so I can keep them for a long time, while also getting updates.
I always end up with MPL whenever I do these kinds of selection guides and always wonder why it isn't more widely used. Is it because the lgpl covers a lot of the need for it, or because once you allow static linking you might as well go BSD?
That's particularly a US problem, ours are not crammed like sardine cans.
Invisible tagging system enhances 3D object tracking
Opt-in is often required for account creation in the US, however.
I suspect the motivation for many to install uBO was to reduce resource abuse (and visual noise). I'm sceptical it would ever be adopted significantly.

I'm not sure if AdNauseam can be adapted for autonomous use on a Raspberry Pi, it's unlikely it would replace uBO for me, however an ad-clicking machine running on a Pi is appealing.
I sympathise, but what can I do? These things call themselves "frameworks":

> Get started with Bootstrap, the world’s most popular framework for building [...]

https://getbootstrap.com/docs/5.0/getting-started/introducti...
I've read that ZFS is less safe than other Linux filesystems if you don't use ECC RAM, because it assumes that there are no memory errors and therefore doesn't provide a tool to repair a filesystem corrupted by such errors. Is this true?
Really you probably just want a normal keyboard with some good firmware.

I started out with a moonlander, which had a lot of keys (36 each hand) but to be honest, I'm trying to minimise as much as possible, and remove keys from it. That way I'm fully constrained to the home row.

Also, layers are amazing and sounds like something you might want to look into. Hold 'a' and use hjkl for media keys, etc. It's all very flexible
Strong, no-chemical-treatment hives with "good genetics" in low-pesticide environments have low loss rates.

Even the loss rates we see advertised (38% or whatever) are not existential problems for beekeeping because you can split hives (i.e., reproduce) at a higher rate anyways. So the switch to no-chemical-treatment plans is not that hard.

Honeybee colonies are mainly stressed by a) pesticides (in the pollen and nectar that they gather, in the wax that beekeepers give them to accelerate comb building, in the water they drink, and in the mite treatments they are subjected to), b) the varroa mites that have inadvertently been bred to be strong while the bees have been inadvertently bred to be weak.
I don’t fully disagree, but I get that the author just wanted something straightforward and oversimplified because the scope of the article was something else.
The Unstoppable Rise of Osteoarthritis
Citizen Eco-Drive (<$20 eBay). Trickle charges off the bar light filtering through my Glenfarclas 105.
> Right now Nvidia is just crushing it and there's zero chance anyone is going to catch up by introducing new Infiniband ASICs.

I mean, Cornelis Networks is trying with the resurrected OmniPath. I hope they pull it off, but I'm not holding my breath.

See: https://www.cornelisnetworks.com/products/
I have been writing this for a year and don’t really watch YouTube, but will go watch and see if there’s something new to learn.
Yeah, if you couldn’t store chain saw fuel because it decomposed in 44h…
Weird hateful energy.
Psyops? They can tweak the algorithm to try to push for certain topics. Not shove them down user throats, but rank them a bit higher a few times and see if it catches on.
So long as the local app has the same features. It is like a decade behind constantly right now. I figured web based is easer to contribute to so we get open source and good features. Self hosting for wp on the same machine is not a big deal or for a family/smb
https://app5.lasd.org/iic/

Use the sheriff's website. You'll find them there. It looks like all 3 have bonded out on 20,000$ bond.
In my personal experience, health care in Europe is of considerable less quality than in the US.
Most hobbiest electronics these days are multi-multi-use. A raspi and some solar panels, batteries, and charge controllers could be parts in a million different saturday projects.
I always find these takes so radically different from my own experiences. We do use Typescript and maybe that’s the difference, but these days you’re either using JSDoc or Typescript if you’re working with JavaScript so it feels sort of disingenuous to not simply expect it’s what people mean when they say JavaScript. I’m sorry if it is not.

We use it for most things because it works for most things. It’s one of the best working experiences I’ve ever had in two decades of programming. It did take some team work to setup templating and various CI related “rules” to make sure everyone is working in a similar fashion, but that wasn’t too much of a hurdle to overcome. It turns out most developers are happy to just fork a template project and follow whatever guidelines your organisation has set itself upon, and being as accessible as JavaScript is it also means that you can fine tune the development processes exactly how you need them. For us that’s a rather fascist linter, it’s complete control of how you use APIs and a range of other internally build libraries that handle things that you could probably find on NPM but shouldn’t.

The benefits is that everything works everywhere and that every developer can work together rather easily because everyone is using the same tools and writing code the same way. We use OData as an example, and because every OData client in Typescript is sort of terrible we build our own. Now it’s simply part of our API package and it allows developers to easily consume OData APIs without thinking about the inner workings because that’s done by the platforms team. I know you can do these things in every language, but in my experience it’s not something you do in C# or Java because the standard library is “good enough” and the standard “rules” for how you write those languages are in a similar boat where you probably won’t take too much control. Which is how you end up with very mixed code bases, or at least that’s what happened in every place that I worked. The freedom and the ease of which the JavaScript environment lets you take control is such a joy and a benefit that I really don’t get the hate it faces.

That being said. It’s a obviously a terrible language and I absolutely hope html and browsers will eventually get to a point where we can just write everything in (whatever language you like) + html. But it’s not like it’s a joy to write web frontends in any server side rendering that I know of. I’d much rather work with react than any other front end tech that I’ve ever worked with in the past. But I do simultaneously hope for better days.
That's strange. From my point of view it you get lots of value in the beginning but there is some kind of cap beyond, that it is hard to get over.

I think AHK has really easy onboarding, meaning you can get tremendous low-hanging benefits out of it minute after installation -- you open the help, do your first `::btw::by the way` hostring, map reloading the script to `^+!r::reload` and from this point on you iterate quite rapidly, progressively fixing your easily fixable pains -- but sooner or later, after reaching some level of complexity, things begin to get hairy, not worth the effort or even impossible.

But as as say, there is vast amount of simple shenanigans you can make with basic AKH functionality, most of them you can even make on your own just with the help file.