skysight-inc/HackerNews huggingface dataset:
Nix packages refer to each other using absolute paths. The convention is to put them in /nix/store, but technically this base path (the "nix store") be changed to whatever you want. However, changing it requires all (non-leaf) packages to be rebuilt to refer to the new path. That also means that you won't be able to use the central package cache anymore, and you effectively get The Gentoo Experience.

The default path could be changed too, of course, but putting it under your home directory would mean that you could only share cached packages with other people that share your username. It would also break NixOS, since that uses Nix to manage the entire system.

> It means I can migrate things completely by copying one directory, rather than using an "Installer" in the Windows tradition.

Nix ships with a specific tool for copying packages (including dependency trees) between computers, nix-copy-closure. But this also assumes that the store path is the same.
If you have to preface your joke is hilarious, it probably is not hilarious.

Also this seems like a ChatGPT-generated comedic dialogue.
Can you share your blogpost?
There's competition for alternatives. https://www.promptingguide.ai/models/collection

Life will find a way.
These things depend heavily on context. "count" is better and less redundant than "visitCount" when it is a field or method of a "Visits" or "VisitList" class, for example, and nothing else is being counted. Or as a variable: "count" is also good enough in a small function with a few lines, that only concerns itself with a single type of item being counted. If there are multiple things being counted in the same context, by all means specify them.

I get the good intention, but in the end those guidelines get in the way of good code more than they really help. The "no methods bigger than N lines" for example (popular with some linters) cause more damage than improvements.
What about stuff like udev? Or anything that has a kernel module and a controlling program running in userspace, eg. iscisiadm, mdadm etc? This way any given utility is free to implement and experiment with the communication protocol however they want.

But, more generally, if we want general-purpose communication, why not press further and have relational database-like interface, with transactional semantics, triggers, fine-grained ownership?..
Don't take this the wrong way, because I think serverless postgres is a major achievement. But would you say multitenant means use Nile, and for everything else, use neon?
I think Hereditary would be a great movie if the ending were completely different. I was never sure exactly what was real and I really enjoyed that. Then that ending pops up like it was spliced from something else. I'm not sure if "jumping the shark" or "showed the monster" fits better.
Isn't that the distinction of anatomy vs physiology? I.e. form vs function.
Yep, and we now have nix-homebrew, which installs homebrew for you as a flake input. Taps are also flake inputs so your apps versions get declaratively managed/locked too!

Here’s how I do it: https://github.com/dustinlyons/nixos-config/blob/main/flake....
The sort of person who does this sort of thing isn't the sort of person to take much notice of court orders.
we already have working driverless pods.

you seem to think there are only 2 worlds: 1) population is exploding and everything has to scale 10x or 2) population isn't growing and apocalypse.

There is a 3rd outcome: slow, moderate growth at 2%/year and things need to scale just a little.
> So instead of keeping a centralized database and maintaining it, Fossil allows me to work on files and I don’t need to worry about hosting and upgrading a database.

I think I understand what you're saying. Compared to writing a Rails app and connecting it to a Postgres database, it's easier to dump files into a directory and push them to a Fossil server.

Your wording is a bit confusing. Fossil is a database. Adding a file to the repo puts it in the database. fossil ticket add status 'open' comment 'Remember to buy a cat' type 'task' adds a record to the database. You can use the fossil sql command to query anything in the repo.
I hope someone will build a super simplified EV that's affordable and lacks all the digital stuff - no touchscreen, no lcd displays, no included navigation software, no automated assistance systems, physical knobs all the way.

Add some way to pair my phone via bluetooth to send audio to the speakers and a place to put it for using google maps / openstreetmap or any other software on my phone.

And spend all the energy in optimizing the drag coefficient and reduce weight and make it not ugly or avant-garde or whatever is on the designers mind that reduces functionality.

Everyone is talking about how EVs are far simpler to build, require less maintance but it's still more expensive than an ICE car? Is this all the price of the battery?
The large lower booster only launches and lands on Earth. The upper section (the Starship) will be able to land and launch on other bodies, but it has only a fraction the number of engines.
> Not on Earth, or anywhere in the Solar System except the interior of the Sun, as far as I know

There are helium-3 deposits on the moon. That's what the new space race is about. Bezos wants to mine helium on the moon...

https://www.popsci.com/blue-origin-moon-lander/
Texas is a low service state, so I don't think they'd be interested in subsidizing you unless you want to drill.

https://www.washingtonpost.com/climate-environment/2023/05/0...
> Tangent: Looking at those code samples, I wonder whether coming up with the shortest possible, most cryptic variable names is somewhat of a sport amongst C developers.

I definitely make a point of using only single-letter variables in most of my C and python programs.

It is a very common usage in scientific computing. In math, all variables are single letters. Always. If a variable has more than one letter, you read it as the product of several variables, one for each constituent letter. When you are translating a formula that reads "y=Ax", you want to write something like

y = A * x

Writing this formula as

output = operator * input

or, god forbid, as something like

output = linalg.dot(operator, input)

is completely ridiculous to any mathematician.

Mathematics itself used to be like that in ancient times. But after centuries of distillation, we arrived to the modern efficient notation. Some "programmers" want us to go back to the ancient ways, writing simple formulas as full-sized English sentences. But they will take single-letter variable names from our cold, dead hands!

Of course, the first appearance of each single-letter variable must be accompanied by a comment describing what it is. But after this comment, you can use that letter as many times as you want. Encoding that information in the variable name itself would be disturbingly redundant if you use the variable more than once (which will be always the case).
"At both of the last jobs I've held, it was rare that you would be in an environment where you had a full IDE."

Are you writing space robot surgery AI big data containerized event-drive sixth-generation F-99s? Just curious.

I absolutely disagree with you by the way - most people don't use vim, ever. I mean, it's a cute flex, which is what I imagine is happening here.
Hear, hear! Just make a Kia Rio with an EV drivetrain and sell it for under $25k.
The Hacker News discussion is here: https://news.ycombinator.com/item?id=36725982
I'm sure about that. What I wonder is if their strategic importance can buy them some slack with the FAA. Apparently not, or not yet.
The Y Combinator YouTube channel has videos with specific examples. https://www.youtube.com/watch?v=TCPjk8Tpb5c
Utext: Rich Unicode Documents
> Not sure why this is news worthy

It’s a phenomenon unique to specific models in specific parts of the country.
> why not deploy a postgres database for each user so co-mingling is not even possible

This is the approach we took and I think it helps with IT review docs.
I find the performance tooling and package management situation in Swift via Xcode and Instruments is, in my experience, much better than a typical out-of-the-box Java setup with a popular IDE. IDE features may be better in something like Intellij (I'm not a fan personally), but the language tooling isn't better in my experience. The swift+llvm+lldb setup is nice, Swift Package Manager is really nice, much nicer than Maven/Gradle in my experience. So yeah, better at the low end.

Linux/Windows tooling is lacking, I'll give you that, but given where Swift started from I feel like they're already outside the norm for Swift development and debatably "low end" on complexity (although not deployment, I haven't had a problem with Linux deployment).

By "high end" I mean anything that is trying to do complex runtime analysis, and the sort of tuning that you can do on the JVM that is way outside my comfort zone.
TIL: Addlicense, a tool to automate license headers
US-8-150W, US-16-150W and US-FLEX-Mini for switches

UAP-AC-Lite for APs.

Dell PowerEdge R420 with proxmox hosting Opnsense as router, AdGuard Home for DNS, Unifi Controller hosted on Ubuntu and Home Assistant.
8% sounds good to me.

The required reduction in emissions is 99.9% (net), which is approximately "everything everywhere except maintaining grassland"[0] if done by reducing gross emissions; the last percentage point of a problem is usually the most difficult, so if we can get a whole 8% by making a cheap sink, that's probably for the best.

Just so long as it's in the sweet spot of "cheap enough" without crossing over into the realm of "people can make money mining the CO2 out of the air", because if that happens then the same economic pressure that means we have too much CO2 now will become one of too little CO2.

[0] https://ourworldindata.org/ghg-emissions-by-sector
> One thing that stands out is the call to ioctl - I have no idea why this is happening and it also appears to be causing an error. As far as I understand, the ioctl call signifies that the program is trying to do a terminal control operation. Dunno.

It's not an error, per se. (The ioctl is literally erroring, but that's an expected possibility for the calling code, and it handles that.)

The reason there's an ioctl is documented in the docs for `open`:

> buffering is an optional integer used to set the buffering policy. Pass 0 to switch buffering off (only allowed in binary mode), 1 to select line buffering (only usable in text mode), and an integer > 1 to indicate the size in bytes of a fixed-size chunk buffer.

You're not passing the `buffering` arg, so the subsequent text applies:

> When no buffering argument is given, the default buffering policy works as follows:

> * Binary files are buffered in fixed-size chunks; […]

(That doesn't apply, as you're not opening the file in binary mode, so it's the next bullet that applies)

> * Interactive” text files (files for which isatty() returns True) use line buffering. Other text files use the policy described above for binary files.

That ioctl is the underlying syscall that isatty() is calling. It's determining if the opened file is a TTY, or not. The file isn't a TTY, so the ioctl returns an error, but to our code that just means that "no, that isn't a TTY". (And thus, your opened file will automatically end up buffered. The flow here is a good default, for each of the cases it is sussing out.)
Very significant impact. There is no silver bullet that can remove the excess emissions on it's own, however combinations of these removal methods (coupled with decarbonization of course) will be essential to addressing excess atmospheric CO₂.

Regarding economics; there is plenty of olivine rock already available as a mining by-product. Disadvantages are that it takes up to 1000 years to fully sequester however this is logarithmic with a large portion of this achievable in the first century (why they mention 75 years in this article). This can be accelerated with further grinding to increase surface area.

I would imagine that regulations for net-zero will push for carbon removals to be sold similar to carbon credits have been (as net-zero can only be achieved with removals, not credits). These could either be sold as they are created annually or pre-purchased as the mineralization is a pretty sure thing to happen.

Whether this (as in CO₂ removal, not limited to enhanced rock weathering) evolves into a public service equivalent to garbage collection or a utility like water is yet to be seen.
example of the product in action: https://www.youtube.com/watch?v=HUPIoXma3XQ
I'm as confused about the mitigation status as others. However, the paper is clearer than the website:

> That is, while the speculative JavaScript sandbox escape is still
possible, an attacker becomes limited to reading their own address
space and therefore their own data. Finally, at the time of writing,
Apple’s patch is publicly available [57] and is implemented in Safari
Technology Preview versions 173 and newer [58].

[57] is https://github.com/WebKit/WebKit/pull/10169. At the bottom of it, an engineer continues to link ongoing hardening patches for window.open() + process isolation.
You are making two assumptions. One explicitly, that Starship will work in anything resembling its current design and promised operational paramters. This is by no means as guaranteed as you make it out to be (it's very much an if, not a when). The promises of rapid reusability are very much up in the air, and the whole many-engine design is also not proven in the slightest yet.

Secondly, you're assuming that reusable rockets are better than one-time use ones. While this may be true for certain kinds of missions, it is not at all clear for many others.

Reusable rockets fundamentally will have lower payload for the same thrust, for the simple reason that they need fuel for the return stage. They will also need to be made from sturdier materials to survive reentry, which again limits their capacity.
They already benefit from it though? Eg. Wetlands ease flooding during hurricanes, and quality of life improvements by being close to nature without pollution

I could see a one time payment when the restriction is first added, but once it's there, that's priced into the value of the property, and influences who will buy it

Why should tax payers foot the bill for somebody who wants land by the wetlands because they're an avid birder?
You regret buying one, or not having bought one?

Why?
> There's always ioctls.

Not good. Not so long ago I ran into a problem with mdadm which instead of reading sysfs used ioctls which simply didn't carry enough information for it to function properly. So, it still has bugs because of that, but it being written in C, reading from a file and parsing stuff from a string seems to cause a lot of melancholy in its maintainers, so the bug has been on slow burner for years now.
I didn't say anything about feminism when you responded to my comment.

This is an argument that you put in my mouth.

I just said that the comments from the production-side of the movie were braindead and sexist.

This is all a conversation that _you_ wanted to have.
"all variable names shall be 1 to 3 letters of the set [a-z]"

i think that works across almost all languages.

if you really need more than 17,500 variable names you are in some kind of hell already and stretching the spec to allow a 4th character will not increase your suffering.
PON is what's allowed fiber deployments out for consumer affordable prices and continued scalability of endpoint bandwidth, so "stop-gap" seems a little bit of an extreme position. There are a lot of environments where just the space and power requirements of a 10G port for each customer make it a non-starter, let alone the cost.
favicon should really be netscape navigator
For those that don't drive long distances and don't need a >150 mile range, very lightly used Nissan Leafs are available in the low $20k range.
Probably not, but there's the risk of incriminating testimony, which can be used in other cases/lawsuits or even expose additional crimes.
They clearly didn't cost much to make. So in terms of business risk it's one of those "high probability, low consequence" type risks. There's upside to be made for as long as it remains viable. Just don't bet the farm on it.
This is definitely a primary problem with Mastodon and other fediverse software. However, I will mention there is a problem with the idea of fetching replies from the parent post’s home server that makes it hard to solve.

The primary idea being that a user trusts their home instance, but don’t necessarily trust other instances.

If you fetch replies from another server, you are trusting that server to send you real, valid replies, from other servers. You could verify the replies, but this would be an expensive operation to do automatically.

As such, a malicious server could create phantom replies that don’t actually exist, and your trusted, home server would serve these to you. Currently, your home server only shows likes and replies it can validate (it heard it from the server that did it), but once you trust another server, you add a unnecessary middle man for some extra convenience
In my opinion, they’re not, because OpenAI makes generalized tools, that lack specificity (still need prompting, splitting, etc.).

I’d see it as AI as a Platform. The AI space will get hyper-competitive now with companies like Anthropic and open-source projects like Llama. LLMs will become a commodity
1) Kahneman had a chapter in his book about social priming, and endorsed the subfield, which was totally decimated by the reproduction crisis. But Kahneman himself didn't research social priming, and I don't think any of his research with Tversky has been challenged by the reproduction crisis. I think it's unfair to say he was "right in the middle" of it, unless I'm missing something.

2) What's wrong with Katsuyama? If you mean IEX was a dumb idea and HFT is good for markets overall then I agree with that. I think that just means Katsuyama is wrong and self-serving, not problematic.
It's part of their seductive ability that makes people think the glass is half full instead of half empty, why some people seem to think ChatGPT-4 can program better than they can while scientific evaluation shows that it's like: writes a program 80% of the time, the program compiles 20% of the time, the program works 5% of the time.

I can only imagine that somebody with poor judgement like Elon Musk has to have some people around who tell them what they want to hear and suck millions and millions from them.
Also available as a VSCode extension that automatically matches the pasted content to the programming language used in the current file: https://marketplace.visualstudio.com/items?itemName=curlconv...
https://www.youtube.com/watch?v=xbwUgApj0s8
These are really great features but they are not easy to implement. Sometimes I take a photo of my painting and convert to greyscale to compare with the reference tonal values. Automating this process will be very useful. Thanks for sharing this.
If we only had a government agency that could hold these companies to account for anti-consumer design.
*anathema
Is there something like this for Swift & SwiftUI development? My day job is React, so I need a lot less help there than with my personal iOS apps.
There's that protected-from-open-ocean barge lane (I forget what it's called?) that I think runs right from Brownsville to Cape Canaveral, or close enough, I think they plan on using that.

Edit https://en.wikipedia.org/wiki/Intracoastal_Waterway
If you're referring to the CAP theorem, it needs some clarification: https://www.infoq.com/articles/cap-twelve-years-later-how-th...
EU register of recognised data altruism organisations
The way people do it is to hammer in a nail that poisons the tree.

The tree dies, and needs to be cut down because it's dangerous to leave standing
you make it seem like the added complexity is morally sound, but as soon as you start asking about which society, you get into moral troubles
There's already a large amount of this available and energy can be sourced from renewable supplies.

Also worth noting that life cycle assessments take into account the gray emissions produced while sequestering CO₂ so the removal should be the net CO₂ removal (although not sure if that's the case in this article).
I don't really measure it, I wouldn't know exactly where to start, but there are people who try to measure it. https://worldhappiness.report/data/ and admittedly I haven't looked at their methods at all, so I'm just parroting information without understanding it. Hopefully I'm not just spreading junk data.
They did, right in their comment; "volume is always planned from be Florida".
I've actually tried to write an ActivityPub server in Vapor! I must admit I didn't get very far on the outbound part using Vapor, as the inbound part took up most of my time. My impression was that ActivityPub is way too poorly specified for a good ecosystem to develop, which is probably why we see a monoculture of Mastodon for post-based ActivityPub, and similar semi-independent monocultures for things like Reddit replacements (Lemmy?).

You're right about the NIO part. I've had to dig into it a few times, but rarely found it productive in solving problems. Vapor is pretty flexible if you drop past it's first layer of abstractions, and as long as you pick one of futures/async and stick to it, it's fairly straightforward.
My Journey as a Developer Without Passion
If you're an application developer on the lookout for a more efficient way to build backend applications, we have great news for you!

Introducing TiDB Cloud Data Services (TCDS) a fully managed, low-code, Backend-as-a-Service solution, your ticket to simplified and streamlined backend application development.

Our latest blog post sheds light on the remarkable benefits TCDS brings to the table, making backend development a breeze compared to traditional approaches. Say goodbye to the complexities of building RESTful APIs and embrace a future where TCDS handles the heavy lifting.
Huh, someone on Wikipedia must have seen my link to their Code Page 37 article and deleted the entire article 6 hours later. Seems pretty harsh. Wikipedia can have lists of all available Troll Dolls but it can't have an article on an important EBCDIC code page because it's not "encyclopedic" enough.
Nile CEO here. You can place tenants on multitenant DB or a dedicated Postgres DB. Placing the tenants on multitenant DB is the default. This has no cold start time since the instance/container is shared. If you choose to place a tenant on a dedicated tenant DB, you would have cold time of a few seconds. We are building this as we speak and will have more numbers to share soon. However, if you have chosen to place a tenant on a dedicated DB, these typically would be critical customers who are actively using the DB and may never want the instance to go down. We are exploring provisioned compute tokens for this purpose.
In London the closest we've got is probably Coppermill Bridge:

https://www.youtube.com/watch?v=LlSd0LW0XdU

Most people duck while cycling through, but i find it better to slide forward off the saddle and hang off to one side, because you can keep looking forward more easily.
It's like browser extensions but not toxic, malware-infected, browser performance destroying, compatibility with websites breaking, killing your web browser with "pluginitis", ...
It is a compelling argument being made that unaligned AGI would act essentially as SBF did and does. Everything is an optimization problem. If you select the wrong criteria the system explodes but there is no guilt or shame to make corrections.
You can definitely say it's annoying, but it isn't wrong. It's advertising, and of a category far, far less malicious than most advertising on the Internet.
not to nitpick, but at least in my experience, "geeked out" is a strange turn of phrase here