skysight-inc/HackerNews huggingface dataset:
I'm not against limits in programming languages. They help to reduce the complexity that have to be managed.

Limited languages are suitable for those that are willing to manage only so much. That's why Java has no "goto".

But Perl does offer "goto". Why? Because Larry Wall built Perl for himself, and he wanted the most powerful tool that he could conceive. That's exactly what Perl is.

And I accept that, and I really want that. Every time I mess up with Perl, I don't blame my tool. I just laugh out loud and exclaim: "Thanks, Larry, for letting me know another way to not be up to my job".

Perl is the magic wand. If you don't want to be a magician, you don't need it.

But if you want to be a magician, you'll be thrilled to know Perl has three forms of "goto", not just one. This is what the textbook says about the third one: "The goto &NAME form is highly magical and sufficiently removed from the ordinary goto to exempt its users from the opprobium to which goto users are customarily subjected".
> Shouldn't it be the other way around? The days when electricity was cheaper at night are long gone.

Are they? Here in California most energy companies offer plans with much cheaper rates overnight for EV charging (i.e. $0.15 vs $0.45-$0.90 peak during the day).

Commercial and industrial customers account for two thirds of power consumption so there's a lot of surplus generation at night. Lots of industrial users have agreements where the power company can signal them to soak up surplus power but that's also less effective at night when wind picks up.
fwiw, we deploy on fly and are happy with it.

The reason to like fly is you get a 20-ish line yaml file that replaces (and I'm not exaggerating) thousands of lines of cloudformation. It automagically sets up the equivalent of a load balancer, autoscaling group, VPCs, db, vpn, etc. And it's trivial to replicate that environment per employee.

Plus the autoscaling using their firecracker stuff is fast.

I'd recommend most companies who aren't using tons of aws services take a hard look at fly.
I suspect it's not worth the effort for most people. People who want to DIY a switch are likely content to brute force it with a decent cpu, multiport network cards, and lots of PCIe lanes. While others will be happy with a used enterprise OEM unit.

Does make me wonder what asics Microtik is using under the hood though...
Your spending more energy engineering that instead of just buying a tankless water heater if you care that much about it.
Niche languages seem to end up with insane quirks like this every time. It's like the tragedy of sisyphus that things like lua exist, but instead of using it directly or modifying it slightly, then having a dead simple, tight, small, elegant, consistent language, people reinvent the wheel and never make it round.
Does anyone even use winget? I tried but its repositories never have the tools I need in it. Scoop has been superior for me in every way.
> Partnering with another company is a “strange move” for Apple, but the decision “would not have been taken lightly,” says Jake Moore, global cybersecurity adviser at security firm ESET.

> While the exact privacy implications are not yet clear, he concedes that “some personal data may be collected on both sides and potentially analyzed by OpenAI.”

Sure is reassuring to hear this kind of confidence from a cybersecurity professional.
In Finland (and I guess at least other Nordics as well) we are starting to get neters with so called P1-port, which is open for the user to get their data. All I needed was a wire with RJ26 and an ESP8622 with some esphome definitions and now I get all kinds of data from the meter every 4 seconds. Total consumption, consumption, amperage and voltages per phase etc.
They do in the full paper (not open source & at this time no one's put it on archive):

"Mechanical logic gates
Last, we explore the metastructure as simple mechanical logic gates. Figure 8 (C and D) demonstrates the achievement of both “OR” and “AND” logic gate operations by using independent bistability in local elements. To facilitate the reading of output information (see more details in fig. S17A and the Supplementary Materials), we use a supported height-adjustable flat plate on the top to cover a small region of the platform. Its initial state is set as an output of “0.” When the plate is even and elevated, it outputs "1," otherwise "0" for the cases of either being tilted or lowered. The configurations of the top plate are determined by the pop-up ("1") or pop-down ("0") motions of three supports bonded to the bistable elements as inputs. A pyramid support denoted as P1 is placed in the center with two other neighboring supports surrounded, e.g., cuboids of S1 and S2 and pyramids of P2 and P3 for the OR and AND logic gate, respectively.
Figure 8C and fig. S17B show that when P1 is popped up and fixed, popping-up either S1 or S2 or combined as inputs leads to a stable and evenly elevated plate on the top as an output of "1" for an OR operation, because one point contact at P1 alongside one plane contact at S1 or S2 will render a stable and even surface. For the case of AND logic gate shown in Fig. 8D and fig. S17C, three pyramid that supports Pi are free to pop up or down, providing the point contacts to support the top plate. Only when the plate is supported by three pop-up point contacts, i.e., P1 = P2 = P3 = 1, it will generate a stable and evenly elevated plate as an output of "1" for an AND operation.
We note that most previous mechanical logic metastructures are limited to 1D and 2D structural forms (1–3, 11, 19, 20, 26, 29, 41). Our design extends the structural form of the mechanical binary logic computation to a 3D structural form. In Fig. 8 (D and E), we demonstrate the logic operation in only one zone. In particular, given the independent bistability of each local elements, such design principles can be readily applied to multiple zones for conducting a myriad of parallel mechanical binary operations on the same metastructure platform (see details in fig. S18). Moreover, by altering the structural components as schematically illustrated in fig. S19, we can also conduct “NOR” and “NAND” binary logic computations in our designed platform.

https://www.science.org/doi/10.1126/sciadv.ado6476
Raids Find Luxury Handbags Being Made by Exploited Workers in Italy
I had that exact needed version when I migrated, if you need it, I can look it up, but there’s a slim chance that I deleted it.
Semantic encoding during language comprehension at single-cell resolution
Is there a parametric CAD that works primarily as a constraint solver?

It so often bothers me that I have to guesstimate some values for parameters I don't initially care about, instead of constraining the parameters I care about and then optimizing the rest.
.NET web apps / APIs have an option where you can require authorization on all controllers (and their actions) by default. If you need an anonymous controller/action, you can use the `[AllowAnonymous]` attribute on it.
To rephrase using my experience: "performance aware" Haskell is about as "fast" as Go, but needs more memory, and both are slower than the same Java code - but both are way more fun to write ;). Optimising Go is easier for most people though, in Haskell you _really_ need to know Haskell internals (how to read core and write unboxed code) and understand laziness.

My try of the 1 billion row challenge in Go and Haskell (and C) and comparison to other, fast implementations: https://github.com/Release-Candidate/1-billion-row-challenge...
Wikipedia should consider becoming an encyclopedia again. That would be nice.
Open VLA, an open-source robotics foundation model
How is having the entire C# ecosystem a big miss?
Engineering Deep Dive: New Framework Laptop Webcam Module [video]
It's like anything. You adapt. RSI forced me onto ergonomics so now I have all symbols on a layer. Going back to a normal keyboard now feels weird.

I have layers (most with home row mods) for:

- symbols (with long press-hold to simulate e.g. shift + keys like =, -, etc).

- navigation (vim cursor keys on rh home row, pg up/dn, etc below) & F keys

- numpad

- media & custom app keys (e.g. auto-fill password from my password manager, etc)

I also have long-press to switch window, copy, paste, undo (i.e. holding Z fires cmd-Z), combos for escape and caps.

TBH it's all muscle memory now so they might not be right.

Of course, there's a learning curve, but now I just use 34 keys (2 thumb keys each side, although dedicated shifts would be good instead of shift via home row mods which sometimes misfire).

The main thing is to make up your own keymap that makes sense. Forget trying to learn someone elses.
The Affliction of Abundance
SDG&E supports "Green Button" downloads, but I wonder how long that will last — the links in the "Apps" section of https://www.energy.gov/data/green-button are dead, the official GitHub repo and Green Button Alliance repo appear to have gone into a coma around 2015, and Wikipedia doesn't have an entry for it.
Ha! when I finished mine, I actually bought myself some treats and snacks for celebration.
I came to work over a vacation to fix a critical customer issue. The company rewarded me with a $50 gift card.
Show HN: Smol Qbittorrent Bash Library
The corporation as superintelligence — NVIDIA, Apple, Microsoft, Facebook, Google, Amazon

Fortunately, none of these qualify as paperclip maximizers
This is Wikipedia working as intended. And that's a good thing.
> I can't think of a single recent technology that was so widely adopted by tech and non-tech people alike, immediately integrated into day-to-day experience.

Which technology are you talking about? ;-)

What I can clearly say is that I know no one from my social circles and extended social circles who used these AI chatbots for anything else than "simply trying out what is possible" (and ridiculing the results). A quote from a work colleague of me when I analyzed the output of some latest generation AI chatbot: "You shouldn't ask so complicated questions to the AI chat bots [with a huge smile on his face]. :-)"
> Linux system logs are filled with errors too.

Mostly only due to misbehaving hardware. Something that should really not happen on a Mac. And "filled" is way hyperbolic, there usually isn't a lot of it.
Why wouldn’t they just replicate bash or some other UNIX shell, along with the basic UNIX tools like cp and find with matching APIs? Huge mistake there imo, even if they did add a few bells and whistles with powershell
> It is absolutely everybody's job in the company to make sure it is profitable, unless you work for a non-profit.

This attitude is more likely to get you fired than rewarded in most companies.

If you step outside your role, or even lift your head up and peek around and offer your thoughts about what you see, you'll be at greater risk for no reward.

Again, in most companies, not all.
Starts at the top.

Lazy pay, lazy perks -> lazy workers.
Agreed https://0x0.st/XakD.png ;)
Discussion (333 points, 14 days ago, 118 comments) https://news.ycombinator.com/item?id=40731922
It depends.

In my case, all rooms are cabled with a weird electrical standard that should get me 10G Ethernet (and does 2.5G without any issue). I'm not going to drill holes to pull my own fibre all around the place when I have perfectly good Ethernet connectivity.

Also, while 10G SFP+ NICs are vastly more available than Ethernet 10G ones, switches seem to be cheaper with 2.5/5/10G Ethernet ports than full on SFP+, unless you buy recycled Enterprise gear which would blow your power efficiency argument out of the water.
I always thought the resource fork as a good idea poorly implemented. IMO they should have just given you a library that manipulated a regular file. Then you could choose to use it or not but it would still be a single file. It could have a standard header to identify it and the system could look inside if that header was there.

One of the big problems with resource forks was that no other system supported them so to host a mac file on a non-mac drive or an ftp server, etc, the file had to be converted to something that contained both parts, then converted back when brought to the mac. It was a PITA.
>the rest of it will figure itself out. That being said I feel like I'm just now realizing that idea is bullshit.

Unless you are dealing with Government or Enterprise, most software dont have distribution problem, especially those on the web where distribution is nearly free. You have a discovery problem. People dont know your product exist.
LLMMatDesign – Gen AI for Materials
If it exists in Powershell, it is backed by a REST API. Lots of AZ SDK's include a helper method to make calling the API's easier (like az rest cli command or invoke-azrestmethod).
The Wasp project is one option to get your project started quickly.
https://wasp-lang.dev/

There are also a CRUD generator available in the Nest.js ecosystem which can scaffold a project for you quickly.
https://docs.nestjs.com/recipes/crud-generator

It might help if you defined "medium complexity" more clearly, as this will strongly influence the choice of tech stack based on your actual requirements.
The cheapest computers with Alder Lake N CPUs, like ODROID H4 and many others, have only a single SODIMM socket and they are limited to 48 GB (which works, despite Ark advertising a limit of only 16 GB).

However there are many NUC-like small computers made by various Chinese companies, with AMD Ryzen CPUs and with 2 SODIMM sockets, in which you can use 64 GB of DRAM.

Those using older Ryzen models, like the 5000 series, may be found at prices between $220 and $350. Those using newer Ryzen models, up to Zen 4 based 7000 or 8000 series, are more expensive, i.e. between $400 and $600.

While there are dozens of very cheap computer models made by Chinese firms, the similar models made by ASUS or the like are significantly more expensive. After the Intel NUC line has been bought by ASUS, they have raised its prices a lot.

Even so, if a non-Chinese computer is desired and 64 GB is the only requirement, then Intel NUCs from older generations like NUC 13 or NUC 12, with Core i3 CPUs, can still be found at prices between $350 and $400 (the traditional prices of barebone Intel NUCs were $350 for Core i3, $500 for Core i5 and $650 for Core i7, but they have been raised a lot for the latest models).

EDIT:
Looking now at Newegg, I see various variants of ASUS NUC 14 Pro with the Intel Core 3 100U CPU, which are under $400 (barebone).

It should be noted that this CPU is a Raptor Lake Refresh and not a Meteor Lake CPU, like in the more expensive models of NUC 14 Pro.

This is a small computer designed to work reliably for many years on a 24/7 schedule, so if reliability would be important, especially when using it as a server, I would choose this. It supports up to 96 GB of DRAM (with two 48 GB SODIMMs). If performance per dollar would be more important, then there are cheaper and faster computers with Ryzen CPUs, made by Chinese companies like Minisforum or Beelink.
RL expert here, the problem with vision is that most likely, it takes too long to render and to process the render in your NN.

At that point you need to run the game real-time instead of faster, so you need a lot of compute to generate your data. You will also need the bandwidth to throw the data around, and the GPUs to take all that input size.

It's definitely possible, but not the place to start, and will require a lot more compute infrastructure.
Look up something like lx.xyz on that site. You'll see it's $3k/year
The point there being he might not write something because he knows they will read and dis approve. Its way to control his speech (and this his actions) because is prior actions mirrored his rap lyrics.

If you support stopping this individuals right to speech do you also support doing the same for artists that haven't broken the law or are on parole?
I had a quick look through the linked "Testing Telecoms Software with Quviq QuickCheck" paper, but couldn't immediately see anything to answer my question: "why is this stateful stuff not better rolled by hand?". The OP gestures at this with the key-value pair model of a key-value store, but why would one not just write a state machine; why does it require a framework? I literally did this last week at work to test a filesystem interaction; it boiled down to:

type Instruction = | Read of stuff | Write of stuff | Seek of stuff | …

And then the property is "given this list of instructions, blah". The `StateModel` formalism requires doing basically the same work! I really don't see that `StateModel` is pulling its weight: it's adding a bunch more framework code to understand, and the benefit is that it's getting rid of what is in my experience a very small amount of test code.
How big is “large palms”?
The calculations of 25T or 1/4 of the current global market (100T) is too rosy, even considering a projection of 16% capture of 150T by 2035

https://chatgpt.com/share/1cee4717-2486-48d8-b119-fe0ad729df...

*i.e. if we don't consider the bitcoin holdings hack
Wind turbines in my research are pretty terrible unless run at scale (massive). YMMV but when I last looked into it, small turbines tended to be 1) noise polluters, 2) not very large power generators and 3) poor build quality.
Yes, my Intel Celeron N5105 had a full core pegged at 100% while doing that iperf and getting those numbers.

But there are 4 whole cores, meaning I can get far more traffic switched and routed with the CPU capacity than all the ports combined can sustain.
The states (and even more so the sub-state regions) really are much more different than what you would think just looking at R vs D. A Democrat in a city the Democrats win 90-10 is likely a very different Democrat from one where they lose 60-40.
How to add a WordPress Blog to a Next.js app as a subdirectory for SEO
Utterly bizarre: https://archive.is/YbkIa
When Powershell was first released I was primarily working with Unices and was very curious what would work better:
The Unix way in cutting, changing and grepping some part of stdout (in some OS a bit simplified b with options for automated pricessing which commands the programm to output colon delimited or otherwise formatted)

Or the Powershell way where on can access data members directly.

I thought I would prefer the second method more, because the access looked much cleaner/structured.

But after all these years (still mostly Unix scripting but Powershell and some other environments too) my mind has changed.

Would like to hear what others would prefer'
Unix method with some scripting language or windows method with Powershell)
Holy crap, is that modified or do they all sound that loud? And not just in reverse? Not the future we were promised.
Adding another one to say that I've only have a positive experience with Hetzner so far. 6 months in, and 4 machines. All doing fine.
Except there are about a million ways to do this that don't involve releasing another tool. Everyone I know (including myself) would make an alias, that's entirely what they're for. If you want to get really fancy, you could make it a function in your shell's rc file. Or if you're REALLY zesty, you could even write an entire shell script for it.

To a senior, tools like this make no sense, because they're unnecessary, and contribute to bloat and waste, both for systems, and for the time spent.
D&D's rules designer changed spells: 'excruciating' in Baldur's Gate 3
I'm not in QM but electronics, still I accept QFT on evidence. Had to give up intuition/bad training when coming to grips with Aharonov–Bohm and related. Still, on bad days when (4kRTΔf)^0.5 or such gets in my way, I default and accuse my noisy little 'charges' of being too big and that they rattle around like large ball-bearings in an empty oil drum.
Ask HN: What's (in your opinion) the best authentication method for web apps?
i'm looking to gather some opinions, as i've been building some small apps recently and noticed some dissatisfaction around using magic links for authentication.

at the same time, i do not want to use google despite being very simple, just because they already have enough data on me as it is.

do people mind email and password combos? or perhaps passkeys are the future?
Maybe tampering with evolution and natural selection isn't the greatest idea.
What benefit does excellence derive for the excellent then, other than feel-good bubbly feelings? If labor cannot differentiate itself then collectively it will do the minimum acceptable and everybody will be mediocre (unless autism).
>Has anyone ever done a society re-bootstrapping from "mechanical computation" back to working chips?

Thankfully not, since it hasn't been necessary yet... At any rate I would guess mental arithmetic would be much more practical than mechanical computers, and then we could probably skip straight to vacuum tubes and punch cards.
Committing code to open source projects is always going to be a stronger example of work than a personal project. It shows you can work with other people, and handle feedback and make changes through the development cycle.
There's a link to the paper in tfa, it's open access.
> I wish he would open a patreon or something

Hah, literally the video he put out yesterday is him paragliding with the Patreon CEO.
I'm curious as well. Pretty happy with DO overall; but it is relatively vanilla as far as a hosting product goes.
Folks: HN has a ‘real headline’ rule but it wouldn’t fit. I did my best to shorten without changing meaning.

Actual headline:

> D&D's lead rules designer admits he changed some spells because of how 'painful' and 'excruciating to cast' they were in Baldur's Gate 3
It is ignorance, because aliases and shell scripts have existed for eons, and this is an overkill solution for a non-issue. I have a bunch of aliases for common flag combinations; I haven't released any of them as entirely separate programs.
'Chemical recycling': 15-minute reaction turns old clothes into useful molecules
The only estimates I've seen say 10-25 percent more efficient.
The UK has smart energy meters for a lot of customers. Octopus are an energy supplier which is using them to great effect for data nerds and people who want to save money.

To get the data out, you can just call their API to get daily consuption figures, split into half hourly blocks[0]. They also allow you to just download a CVS file directly from the energy use section of their website.

The data in the API is only update daily, but they can give you a tiny addon device[1] for free which will allow you to access live usage in realtime (updates ever 10 seconds I think).

I use a Home Assistant integration to collect all this data live there.

To make use of the smart meter, they also have a series of tarrifs which change price dynamically. The simplist is Tracker[2] which charges you a different price per unit every day based on the wholesale price. There's also Agile[3] which is the same concept but the price changes every 30 minutes with higher highs and lower lows. That one is great if you can shift your energy usage outside of peak times.

They also have "intelligent" tarrifs where you allow them to control your car charger[4] or home battery[5] so it charges when it's cheapest.

Octopus are doing really great things in the UK and part of their business is that they sell the backend as a service to other energy companies who were previously stuck in the stone age as Kraken[6].

[0] https://developer.octopus.energy/docs/api/

[1] https://octopus.energy/blog/octopus-home-mini/

[2] https://octopus.energy/smart/tracker/

[3] https://octopus.energy/smart/agile/

[4] https://octopus.energy/smart/intelligent-octopus-go/

[5] https://octopus.energy/smart/intelligent-octopus-flux/

[6] https://kraken.tech
I switched to menu completion and the tab completion isn’t as painful with all the choices.
Dual-laser approach could lower cost of high-resolution 3D printing
Non-Obvious Prompt Engineering Guide