skysight-inc/HackerNews huggingface dataset:
In the UK specifically, piped gas and electricity are effectively transported 'free'. Ie. economically it is a single market with a single price. Regulations require all market participants are treated equally, and delivery is done by the government at a fixed price, no matter how far away you are, and if for some reason they cannot deliver (for example capacity/transport constraints), then you will be compensated.

Thats why specifically the UK is a good case study for a 'perfect futures market', because many of the real world market distortions don't exist.
I might be old school but I still think about the web in terms of the OSI model.
I was a car mechanic for a while. One of the hard things about some of the trades is that you must own your own tools. So when your at a auto repair place (whether that's a car dealership or an independent repair shop) is that the tool box and everything in it belongs to that mechanic/technician. When you quit the business (almost always due to injury), you sell your tools.

It is my understanding that machinists have a similar economic system. Selling your tools means retiring from the industry. I remember some complaints by the Wall Street Journal (back in the 90s) where they were lamenting the shortage of "swiss style machinists" - who make tiny, precise things, and your entire day's production could fit inside an expresso cup. Upon further investigation, that type of machinist had a 10 year long apprenticeship. Only European countries subsidized such apprenticeship programs as no American company could afford to hire workers who needed 10 years of on-the-job-training before they could be productive. They had mentioned that almost every American "swiss style machinist" got laid off when the Cold War ended and every one sold off their tools to make ends meet.

As a country, we go through these silly boom/bust fads. The slavish devotion to cost-cutting has damaged our country's ability to survive change.
Intellectual honesty is very much in the garbage generating machine camp. Making an embedding space of reasonable language and then randomly sampling it is not a way to draft a law.
You are repeating the same dominant theory and don't address that at least some of the excess can be accounted for by more rigorous computation...
It's called CGNAT when you do it near the end user / eyeballs and do it generically for all services on the internet.

When you do it near the service being provided, and only for your own services, it's called a Reverse Proxy.

You are right that these two things are similar, but they aren't identical; CGNAT attempting to handle you trying to talk to who knows what on the Internet (e.g. game servers, VoIP) is a much harder problem to solve than a Reverse Proxy handling a known set of protocols you want to expose.

And, yes, an unloaded CGNAT or Reverse Proxy is not noticable in terms of performance. However, both of them have load limits where you need to scale them up, and particularly CGNAT frequently degrades (due to larger tracking tables) before completely falling over.
Eh, RE: your edit, "multiplication" itself has several different definitions in a vector space. For example, a dot product, outer product, Hadamard product, etc.
For example, the largest supermarket chain (Albert Heijn) usually won't take credit cards, with the exception of certain cities and contexts (train stations) where there are more foreigners.
> IPv4 with NAT gives us a max of 96 bits of address space

But then you need NAT piercing everywhere for even "basic use". How is not being able to connect to things "usable"?

By that same metric, you also get a bare minimum, naive count of of 144 bits of IPv6 address with 2 layers of link-local address + all ports.

144 is much larger that 96.

Even the naive 64 bits "just use one layer of link-local" is still larger that the entire current 32-bits of IPv4.
> Why not design UIs in an editor that saves layout to XML?

It's funny because that's my personal nightmare. I'm a JS to Rust developer so I'm biased but the likes of React and Svelte have spoiled me with the ease with which you can integrate reactive components into a UI in a way that you simply can't when you're using a separate XML file.

I agree that the example given looks old-school but Rust has a wonderful macro system, I can imagine building a really slick compose method with macros that generates this kind of code underneath.
This can be easily fixed by camera creators.
Everything has an ecosystem living on it. Are you sure your laptop is any cleaner than the toilet seat? How long has it been since you disinfected its surface with alcohol, bleach, or citric acid?
No, it’s rarely half the table, most bool columns are biased to one value.
I thought most of that 565km distance was an existing waterway.

In English: https://en.wikipedia.org/wiki/Draining_of_the_Mesopotamian_M...
Has anyone gotten GTK to compile on Windows without using MSYS? I would love to use pygobject with Python but the build chain and how to get it working is extremely confusing to me. Back in the days of gtk2, pygtk2 used to work wonderfully and compiled with MSVC
I guess we have come the full circle.

Speaking from a mobile dev's perspective, the native UI design in 2010s was done by XML based files (storybooks in iOS/macOS, XML layout files in Android) and native code would "connect" with the XML files in various ways. Now the development is moving towards declarative approach using frameworks such as SwiftUI and Compose.

This builder pattern resembles quite a bit of how you would declare UI in SwiftUI and Compose.
The homepage puts "Receive lifetime book updates for free", I guess that would mean second editions?
Physics and computer science share the feature that it seems easier to start by explaining linear motion (linear programs) but all the really interesting stuff is circular (loops). Complex numbers are the simplest representation for describing and combining rotations in a consistent way. (Other representations like "r theta" are not as simple.)

Note also that a world with only monotonic linear motion could not possibly have life or thought or any complex behavior. Rotation is required to model any sort of accretion over time. (note that the typical finite case of "particles in a box" bouncing off the walls is, on average, circular motion too.)

See Clifford Algebra for generalization of the complex numbers
Also, tableview/datagrid, complete with support for sorting and reordering items and columns.

It’s shockingly difficult to find newer UI frameworks with this, even though it’s one of the most important desktop UI widgets for a lot of use cases. Win32, Cocoa, GTK, and Qt Widgets have it though, and that’s part of why those toolkits continue to get used.
And yet I have 12% degradation on my 2020 SR+ after only 42k miles. Tesla can cherry pick all they want but on average most of their battery packs are around ~13% at 100k if things like teslascope etc are to believed.
Well, I just popped in "Write a new Federal law banning the collection of melted snow by individuals or small-business proprietorships for the purpose of protecting endangered plant species. Include a loophole that excludes minority-owned businesses or people who contribute a sufficient amount of money to carbon sequestration technologies or senators or representatives who voted in favor of strongly pro-union causes." and I won't burden HN with the results but it definitely has the shape of a fully-fledged bill for Congress to pass.

One problem ChatGPT would have in its current form is it would need auxiliary assistance to craft a larger-sized bill, as bills easily exceed its current window size. But that's a solvable problem too.
In the end there’s actually doing stuff. And there’s putting it on a TODO list. Both are types of activity but only one actually got something real done
Funny, I see that I think they've been in the trenches and had to beat the thing into submission to get useful output from it and realised the true impossibility of the task.
If you hire inexperienced people who don't know CS and can't think critically and only copy-paste off S.O., then it's entirely on you.
From my understanding companies in China can apply for non-blocking Internet so people can visit Google/Youtube/etc. freely. However, if your concern is that the general Internet in China is not safe enough (monitored), I'm not sure what solutions can solve that. Maybe there is some end-to-end encryption software that you can use?
Show HN: A Minimalist Link Dashboard configured via env variables (for K8s etc.)
Hey HN,

I built this thing called envlinks a while ago, and decided to make it a bit more public since I still find it incredibly useful. It's a very minimalistic website that displays links configured via environment variables and makes them accessible using keyboard only. I use it as a point of entry for kubernetes environments (one for stage, production, etc) to link to the various services and have a single URL for things like Gitlab environments when there are multiple services running in each.

What sets it apart from similar services is that you don't need to faff around with a database, config files, or anything but env variables, so it's very simple to set up in k8s & co. I couldn't find any other solution that was as simple as this, but if anyone knows of one, I'd love to hear about it.

Here's the source code with installation and config instructions: https://github.com/maxhollmann/envlinks

Any ideas (or PRs!) to make it more useful very welcome :)
But what I'm confused about is that we're supposed to be using AI to do, cancer research, solve all diseases and the mysteries of the universe, but some how cryptographically signed photos are out out the question?
It happened to me :-)

But the older I get, the more I prefer Window's Traditional UI. Needless to say, I don't like W11's design choices at all.
I wonder if they will also see 25 prompts per 3 hours limit.
That may be true for large companies, but a lot of smaller ones get crushed in the process, including those that will never be big enough to find a way to work around the law.
I wouldn't either. But I would still call GPT-4 a garbage generating machine.
It was years back, yet- as little as watching anything crawl on a wall gives me anxiety, I have to often go closer to take a look at what it is, I generally breathe a sigh of relief if it flies(rules them out entirely). A mosquito bite, feels nice after you see it fly away, knowing at least its not those cursed days all over again.

Sleepless nights, helpless days. Had it all during those days. I'd rather leave this earth to the heavenly abode as an option than relive those dreadful days.
OK, I now understand what you're saying. But I don't think it works.

Take Facebook, for example. Even without copyright, the only way you could offer Facebook's content is to completely scrape Facebook, because (at least currently) that's where people post their stuff, because that's where everybody who they want to reach is. Even if you consider that an ethical thing to do (I don't), you're still going to have to have servers (plural) running all the time. That's going to take a fair amount of money, and you aren't going to have the revenue, because you aren't going to be selling ads. So I don't think that your approach will actually work economically.

Or take Netflix, as you mentioned in replies to other people. If copyright doesn't protect the movies, then you're left with love-of-the-art movies. And that's OK for those who like that kind of thing, but you're not going to get Star Wars or Marvel movies that way. You may consider that no loss, but the vast majority of movie watchers want to watch that kind of stuff, and don't want to watch unpaid passion projects. So your approach leaves consumers strictly worse off in terms of their preferences. (With one possible other option - that Marvel sticks enough product placement in their movies to pay for their creation.)
> You can speed up, by a huge margin, big string indices with md5/hash index

Dumb question: what's the use case for having a md5/hash field in your database?
Natural rivers will sometimes flow underground: https://en.wikipedia.org/wiki/Subterranean_river
Well yeah, because blindly killing the process that's listening on the port will do the wrong thing for Docker and you can't predict without asking Docker what container/process is the one that owns the port.
It is arbitrary and random. Some machines will ask for it and others won’t. Some automated machines will refuse US cards altogether. Wait til you’re at a tollbooth entering the Autoroute trying to use all your US cards, and none of them are accepted.
GitHub Stores 150TB in Vitess
This is what cost-of-living salary adjustments are intended to address.
just the right time to ask this question.
We have an RFC open to add support for foreign keys in Vitess
https://github.com/vitessio/vitess/issues/12967
Looty collective took surreptitious 3D scans of Rosetta Stone then posted NFTs
Ask HN: We are building an analytics tool for ChatGPT plugin. Would you use it?
Hey folks,

We are building http://pluginlab.ai/ a tool that helps you to get analytics and insights about how your ChatGPT plugin interacts with your backend API.

What do you think about it?

Let's discuss :)
Sign up for a free Apple Developer account, learn to use the tools, and you can compile and install all the software you want on your Apple devices.
Check the return value! Unless you really want truncated values, but I would assume most people don't.
I'm sure some companies out there might find a competitive advantage for using exotic languages and tech stacks.

But I get the impression the more common scenario is that the engineers were bored and given the chance, wanted to play with something new and shiny.

It also depends on the company's prestige. A company like Jane Street using OCaml? Considering both their prestige and the amount they pay, I'm sure they will have no problems hiring. Nor will their alumni have problems getting hired elsewhere.

Some no name startup or even some "innovation lab" inside a boring cludgy Fortune500? Yeah, no thanks.
We all know the purpose for which the images linked in the dataset will be used. "We are a non-profit organization and provide only a link" is akin to taking people for fools. Why can't these systems be trained exclusively on images for which people have given consent or for which money has been paid?
https://archive.ph/BieF7
I use Trello to organize my life. At the moment I cannot imagine what kind of features an alternative would have to offer for me to consider switching.
I don't get this sentiment. The number of large companies that deny their middle managers promotions while parachuting in outside executives is not that many.
A middle ground that has had some success is managing a queue in Postgres that falls out business or application logic in the app, whether it’s micro service or monolith.
Unrelated to the above convo, but: An owned object can be bound by a static lifetime, for example. Eg, `fn foo<T: 'static>(t: T){}\n foo(String::new());`
I think you should give F# a shot instead.

1. No standard and easy way of implementing interfaces

No problem in F#, you have interfaces, abstract classed, ...

2. Bad standard library

In F# you have access to the full .NET standard library and ecosystem. There are also quite a lot of libraries that are especially designed to take advantage of F# (SQL libs for example).

3. Syntax problems

3.1 OCaml doesn’t have a single-line comment syntax.

It's `//` for single line and `(* comment *)` for n line comments in F#.

3.2 It has for and while, but no break and continue. So you use exceptions with a try inside the loop for continue, and outside for break.

Same in F#, use recursion.

Generally F# solves some of the issues but definitely not all of them. Some are just in
the nature of the Standard ML syntax I guess.

4. Rest of the package is also not that good

- NuGet is a decent/good package manager.
- Easy to install a complete dev env.
- sane build system (MSBuild)
- Great out of the box support in JetBrains Rider/ Visual Studio (for Mac/ Windows) or via a VS Code plugin (Ionide).
Using popularity as an argument for the quality of content isn't so useful. Quantity is often antithetical to quality. Look at YouTube front page when signed out, most of it is garbage.
> Edit: dropping the demo link here for people to poke around. I'm curious what people use that is missing, and what people find unsuited to commercial use.

As I alluded in my other comment, theming is possible but it's really limited if you expect anything close to what you'd typically expect. You can put borders and colors on frames, but it's pretty limited. For example, if you want to have a border with different colors on each edge, or a border on just one edge, you can't do that by default. I had to make a custom frame object that is a frame in a frame to make different sized borders, but it's still a single color.

I created a mockup in PowerPoint (my go to design app... I'm not a designer, but it has everything I need and I know how to use it), and I had a lot of difficulty getting the egui design to match my PP design, because PP actually has a fairly advanced styling engine with a ton of options, and I took advantage of those. So when I go to egui, the default theme didn't support the kinds of design elements I wanted to show.

But, like I said, you can make these things yourself with the egui building blocks without much trouble.

The other thing I found a little frustrating was chromeless windows. There's an example of this, but it didn't seem well supported. The idea is that when you turn off chrome, you can't resize or close your app. So then you have to add all that functionality back. There's a demo that shows this, but it seemed like a pain at the time to integrate into my app. I gave hoping it would be fixed soon, so I will revisit.
Is there an easy way to link other notes in Apple Notes?

I've used Obsidian for years now. Mainly because it's frictionless, I can easily link notes, and just Markdown files. I don't spend time looking for cool new plugins or new methodologies, so I don't have those temptations. I wish there were a better mobile app, though.
The Rust... must... grow.
Harry Belafonte, 96, Dies; Barrier-Breaking Singer, Actor and Activist
This seems like a really shallow dive into what’s going on, and seems to exist largely to plug their own hardware?

For example, how is the chipset getting “List of the software on the device” unless the chipset is aware of the operating system?

They don’t actually do any packet data analysis to see what it includes as far as I can tell, so other than seeing some packets go through, the rest feels like idle speculation.

Also, why didn’t they try GrapheneOS which is what their own devices use? Surely if the goal is to try and deduce that the chipset is involved, rather than a driver, then that’s the logical place to start?
I am tired reading shitty click bait articles from people that don't work in the field but believe they know what will destroy it. AI is tiresome not because of AI but because of attention grifters.
Imgui-rs looks really good, thanks! Imgui does say it can output raw vertex buffers, so you could probably put imgui stuff in an egui gl frame and reskin egui to match the looks.

I've only kicked the wheels a bit on egui, but for plotting signals it seemed more than adequate. Its histograms looked fine too. The only thing I saw missing was 3d plotting and heat maps.
Yes, absolutely sure. This comment of mine got voted up to 171:

https://news.ycombinator.com/item?id=35482810

... and it was just a cheap dunk on Musk. I actually quite like Elon overall, although my shock in that comment is genuine, but since liberals decided he's a traitor to the cause mindless anti-musketry is in vogue.

Normally I post things that go against the zeitgeist, but in that case we happened to align = instant karma.

Whereas, for example, a drastically higher effort comment with five citations showing something unexpected about climatology (e.g. that Arctic sea ice is at the same level right now as it was in 1981) will get +3 at most, possibly -1, quite possibly flagged. Often hard to tell what will happen. I sometimes suspect the absolute number of upvotes is much larger but that they get balanced with a nearly equal number of downvotes.
Whether some people know each other is besides the point. In a public square, anyone can walk in and speak, without anyone knowing them or following them home.
To be honest, it basically can't make the current situation significantly worse. DC has already solved the problem of how to pass extremely large amounts of legislation with no accountability (who wrote this line?) and no ability for any individual human, most notably including the people nominally voting on the bill, to possibly have read the entire bill even at a skimming speed, let alone comprehend and understand the possible implications.

I don't mean this as a cynical crack, either. It's literally true. The spending omnibusses and such are often passed at speeds where it is only borderline physically possible for a legislator to have skimmed the bills, and certainly utterly impossible for them to understand what is in it. DC doesn't need help on that front.
The last paragraph show this article for what is is. That's an Haskell fan trying to discredit Ocaml and doing it very poorly.

It takes a special kind of writer to write an incorrect sentence about the expression syntax while quoting the actual definition from the specification which contradicts what's written just after.

I generally disagree about the complaint regarding the syntax. If you indent the code properly and use parentheses as you should and the language invites you to do, none of this is ambiguous. That's bad code not bad language design.
HDCP lasted... I think it might have been three years, the second time? Or maybe four years, I can't recall.

Why would any kind of camera photo signing algorithm fare better?
What about making it easy to import Rust business logic into C# / Swift / whatever GUI language you're using?

I get the value of 100% (or 50% or 80%) implementing the UI in Rust; especially for tools that won't benefit from a native UI, or tools that only need light integration into platform-specific UI features.

I've also shipped a desktop product that had a 100% native UI and a cross-platform codebase. Today, implementing that cross-platform codebase in Rust and then importing it into native C# and Swift codebases for the Mac and Windows variants would be ideal.
Any similar ritual works. The dreaming brain is super bad at consistency. If you know something really well, like looking at your hands, wristwatch, or something else. You'll see obvious distortions and other weirdness while dreaming.

I think the distortions are always there. We are just not in a state of mind where details matters when dreaming.
Pools of Genetic Diversity Affect a Species’ Fate
I would certainly fail my SOC2 audits if I told the auditor that anyone on the team can merge in any unreviewed change and that gets pushed to production, but not to worry be cause we'll catch any issues eventually.

I trust my peers, but we all make mistakes and we do code reviews because we understand that working together can catch issues sooner. We aren't overly picky or mean during code reviews, but we make sure there aren't any glaring issues, and if there are, we talk about them and work together to fix them.
This example shows off the builder style, but since gtk-rs is built on top of GTK, .ui XML files are also supported. You can edit .ui files using the legacy Glade editor (with a conversion script), the newer (but incomplete) Cambalache project, or by hand (it's not that hard and this seems to be the preferred way nowadays)

https://gtk-rs.org/gtk4-rs/stable/latest/book/composite_temp...
If one reads the linked Wikipedia entry, one would learn that OTP is the only uncrackable form of encryption. It’s not something a government can easily block nor decrypt regardless of technology.
Shaping the GitHub of the Future as COO