skysight-inc/HackerNews huggingface dataset:
> That's more than my laptop under light usage and way more than a mobile phone even under heavy usage.

Battery-powered devices (which include both laptops and mobile phones) are notoriously frugal with their power usage, since they have a severely limited power budget (even the biggest laptop batteries are limited to 100Wh because of the FAA, and mobile phone batteries are also limited by their physical size), and they are also compared on that power usage (you see on review sites things like "with the screen at half brightness and playing a nice movie, the battery lasted N hours..."). Wall-powered devices, on the other hand, are much less limited; the biggest restriction would be in places with 10A wall plugs at 110V (that's the case where I live, though "110V" is what the public calls it but it's actually 127V), and that's already over 1kW with no time limit. So wall-powered devices tend to not optimize their power usage (standby or otherwise) as much as battery-powered devices.
> WTF, shouldn't the doctor tell you what you need and not the other way around?

The problem here is that it is the medical professional who is pushing the ineffective treatment.
Snowden was a government employee, mostly through a contractor IIRC, there’s a huge deference. The Feds have the largest resources in the world and will wait decade(s) if they need to.

They are trying to make an example out of Snowden to deter someone doing something similar in the future.
SELinux is applicable in the real world, but you must choose if you want it to be Fast (use globs of rules written by unknown people who don’t know your requirements), Cheap (start from zero and develop policies specifically for your app), or Good (do both while learning a substantial amount about SELinux).

If you’re using SELinux rules off the shelf for a handful of Fedora boxes for personal use, maybe that use case doesn’t work. But is that more “real world” than an institution like the NSA trying to completely lock down its production systems?
How is your docker policy not something like: “give docker access to everything” ?
> We only list communities that are committed to active moderation against racism, sexism and transphobia

That is dumb. Not because racism is cool, but actively policing is a looooooot of work to pledge.

How many instances are not listed here? Many? I m considering to make a directory
Clojure Web Development Evolved [video]
Because Lego maintainers wouldn't budge when Caddy needed changes made to increase ACME reliability. Matt wrote his own implementation https://github.com/mholt/acmez and started using that in Caddy soon after. There's a deeper explanation here: https://github.com/caddyserver/certmagic/issues/71
From the moment I understood the weakness of my flesh, it disgusted me.
> A recent trend

It's not at all a recent trend, it goes back at least as far as the early 2000s. Also, the obvious next step from thinking about processing a few tuples together, is transposing your view of DB tables all the way, to consider _columns_ rather than _tuples_. This makes a lot of sense when you're processing analytic queries rather than transactions, which typically modify individual tuples. And _that_ view goes back at least another decade earlier if not more.

See my own brief historical survey on the matter in the intro my monograph regarding a computational model for column-oriented analytic engines:

https://arxiv.org/abs/1904.12217

(this is a bit of a shameless self-plug because other, much more distinguished people than myself have written about this subject.)
And if you’re in an area that gets cold, waste heat isn’t so bad - in the winter.
Respectfully disagree about monoids! Plenty of cool stuff there, here’s one of my favorites, a diagramming library built around monoids:

https://repository.upenn.edu/cgi/viewcontent.cgi?article=177...
Better to wrap the solid object (button, controller, steering wheel, whatever) in the haptic material than put it in a glove? We do have flexible conductive materials though.
> After the update, I was locked out as the login screen no longer could read some files needed to authenticate my login.

My last experience with SElinux (around 10 years ago) I got this exact same issue with the login manager while trying out Fedora... and after fiddling around and working around it, another issue, and another - it must be turned off, it's clearly not suitable for general purpose usage and shouldn't be enabled by default (and isn't on most distros).
Long before fentanyl we had speedballs, which were a mix of cocaine and heroin. This isn't my area of expertise but there seems to be a demand for mixing uppers and lowers like this.
0.4W is a lot.

WiFi-connected ESP32 draws about 140 mA. esp8266 will be similar. They are both 3.3V devices.

3.3 * 0.140 = 0.46

Your light bulb's esp8266 (or a similar chip, zigbee is 2.4 GHz as well) is fully powered.

With a switching power supply and proper light sleep you should see about 1/10 of that.

API reference: https://docs.espressif.com/projects/esp8266-rtos-sdk/en/late...

Sleep impact: https://github.com/chaeplin/esp8266_and_arduino/tree/master/...
Map of Russian Units in Ukraine
How the hell do I dockerize firefox or vbox? I get it for server workloads but I was talking from a desktop perspective. Even if that is possible seems like even more stuff to manage and troubleshoot.

Also, you are not supposed to ise containers as a security boundary??
Come to think of it, the smart plugs probably draw similar power to the appliances on standby..??
Netscape Web Server supported server-side JavaScript since the mid 90s. Rhino was a development intended to provide JavaScript support to Netscape's all-Java browser ("Javagator"), because at the time Java was clearly The Future and we would all be running it on our desktops.
> Kind of, but that work (BEAM JIT, HiPE, etc.) was done by third-party academic researchers and then contributed to Erlang

Is that correct? Lukas Larsson is a core developer and he's been working on JIT since 2012. (While yes, I agree academics have also worked on it - the core team has as well for equally amount of time)

https://www.erlang-factory.com/conference/SFBay2012/speakers...
> To overcome this problem, the MIT team rethought the design of a thin-film loudspeaker.

I wonder if the team has seen Sony's OLED TV's with Acoustic Surface ?

The screen itself is used as a large speaker, and its surprisingly good.
I would recommend looking at the company's culture. I've seen similar situations where the services team were treated as second-class citizens. What opportunities for advancement are recognition are there? Are they comparable to the product side? Is there any movement between the two sides?
Would it be fair to say that typeclasses are a formalisation of ad-hoc polymorphism? With all the good and bad things that come with that.
I would personally rather be involved in the decision making process related to my very existence rather than just told what to do.
Writing Rust the Elixir way – 18 months later
I uninstalled the app(s) after watching Super Pumped. Even though I'd articles about the whole management ordeal, the dramatization struck a chord in me.
I only use spf and seemingly they go through. I never send unsolicited mails though for years. In any case i always ask people to check their spam.

It is very irritating of course that professional spammers (i.e. mailchimp) always jump the line
> That said, I can’t write about what I didn’t experience. By the time I started writing frontend apps, there was a new generation of frameworks that had just started to reach maturity: Angular.js, Ember.js, Backbone, and more. Prior to these, the state of the art had been libraries like jQuery and MooTools.

Well, crap. Now I feel super old. I’ve been using JS since the mid-90s and I did not expect this to start with “the era of jQuery is in the distant past”. I recently started using Cypress (automation testing framework) and was somewhat surprised to learn that it was using jQuery under the hood. And a few weeks ago I was reading the documentation for a very popular data table grid component and was surprised that it was still using jQuery under the hood too (and had all kinds of rationales as to why they didn’t think it necessary to rewrite the component without jQuery). I assumed jQuery would have faded into complete disuse by now.
iPhone 13 Pro demand is so high that Apple is reportedly boosting production
Maybe to some people? I was messing with it then and the hype felt more like "ssh for money."
Isn't the typical big data sql task IO bound?

Vectorization only works when you have a table stored in an optimized columnar format and compute an run a function over a column or to combine multiple columns.

The moment you throw in group bys or windows the data turns into rows that you read from a hash table or after a sort - at which point you lose all opportunities of vectorization.

Since group bys break vectorization, the other use case is for map or reduce (sums, counts) operations over the entire table. In absence of filters you can precompute these for each column.

Plain map or sum like operations in presence of a filter is the only real use case for vectorization in OLAP, if I'm not missing anything.

In that case you need to implement the vectorized operation to work across together with a mask, so that you don't include the filtered out values, and over compressed data, otherwise you're wasting time on bringing the data from disk closer to cpu.

Most general big data sql tasks will not gain significant improvement using vectorization, unless they specialize on map after filter, no group bys, operations, such as perhaps log processing.

Vectorization and other kinds of hardware acceleration is highly useful for small array data that fits into memory such as geo data, APL, numpy, tensors on TPU processing and similar stuff.
What pwa support…? safari's fixed element is like bugged forever since safari 11 or 12. You can't even have a properly fixed header or footer without crazy hack (like wrap the whole site into a fixed element). I don't really know. If they aren't actively sabotaging web app, why such a big obvious problem is left untouched like that.

See also: https://github.com/w3c/csswg-drafts/issues/6299
Yes, this brings us back to my original comment :)
Blockchain trades efficiency for decentralization. In general, most people find centralized apps are more efficient --- cheaper, faster, simpler and more user friendly.

Blockchain addresses a problem that most people don't have --- a lack of trust in centralized solutions --- aka paranoia. For example, centralized banking handles transactions easily, efficiently and securely enough for most legal purposes.
What's to stop Glacier from becoming the same as Google for the same reasons? That's a mountain of med ad cash on the table.
Doesn't look like Apple's going to release AST 2 or an equivalent, instead requiring users to contact Apple Support to get the pairing done.

> A System Configuration step may be required at the end of your repair. System Configuration is a postrepair software tool that completes the repair for genuine Apple parts. The repair manual will indicate if System Configuration is required. You will need to contact the Self Service Repair Store support team by chat or phone to initiate System Configuration.

(From https://support.apple.com/self-service-repair)
I think it's because the US is one of the few (only??) countries to allow advertisements for prescription drugs.
Space-efficient Resizable Arrays (2012)
When I was staying at my parents over the winter holidays, after they'd gone to be at 9pm, my wifi went down and I had to troubleshoot what on earth was up with my laptop. Turns out my dad turns off the router every night to save energy, it was pretty low on my list of things that might be wrong with the wifi.
Good ones should manage below 0.1W. But I don't thing many are that efficient. So <1W.
Mounting the docker socket makes it trivial to escape to the host since you can just launch a privileged container or mount arbitrary files. Plus the daemon generally runs as root.

At that point you may want to just run it on the host, but basically you'd better trust whatever it is.
Mycroft have been shipping assistants since 2016: https://mycroft.ai/blog/making-a-mycroft/
I really hope that the U.S. sending these weapons to Ukraine is a clearance on outmoded military technology, not a strategic failure.
The Kit Apple Will Send to Your House So You Can Fix Your iPhone
Just having air conditioning in the UK clearly puts you in a position with electricity use outside of the normal.
Why are dentists so scammy?

In Norway I've seen documentaries about them sending the same people to multiple dentists, and some of them receive wildly different advice. Some of that can be ascribed to some being in the school of pro-active, so they want to fix your teeth at the first glance of issues. But in the end, most of the things being quoted were unnecessary. They all seemed very intent on removing wisdom teeth, even when they pose no problems.

They re-did the experiment recently, and I think one of the guys they sent got his teeth cleaned and tartar removed from 10 dentists in a week or so. No one stopped to see if it was actually needed, they all just do it by default and charge you for it.
I don't think it's any one thing that's 500W, it's an accumulation of many devices all doing 20-100W. Lots of modern PCs are 30W+ even when off— like not even on sleep, but on off/standby.

So these numbers don't surprise me in the slightest.
I'm interested in an update on the author's startup. Last time I heard he was shutting it down, but at the end of the article I realized this was content marketing for it.
opening riff to P Funk's Hit It and Quit It
Doesn't seem like any autopsy would pick up red flags if a killer just slipped some fentanyl into a victim's drink, especially if the victim had any history of drug use at all.
I wonder if this tech will lead to better quality audio from toys/books/greeting-cards that produce sound. I often wonder if the poor quality in such applications is due to the tiny speaker, or a mixture of the playback hardware and low audio bitrate.

> the thin-film loudspeaker could provide active noise cancellation in clamorous environments, such as an airplane cockpit, by generating sound of the same amplitude but opposite phase; the two sounds cancel each other out.

What would such an environment sound like? For example, how far would your voice travel when speaking to the person sitting next to you?
Has anyone ever evaluated different online education approaches and how they work for the not smart kids?

I know it is sacrilege to say that some kids are naturally more or less talented than others, but most of the unending and relentless crisis in education it seems is with the kids who are not naturally talented.

Maybe these online courses could do a better job at finding out what people are actually good at and focus their learning in those areas?
gRPC for Low-Memory Environments
The SEC says no, or there is a shareholder lawsuit.

Publicly traded securities aren't the Wild West, and the real world has built up comparatively effective dispute resolution tooling like "courts," elected and appointed "judges," "regulators," and "prosecutors."

Not to mention "case law" and "precedence"
I like this. Any advice other than "putting in effort for more than 2 seconds" has a lot of hidden assumptions about the context and organization around your code. Some days I only do a commit once at the end of the day as a backup. Other days I have 10 commits in 1 hour because everytime I thought I was finished I found something else that needed to addressed.

In practice, there often is not a very strict process around commits, so specific advice is often not very useful either.
Why doesn't every home have a monitor right off the main panel recording current total power draw in a format that is easy to read and interpret? Seems like such an obvious way to control usage. Running around with a power consumpution monitor for every wall socket is all well and good, but might miss a lot of silent leaks.
Rust implementation at https://github.com/containerd/ttrpc-rust
Correct, and the difference is not even close - anything to do with temperature manipulation consumes orders of magnitude more. Literally, not figuratively

The laptop I'm writing this on consumes around 10W. Kettle 2100W

Making one coffee in the morning consumes enough electricity to power the laptop for the whole workday

The idle power consumption of my home is dominated by the fridge and freezer (around 150W combined). Idle mode of any other devices is a rounding error
> Whether or not to drop $400 is not a "high-stakes medical decision".

This just feels out-of-touch. $400 on a medical decision is a MASSIVE choice for many people -- it could be the difference between whether not they eat.
What I mean is don't use opiates recreationally and use opiate painkillers sparingly.

As an aside, the US has a cultural problem with painkillers it seems. Like the expectation seems to be that painkillers completely remove pain but that's not how it works. Or at least if it does you're overusing painkillers. Painkillers are largely to make pain bearable and manageable not remove it completely.

This attitude seems to be a factor in the overprescription of opiates. I think I read once that if you're still taking painkillers 2 weeks after whatever incident led you to be taking them, there's a 50% chance you'll be taking them in a year.

I've had knee surgery and basically just got given oxycodone and valium. I took them for 2 days and then just used Tylenol (you don't take ibuprofen after surgery apparently).

That's really what I mean by "don't get addicted to opiates". Treat them as dangerous because they are.
I've setup a demo install here:

https://steve.fi/software/lighthouse/
Come on, this is HN, you're not even allowed to think that here.
Main one for us is home automation - being able to turn on/off lights, heating, hot water etc is very convenient, saves time [1], money and improves home security.

Can't speak for G's offering, but currently Rest of Ear of Sauron Alexa and chipper, but particularly thick, Siri either don't work very well or fall into the easy to live without novelty category for us.

[1] Particularly around Xmas, lots of switchs which are almost always buried somewhere behind the tree ...
One of the funnier things about Netscape's server-side JS "LiveWire"...

LiveWire's unpopularity and subsequent death was often attributed to its need for compiling and bundling steps, which seemed cumbersome to the JS devs at the time.
Three semi-recent Mexican Presidents have been CIA assets, the coup is well-over with.
Well if you want to be silly about it, sure. (I even put in a friendly note to hopefully avoid such comments). But if we remain sensible then there is quite likely room for a dozen or so such adjustments in many lives where the inconvenience is negligible in proportion to the potential gains.
We need something on the order of a constitutional amendment stating that fines for breaking the law must be at least equal to the monetary gain obtained by committing the crime.
Can you build a social media app clone that is used by millions without using AWS or Google Cloud or Azure?

The only reasonable way to do this is to create/mint money to pay for the cost of the infrastructure. Success depends on the extent you can convince others to accept your currency.
> They also have something similar in Germany IIRC.

citation needed!

german here, business ppl routinely joke about the fine for illegal parking on public gounds is mostly far less than a few hours at a commercial parkinghouse.
It's very El Reg in style:

https://www.theregister.com/2022/04/25/surface_laptop_studio...

Though sadly they seem to have dialled back their headlines.
No, Datalog always has a finite (though potentially exponentially large) grounding, since no rule can introduce new values to the database (i.e., it has no “value invention”/“function terms”/“existential quantification”).

Some form of stratification is usually required when you add Negation (which the demo also doesn't seem to have). But even here it's not because the language would become Turing complete, but rather to ensure that it has a consistent semantics. Consider, e.g., a program with two rules: `A :- not B`, `B :- not A`. Unlike Datalog programs, this does not have a unique minimal model, since both `{A}` and `{B}` are minimal models. Stratification is then a syntactic restriction that prevents such situtations.
> in the last couple of days

I have some bad news for you
It matters to the same degree as being consistent about variable naming. It doesn’t change whether the system works, but if everyone is consistent then it’s easier to read and understand later.
I gave up on selinux early on when I learned about dontaudit rules. It's nice that that amount of control is present, but don't waste my time. Disabling selinux is the first thing I do.
It's OK, there are smart plugs you can use, to cut the power to them.
New EV vs. old beater: Which is better for the environment?
I wouldn't have believed it either, and yet:

"Keurig brewers – unless turned off – continuously heat the water inside the heating tank even when the brewer is sitting idle. Some Keurigs such as K-Cafe and K-Elite feature an auto-off function that switches off the brewer two hours after its last brewing to save on energy."

I guess if your machine is trashing the planet with plastic waste anyway, why not also trash it on the energy consumption side? What a disaster.

ref. https://kahawaplanet.com/does-keurig-boil-water-how-to-get-h...
Link works from New Zealand.
> How did everyone else mess it up so bad

Kids. A different set of mental-health challenges. Being worried about losing their job. Being more dependent on their non-coliving family than you are. Being more worried about their family than you are. Having a job that they're not used to doing online. Having a job that's hard to do online. Having a job that couldn't be done online. Being deprived of life-long hobbies and interests that can't be done online or in the home. etc etc.
Okay but everyone needs to think deeply about lisp.
Some people want to. It’s good for those people to have resources.
Apple Self Service Repair Store
Willing to share which merchants so we know who to avoid in future?
My 70" OLED draws 130 watts and is probably on 10 hours a day. Thanks streaming!
Just 3% of U.S. iPhone Sales in March Quarter Were iPhone 13 Mini Models
Drone Maker DJI Becomes First Chinese Company to Stop Selling in Russia
Do you think debanking trucker protesters would not have required a court order backed by police action?

How would you make use of such an asset, if a law or court order had made it illegal for regular financial institutions to transact with you?
Great to see a chapter on LOOP: https://docs.google.com/document/u/0/d/1L9jdKE-XrCU0VhdsmO5w...

If you’re unfamiliar with Common Lisp, it’s important to understand that it’s a multi-paradigm language. The presence of closures, key functions in the standard library, and the syntax often push you naturally to a functional solution. But you shouldn’t feel bad about writing a LOOP that mutates a bunch of state under the hood. This isn’t scheme!
There have been tons of tech firm takeovers in the past 10 years. I can't recall a single case like this, where employees were literally completely locked out of their own systems because of the risk of them going rogue (citing the source in the Bloomberg article, there).

No major changes in product direction, yes, obviously. You don't want to kill the goose that laid the golden egg. No changes at all - and only for a week - is pretty clearly a sign that Twitter management fear emotional kneejerk extremism in their own employee base. The fact that they have to do this speaks volumes about the problems inside the company.