skysight-inc/HackerNews huggingface dataset:
> but we can't import electricity

The UK regularly imports electricity from the French who generate too much due to mass building nuclear power stations.
They actually do, surprisingly.

Lots of people got tricked on their iPhones after installing ransomware apps on them from the app store.

They couldn't figure out how to exit the app (you had to open the shutdown dialog via long press on power) and went on to pay after getting a scary warning/full screen hijack

Been a while since I read about this though, not sure how frequently it happens currently
Fish makes the bulk of it, for land animal it's 100b+
Are you sure that it is common practice for a problem that has three valid answers A, B and C, to only allow people to answer A or C?

Your website is not talking about "levels" of colour.

It's asking "is this blue or green", not "is this closer to blue or closer to green".

The question (1) "is this blue or green" has three valid answers: blue, green or neither.

The question (2) "is this closer to blue or green" only has two valid answers.

I would assume that with these types of surveys, the first thing to do is to qualify the proper categorization of the question.

Sorry to say, but to me it seems that almost all of the confusion in the discussion here is because you're asking question (1) (which has three valid answers) but expecting an answer from (2) (which indeed has two valid answers).
This is an outrage /s
I’ll continue to be vocally against it because I’m certain it’s not happening. Humans are incredibly susceptible to pattern matching and coincidences.
I'd say yes. Especially since cross platform support is becoming more of an expectation and the tooling is starting to enable that out of the box. It's definitely something I consider when picking a language and a framework. That's genuinely one of the biggest hurdles here, software availability. Picking Linux, Mac, Android and Chrome is getting a lot more common
I've always related grep to grab
The culture of single letter variables in golang, at least in the codebases I've seen, undoes this.
I disagree that it’s bad news. It gives additional incentives for consumers to get battery systems to go with their solar.

I live in the UK where prices go negative during periods of high wind/low demand.

There are also times where demand is so high that the electricity companies will pay a big premium for consumers who cut their consumption for a couple of hours, or who sell back to the grid, to avoid having to start up reserve coal-fired power stations.

I got batteries for my solar without any thought of them being very useful in winter, but in fact they are. I automatically force-charge when prices go negative and when the grid announces there is going to be an emergency need for power (usually a few hours notice), I’ll force charge and then force discharge during the time of need.

https://octopus.energy/blog/farewell-saving-sessions-wrap-up...
One does wonder, if an AI is so untrustworthy that you pre-emptively hypercorrect(1) its output because you assume it's hallucinating, what the point is of using it to write an authoritative-sounding comment in the first place.

(1): https://en.wikipedia.org/wiki/Hypercorrection
The as-if infinitely ranged (AIR) integer model
Tianjin University for Traditional Chinese Medicine
Is this for stuff like the Mini rig, where you can have a few speakers all playing the same thing?
Transmission line losses, which are pretty high.
Grid building is fairly expensive and people hate seeing pylons. You can bury the cable, but that makes it even more expensive.

Still, it's going to have to happen.

(At some point we might get a cheap flow battery or CO2-to-fuels system going, which lets you literally put electricity in pipes and tanks)
I am also red/green colorblind and so I cannot tell if graphs using colours in many articles (more than not) is so shitty for everyone else or not, but choosing no distinct colours (that I have no trouble differentiating) on thin lines is defying the purpose (understanding) I believe. Even if I had no trouble with colours (being close to darker shades of brown) I would perhaps use thicker lines and variate the style of the lines. So the information screams out. Putting similar shade colours on graph with colour legend in the corner telling which thin line means what is just something I throw away mentally being so difficult to navigate.
What memory ownership is about: a mental model approach
And if we ever automate every job away, littering could be the solution

There's a hundred other things we can dump energy on before deciding to waste it ; pumping water uphill, gravity batteries, regular batteries, electrolyzing hydrogen to use for later, ...
Yeah. The way market forces will deal with it is some energy sink will be figured out for the mid-day peak, and prices will stop going negative.

But when that happens the average price of power generated from solar panels will probably drop (because less of the power generated by a panel is wasted, so the capital cost/power generated ratio improves) and consumers will be better off. I expect. These market effects are complicated.

It is the opposite of what happened in, say, Germany. They started seeing negative power prices on the wholesale market then they ended up with average electricity prices that were among the most expensive in the world.
> For good: LLMs could induce positive false memories

That sounds almost as horrifying as the induction of negative false memories.
You have a meta header that sets a strong blue theme-color on the top of the browser. I feel like this might be biasing the results on iOS Safari because, compared to this blue, turquoise appears comparatively green.

Edit: it looks like the theme-color is meant to stay stuck as whatever the initial green/blue colour was. But for me, it shows as white if the initial choice is green.
#RejectSeparator #PaperMachineEquipment
Leave your email for price!
If you are interested, you can contact us.
Email address: wastepapermachine@gmail.com
https://www.flutingpapermachine.com/solution/cultural-paper-...
#papermill #papermachinepulpmachine #everyone
Show HN: Shelly – A pure and vanilla shell-like interface for the web
shelly is a shell-like inteface for the web made with pure and vanilla HTML, CSS and JavaScript.
It's completely configurable and should run decently on any browser.
The UK police do have powers though, accessing computer systems without permission or committing fraud is a crime in the UK regardless of geographic location under the Computer Misuse Act 1990.

The Act explicitly mentions prosecution of offences committed abroad.

https://www.legislation.gov.uk/ukpga/1990/18/contents
I use greppable strings explicitly, like

requests.get(f'http://a.b.c.d/wol?device={wol_computer}&grep-id=wake-on-lan', timeout=3)

This way I find `grep-id` in the server logs as a reminder of what to grep for, then `grep-id=wake-on-lan` in the entire codebase to find the actual source of the call.

Or I add comments with a grepable token to the code.
The premise of this website and articles like https://yosefk.com/blog/how-profilers-lie-the-cases-of-gprof... just show that the authors are using the wrong tools. It is nowadays relatively easy to also look at off-CPU time when profiling with perf (e.g. https://github.com/KDAB/hotspot/?tab=readme-ov-file#off-cpu-...). The idea is to use sampling for the on-CPU periods and then combine that with the off-CPU time measured between context switches. VTune also supported this mode for many years.
> what do you know, there’s one billion stack frames from the nlohmann JSON parser, I guess it all gets inlined in the release build;

My guess would be that it's because tail-call optimisation only happens in -O2 and above.

Parsing recursively is frequently the cleanest way to implement a parser of tree-structured input, after all.

If you're doing anything recursively, it makes sense to slightly restructure the recursive call to be the last call in the scope, so that TCO can be applied.
This is where superconductors come into play, i.e. materials that allow you to move electricity at no loss due to electrical resistance. The problem with those (traditionally, at least) has been that they usually operate at very low temperatures, which of course again require energy to be maintained.

A room-temperature, ambient-pressure superconductor would be the breakthrough required for doing this at scale. This of course would still require significant infrastructure investment.
Do you mean the binary message format or something higher level?

I’ve got a little DNS client/server library in Go [1], and I’m curious whether there’s a minimal subset of the binary format I could handle myself so my library only depends on the Go standard library. Any tips?

[1]: https://pkg.go.dev/olowe.co/dns
Don't underestimate the price efficiencies of globalized industry.
No kidding. Dark patterns:
https://www.ftc.gov/news-events/news/press-releases/2023/06/...
We drive 99.9999% on the left. Not 100%.

https://www.mylondon.news/news/zone-1-news/one-road-london-y...
The best approach in my view is Bazel with a combination of rules_py , rules_pycross and rules_oci

You can configure Bazel to fetch a standalone Python interpreter. Your app is bundled with the right interpreter for the target platform. rules_pycross can fetch the correct dependencies across platforms. Bazel can put this into a minimalist base image.

I haven’t come across anything else that fixes this for Python. The conventional wisdom is to give up and build in Docker.
Available IP bandwidth at end-user points has absolutely nothing to do with 911.

911 is an entirely different class of service.
recommend the game 'i love hue' for realizing one's boundaries as a happy fun surprise
> I'd like to know how much space all these battery and solar farms are going to take up.

With any luck they’ll be built o top of all the AI data centers and there’ll be enough leftover energy to power your meek human needs. Only half joking, half cynical :(
So how are we going to get to that lovely dream when the power companies are now charging you to deliver your power bank. It's nice buying batteries, but if you are not making savings with solar then there's not a lot of money left over to spend even more on batteries. Likely then, there will be some new tax that the government doesn't curve.

In the Netherlands, they have a law that means that what you generate has to be offset against what you produce (In high level), but the energy companies simply started charging for delivering back, which is in effect simply bypassing the law. The obvious response from this would be to ban it because it's an obvious flaunting of the law. But no, the politicians allow it.

And then we have that Belgium politician a few years ago who, despite the urgency from global warming, thought it would be smart to put extra taxes on buying solar from China. What did he achieve? At best a little more destruction for the planet.
??? technology invention is not about "market inefficiency"...
So your definition of free speech is different to others, for example JSG Boggs [0]. Unsurprising really, and not really "wrong", any more than people who have different opinions to you are wrong.

[0] https://news.artnet.com/art-world/jsg-boggs-money-artist-die...
Presumably that wouldn't be the case for any innovative companies, though. There might not be Richard Bransons storming into existing markets and dominating them, but there would still be Microsofts and Googles.
Well, your sentence "I'm aware" is my most recent bit of evidence. lol.
ComicChat – AI Comic Creation and Companionship for Fans
Several years to implement (unless a 'save the children' clause can be inserted).
Several more years of litigation.
Tiny fine.
Profit.
Do you hire outside of Switzerland? I am located in Europe, but not in European Union.
Like when _they_ call you, and ask you to confirm who you are? Uh, how about you confirm who I am after you confirm who _YOU_ are?!
Negative pricing will lead to people building storage which can make use of it to charge, and then sell back when prices are positive again. It's an excellent signal of opportunity.
If Japan were interested in making EVs (more than they already are), it would solve that problem well enough. BYD is making right hand drive EVs for the Australian market at least.
This is a Python problem more than anything else. Other language stacks make this far simpler - Go being a good example.
> A wild thought just hit me: if batteries and solar get cheap enough, could the power grid as we know it become at least partially obsolete?

No. Its definitely part of the solution but there are some issues that make it impractical as a full replacement.

In summer my panels make more power than I know what to do with and my batteries are full by about 10am. In winter only about 30% of my power comes from my solar. Heavy cloud cover typically takes my solar down to about 80% of what I get on a sunny day.

Falling battery prices will help to cope with rainy days but the winter drop is hard to avoid and running your own generator is VERY inefficient (i.e expensive) compared to a power station.
University of Exeter seems to think it's viable, at least in the south: https://www.sciencedirect.com/science/article/pii/S0038092X2...
Probably because USBC connectors are really cheap. If this was 5 years ago, they probably would be doing something terrible with a usb 3 A connector instead.
I don't want governments to be arbiters of truth at all. Elected, unelected, I just don't want them to do this kind of job, much like I don't want a plumber to dictate the contents of my next lunch.

The idea that governments should stick their fingers into anything they want is literally the definition of a totalitarian society.
Would it be possible to add an (external) mic-is-in-use LED to a phone?

I belive the mic needs power to work. It wouldn't/shoudn't be powered unless it is in use. Could it also power a LED without affecting the mic performance?
"OMG, this is what I need" is the beginning of the end for most startups [video]
> The question is only, what will the common people be able to lay their hands on?

The ones which were trained to be most effective at pandering to their egos and sycophantically telling them their own team is amazing and everyone else's is terrible.

When does adding more noise help recover signal?
Yeah, it felt like a trick question to me.

Because the second color I saw was somewhat like turquoise and the site is called 'Is My Blue Your Blue,' I decided that everything that you say yes to colors would be blue and everything else would be green. I never saw a green until the result was displayed :D
Yep, even for me who has never signed up its constant on every check out, no way to refuse permanently and they keep moving things around until one day I slip up.
"Better than the alternative."

I'm not sure many people have any huge hopes for Harris, aside from it being nice to finally have a female chief executive (an achievement most other peer nations made long ago; even Pakistan had a female PM). When Obama was elected, the US had gone through 2 terms of GWB's terrible policies and the two wars he started (1 somewhat justified, 1 complete BS, both handled extremely poorly after the initial military victory). Obama was running against McCain/Palin, with McCain being a pretty reasonable Republican and decent person, and very unlikely to start any stupid new wars, but with a complete airhead running mate who thought Africa was a single country. It wouldn't have been a total disaster if McCain won, as long as he didn't die in office.

This time around, the country has already seen what 1 Trump term results in, and it's really bad. A second term will be a disaster, probably even worse than the 1st one. Anyone with half a brain might not be super excited about Kamala, but she appears to be sane and reasonably competent, and when compared to the alternative, that's really good enough.
Yes - everyone talks about diurnal variation with solar panels, but the seasonal variation is more important, especially at high latitudes. Up here at 56N I get an annual variation that looks very dramatic: https://flatline.org.uk/daystats.html
Oasis Ticket Surge Pricing Spurs Misplaced Fury
https://archive.ph/YFmB4
You’re being paid for your labor. Your time is a proxy for that labor. If an employee can do two jobs at once, then let them without intrusive monitoring. If the intrusive monitoring is the only means of determining their output, then fine, but I’m gonna go ahead and guess that there’s less orwellian metrics, and that the primary motive for their introduction is to force more work out of already productive employees by making them self-police, panopticon style.
this! I've been following Kadoa since its very first days. Great team.
Random sampling is not only useful for quick and dirty debugging, but also for engineering nuclear bombs: https://en.wikipedia.org/wiki/Metropolis–Hastings_algorithm#...
Titanic: Striking images reveal depths of ship's slow decay
But with green/blue there is certain opinion that I have at least.
In Europe, they have a different website for different countries: amazon.fr, amazon.de, etc... For a long time, they did not have one for my country, so I had to order from the other ones. After some time, I reviewed my subscriptions: I had 3 different active prime subscriptions for 3 different countries. I only ever signed up voluntary for one. I'm now down to 0.
Further important (to me) scenarios that also argue for greppability:

- greppability does not preclude IDE or language server tooling; there's often special cases where only certain e.g. context-dependant usages matter, and sometimes grep is the easiest way to find those.

- projects that include multiple languages, such as for instance the fairly common setup of HTML, JS, CSS, SQL, and some server-side language.

- performance in scenarios with huge amounts of code, or where you're searching very often (e.g. in each git commit for some amount of history)

- ease of use across repositories (e.g. a client app, a spec, and a server app in separate repos).

I treat greppability as an almost universal default. I'd much rather have code in a "weird" naming style in some language but have consistent identifiers across languages, than have normal-style-guide default identifiers in each language, but differing identifiers across languages. If code "looks weird", if anything that's often actually a _benefit_ in such cases, not a downside - most serialization libraries I use for this kind of stuff tend to do a lot of automagic mapping that can break in ways that are sometimes hard to detect at compile time if somebody renames something, or sometimes even just for a casing change or type change. Having a hint as to this fragility immediate at a glance even in dynamically typed languages is sometimes a nice side-effect. Very speculatively, I wouldn't be surprised if AI coding tools can deal with consistent names better than context-dependent ones too; greppability is likely not specifically about merely the tool grep.

And the best part is that there's almost no downside; it's not like you need to pick either a language server, IDE or grep - just use whatever is most convenient for each task.
Thanks for reading! Check out subspace diffusion: https://arxiv.org/abs/2205.01490
True zero is very rare. So you are saying that teal just happens to be the true zero?
the relevant metric is "debt service as percentage of GDP amortized over the term of the term"

big number goes up is meaningless scaremongering
>There’s no point where a road would need to flip from left to right hand driving

There would be if they built a road tunnel.
I routinely spot 3-line prints with the string on its own line in our code. Even for cases where the string + print don't even reach the 80 character "limit"
The whole point of asserting where your border between green and blue is, is to ask about colors that are in between the two. It doesn't make sense to ask is RGB(0,0,255) blue to you? Well, unless you are color blind it is.
IDEs are cool and all, but there is no way I'm gonna let VSCode index my 80GB yocto tmp directory. Ctags can crunch the whole thing in a few minutes, and so can grep.

Plus there are cases where grep is really what you need, for example after updating a particular command line tool whose output changed, I was able to find all scripts which grepped the output of the tool in a way that was broken.
For Python it's bliss. For non-std C++ it's hit-and-miss. For CUDA C++ it's terrible.
> But let's be real for a second - if a vendor of yours for something so critical shat the bed that much (again - no testing, pushing out an update that crashes everything for everyone for the second time in a few months), and your reaction is "it will be too complicated to move away from them, so let's just pray they improve"... That's not OK. And it's precisely because of this kind of reaction I wish the corporate death penalty on Crowdstrike. If their users cannot be trusted to make the correct choice and drop the insecure negligent vendor, the vendor should disappear and leave them with no choice.

I sure hope that companies you work with or for never ever have a bug. Please just do not tell me that you use MS Windows?? You do not use that, right? Because they have so many issues and you have looked with Bill Gates at how exactly they do their QA.

Or Linux!! Hope you do not use that either. Full of bugs, repeatedly. What a pile of crap.

What world do you live in? Are you showing your customers your CI/CD when you sell your product? Are you telling them to never ever use Windows or Linux or Mac or VAX or AS400 or anything that has bugs?

Changing a product like CS is a MASSIVE MASSIVE effort. An effort that takes a year and yes, you have to look for alternatives (always, not only when there is an issue) but you do not do that "hop!" like this.

I am frightened by people who claim to be experts in areas they have no idea about, and explain what the ones who spend their time there must do. This looks very much like some management.

I am sure you have compared discoverability before and after having an EDR and the market for EDRs, and tested all of the big players and made a decision after discussing QA with their QA managers. Good for you. Not everyone have the same capabilities like you, we must rely on a team of clueless people who do that over a year with input from the vendor. I will be sure to ask for the CI/CD pipes, details of QA etc when I stumble upon the next product - because someone on Internet told me that they think that this is how it should be done.
Never happened to you, have it? :D
How the buildings you occupy might be affecting your brain
> My favorite hack along these lines was to put a timer/ISR on an embedded system that did nothing more than crawl up the stack frame the two or three addresses that the ISR used (yep, it was really just as dumb as [sp + 8] or whatever), and then dump that address to the serial terminal every second or so.

Did the same, but added a stack canary to tell if I overflowed, and wrote my call-stack results to a hardcoded address at the very end of memory (last 32 bytes, IIRC). When the chip reset, in addition to the reset flags (brownout, etc), I could peek that memory to see what the last addresses in the callstack were.

Helped immensely in figuring out a transient bug (device resets) which was hard to repro.
I once had the following experience as a kid: i learnt a skill (in that case, juggling), completely in my sleep.
I clearly remember trying it in my dream, failing, in what was pretty much a "dry-run" or a simulation, where maybe several hours of actual practice were emulated within a few minutes of dreaming.
When I woke up, I try, and it worked, I had captured the actual coordination/reflexes necessary for it to work.
I also solved several problems/issues on a few occasions but this experience was the most stunning because it resulted in getting an actual physical skill that since hasn't gone away.