skysight-inc/HackerNews huggingface dataset:
This is kind of the idea of variable refrigerant flow system which can heat, cool, and move heat from one space to another. Seems like an "easy" solution would be to add appliances to the system.
// stateful impl

class foo{
enum current_operator;

init() { current_operator = ADD }

evalOp(int a, int b){
if (current_operator == ADD) return a + b;
else if (current_operator == MULTIPLY) return a * b;
}

setOp(enum op){ current_operator = op; }

}

// pure impl

class bar{

evalOp(enum op, int a, int b){

if (op == ADD) return a + b;
else if (op == MULTIPLY) return a * b;
}

}

In the first case, evalOp is not pure since one has no idea on what is the current_operator set as. In the second case it is pure since the operator is part of the input.

Purity refers to reproducibility, as in no matter what else is going on, that function will always behave the same. You can have pure functions in OOP based languages, but in practice devs just default to managing state and having weird behavior depending on outside state of a given function.

As a side note, and since you mention runtime performance cost: if you implement a dummy generic cache layer and you have pure functions you will have an easier time than having stateful impls. In this case, that cache layer must have the ability to introspect into foo, but in bar that cache layer just keeps track of input and that's it.
>The goal of this is to build an unnecessary product they can charge for on a second level. [...] Hence the memes: Lightning only 18 months away, after 3 years of "development."

Can you elaborate on this? Isn't lightning free and open source? I'm not sure how that's going to be monetized.
I agree with you, it's still classified as an ongoing pandemic and has killed orders of magnitude more people than coronavirus for what it's worth - but at the moment it is nowhere even close to being comparable with the comprehensive devastation that coronavirus has brought over the world, especially not when one accounts for AIDS being a thing for almost 40 years while coronavirus is barely one year old.

There were no country-wide lockdowns for months for AIDS, there never was any factual reason to believe AIDS could be transmitted even by being in the same room as an infected person, there were no people dying in hospitals because there were not enough ICU beds because literally every single bed was occupied by another person infected, there were no entire industries employing many many millions of people being destroyed overnight (hospitality, tourism, events, sports).

Again: don't get me wrong, AIDS has been a devastating illness especially for the LGBT community. Still, doesn't mean that it's wise or sensible to compare it with coronavirus.
Ask HN: Where are the best cities to live in the US if you work remotely?
Legal != ethical
This looks like a very mature option. Will probably use this one.
I am pretty unhappy with my Surface Book 2. It’s quite slow for its specs and has all kind of problems like “not enough resources for USB”, freezing, the multi display setup gets often messed after undocking and so on. Considering that its in the same price range as a MacBook I am quite disappointed.
I'm not sure about the CoreBoot requirement but I've been pretty impressed by my wife's Microsoft Surface laptop. It's the closest thing to a MacBook you can get.
Golly. What a horrid story. In my country I think the commerce commission would have their guts for garters if they tried that sort of malarkey.

What jurisdiction is this, that they can get away with not properly honouring warrantees?
My wife met one of her best friends on Bumble BFF - it's the dating app but for friends.
I said 50-75% not 100%. How many other things in life would you lower your chances of success 50-75% if you could easily avoid it? The polls show 75% to 44% of women don't find bald men attractive. I'm going to guess those numbers are worse for bald women. Solving baldness is probably much easier than changing culture.
Given a set of inputs, it computed the result.

Also, did you read to the end? They directly address the issue.
Yeah, he does not use it for recreational purposes or escapism, so I believe that changes a lot. He has been doing it for years without any side-effects. He had MRI, blood tests, and so on. Everything's good.

I do not know much about virtual sex. What are the possibilities and limitations of virtual sex today?
Pureness also makes it easier to remove calls to a function. If f is a pure function, then I know that if x, y or z doesn't change, then I never need to call f(x, y, z) again.
I think you misunderstood me, or had a soapbox you wanted to stand on. My claim was limited--non-gradual population drops are a negative thing.

Basic income is a way of re-allocating the value produced. I'm for it. It won't solve the problems that come from sudden population contraction, which would be a separate additional problem to add to those you list. For example, when you have way more houses than people, what happens to real estate prices and most of your people's net worth? The real estate and construction industry? Rent? Empty restaurants with too few people?

When your tax base is too small and can't easily pay to maintain your infrastructure (Arecibo?) what happens to it?
> It would also rub me in the wrong way to use an aftermarket display instead of the one that came with the device, even if it wasn't so destructive.

Why?
this is a reasonable hypothesis, but quadcopters don't work this way. the propellers are usually not large enough to meaningfully slow the descent of the aircraft. also, quads are not stable the way a helicopter with one large rotor is. a drone is likely to tumble when the power is cut.
Yes, French national metrology and testing laboratory LNE: https://www.lne.fr/sites/default/files/inline-files/syylex-g...
I did my own super-simple Python script[1] with zero dependencies for symlinking files between multiple computers and platforms.

[1] https://gist.github.com/XVilka/f124936a336a5a43f54915369719e...
macOS EULA licensing restrictions affecting virtualisation
That may be but let it float around in other channels instead.

I like to put work in maintaining the idealism of HN as the morally sane plane. One of which is where we don’t engage in doxxing here.

I also don’t think or care if dang should delete it, even if I think it’s bad or fuck em. Cultural chastising with plenty of upvoting and downvoting is enough IMO in order to keep a community not shit.

As in any major subreddit if you want an example of shitty.

The enemy in my mind is fostering internet mobs which is going too far and abandons due process. And them thinking they are contributing to the world by mixing IRL destruction with their internet activism or vigilanteism

Those tactics should not be embraced or encouraged on our site given the obvious downsides, two of which being a) they get the wrong person way too often though newbie investigations that should be left to professional. Beyond handing them tips and advice by the work of autists AND b) it encourages thought policing on and c) doling out overly harsh punishments that don’t fit the ‘crime’, etc etc

We figured out these risks already long in society. We’re just mostly repeating them in far too many cases to make mob internet justice worthy of our time.
Because every time someone builds this it turns into a dating (charitably) app.
If there is a way to find sexual partners in a medium, people will do so.
Came to post something like this. The structural dependence of our society on cars has so many and often immense costs. And so much car use could be made unnecessary with some relatively cheap fixes.
The lack of native resolution kills it for me, on a sprite-based console.
I would like more research on trash sorting and recycling. It looks like this would be a perfect test bed for advanced computer vision and robotics.
Tapes are often structured in bands, and those bands are divided into wraps, and those wraps are divided into tracks. There are many tracks on a tape, and they snake back and forth from end to end on the wrap (so you don't need to "rewind" when you get to the end of the tape—you just start reading back in the other direction). In newer tape drives, you physically can't read all of the data at once because the tape head is only a fraction of the width of a single band: it physically moves (laterally) to position itself over the right data.
A New Book Traces the Pathology of Allen Dulles and His Appalling Cabal (2015)
The Odyssey has survived for almost 28 centuries. It has survived christianity, islamism, fascism, communism, capitalism, and other forces known and unknown. It will survive woke twitter.
`The Birth & Death of JavaScript` remains one of the all-time best tech talks out there. Just a few rungs below the Mother of All Demos. Thank you!
I'm not so sure that's true though. Me, I don't buy any clothing that has a visible logo on it. I won't pay to advertise for someone. I know others show off brand logos for various reasons.

For laptops I don't have much choice except to put a sticker over the logo.
Most recent tape standards have multiple "bands" and "wraps" placed in parallel. The head reads only one wrap at a time, so it takes many passes to read the whole tape. For example an LTO-8 tape has 52 wraps each within 4 bands, requiring 208 passes to read completely.
The typical ones - cancer and longevity. Why billionaires aren’t dumping 99% of their net worth into extending their lives is beyond me.
93% of a cows diet is grazed grass. Only the finishing faze involves corn
>and correspondingly has not seen any real-world adoption. It is effectively dead.

but

https://blog.kraken.com/post/7225/a-need-for-speed-kraken-to...

and

https://coingate.com/lightning-network
I’m pumped for analog quantum computers.
Jonesforth is pretty amazing: https://github.com/nornagon/jonesforth/blob/master/jonesfort...
Do you think Ye Wenjie was right to tell them to come over?
I think there might be a couple of things going on here:
1. Slightly differing definitions of what constitutes 'angry', and
2. Dramatically varying subjective experiences of anger.

For example, in the case of #1, I usually separate 'frustration' from 'anger', but I could see someone else bundling them together. They share a lot of physiological effects, but I generally think of anger as a more focused and directed feeling. I could be frustrated while failing to debug something, but not meaningfully angry, because the bug is not an agent with malicious intent (or other common target of anger).

And for #2, I've known people who get mad and have an extremely hard time controlling it. Someone or something slights them, it ruins their mood, and then sustains. And they're aware of it the whole time, wishing they weren't mad, because they hate feeling that way. But they're still mad.

In comparison, I seem to be lucky. I have gotten genuinely mad before, but exceedingly rarely- maybe a few times in my entire life, and only then mostly in response to years of sustained bad behavior, and only when I was much younger. I wasn't trying to be a paragon of stoicism, I just don't get angry very often by default.

Stack a little bit of effort on top of a baseline like that, and it's pretty easy to go beyond merely not acting on anger to smoothing away even the subjective experience of it. Maybe a short and mild response, here and there, but it almost always immediately fades.

I strongly doubt I'm the most placid person in the world, so there are probably people out there who are even less angry by default. I bet others have put more effort into controlling their anger, too. It seems likely that "eradication" of anger is within the realm of possible for some.
This is like asking "What's the best food to eat?" You need to give some criteria that are important to you.

You might want to look at states that don't have an income tax, to start. That can save some money, assuming saving money on taxes is one of your criteria.

If you Google for "best US cities" you'll find all kinds of lists with descriptions of various cities and why they're the best. Maybe start there.
>The US government is actively trying to suppress Bitcoin/crypto growth

It's complicated. US regulators would absolutely ban all crypto if it started threatening the dollar and they had no other choice. However right now that isn't happening, and they are actually only going after pretty clear cases of fraud, which it seems like XRP was doing.
I inherently want to know how this works but I suck at physics and I’m just going to simply also stare in aw from the outside.
How's the delivery rate?
This is incredible tinfoil-y nonsense that I find hard to believe is even posted on a website of HN's caliber.
I was just in Hawaii for 3 months and it was amazing. Returning to the Bay Area was rough. Planning my next trip now.
Tinfoil in the microwave? Doesn’t it arc?
The bookkeeping it requires for one, since you don't usually buy all your backup media at once, you acquire them over time, that gets unnecessarily complicated. It's riskier to copy the media periodically as you might increase the chances of data corruption due to the fault in the copying process (faulty RAM, faulty software, not concentrating good enough etc). You periodically introduce possibility of user/hardware/software errors to the longevity of your backups.

Also, when others inherit the media they may not have proper equipment or skill to do it themselves as goal of the preservation is to get it 100 years ahead, not keep it always in a usable state per se. For example, I'd like my children to keep my backups until my grandchildren could access them 60 years later.
US Department of Energy backs five advanced nuclear reactor concepts
Yeah after a while instead of listing all that money a screwed it may be more useful to run down about how marxism is needed to fix these.
How does one reconcile the existence of the private torrent feature, then?
Gary, Indiana has properties with internet. https://en.wikipedia.org/wiki/Gary,_Indiana
I’m assuming the “free” part is referring to referential transparency. I may have wildly misunderstood that and they may be even more mislead. But when referential transparency is assured, one of the promises of FP is that repeated calls to expensive functions can be optimized. Like I said in my sibling comment, the important part of that promise is can. If a runtime or compiler is able to flag a pure function as expensive, it can automatically memoize it (of course then trading memory space for computation time).
Imagine programming them to make paperclips :P
Averages are not relevant for something as skewed as income distribution. As the Gino coefficient rises the average is increasingly dominated by a minority.
The OP is most likely talking about wages for jobs that actually pay by the hour, which have gone down along with the minimum wage from its 1968 peak.
That'd be an impulse purchase disincentive in a much broader sense. Also, a new tax is more work. This is much simpler and more targeted.
The word you are looking for is "minimal artificial life/cell". They are being worked on, a lot. A bigger problem is increasing funding for life sciences and making commercialisation cheaper.
RAED
Fair enough. You make good points. I mostly see it as making the music industry worse for the sake of convenience, as musicians tend not to be fond of this new payment system.

https://en.wikipedia.org/wiki/Criticism_of_Spotify

I can't really disagree with anything you said. I just view it from a different perspective.
Maybe the article would be more clear if the author articulated:

1) What is my use case for email?

2) Who am I emailing with?

3) What are the threats and malicious actors I’m concerned about?

I think this brings up something not addressed... It seems that free SMTP hosting services are incredibly ill-suited to the privacy requirements of the author. Signal or Wire perhaps?
Related "Ask HN: If your job was remote, which city would you choose to live in?" https://news.ycombinator.com/item?id=20571362 with 138 comments
Asking siri is noisy, (people sleeping next to me).
Most Common 9x9 Openings in Go
Google Wave.
Basically integrated information transmitting and collaboration in an easy to digest manner.

Google failed miserable with their invite requirement.
What’s Your Case Worth? Attempting to Predict Colorado Lawsuit Values with ML
Open source firmware.
The IPS V2 fixed the quality issues in the early displays.

I can honestly recommend buying another GBA and modding it. The panel is 4x upsampled, which brings a very cool look to many classic GBA games. It's also a fun experience hacking around in it.
Just to note: the "Bitcoin was hijacked by <corp>" is a running joke at this point and not to be taken seriously. Ask anyone to provide verifiable proof of this and they will respond with hyperbole or conspiracy theory.
If nobody is "inheriting" your data (or rather—nobody cares enough to keep your data around), it seems kind of moot to ensure it hangs around. That is, if I put stuff in an S3 bucket and pre-pay for 100 years, if nobody is around to download it in 100 years then why bother?

If you wanted to make a sort of digital time capsule and didn't care who discovered it, your next best bet would probably be the Internet Archive or some other archival community.

If your data isn't appropriate for archival (i.e., can't be publicly consumed) and isn't interesting enough for your friends/family/etc. to keep around on your behalf, keeping the data is purposeless.
Asking "why" doesn't imply condemnation, does it?

At HN we assume best intention, asking why is how we learn about other people and their reasoning.

Of course it may be different than ours. But isn't that how we learn and are exposed to new ideas?

IMHO we should encourage more respectful "why?" questions.
Increase reliability through loose coupling: An adtech example
Arctic vault is VERY expensive, about $100 per gigabyte.
Something I struggle with personally is how much money I give the government despite having significant ethical concerns over how my money is being spent.

I know my taxes have contributed to the death and suffering of countless people. I try to remind myself that it also helps some people, but I still struggle to justify my lack of resistance knowing that at least some amount will be used in ways I consider evil.

I think there is some pragmatism needed here though. As individuals we don't really have any incentive to pay taxes if they were optional. I think what's needed is more localised spending and the ability for local communities to withhold tax collectively when concerns are raised about how federal governments might spend it. This would give individuals far more input into how their tax money is spent and the system overall would be far more consensual and prompt people to ask if they're okay with x amount being spent developing nuclear weapons or killing civilians in distant lands. I do find it quite odd that the default assumption is that you're a bad person if you don't pay taxes. I suspect someone who avoids tax then contributes an equivalent amount to charity is almost certainly more ethnical than a tax payer like myself.
Most of the hardware is already there for the regenerative brakes, and it allows the driver's muscle memory with respect to braking pressure to still apply in that edge case. I'd be surprised if it were simpler to make the friction brake fallback behave identically to the regenerative system when the battery is full.

Maybe it's not worth the cost/complexity anyway, but the idea has merit somewhere in the design space.
magnetic film!
Best Shoping RAED
>It's not only that. There is also the "replace by fee" stuff that allows BCH to make instant payments with 0 confirmations for small values.

Can you elaborate on this? I did a quick search and the gist of it seems to be that BCH doesn't support replace by fee and bitcoin does, so therefore it's possible to "safely" accept 0 confirmation transactions on BCH because you can reasonably believe that it won't be double-spent before it gets its first confirmation. The only problem I can think of is that there's nothing preventing the attacker (the person making the purchase) from bribing a miner to mine his double spend transaction. Indeed, even without RPF there are "transaction accelerators"[1] that allow you make out of band payments to miners to increase your transaction's priority. It's not too hard to imagine a service where you can pay $$$ for a miner to mine your double-spend transaction.

[1] https://en.bitcoin.it/wiki/Transaction_accelerator
we're a minority, but some of us on hn do appreciate humor.
That is too high but tape really does have surprisingly high transfer rates. You need a real computer to keep them streaming.
Jesus Christ. Please stop.
> In 2021

So they are still putting money into the project and promising things in the future. Years ago, before venture capital took over BTC, I could buy games on Steam with Bitcoin. Can I buy video games with Lightning?

https://blog.kraken.com/post/7225/a-need-for-speed-kraken-to...

> https://coingate.com/lightning-network

Ok. What can I actually buy with it? There's tons of venture capital going into this project and no commerce happening. Bitcoin had more real commerce 5 years ago than BTC and Lightning combined do today.
Yes it is FOSS and multiple different implementations from different development groups / companies are available including c-lightning, LND, and eclair (I'm probably missing one or two).

The claim is truly a meme -- one that can only be laughed at when faced with the reality that I mentioned above.
This... still exists? It's called the Elks, the Kiwanis, the Odd Fellows, the Jaycees, the Rotary Club, the Knights of Pythias, the Freemasons, and some organizations based on blood or military service, like the American Legion or the Daughters of the American Revolution.

Even here in the Bay Area I live just a couple blocks down from a huge and well-appointed Elks lodge, and just a few miles away in downtown Mountain View, there is an Eagles lodge across the street from an Odd Fellows, itself a block away from a Freemason lodge.
Agreed. I rather they ghost and save my time. Once I accept an offer I pretty much ghost everyone else.
A related point: for a very long time, Gmail has removed the sender’s IP address from mail headers. If you receive an email in Gmail, you can’t get the sender’s IP address from the headers (or from anywhere in that email).

There are also email providers who, when sending your email out, remove your IP address from the header and substitute it with their own IP address for better privacy.
> What I'm imagining is an app that lets me get a local phone number anywhere. Calls and texts to that number ring and show up in the app. If I move to a new place, I just get a new SIM card for data and create a new local phone number in the app.

There are several such apps in the iOS and Android app stores. They work reasonably well.
> I'd very much recommend it
Same here!

I've bought myself a Surface Laptop 3 (15", i7 version) 11 months ago.
I had been looking for a laptop powerful enough to code on, that would look "premium" for business purposes, lightweight and the charge had to last a full workday(or more).
This laptop checked all the boxes, and performed wonderfully since then. To the extend that now we're considering getting it for our employees.
There are many many companies in this space. All of them offer paid software.
That’s how you’ve interpreted the light that has bounced onto your retina.

Ultimately we all live in the virtual worlds we create in our minds through interpreting our senses, it’s not immediately obvious to me why I should generally prefer one over the other.
Not quite what you're looking for I think, but Milton[0] makes a pretty great whiteboard with its infinite canvas, infinite detail, and infinite undo.

[0] https://milton.handmade.network/
How Telephone Works
That sounds like such a nuisance, yet so cool! I can picture a beautiful tall geometric metal structure with drones zooming in and out like a mini airport
and then you need extra engineering and production costs to cool those resistors :)