skysight-inc/HackerNews huggingface dataset:
> mmap will go and create the page table mappings (entries) for that address space (~262144 of them with 4k pages)

It does not, actually[1]. Page tables are a hardware datastructure with significant overhead. All the kernel does at mmap() time is create the a virtualized record of the mapping. It's not until the process takes a page fault to a mapped address that the hardware page tables are allocated and filled out. In practice this is a win because (especially with use cases like malloc) most processes tend to map large chunks of which they'll only use a subset in the short term.

[1] By default. There is a MAP_POPULATE flag you can pass that will allocate the page tables and allocate/prefault all the mapped pages before the system call returns.
An anonymous author writes a book that would change your life
Tesla Cybertruck test drive footage [video]
Maybe it's just my searches, but I'm able to pretty consistently find what I'm looking for with DDG, and the number of times that Google has helped in those situations is basically nil. I think it's a really subjective thing, and it may take a while for DDG to work as well for all users as it currently does for some.
That’s actually pretty clever, although I’d be concerned that you’d end up with too much of everything highlighted, making it hard to read again. But it’s a clever notion
I used OpenHab2 in the past. But its quite heavy, and bulky. However it works well... What i did notice is z-wave commands where slow on the raspberry pi..

I moved to Home Assistent and i'm not moving back. I did like the more plugin-like architecture & technical design of openhab better... But that makes it bulky. Openhab feels more mature, but also has a lot more legacy... HA is just movign faster...
Pragmatic victory is for the upper classes.
Its never been this good for so many people.
For anyone interested in this, the Landauer limit now has experimental evidence.

Also, it is now believed that the Margolus-Levitin theorem puts a lower bound on energy even on reversible computations.
Activation Functions and Optimizers for Deep Learning Models
This link didn't work for me. I got an error saying "Something went wrong We're sorry. This page failed to Outline"
On the contrary: fewer people suffer, but they suffer much much more. And there's still a ton of them regardless.
Attacks on people's parenting are a subset of personal attacks, which aren't allowed here.

Perhaps you were joking, but intent doesn't express itself on internet forums.

https://news.ycombinator.com/newsguidelines.html
> Since thermal energy is only lost at boundaries, the larger the amount you have, the smaller the net surface area per unit of volume.

You do need to do the initial melting work though. It took two months for Crescent Dunes to melt its 32 tons of salt.
Who said anything about human gene editing? We're talking about animals and plants.

> I am serious and that is what I am saying.

I think we must not be on the same page, still. You said: "The obvious ethical objection is that human error can happen with gene editing and is intolerable while selective breeding allows for the reproductive system to make errors which are not a responsibility of man but of nature." That sounds like you're saying that, if I genetically modify a cow for more milk production and it turns out that the milk gives you cancer, then of course I am to blame; but if I instead breed cows for more milk production and get exactly the same result, then it not's me at fault but Nature. Even though I'm the one who put a new product in stores without sufficient testing that made people sick, I'm not to blame at all in the second case.

Is that really what you're saying?
Any discussion of Home Assistant should start with the founder's vision, which I found very clear: https://www.home-assistant.io/blog/2016/01/19/perfect-home-a...

The purpose of Home Assistant is to first observe all data flowing through your house, by connecting all existing sensors, switches, gateways and anything else that has a digital pulse.

The second step is control, having centralized access through a web or mobile app to all moving parts of a home.

However, the power of HA comes from the third step: automation. The best interface is the one you can forget exists.

I've been running HA for over two years. Aside from being lazy about upgrading to newer versions and adjusting to breaking changes, it's been working great and has spoiled me and my wife. We now expect every house we visit to automatically unlock before we reach the door, for the lights to turn on (and gradually off) automatically as we move through rooms, and for our phones to notify us when the best time to open a window would be, to naturally cool during the summer. It's great to have cold light during the day and warm, lower level light as the evening progresses.

Together with the Python environment provided by appdaemon, there's almost no limits to what you can do, provided you instrument your house with sensors and switches as best as you can.
Chicken or the egg
If your team consists of backend engineers who haven’t done full stack in a while and front end engineers who are already good with react/vue then I’ve found it easier to just go SPA instead of everyone trying to remember how Django/Rails works. Also if your server side stuff has to or probably will have to talk to other machines then you’re just saving yourself the trouble of implementing the human only version.

If your team consists of mostly people who’re used to doing rails/Django style webapps then it’s perfectly reasonable to not build an SPA.
You have summed up something that I think of as, the existentialist dilemma, fairly well. If you live long enough, you will get to a point where you internalize that life really is just a journey with a start, a middle, and an end. All of it and none of it is precious. You realize that the change you make happen is more important than what you have achieved or not achieved.
I see some people consider this article to be a trivial commonplace but in some environments sleep is considered a waste of time. For example when I was at MIT I think everybody pulled a couple of all-nighters per week. There was a culture of how to manage it, not one of how to make that unnecessary.
This implies that all people have the same mental and physical abilities and any observable differences are due to nutrition. One famous European (albeit Austrian), has debunked this theory in 1860s. I am not sure if his discoveries are taught in Europe nowadays though.
This doesnt sound like a "honest question" to me.
I think there have been studies where people in sleep labs without any natural light, clocks or other cues mostly tended toward ~25-hour days. The "disorder" part is when you can't help but do this, despite having access to all those cues and despite all efforts to the contrary.
I've been thinking lately about why all PCs have a light that indicates when their cameras are in use but smartphones don't. My conspiratorial self can't help but wonder if that omission could be intentional.
A thread from 2018: https://news.ycombinator.com/item?id=17826373

2017: https://news.ycombinator.com/item?id=15521743
From your text I can not determine if your team lead is just incompetent or it´s trying to undermine you to take credit for your work. In any case, if you quit, he will cash on it.

In my opinion you should cool down as much as you can and then go and talk with the founders, but without taking anything personally.
Ponzi Schemes, Private Yachts, and a Missing $250M in Crypto: Quadriga
> That said I don't agree with forcing people to something they don't want to

It is hard to argue both that not donating one's organs would be a strongly held religious belief, and that someone would not care about it enough to communicate that desire by just opting out.
>why does this sort of advertising keep on cropping up on HN

Hacking, startups, and cryptocurrencies are all a rebellion against the stifling rigidity of the established order. Some more constructive than others.
> The term “GDP per energy unit” is nothing else than the energy efficiency of the economy: the more efficient the economic system is, the more GDP is produced with the same amount of energy. In other words, when this term increases, it means that for the same amount of kWh (or BTU!), we can have more furniture, glasses, cars, frozen peas, buildings or coffee machines.

FWIW, i want to point out that this is an often-overlooked leverage point for improving our situation. Our systems today are grossly inefficient. For example, something like 30%-50% of the electricity we generate (okay, transform) is lost in the grid on the way to the consumer. Much of it is lost after that too.
"My personal favorite case of missed opportunity is the use of transporters to beam armed torpedoes directly onto enemy ships. It was used once in a Voyager episode. It's an obvious, but sadly plot-killing tactic, that hasn't been sufficiently hand-waved away in the lore, so one has to wonder why nobody uses it."

Akshually...

Transporters cannot penetrate shield, usually either incoming or outgoing. Usually.
Oh cool! Going to check this out. I've been using the node red dashboard for ui.
AppDaemon would be great for that, as the callback methods it requires for listening to state changes or scheduled timer can be independently unit tested and debugged.
You shouldn't, though. The NY Times has been up the statists' ass since its beginning. They have always provided cover to the elites like the Rockefellers, Tammany Hall, all of them, really. They would have been Loyalists during the Revolution, perhaps they are Globalists today, after all. The NY Times is the modern incarnation of the phrase "Yellow Journalism" and notably helped like the US into the Spanish American war, especially in the invasion of Puerto Rico which was done to serve private business interests.

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

So you see, "fake news" has been going on a long, long time and you are simply historically ignorant. So ignorant in fact, that you probably don't even know how propaganda helped extinguish the lives of millions of Jews--"just get on the train, you are being forcefully re-settled for your own safety" they were told over and over and believed it, despite the rumors, because it came from an official source. Then they were gassed and shoved in mass graves while the gold was extracted from their dead skulls, melted down, and shipped off to Switzerland where it still keeps the same rich families in power today. Only the publicly known bit players got sorted out in that war. The rest are still at large.

The entire world as we know it, as we are taught to know it, is a lie.
What specifically in this graph invalidates a point in the linked article? And which point?
Nice, my smart TV has been peeping on me playing Peep Show on repeat.

More seriously, our privacy has been nullified by ferocious marketing and advertising tactics. Data collection has weaved its way into the design of most of the products we use, it was only a matter of time.

I know you can opt out of all of the collection on a Samsung. Just have to not agree to all of the Terms and Services. That being said, I've heavily isolated the Samsung in the house. It sits on its own VLAN that cant talk to anything else on the lan and use some heavy white/blacklisting at the DNS level to limit what it can get to on the internet. I'm sure it's still uploading something about me to somewhere though.
Yeah, then you've more data. It will work better because even if it doesn't see movements you know the door hasn't opened so the person has to be in there still.

I think you will run into trouble if there are more people in your household though. But it's a smart idea!
Uncertainty-Reducing Behavior: What It Is and How to Deal with It the Right Way
Automation is an area of pretty active development. While visual workflows aren't a thing in HA, you definitely don't need to write yaml in order to create automations. The UI has supported it for quite some time (and is quite usable, in my opinion).
How would you approach customizing the process to the individual or to a given circumstance?

For example, I had a situation where I had a story to write functional tests for a piece of our software. The story's scope had creeped (there turned out to be disagreement between different levels of leadership over what the tests should cover), but I had reached a point where I had implemented roughly 80% of the tests that we needed. I submitted a pull request for the progress that I had made so that it could be "locked in" and I could get it out of my mental overhead. However, the person who reviewed the PR refused to merge it because we apparently had a policy that each story could only have one PR. Ultimately, the overhead of trying to get everything in all at once resulted in the story not being successful.

Although maybe that example illustrates your point about the importance of process, because I had been asking for weeks for us to actually have sprint planning so that I could break up the story, but it kept getting canceled because people felt that they were too busy.
Do you think with the new Laravel stuff, 2) might be more feasible? I write a surprising amount of PHP for fun (not work/profit, so not really critical either) and IME Laravel has been incredibly easy to port out, with native config file support, CLI migrations, etc.

I think 3) is interesting, because effectively a huge draw of your product is targeting privacy conscious people, and those are probably the least likely to want to trust a third party for it.

I used https://haveamint.com/ for a while, but it's also been dead for quite a while. I haven't been able to get Piwik to handle my traffic volume.

I don't make anything from my side projects, but I prefer self hosting to know exactly how much data is being collected and reduce it or modify the tracker script as needed, location-respect by hosting analytics data in the same datacentre as the site (so EU users aren't randomly getting analytics ticks sent to US or whatever, some people care, this is just easier for me), and it's really, really cheap to have bulk capacity for me compared to paying a SaaS per pageview - I have about 4 TB of RAM free right now on my (mostly k8s) clusters.
Sid Meier's Colonization has this, to a degree.

1. Gold can only be used to buy from European powers. You can't buy goods or units in America, you have to physically move them there with ships or wagon trains.

2. Civilians and combat units are the same. Any civilian can pick up a musket and become a soldier.

3. Defeated units don't die. They rout and are "demoted": a dragoon loses their horse and becomes a soldier, and a soldier loses their musket and becomes a civilian.

4. You can build roads and temporary colonies. Each colony has free storage space.

My favorite tactic was to build a siege camp near the enemy colony, connect it with my colonies with a road, then use it as a supply base. I'd just spam dragoon attacks for as long as I had spare horses.

I'm sure this wasn't the optimal strategy, but it worked on "easy". More importantly, Colonization seems to be the only game where this is at all possible.
> A severe tax on property would simply force property owners to raise rents. This in turn would price people out of the market. The housing stock would suffer as property owners would have no excess funds to make improvements and repairs to property. Building of new property would slow as the market for property deteriorates.

I am not an economist but this implies property owners are leaving money on the table right now. I don't think that is the case. The market already charges as much as renters can afford to pay. There is not much room for rent to go up.

> You also mention government doing many wonderful things with its newfound revenue, but the reality is that government spending is usually wasted on bureaucratic bloat and other inefficient allocations.

I absolutely agree with you on this one. This is why I want as much automation as possible. However, having worked in the private sector, I can assure you bloat and inefficiency happens in both public and private sector. The main difference I think is that things are much more transparent in the public sector.
Can someone please ELI5 on the meaning of these things? Googling around just sends me down a scholarly rabbit hole of more words I don't understand.
How do these ideas of energy relate to things like google search and software in general? I know server farms use a ton of energy and I also am pretty sure the human brain is by far the biggest consumer of energy in the human body. Maybe it is just that different forms of value creation take different amounts of energy. I suppose it takes much more energy to create a car than to add a new software user.
Roman pivot from local city state with domain to a expanding empire has objectively made the life of many barbarians better. What have the romans ever doen for thus?
Not naive at all! Making it a console app was easier just easier. I'd love it if Hode plugged into Emacs.
Table of the Top SWE Internship Salaries and Application Links
It directly invalidates the headline. Rich are getting richer whilst poor remain about the same. Inequality is rising by definition.

It also invalidates a 'specific point' about how the top 0.1% are only earning about half of the increase people thought they were between the 70's and 2012, because clearly the graph shows the top 10% is earning MORE than expected, so they ignored the other 9.9% which seems pretty important. In case you desperately wanted a specific point.
> Normally we use the term "evicted" to imply someone with a lease no longer gets usage of the property; but in this case, these people own the property, so what are you saying happens then? Does the property get given to the government, who then... sells it? I am not complaining (yet), I just want to understand what happens in your mind after the "eviction" as the term isn't clear for me in this context.

exactly. the property returns to the market to someone who is willing to pay the property tax.
What setups are you all using? To me I just associate comments with green, not fadedness. Only exception is Python has an unfortunate case of multiline strings having to be abused for multiline comments but maybe successive # lines would be better anyway, the way IDE's use multiple // instead of a /* */.
Why the downvote...? I’m a brand new user. Please help me understand how I can improve.
Yes, that’s it. Good find. I’m the first to admit I was an IT dilettante, despite covering it.
"The direction toward the sun was right, or starboard, (or even 'starward' as some urged), while the direction away from the sun was left, or port.""

Ehh. Ahh. "Port" and "starboard" should be relative to the bow/stern axis of the ship. Otherwise you'll have a hard time finding the head.
So it's not Laravel that's making it hard, it just means that we'd have to rethink how we've tied our product to the infastructure. It's definitely possible, and if we go down that route, the software in Laravel will make it a breeze to export. We spoke with a chap on twitter who made a great point that we'd likely see more contributions since it's in PHP / Laravel. Less people know Go, and one of the big reasons we didn't feel the obligation to OS the new version was because next to nobody contributed to the Lite version.

And you're right. There are a segment of people who won't use analytics unless they're self-hosted. Totally understandable. We'll see what happens. It's not on the roadmap in the immediate future but we're not ruling it out.
The CCP controls the markets. It's not a free market and thus not capitalism (I am ready to be corrected on any of these points).

But that's an aside, the point is that exploitative labour practices come about because of what @netsharc says. You've sidestepped his and my point.

If it was you or your children in a sweatshop you mightn't be so gung-ho.
HTTPS: //www.youtube.com/watch?v=CLPc5RoJllw
Things could be getting worse and this could still be true through simple population growth.
I'd strongly dispute that. Why not include the spark plugs as well? And the fuel pump?

Because...

The driven devices, amplifiers etc. are under the control of the control unit. They are not part of the control unit. They're located in areas subject to much more heat and mechanical stress, and in most cases (ignition coils excepted) are mechanical in function.

I'm not talking about the driven devices.

Here's a diesel example in video form:

https://www.youtube.com/watch?v=4k-G1dMgFUo

Here's one in gasoline form:

https://www.youtube.com/watch?v=5mWlUuEx_xE
There's more to building your UI than just implementing the design. Even if using this tool all the logic and state management you have to do by yourself.

Putting together the form is the easy part, especially in a large application. You implement your inputs once and re-use them across the app. It's managing the UX and business logic that's hard.
In the short term, sure. But in the long term, they have a pile of cash they're not giving back and somebody else (who doesn't give a shit) takes the blame.
Campfires are not artificial light. This is about blue light after all. You need to show some data to back your statements besides hand-waving all existing studies in one swoop.
I use "widget.content.gtk-theme-override;Adwaita:light" to fix commonly invalid assumptions about default colors and appearances.

It overrides the GTK theme used to render page content and still allows to use a dark theme (or whatever you want) for UI components.
I'm using Middleman [1] for the homepage of my product Trolley [2] - love it.
As an ex-Rails guy, ERB is so familiar, and the rest of the structure just makes sense.

1 - https://middleman.app

2 - https://trolley.link
"settled into something that many people agree is a problem."

love this phrase.
Zephyr: A scalable Real-Time operating system for IoT embedded devices
That's progressively been true over and over again at most points of history (with various temporary local dips) but that doesn't justify the the status quo, or vindicate our current system as being acceptable.

Serfs probably had a higher standard of living than cavemen, but that doesn't mean that the system of nobility and kings ruling over them was objectively correct, and should be maintained as the one true way to run a society.
> weren't they all engaged in a generations-long blood feud that lasted 300 years?

I'm not sure how "exceptional" a multi-generational war was in medieval or ancient times.

There were Five Crusades between ~1100 and ~1300 for example. The Chinese Warring States period was 475 BCE to 221 BCE. Japanese Sengoku period (A similar "Warring states" era) was 1467 - 1600. The Hundred Years' War was 1337 to 1453.

There were times of peace, and then there were times of conflict. Sometimes conflicts that last centuries.
> Inertia must be incredibly strong. Otherwise, why did it take so long to come up with something that strikingly simple?

It didn't? There are both solar ovens and solar power plants in active use.

The issue's mostly that it's historically been fairly inefficient and expensive (compared to other electricity production sources). Prices have been coming down through improved efficiency and economies of scale, the plants being built these days are bid under $75/MWh and construction has been ramping up a lot especially in high-irradiation locations e.g. Morocco onlined their first station in 2017 (510MW CSP, 72MW PV) and is already building a second one, and Dubai is apparently aiming for 5GW installed by 2030.