skysight-inc/HackerNews huggingface dataset:
It's pretty common for Rails developers to know very little about databases (sql specifically).
It's very frustrating because right out of the gate, Rails pushes thinking of the db as a graph, leading to highly inefficient queries
But was it quiet in Switzerland? I read a lot about the poor quality of their apartment blocks, to the extent that one could hear their neighbours just talking.
They have their place. They're not perfect though.

Also, I'm not perfect, I have an attachment to the physical realm, and I desire not simply to run software, but to run it on hardware, whatever that means. Oftentimes, I desire simply to run hardware for its own sake, because it brings me pleasure.
https://archive.ph/mgd0Q
Their ancestry data is known to be quite dubious. They're really just guessing for the most part.
Came here to say that, not sure if it actually would improve the test but at least it would be correct.
Also, Node 12 was released 4 years ago.
This would hold more ground if the people who say that wore full gear and full face helmets. They tend not to.
I recently moved to a more rural place (which in my coutry means: The neighbours are at least 20 meters away in separated houses instead of 5 and the houses are attached to each other), I though it would be more quiet but indeed: No.

In the city people listened to music in their yard, but here, people have leaf blowers, big lawnmowers, large dogs, large heat pumps (for home and pool), roasters, complete bars in their yard, there are festivals in summer that push sound for kilometers over the acres.

Strange thing is, I hate the music and the leaf blowers, don’t mind the dogs or screaming kids at all. Also, when busy I don’t notice the sounds, but then the moment comes where I listen intently and get very annoyed. So I feel the answer to my peaceful life must be in me. I must be like Seneca, accept how it is. I won’t move yet again and my wife does not want to live in the middle of nowhere, just so that all I hear is birds.

I wish I was more like the people that just blow leaves for 5 hours a day and don’t care. I guess for some, noise really is no problem.
Economist here. Imo the market rate would be the price at which supply and demand were equal.

In this case, the government should choose the supply such that it's ecologically sustainable. So the price is the price at which that sustainable level of water usage is demanded by the market.

That would not count as monopoly pricing, which would instead set the price to maximize revenue
What is the difference with ATD: https://atd.readthedocs.io/en/latest/atd-project.html which also was designed with algebraic data types in mind?
Whenever I read something like "Increased revenues by 93% by balancing user and business priorities against available resources" in CVs I immediately disregard it.

Maybe I've read it too much but doing the actual analysis of "what have I done and how was the impact" is a lot more than simply taking revenue beforehand and revenue afterwards and calling it a success. Also if I solve a bug that was discovered by QA, specified by PM that was hogging a lot of resources, did I really increase revenue? This trend in CVs is really annoying me as most of the time it's complete BS and only there because people watched a YT video on how to build your resume.
I had a work colleague with a similarly refreshing Out-Of-Office E-mail autoresponder that included something like: "I'm on vacation. When I get back I'm not going to have time to read all my missed E-mails. So your mail is going to be ignored and deleted with the other 2,000 unread mails. If it's important, E-mail me again after I return on [date]."

That's how you do it!
Would you count Squirrel in this category? It's quite widely deployed
It seems like the safety rules are buggy because some assumptions are missing?

The safety rules say that adding an asymmetric field is safe, and converting asymmetric to required is safe. If you do both steps, then this implies that adding a required field is safe. But it’s not. As you say, it’s not transitive.

But lack of transitivity also means that a pull request that converts a field from asymmetric to required is not safe, in general. You need to know the history of that field. If you know that the field has always been asymmetric (unlikely) or all the older binaries are gone, then it’s safe. A reviewer can’t determine this by reading a pull request alone.

Maybe waiting until old binaries are gone is what you mean by “a single change” but it seems like that should be made explicit?
FWIW, I never advocated for not explicitly calling Close(). Brought up the finalizer in File, because it seems to have performance implications and it’s called for every file handle.

From the docs (https://pkg.go.dev/os#File.Fd):

> Fd returns the integer Unix file descriptor referencing the open file. If f is closed, the file descriptor becomes invalid. If f is garbage collected, a finalizer may close the file descriptor, making it invalid; see runtime.SetFinalizer for more information on when a finalizer might be run.

To give more context on how I found this out, we were missing a Close for a couple of files in our codebase. As soon as I realised I added them, but checked in production for file descriptor leaks and there were none. Checking Go’s source code led me to the finalizer and this doc confirmed what I saw in the code.
One thing I liked about Cleveland's water rates is that they charge based on "the distance and elevation of your home and business from Lake Erie."

So if your water requires more pumping distance and elevation, and the more piping's involved, the more you pay.

https://www.clevelandwater.com/customer-service/water-rates/...
Yeah, as someone with crappy sleep (this night for example I slept 4 hours, with only 36 minutes deep sleep according to my smartwatch), this kind of headline doesn't cheer me up one bit :(

I guess things are what they are, though. Good that we uncover knowledge like this.
You're overthinking it – how speculating can spoil a TV show
For vehicles, at least in France, the law says how the noise should be measured, and it doesn't seem that complicated. But, in practice, it's basically never enforced.

Recently, they've started deploying a few "noise radars". I don't know how well they work, since I haven't seen much talk about those since the initial announcement.
I agree that it's not easy to explain this to other people, and Python tooling in general is pretty terrible. OTOH, having types in the code and giving newcomers to the codebase the ability to actually see what types "flow" through functions, and having the ability to "Go to definition" is a big benefit for introducing old Python code to newcomers.
Ah, I was thinking in terms of the actual messages, not compilation. So it should read "Fields are required for compilation by default"?

This leads me to versioning. Imagine you have some old code which won't be upgraded, say an embedded system. Either you don't promote to "required", or you do versioning.

Given the lack of any mention of versioning, I take it that's to be deal with externally? Ie as a separate schema, and detected before handing the rest of the data to the generated code?

edit: Really cool project btw!
That's awesome. And it's all React, which goes a long way to show that React apps can be fast even when there's a ton of stuff going on. Really impressive work.

A feature to export would be great. I tried copying <main> and the CSS but it didn't work. :)
Where is the language spec? I can only see a visual editor.
I think the OP is referring to the time before Rails natively supported foreign keys.

While I agree there's a place for business rules (the app), properly enforcing referential integrity and uniqueness can now easily be done in both - and I trust PostgreSQL more.
Linux Kernel Development by Robert Love. It's spectacularly out of date but is still a good starting point. And Elixir is very helpful for browsing the source code and comparing chnages across kernel version: https://elixir.bootlin.com/linux/latest/source
Bezos' Blue Origin wins NASA contract to build astronaut lunar lander
Harsh but have to agree.
QuickBooks and GnuCash handle the accounting, which supplies the data needed for your taxes. However, they won't spit out your tax forms as that's a separate task and not likely something open source is going to tackle anytime soon given how convoluted, arbitrary and constantly changing tax laws can be. Most open source developers would rather go in for multiple elective root canals before dealing with that.

Yes, it's possible to do your own taxes but it's a headache the first time or two you do it. I have never found any open source software to help with it beyond things like LibreOffice Calc to do various tax worksheets.
LVVFD Calls: Car thieves caught partying at an illegal bonfire
My comment was based on Java environments, and it's the same. It's unacceptable to build poorly-designed schemas in any environment. But good schema design is something else than what I thought the article might have been referring to, which is building the entire business logic in SQL, using triggers and what not. I've seen enterprises with a database team doing that, for application layer people to come in and built their application on top of this "fait accompli" database. And this means you need two highly-skilled teams: the database and the application team. (Aside from a third, the infrastructure team.)
Is there a benchmark for retrieval from multiple ft documents? I tried the LangchainQA with Pinecone and wasn't impressed with the search result when using it on my Zotero library.
Nvidia, Rolls-Royce Announce Quantum Computing Breakthrough for CFD in Jets
Also, a general formula for estimating how much additional storage space will be claimed per MB/million words ingested would be helpful.
Cloud gaming was a crash and burn story already.

There's a stronger resistance to cloud than ever before after all the leaks, hacks and pushed agendas.

These models aren't cheap to host and they'll lose to free local models that don't have boundaries or agendas. Cloud AIs inevitably will try and monetise by selling you crap or be funded to shape your opinions.
Hmmm maybe time for me to activate that health portion of my 23andme. I thought it was just silly stuff included but stuff like this would be interesting and useful.
I'm older than you and I actually considered that the author was talking about me! I thought "yeah, I'm an addict, we're still out there".

It didn't occur to me that I was old until your comment. Thanks!
I just checked, and I'm C/C too, but I don't have the same experience: I can drink a coffee after diner and still fall sleep easily.

It could be that it's more complex than a toggle on/off, and more like a polygenic trait.
DreamGPT turns a weakness of large language models into a strength
> Building a profile for advertising and whatever other nefarious purposes is not for your benefit.

"Your sleep data is handled responsibly. Your coughing and snoring sound data doesn't leave the Nest Hub, only sounds events are sent to Google servers. Consistent with our commitment to privacy in the home, your sleep data is not used for ad personalization."

https://support.google.com/googlenest/answer/9415830

And going further:

"This also includes answering clearly if your home sensor data sent to Google is used to show you ads. And so we commit to you that for all our connected home devices and services, we will keep your video footage, audio recordings, and home environment sensor readings separate from advertising, and we won’t use this data for ad personalization. When you interact with your Assistant, we may use those interactions to inform your interests for ad personalization. For example, if you ask, “Hey Google, what’s the weather today?” we may use the text of that voice interaction (but not the audio recording itself) to show you personalized ads."

https://support.google.com/googlenest/answer/9849262
So well engineered for its use case. Was Go optimized for throughput?
They should, because water is scarce.
Like the article says, have a low rate for an amount that covers basic needs. But raise rates for usage above that. Discourage fountains wasting water. Ideally (though it won't happen probably) make farmers pay higher rates for the water they use.
Or find a European genetics laboratory that offers this service.

Even though you may not be European, the lab will need to follow the much stricter data protection policies of the EU and will probably not have a different handling for non EU customers (but ask them).

I write this as someone who has worked at one of those in the EU.
I had a quick peek at the profiler in Safari when you drag the model around, and the CPU on my machine is spiking at more than 100%, with 58% of the load being style recalculation. I suspect something in Chrome is hardware accelerated that isn't in Safari.
Good point! Guido mentioned that maybe in the future, the new "mini-JIT" in CPython might be able to leverage the type hints. I also want to have this as a thesis topic for my students, to try it out.
Exactly. And Google is very quick to kill free products that are not generating good revenue for them.
> Swift's refcounting is atomic (as is objc's)

Most of the time it’s possible to avoid atomic instructions and still be thread-safe. https://dl.acm.org/doi/10.1145/3243176.3243195:

“BRC is based on the observation that most objects are only accessed by a single thread, which allows most RC operations to be performed non-atomically. BRC leverages this by biasing each object towards a specific thread, and keeping two counters for each object --- one updated by the owner thread and another updated by the other threads. This allows the owner thread to perform RC operations non-atomically, while the other threads update the second counter atomically.
We implement BRC in the Swift programming language runtime, and evaluate it with client and server programs. We find that BRC makes each RC operation more than twice faster in the common case. As a result, BRC reduces the average execution time of client programs by 22.5%, and boosts the average throughput of server programs by 7.3%.”

I remember reading that this made it into Swift, but cannot find it, so I’m not sure anymore.

And of course, the Swift compiler tries to avoid unnecessary refcount updates.
I remember google desktop search. It was amazing, even today's win 11 search doesnt come close. So something snappy like that with LLM will be perfect.
at knownow i wrote an event-driven nonblocking http server in python with asyncore which could efficiently do comet over hundreds of concurrent http connections; existing http libraries were all blocking at the time

i also wrote a similar event-driven nonblocking http client in c for benchmarking and load-testing both that server and a different compatible one being written by another team in c++. this was nonblocking because it was important for the client to be faster than the server. at the time there was no libevent/libev/libuv so i wrote my own

at satellogic i maintained the upper layers of our cubesat space protocol stack, which provided a socket-like interface to our coap stack, which i also maintained part of

i also had to tweak kernel socket buffering settings for rabbitmq there

for wercam i'm experimenting with different approaches to ipc for efficiency; the data being transferred are pixel buffers so i don't think protobuf/thrift/etc. is going to help

for the mail server i share with some friends i wrote a milter in python to smtp-reject outside email to certain recipients unless it matched a whitelist; milter doesn't speak pb either and i couldn't find a python library

i wrote a multicast file transfer program in python (bccpo/bccpi) for copying files across the lan without having to fiddle around with ip addresses; the data being transferred is just (multicast) the ip and port and (unicast) the filename, file size, and file contents, so again i'm not sure pb would simplify anything. the hard part of getting it working was just multicast

i wrote a chat client for icb in python with asyncore, and again i couldn't find a suitable library

even when i'm using a library, it's often pretty useful to be able to read strace output or use select or poll with the file descriptor it's trying to hide from me

i don't think any of these qualify as either your category 1 or 2

i've also done a huge number of things that fall into category 2, of course, like writing an irc client in bash, writing a web server in assembly, and writing a chat server in three 80-column lines of c, writing a mud, and so on
Yes. Google and Facebook have deployed HTTP/3 across their properties for quite some time now. Support in popular servers is not mature but if you're using a CDN like Cloudflare, it's trivial to enable HTTP/3 for your users.
Any tips on sharing PTA with a not-so-technical spouse? I've been looking at beancount which also has a nice looking web app.
Yes, this. Once they get a smidge better and can answer questions? Every student will have the King's Tutor - it will be Blooms Two Sigma in action.

...which will drive down the cost of all knowledge work and rather than reconfigure our society we'll simply have no entry level jobs anymore and the few people who still have jobs will still be expected to work full time but have insane outputs.

This whole thing is a Monkey's Paw.
Of course assembler spezializations are an anti-pattern, because the optimizer should be fixed to do it much better. Better C code is often 2x faster than hand optimized assembler.

Eg my C memcpy with inlined and vectorized clang beats glibc or gcc memcpy in assembler easily. https://github.com/rurban/safeclib/blob/master/tests/perf_me...
I see exactly this with Ruby. In that regard, Ruby and Python too, are very alike.
Hard to know, I have 20 to 30 Facebook accounts, mostly bought from account seller sites, becaused I wanted to see various Facebook pages not accessible to outsiders. Not sure how many of these passwords still work.

My oldest working account is probably 1996's ICQ.
Just a week ago, I finished reading "Skunk Works: A Personal Memoir of My Years at Lockheed", what an incredible book about the SR-71 and other edge cutting planes, not only from the engineering and pioneer perspective, it also shows the perspective of some of the pilots and how risky and difficult their missions were.

Completely worth the read.

https://www.goodreads.com/en/book/show/101438
> a caveat that you would not get the full security

Paying the developer for access to the full security version, while the free one has more than security than most actually use, seems reasonable to me?
We are special and unique, that is why we were chosen not them.
It's not. The iPad costs $449, or $329 for the last gen. That is their primary product, along with the Air is $599. The Pro is for the "pro" and tech enthusiasts.
Like a lot of countries, China has a social influence department. China's just seems massive because they pop up everywhere making insanely obvious claims/comments.

They're either just really bad at it, or these attempts just smokescreen their proper influence campaign.
For almost anything, I find it a better Google, and I can go fact-check it afterwards.

It’s a better StackOverflow and better than most project or dev docs for me: I’m an experienced developer who’s writing Python for the first time. I know what I want to achieve each time (how do I produce the Typing type for…) but I find it much easier to use GPT.

I use it to search for books or films or video games where I half remember the details, and it gives me options.

I recently finished a dissertation (on GPT, as it turns out) and it was useful for me to research sensible correlation types I could use and build out my understanding (“wait, is Spearman’s rank is just Pearson in the rank order?”). Also I could copy and paste sentences I didn’t understand about methodologies in papers I was reading, or ask it abstract questions like “is there a standard name for a modified Likert scale but with a ‘not enough data’ option”.

I was really struggling to work out how to change just one page orientation in Word, on a Mac. First few Google results I had talked about the Windows version, which had features mine didn’t have. GPT put me onto section breaks.

Was Caffè Nero named after the emperor, checking my intuition about how short-term SSH auth certs work, jq recipes, why were Man U so popular when I was a kid, why did they suddenly start winning more often?

I am curious about a lot of things, and GPT provides me instant answers without having to click through bullshit. If it’s something it needs to be right about I can double-check it’s answers. I am averaging ten topics a day on it, most have a bunch of follow-up questions.
You can open the same SQLite DB from multiple processes and then issue UPDATEs and INSERTs "simultaneously", and SQLite enforces the single-write rule internally with locking - using shared-memory on the same PC or file-locking on NFS-alikes.
The band?

Sorry for the joke, know it is frowned upon, did it anyway.
> How could "market rate" mean anything for water?

Water is limited. And water use above basic needs has clear economic value. Besides water is a commodity. Water should be one of the easiest things to price.

There is a base level of water each person needs. That is inelastic demand, and an abomination to price gouge. But most water usage isn't these basic needs. That makes it decently easy to protect these basic needs.
There are multiple marketplaces for software... Start from Appsumo
> The standard library is becoming cross-platform as we discuss it here.

I'd argue that it's too late already, the ship has sailed, Swift is heading the same way as C#.
Thank you. Your library seems nice.

Unfortunately, I have to say it... I hate YAML with a passion, k8s, github actions/gitlab ci, ansible, etc... When I'm doing ops jobs, I feel like I'm coding in YAML.

Btw, this hate for YAML birthed https://linkdd.github.io/tricorder/ :P
> very few Python users have type safety as their most important factor

This is a text-book example of selection-bias though.
I like that it seems like he optimized the game for the Steam Deck.
Thank you! I will public the code on GitHub after I finish my second project!
> If this stock is non-transferable, does that mean it has an inherent value of zero?

The value of stock comes from the claim against the assets in the case of dissolution, the ability ot sell in the market just enables one to realize that value without the company dissolving in whole or (as by issuing dividends) in part.
This was covered in a recent YouTube video I saw on semaglutide treatment. The real problem is rapid changes in your blood glucose levels can radically change your eyesight, regardless of the cause. So, with Semaglutide and other drugs, you need to have a slow ramp-up period and let your body get adjusted to the drug, otherwise you risk having those rapid changes to your blood glucose levels.
I didn't know about that, thanks. I kind of agree with a sibling comment that in most cases you don't want to expose an indexer if the fields are named, but it might be useful sometimes.
Oh I didn't know that! Thanks!
That’s a distinction without a difference.
I don't know much about him apart from him being an amazing story teller. I've listened to this story told by him about 25 times. I hope y'all enjoy it too. It's called the LA speed check story.

https://www.youtube.com/watch?v=Lg73GKm7GgI
Facebook bug sent friend requests to profiles that users were looking at
Airoboros-13B: 98% against GPT-3.5
Northgard is pretty good and the devs are very active.
Someone else also mentioned this on Reddit, good point.