skysight-inc/HackerNews huggingface dataset:
I recall the justification being the opposite. On the fixed-width of a typewriter, you need two spaces to add appropriate visual separation between sentences. With proportional fonts and proper software (or a typsetter using hot metal), they use fractionally wider spaces between sentences than between words: it's more of a 1.5 spaces than double-spaced.
I can make a personal backup of a password. A fragile piece of hardware can fail me for a variety of reasons outside my control(lost or suddenly breaks).

I have had a (Google) phone suddenly die in my hands without any prompting. With a password I was able to transition to a new device without incident. If my passkey was locked to that device, I might have found myself locked out of my digital identity.
Do you think pretty much the entire web looks awful then? Because HTML rendering collapses whitespace by default. Your comment renders with only a single space after the period, despite the fact that you typed 2.
I don't think there's any particular requirement to socialize when at a "third place". So if you just go sit in a cafe, coffee-shop, bar, etc., and work with your headphones on the entire time, you're still enjoying a "third place". Some people (count me in this bucket) get "something" from simply being around other people, but don't necessarily want extensive engagement with those people - at least not on an ongoing basis. Sometimes you just want to listen to the Youtube video you're listening to, or finish the code module you're working on, or whatever. :-)

Me, I like sitting in the cafe at the local Barnes & Noble. I get to enjoy coffee, books, wifi, and a pleasant ambiance. And for the most part I can regulate how much I socialize with the people around me. I say "for the most part" because I'm such a regular there that I've gotten to know a lot of the employees and other regular visitors and have formed friendships with a number of those people, to the point that sometimes when I go in there I have a lot of people coming over to chit-chat. Which is OK in that they're people I enjoy talking to, but sometimes if I'm really trying to get some specific task done, it can be a little bit frustrating and I struggle with how to disengage from them without seeming overly rude. Still, on balance, I get a lot out of hanging out there.
Why should people and corporations voluntarily comply with stupid laws which limit freedom of expression? It would be better if everyone drags things out to the extent that those laws become unenforceable. In general, given that the EU itself is so fundamentally flawed, anything that undermines the power of EU bureaucrats and wastes their time is probably a net positive.
my bad, i read it twice and apparently still got it wrong
I think bio-compatibility is nasty.
OpenGL has never ever been used on PS4, it has always been a custom API. Unless you're talking homebrew stuff.

Vulkan was modeled after Mantle, AMD's own API that was basically what was available on consoles but less specific (ie. supporting more than a few custom GPUs). Direct3D 12 was modeled after consoles and Mantle, just like Vulkan. Same for Metal, that was made available in 2014, same year D3D12 was publicly announced.

https://en.wikipedia.org/wiki/Mantle_(API)
https://twitter.com/repi/status/446718535616585730
Why Users will stop engaging soon on social?
possibly, but the default playwright installation creates a github action which makes Microsoft money so there's less pressure to gate features
The average cost of car ownership is somewhere around $10k/year (from AAA). That buys a lot of extra stuff in a higher COL area (but no, it's won't close the entire gap between a rural town and SV or NYC).

In addition to cutting car ownerships costs borne by residents, there are savings at the community level. Less road maintenance, less real estate used for parking (and put to better economic use), etc.

Very few people want to literally ban cars at neighbrhood/town scale. Most just want them de-emphasized, with certain roads closed/redeveloped for foot/bike/transit.
Boost.Lambda (https://www.boost.org/doc/libs/1_62_0/doc/html/lambda.html) is probably what you want, and even predates the introduction of proper lambdas into C++!

Here’s a few simple examples cribbed from their documentation:

// Set all elements to 1
for_each(a.begin(), a.end(), _1 = 1);
// Print elements separated by spaces
for_each(b.begin(), b.end(), std::cout << _1 << ' ');
// Sort in reverse order
sort(c.begin(), c.end(), *_1 > *_2);
Salted and hashed passwords must be shared but not (hopefully not) stored.
Looks pretty fun. Has there ever been an idle-play game for education?
That as well. Why be human when you can be an airplane?
I thought those tests were not required until someone hired a sociopath who was clueless about coding, but immediately started fights with everyone. We got very selective after that one got in. But then someone hired a socipath manager who started fights, sex harassment baiting, demanded devs were fired on the whim without justification. I had to block that person on all comm channels.
There's probably a lot of Swedes here from the Reddit exodus.
We already have a crisis of homeless/stray animals out there. I can't imagine how much worse it would get if we only allowed the 1% of the population with $10,000 or more to spare in case the pet needs surgery to own pets. Also suicides will go up. Pets are an important source of companionship and oxytocin/closeness for people who live alone.
Yeah, selling for $289. I’m guessing these aren’t cheap to make. At least $30 BOM, but since it’s small batch, might have even made the mistake of letting the BOM get up to $100.

I’m not sure who the taget audience is. I want to impulse buy, but I’m not convinced yet that it would improve my workflow. The video shows a rats nest, but the first rule of breadboarding is to use wires that make it easy to trace. Worse, is now there’s one more layer to debug. My suspicion is that this is a tool that will be solid in a few iterations, and will eliminate many of the headaches breadboards add not mentioned in the video, namely parasitic capacitance and inductance.

I am interested in what I could do with the thing based on the last part of the video though. Being able to trivially reroute signals in realtume could open up a lot of possibilities.
The "holiday weekend" phenomena is not unique to Japan. It's a challenge already for many countries with growing EV share, where you often see big queues at charging stations along highways at peak holiday times.

It's not insurmountable, though. For one thing, big industries tend to shut down on holiday weekends, so there is lots of spare generation & transmission capacity on the grid. Here in the UK it's not unusual for wholesale electricity prices to go negative on windy holiday weekends - there's so much surplus energy available that the grid struggles to deal with it all! That makes holidays very profitable for charging operators and gives a strong incentive to deploy as much fast charging as possible.

Dynamic pricing can also help here. You raise prices at the most congested charging locations and busiest times, and lower them at under-utilised locations and off-peak times. Tesla already do this with their superchargers. Navigation software that is aware of how busy the chargers are can also route traffic onto less congested routes where there is unlikely to be queues.

Also remember that there is plenty of time to build out all the needed charging infrastructure. Even if all car sales switched to EV tomorrow, we've still got 10-20 years before we approach 100% of journeys being made by EV, depending on how fast the vehicle fleet gets turned over in your country.

> "For vehicle manufacturing, there's very less advantage to make BEVs in Japan, meanwhile China is too strong. Car manufacturing is a big industry so shrinking it causes Japan economy to be dead. "

Japan must make BEVs in Japan in order to secure the future of the Japanese car industry. If they don't keep up with the times, there won't be a Japanese car industry in the long term - at least not for exports. Japan putting their heads in the sand will not make the global EV transition disappear!
Demo of WebGL Lens Refraction
Free Pascal is a lot more robust and featureful than whatever God-awful ERP language you have to work in. It's a spiritual descendant of Turbo Pascal and Delphi, which were used to develop diverse applications from line-of-business to games for decades. Dynamic memory allocation and objects are built-in. It is definitely NOT the Pascal of Kernighan's "Why Pascal Is Not My Favorite Programming Language".
Googling the question right now, there are two recent developments I was unaware of. There’s a 2018 paper [1] about it showing no perceptual benefit to either spacing, and also in 2020 MS Word changed their spelling checker to consider 2 spaces an error [2]. This second article tells the opposite story from what I thought I’d heard (but maybe this is what I was thinking of) - it says 2 spaces were developed for monospaced typewriters, and not for print.

[1] https://link.springer.com/article/10.3758/s13414-018-1527-6

[2] https://www.grammarly.com/blog/spaces-after-period/
The transition to suburban living happened within only a few decades, so it’s not unreasonable to think we could undo a lot of the mistakes within our own lifetimes.
Interesting. Since the tool I'm presenting is something that lets you write websites in SQL, "code deep dives" referred more to code that you can write as a user of the tool than things going on "under the hood". I wanted to show small SQL queries and the web pages they generate. Do you think it's something I should keep for the end / skip ?
I wonder what level of monopolization it's going to take for people to start figuring out that this is closer to a Soviet-style state economy than actual capitalism.
Doesn't support multiple arguments by itself, because "it" will always refer to the "group". But with destructing you can name yourself as many arguments as you want:

listOf(1,2,3).let { (a, b, c) -> a * b + c }

Which I think it's a good compromise
Ancient Egyptian scripts before Coptic represented both sounds and concepts. But mostly sounds. You'll see 𓅓 used a lot in hieroglyphic texts. It's not because the ancient Egyptians loved to write about owls. It's mostly being used for its phonetic value, "m", which is usually a preposition, but can also be used to spell larger words.

The innovation of proto-Sinatic script, which was the ancestor of Phoenician script, was less going purely phonetic and more simplification. Ancient Egyptian scripts before Coptic used symbols that could represent a series of consonants. For example, 𓆣 represents the consonants "ḫpr" and 𓉐 represents the consonants "pr". There were symbols that represented single consonants, so you could potentially write just 𓐍𓊪𓂋 instead of 𓆣, although the Egyptians usually didn't do so. (They would sometimes write 𓆣𓐍𓊪𓂋 for "ḫpr" as a phonetic complement.) But that's what happened with Proto-Sinatic. The result was that instead of having to memorize hundreds of symbols, you had to memorize twenty or so. Much easier to learn, although you did jettison mechanisms to disambiguate homonyms.

Also, proto-Sinatic (and thus Phoenician) is derived not from Demotic, but from hieroglyphs. Compare hieroglyph 𓉐 and proto-Sinatic https://en.wikipedia.org/wiki/File:Proto-semiticB-01.svg with Hieratic and Demotic. https://imgur.com/gTr8UHF .

Hieroglyphs and Hieratic were the first forms of Egyptian writing, apparently developed simultaneously. Hieroglyphs were mostly used for monumental writing, but sometimes on papyrus. Hieratic was a cursive form of hieroglyphs that could be quickly written with a pen. Demotic is an evolution of a form of Hieratic used in the north.
Not sure why this goes without saying.
Apparently yes. I vouched for this comment to be able to reply to it.
That wouldn't surprise me. What would suprise me, though, if any of this (individually or in aggregate) is such a huge expense on a per-customer basis
YAML was a mistake. Couldn’t count how many issues I and my colleagues encountered due to white space misalignment.
If .net had gone truly multiplatform earlier, it would have been a much bigger success.
That proves my theory that people don't really understand English, they only get the message through intuition and context
That seems mathematically true, but doesn't tell the whole story. Imagine a common scenario in my city where the prospective buyer/renter of one of those new apartments is considering tearing down and older multi-unit structure to build a single-family home. In that situation, the availability of an larger unit could result in more total housing units. Because they have financial incentive, developers are often the ones in the position to best understand what the market wants.
Not owning a car is different from never riding in a car. That money not spent on parking every month can buy a lot of ride shares.
Enforcing code reliability by requiring workflows with GitHub Repository Rules
For "culturally accepted" slang, yes — the kind that you'd actually find in a "modern" and unabridged dictionary. Not so much for the kind of passing-fad slang or "cultural niche" slang that you'd generally look to UrbanDictionary for if it were English.
I used to work with a guy who developed photos in a lab in the 90s. He saw far too much stuff along those lines.
I agree that people shouldn't adopt a pet unless they have stable finances which are enough to pay for pet insurance and/or unexpected vet bills.

Sometimes people's finances change though, and then (assuming it wasn't serious money mismanagement) I think it's cruel to say they should give up their pet.

Pet insurance should be front-loaded, so you have to pay a lot the first few months, but if you stop paying you get to keep the insurance at least for a while.
I think that what bothers you with virtual environments is simply the name. A venv is literally just a directory with files in it. Most of the languages you mentioned actually use a very similar approach to installing dependencies, they just don't call it "virtual", they call it GOPATH, node_modules or something similar.

As a developer working mostly with Python I am so glad to have way to install a dependency in a directory that won't break my OS and without having to use docker. I still use docker for lots of things, but not as a way to resolve issues that can be resolved by creating a new directory.
Show HN: Kysely-access-control (permissions at the query building layer)
Hi there!

I just published my first (hopefully of many) personal open source project to be used by others.

There's 2 packages:
- The lower level kysely-access-control (https://github.com/ben-pr-p/kysely-utils/tree/main/packages/...), which implements a callback that you can return `Allow/Deny/Omit` + `[Allow, where]` for

- A higher level kysely-grants (https://github.com/ben-pr-p/kysely-utils/tree/main/packages/...) that implements Postgres like grants on top of kysely

The idea grew out of frustration I've had implementing permissions in the past.

On some projects, I've implemented it each time data is supposed to be accessed, which has meant the developer implementing the route needs to know about all the permissions considerations accessing that data.

On other projects, I've implemented it at the database layer (in Postgres). That's been a generally decent experience, but gets hard to manage when you want the same user to have different permissions depending on the context. Additionally, it restricts how you can access and cache calls to the database, since you need to run (and your cache key depends on) `set_config` calls with the relevant access details on each statement request.

After this, I'm planning on writing and publishing an executor for Kysely that can automatically cache database queries. Since this access control plugin modifies the actual Kysely internal operation node, that plugin will properly cache results per user. I'm also hoping to write a plugin that can automatically invalidate the cache from wal2json results.

Feedback is super appreciated and sought after! This is my first external facing npm package, and I found the process a bit tricky to execute.
You admit not having experience with a certain field and then laugh at the terminology they commonly use?

Your comment is unhelpful and barely related to the article. Then you get mad at a group for presumably downvoting your irrelevant comment?

Also, I don't feel like "empathizing with animals" is a huge insight that you've cracked. Most people do it.
That's a good point. It seems smart to use the default backup behavior whenever tramp is used.
> I assume you must be an expert in the cost structure of operating a veterinary practice in that location, at that time, in order to determine a predatory and non predatory price.

You don't have to be an expert when you can compare vet prices in US and in other parts of the world. And unlike human healthcare, vet is not subsidized anywhere, so the comparison is fair.

With the price tag of 10K$ I'd say it would be worth to take a flight to Mexico, other LatAm countires, or even Eastern Europe to pay tenth of the price for the same operation.
That happened when there was plenty of available space to build such suburban housing. They did not bulldoze vast swaths of urban to make room.

If you wanted to do the reverse, that's what you'd need to do - unless you're making a new city from scratch.
The fourier domain is just a linear transform of the time domain, i.e. just a matrix multiply away!
I'm like my cat, in that I like to be near people, but not necessarily engaging. Sitting in a coffee shop doing my own thing is really nice sometimes.
These are beautiful.

Right now, the biggest issue with AI generation seems to be lacking the ability to generate a visual consistency with backgrounds, character faces, etc.

Without the consistency, it's really hard to a movie with any sort of narrative.

Without that, you're stuck with these small clips of 4 seconds.

I've seen some resort to face swapping for post processing, but it's very tedious at the moment.
So every pet owner without at least $10k set aside for pet emergency care is a bad owner. That describes 99% of pet owners.

I agree people should plan for more pet-related costs than they do, but, as technology progresses, there doesn't seem to be a ceiling on the amount you _could_ spend to save a pet.

In my case, we have always taken in rescue animals. So the choice is between leaving the pet at shelter or a life in a good home with some limited options when it comes to end-of-life care. I think the latter option is more humane.
I don't know how many are missing but I'm guessing several since I didn't see one: "TYPE"
https://dev.mysql.com/doc/refman/8.0/en/keywords.html#keywor...

MySQL's SQL is the only language I use where I regularly trip on reserved keywords, super annoying. Not sure off the top of my head if there's some better design to fix that short of namespacing every reserved keyword. In some cases you can do `` to get around it but better to avoid them altogether.
Online forums

In terms of "virtual third places" I'd probably say that HN is that for me. :-)
I'm guessing I wouldn't be alone in that regard...
One idea that I love is the "Accessory Commercial Unit" or ACU, taking a page from the "granny flat" or ADU:

https://www.strongtowns.org/journal/2020/8/15/accessory-comm...

In most places in most American cities and towns, you can't just go build a commercial extension to your house like that, you have to jump through a lot of hoops, and for a low margin business, it's probably not worth it.

Making that kind of thing legal again (it used to be pretty much everywhere) will help transform more areas of more cities into something a bit more walkable.
I mean yeah, in a language without default arguments, it certainly is typical to use the only other way (overloading) to easily emulate that behaviour.
No sustained increase in zooarchaeological evidence for carnivory after the appearance of Homo erectus [1].

[1] https://www.pnas.org/doi/full/10.1073/pnas.2115540119
Absolutely. Anecdote but yesterday I was at a light on an off-ramp from a highway and a guy got out of the car next to me, and my first reaction was that he might have malicious intent(turned out he was just checking the front of his car because he may have hit something). That was definitely a low-trust moment! Walking around NYC is similar, I am trying to make sure not to get pickpocketed or worse.
Perhaps it could also be argued their patent covers cameras and their manufacturers, not 3rd party software that users can install on their phones? Also don’t think MotionCam has enough users for their lawyers to care. Either way thank you for your software, it’s dope
What's the most useful "dialect" of SQL one should learn? I've only learned SQLite but there are just so many that it's heard to know which one is most in demand.
The Great Banality Laser is working precisely as designed. Even with Elon Musk pointing it at the planet's core in the hopes of blowing it up.
> Cameras are getting to the point where they can capture far more information than we can display.

Haven't professional-grade microphones been in a similar situation for decades now, or is it the magic of remastering that keeps recordings from the 50s sounding so good on modern speaker systems?
Here is Google discussing how passkeys are easier and simpler to use than passwords: https://security.googleblog.com/2023/05/making-authenticatio...

Here is 1Password discussing how passkeys are simpler to use than passwords: https://1password.com/product/passkeys

Here is Ars Technica declaring that passkeys are easier to use than passwords: https://arstechnica.com/information-technology/2023/05/passw...

Etc etc. If this is the first time you are seeing businesses and media refer to passkeys as being simpler to use than passwords you haven't been paying attention.
If a random singer can duplicate the sound of a popular singer it's one thing; to use a process to clone the voice of that singer from the singer's own recordings is a theft of that person's unique talent. Same principle as if I took a paparazzi photo of a celebrity and sold it as portraits due to the fame of that person as opposed to using it for legitimate news purposes.
Your child is very likely to outlive you. In fact, to some, this is a major reason to have children.

On the other hand, your pet will die in your lifetime, unless you are very old or die unexpectedly. So most people are probably prepared for this emotionally on some level.
> I would argue, however, that other companies choosing to replicate Cypress's service with Cypress's (open source) project is in bad taste.

If you don't want people using your open source project in a particular way, then license it appropriately to forbid that.

Go relicense it under AGPL or one of the other "don't compete with us" licenses like BSL. It's confusing because this is just the obvious choice for Cypress to do here. Opting to add postinstall DRM to restrict who uses your otherwise open source software is a bizzare move.
For now. Huggingface[0] mentioned a DPO-fine-tuned version, Zephyr 7B, which it claims is competitive with Llama2-70B[1].

[0]: https://huggingface.co/spaces/HuggingFaceH4/zephyr-chat

[1]: https://twitter.com/huggingface/status/1711780979574976661
It’s not nearly so dire because the majority of farmland isn’t raising crops for direct human consumption. 40% of US corn is turned into ethanol and the majority of the remainder is used to feed livestock who burn calories by exiting.

In the event of a major disaster most of the existing livestock would be slaughtered and a significant percentage of biofuel/animal feed would be converted for human consumption. It’s less palatable than sweet corn, but vastly better than starvation.

Longer term you get different crops and even a return to things like crop rotation. Meanwhile people would be extremely motivating to get alternatives working.
Autonomous cargo plane could slash shipping costs