skysight-inc/HackerNews huggingface dataset:
One big issue is that C doesn't have guard rails against overflows within an object. For example, if you have an array `int a[3][3];`, `a[0][4]` is a perfectly legal way to refer to `a[1][0]`, because it's all within the same object.
> How do you nudge yourself in that direction on a perpetual basis, as opposed to visiting it by stunning your mind into submission and silence?
>
>Subscribe to Naval

Not sure if this was deliberate, but I'd love to know the conversion rate of this CTA.
Wow well said. I think this is the real core of the issue. I have experienced this since I can remember and people would get mad at me as a child for explaining how something worked or how to look at something from a different perspective. I struggle with sharing my understanding about anything due to the depth of explaining I have to do for people to understand why I arrived at my conclusion. One thing I have found helps as I get older is to let go of the feeling of importance of things going a certain way. I can now live with small mistakes and misunderstandings way better than when I was young.
All of these things could have been done twenty years ago without a blockchain, with digital signatures.

How pointless.
Happiness' biggest killer is thinking about the future / dwelling on the past. I think smart people do this a lot more, which may explain the correlation.

From Buddha to Eckhart Tolle almost every book and teaching about happiness boils down to living in the present. But I guess it's much easier said than done because our minds like to wander (evolution to anticipate dangers perhaps?) and living in the present is like keeping your balance on a stationary bicycle with gravity always working against you.

But fwiw we do get glimpses of true happiness say when you're like in the zone and totally immersed in the task at hand that you're thinking of nothing else and just happy (doing what you're doing).
ESPHome (an easy to use firmware for ESP32 chips) uses SSE to send sensor data to subscribers.

I made use of that in Lunar (https://lunar.fyi/#sensor) to be able to adjust monitor brightness based on ambient light readings from an external wireless sensor.

At first it felt weird that I have to wait for responses instead of polling with requests myself, but the ESP is not a very powerful chip and making one HTTP request every second would have been too much.

SSE also allows the sensor to compare previous readings and only send data when something changed, which removes some of the complexity with debouncing in the app code.
Just enough to trigger the buffer... 1024-8192 bytes or something like that... a fart in space since it's just once per session!
What does a real economist think of cryptocurrencies?
Taking a fully relativist perspective on morality is just an excuse to justify taking no ethical stance on anything at all. It's certainly your choice to exist in society this way, but you can't be surprised if people correctly criticize it as selfish, self-serving, and morally bankrupt. At least embrace it.
FWIW a bunch of people do seem to agree (though that isn't to say a bunch of people disagree). Maybe it is because I'm "old and set in my ways". Maybe it is because I'm just too familiar with IRC (while having never used TS nor even heard of the other two). Or maybe it is because I actually run servers for things (including IRC). But every time I hear "my Discord server" a very large part of my brain gets confused: it is a word which is so incorrectly-to-me being used--being neither a literal nor a metaphorical (via IRC) description of what is going on--that it causes me momentary confusion and then even a twinge of anger that this is what "server" means to people in 2022: a mere account on a service that isn't even themselves running a server for the user :(.
Yes thanks, I should have added that perl took it (and improved it) from awk, and ruby took it from perl. Most ruby people don't like to remember that ruby has a lot of perl-isms in it, but I think perl was a great language (and probably is, though I liked ruby so much better I never looked back).
Probably not as big as people make it out to be. First, the vast majority never sees sales. Secondly, we know that a large number of artworks are used w/o permission across the web, on sites like red bubble, or to sell prints or drop ship products on Amazon. No doubt this is on the tens of thousands too.
10GBASE-T has rather insane computational requirements: way more work per bit compared to predecessors. And 10x the bits. A pretty sizeable chunk of silicon is needed to do all of it. Hence high power consumption and price-tag. Even now, 15 years later. I guess standard's authors had a little bit too much faith in Moore's law.

> LDPC FEC coding [2048,1723], with the parity check matrix construction based on a generalized Reed–Solomon [32,2,31] code over GF(26).

> Tomlinson-Harashima precoding (THP)

[0] https://en.wikipedia.org/wiki/10GBASE-T#10GBASE-T
So success and satisfaction are not the things that keep you feeling good/happy? I don’t understand what you mean to say.
The extra setup step for websocket should not be required: https://caddyserver.com/docs/v2-upgrade#proxy

I also had no problems with HAProxy, it worked with websockets without any issues or extra handling.
Are you the author? You you can make them callable links
And the scales just fell from my eyes. I'm guilty of this in the system I develop at work. Whenever I want to show the user all widgets that were made on the date they selected, I will just do something like

DATE(widget_made) = :user_date

Which does what I want and avoids the problem you brought up. But sometimes I have some more complicated logic that falls down if I try to compare datewise. So I manually create the DateTime ranges, and use 23:59:59 as the end of the range. So something like

widget_made BETWEEN :user_date '00:00:00' AND :user_date '23:59:59'

Anything that came off the line at 23:59:59.3421 will be excluded. Fortunately for me, I don't think that has ever actually happened. But now I know to be on the lookout, and use proper date-handling tools to ensure correctness.
Because territories must be defended.
Isn’t DateTime fairly consistently just a singular moment it time, either absolute (TZ specified) or floating and therefore locale dependent?

Pretty sure these are the two cases which the python stdlib datetime covers.
The specific question is strangely put. Why 12:00?

In the generic case where one has conflicting data types to work with, including all sorts of lost precision, the boring answer is that it is context dependent.

Direct user interfacing applications should follow the principle of least surprise, which for an interval search would be to always treat the value as inclusive when in doubt.
Worldbrain Memex is incredible
Covalent Organic Framework
This is from 2020. The title should be fixed.
i wish i could enable that for IRC reasonably without running my own bots and such.
Space geoengineering: can we control the weather?
I’ve been happier since I started working on my own business full time. The key is to be able to control my own time.

If you can figure out a way to be able to control your time as much as possible, you’ll likely be happy.

What people really want is not infinite amount of money. It’s actually ~100% control of their own time .
Um, add in a daylight savings transition and that "date" could be 23 or 25 hours long.

And that is not even getting into what a day means when you are trying to coordinate between NZ and the UK.
From talking with my dev, my understanding is this has to do with scripts and service workers. I believe these were not specific to Chrome previously, but I'm not sure.
Does anyone know how Brave will handle manifest V3?
You're right about the present moment stuff - but I'm not convinced smart people necessarily think more about past or future. If you're down on your luck, not very bright, working a shitty job for not much pay, you're probably thinking really hard about future logistics / rent / living conditions, no?
Hmmm, looks like a less feature-full take on Metaculus https://www.metaculus.com/
I don't get this. He used XD for YEARS without bullets or pages or some other features? How does a professional front end developer manage to do that?
As much as I like cats, this is incredibly wasteful for the whole world - lots of carbon footprint.

Cant you just buy some other toys for your cats?
Stupid people are happier then smart people.

Look at kids. Kids are generally stupider than adults. They're also happier. So if anything that proves that being smart does not make you happy and it hints at the possibility that being stupid actually makes you happy.
> He writes “don’t work” but he seems to mean “aren’t easy to monetize.”

> The protocols “work” just fine. It’s making money that seems to require centralization, even by his own examples.

Why would you say that? I skimmed it, and he wrote very little about money at all, and a lot about the stagnation that federated protocols experience, e.g.:

> I thought about it. We got to the first production version of IP, and have been trying for the past 20 years to switch to a second production version of IP with limited success. We got to HTTP version 1.1 in 1997, and have been stuck there until now. Likewise, SMTP, IRC, DNS, XMPP, are all similarly frozen in time circa the late 1990s. To answer his question, that’s how far the internet got. It got to the late 90s.

> That has taken us pretty far, but it’s undeniable that once you federate your protocol, it becomes very difficult to make changes. And right now, at the application level, things that stand still don’t fare very well in a world where the ecosystem is moving.

It's true: the federated protocol that is email doesn't actually have encryption, even though people have been talking about it for decades. The need to be interoperable with lowest common denominator means that even Phil Zimmerman finds it too troublesome to receive anything that's not unencrypted. A platform like WhatsApp added it in like a year or two.

Federation seems like it more for an end state where things are stable and well-understood enough that it's tolerable that the implementations stagnate.
Why is it hard to argue gold and silver aren't a good store of value? I've never considered them a good store of value, and I don't think I know anyone in my circle that hold silver/gold as a store of value. If one really wants to avoid investing in equities and estates, T notes are much less volatile and a better store of value than gold/silver.
Love your hybrid model via gumroad! I do something similar for my own open-source project

https://github.com/open-wa/wa-automate-nodejs

There should be some sort of support group for those of us trying to monetize (sans donations) our open source projects!
> I feel like every FF related post reminds me that Mozilla has lost their way. What can be done to bring it back?

cutting off the money supply or a complete cleanout of the executive team
There is no path to happiness. Happiness is the path.
The workaround/hack is to send your token via the "Sec-WebSocket-Protocol" header, which is the one header you're allowed to set in browser when opening a connection. The catch is that your WebSocket server needs to echo this back on a successful connection.
That is right.. default value for new column is now pretty fast.. all the other 6 tips are current and very relevant.. this blog has been my goto blog for debugging locks in postgres, as it captures a very crisp summary on this topic!
No, you can't - you need state to enable the concept of ownership. We need a way not just to verify that your signature is valid - we need to be able to deny the seller the ability to still claim a valid signature.
> Really strange article. It felt like someone writing "I've got cheese, so I like the colour red". The cause effect isn't clear to me, at all, and the article isn't nearly well written enough to expand on anything meaningfully. It's a false dichotomy, or at least a not well explained argument.

In the words of the author: "If you’re smart, you can figure out how to be happy within your biological constraints." Rephrased, the title could be "If you're so smart, why can't you figure out how to be happy".

On this subject, here's a video discussing these types of arguments: https://youtu.be/Q6wmIehW6EM?list=LL&t=47
Yeah, see also, Marc Brooker has a good article on why the bimodal behavior of caches can cause a lot of headaches https://brooker.co.za/blog/2021/08/27/caches.html
I might be less happy than some other people, because I tend to overthink things and spend a lot of time "in my head", but I am at my most happy when I work (on things I care about), when I engage with that inner drive to explore and create.

Flow or (focus mode) is my "ignorance is bliss" equivalent.
Anders Hejlsberg is a world treasure as far as I'm concerned.

After basically single-handedly creating Torbo Pascal, he was the architect of Delphi, C# and now TypeScript. I don't think that anybody touched the lives of so many programmers quite like he did.
I'm not so sure that buying is always a bad decision. I live in Berlin, and see where you are coming from. Germany has strong tenant protection laws, and you generally don't get much or any freedom when buying an apartment in a building. You can't change the layout as you'd like, for example, due to load-bearing walls.

However, in terms of building equity (not to become a small-time landlord), buying an apartment is a safe bet - the housing market has been in a bull market for a long time, and the last few years have been especially good. I suspect we're closer to a long-term top than many think, but that's another matter. Even if the market crashes, your house remains yours and keeps providing shelter. On top of that, selling is tax-advantaged whereas stocks aren't.
Going back to my original post: "I kind of think that we need to steer AIs away from trying to talk like humans at all."

The question is "why would I be talking to ai about an accident involving another person?"

Is it a medical AI? then perhaps it would be better to refer to Mike as "the patient", etc. Which is how it would be handled in code.

Are you looking to make friends with your ai? Then no, I think you need to go find real humans to talk to, who can navigate complex human social interactions better.

Robots are not a substitute for humans.
Breakthrough in Cathode Chemistry Clears Path for Lithium-Sulfur Batteries
> 2.5G and 5G Ethernet are relatively cheap.

It's not what I saw a bit more than a year ago when I changed my PC. A PCI express card was about 100€, about the same for a switch IIRC. It was about 500€ total for what I wanted to do, not worth it for me.

The same hardware just Ethernet would have cost 5 or 6 times less!
I think this is the most applicable case for most of us really. In my free-time I think of what better things I could be doing or working on, reading the news, new technologies, working or studying for my masters degree. Not exactly friend-making activities or memorable ones that you will think fondly of in the future. When I think back, its all a big blur of being all by myself, with a few actual memorable moments with people sprinkled in it.

I compare myself to my brother, we both graduated and started our working lives. When I wake up in the weekend, all I can think about is all the work I need to do. When he wakes up, all he thinks about is going out, hiking, meeting new people. I think we are just wired that way.
Yes, GCC can do tail-call optimization. What you can't do is rely up on in C. Lua has tail-call optimizations and because of that, you can rely upon it. There is a difference.
I think you're misinterpreting GP: even though it is true that possession-like crimes are badly handled by the US, you can erase them entirely and the US _still_ has a larger prison population. Our population commits more real crimes than most first-world countries. Treating addiction like an illness seems nice, but will not stop that. We either must imprison them (which don't do _enough_) or convince them not to commit crimes (which actually prosecuting crimes _might_ help with, and very little else we've tried does.)
Same in my case. At the end of the day, it's just another form of censorship. It broke the illusion I had of HN being something special and I'm glad it did. Better spend that energy elsewhere.
If it's just backups there are tons of options out there. Backblaze for example.

The security implications of running your own AWS cloud infrastructure with API building blocks for people to use to build their own infra sounds like too much for a one man shop.
Question for those of you who build features on web using things like SSE or web sockets, how do you build those features in native mobile apps?
"Generally, the more intelligent you are, the more you can see behind the façade of everyday life being easy or safe."

There are different types of intelligence. Some people are smart and happy because they don't think about how unsafe the world/situation/etc is. Also possible that people adopt a mindset that embraces risk.
No, the issue is that we don't have the political will to arrest, prosecute, and imprison criminals, until our societies consist of people who don't commit crime.
I'm confused, how is it a definite violation of GDPR and who do you think is doing the violating? How would the handling of periods be relevant? Why wouldn't it just be user error? People send emails to the wrong address all the time. They'll keep doing it, unless you tell them, which you may or may not want to, because they might be embarrased or angry.

Here's Google's relevant support page: https://support.google.com/mail/answer/10313
Ask HN: What product do you wish existed?
considering that this is a Transformer model, one looks for hints about which words were filled in by the model . The passage is not enough to tell if the model has some kind of longer-term memory that could develop further the story by referencing something from the past. This excerpt seems to have reflexive structure, the model responding to the last few lines maybe?
Yahoo Mail doesn't use the plus, but they allow you to use another text as a prefix, which means spammers can't know the real email address behind the aliases.

For example, if my real address is myname@, I can set my prefix to be myothername and all my aliases will be myothername-something@. myothername@ won't be an address, so spammers can't send anything to it, and aliases have to be registered to be able to send emails to them. It's slightly more annoying than the Gmail plus system, but way more secure.
Absolutely the first thing I wondered and came here to comment on. Not answered in the FAQ section of the page.
"What does a real magician think of sleight-of-hand?"
Interesting, my understanding is that he is prettymuch a bog standard libertarian, and believes in equality under the law for gays and women.
It’s a big IF, and something we probably won’t live long enough to witness even if it somehow works out.

If it becomes the global reserve currency, and remains accessible to everyone - the world would end up on a disinflationary Bitcoin standard.

In a disinflationary/deflationary environment the cost of borrowing/interest rates goes up, thus the leverage that is fueling asset inflation is removed. Blackrock doesn’t buy single family houses cash, they have access to the fed discount window.

During the gold standard we’ve had prices stable for hundreds of years in some examples, so at least we’ve seen that historically prices can be quite stable.

Today, land has become the primary saving vehicle and that’s less than ideal.

Personally I’d love to see land demonetized as an asset via Georgist taxes.
I had a lot of fun with lists like these in the 70s/80s. To this day I give all of my creditors a phone number which I know has rung busy since 1983 thanks to lists like these. It would be very interesting to war-dial all of the US exchanges in 2022 to see what answers.
Dates without times are... Dates? Aren't we talking about two distinct types here?

Drawing examples from pythons stdlib there are (roughly) three types: dates, datetimes (tz naive), and datetimes (tz aware)
If you like learning about telephone system, phone phreak Evan Doorbell has a very interesting series of podcasts about his time exploring the telephone system in the 1970's. The podcasts include his recordings from that time period.

It was neat to hear some of the old tones and recorded messages I grew up with, as well as ones that were well before my time:

http://www.evan-doorbell.com/production/group1.htm
> but the fact that Amazon was so quick to ensure that 100% of the workers who ever come near the services they sell within the EU are EU citizens

Uh not sure what you're referring to but that's not true. The only airgapped region w/ enforced citizenship was for US citizens in GovCloud.
That's what I was getting at.

Who would have thought you'd need an account to read a newspaper or watch broadcast TV over the internet?
Thiel and Weinstein: An Era of Stagnation and Universal Institutional Failure
To be pedantic, an equally valid conclusion is that intelligence and happiness are independent variables with no connection, not necessarily that there is an inverse correlation.
T notes don't store value wrt inflation, which is what precious metals are supposed to hedge against. Earlier chat about metals holding value when equities/bonds are selling off is misleading, imo.
Social Engineering over the Phone
> RSS feeds are still alive

You're entitled to your opinion, but I don't think you'll convince many people with this.
How to skate a 10k, by Nils van der Poel [pdf]
Discord has history on the server, unlike IRC. This makes a huge difference when joining a new channel.
Yes — so "allowed to preallocate memory" ?
Looking at upgrading currently. Out of stock naturally.

Upgrading clients to 10 ends up being quite expensive though so will have a mixed network. Plus some form factors don't have pcie slots available
This looks really good! Thanks a lot.

What i am always missing (fx & friends) is a preview and gradual expand.
If you should feel inclined, you may want to look at jsonui[1]
which has this (with C => e e e). Even if it is rather crude, I always come back to if for these two features

[1] https://github.com/gulyasm/jsonui
What the telephone network sounded like in the 1970's
Depends on what you mean by culture. In terms of haute or prestige culture including the arts that would be correct. But if you are looking for fringe subcultures like psychonauts, ENM, amateur philosophy, people into weird shit like growing gourmet mushrooms or home (not necessarily illegal) chemistry - basically the stuff you wouldn't see on Instagram or whatever because it's too niche and weird - the SFBA has a really high density.
Sort of like that but you don't have to wait until all your 16Gb of RAM are written to disk. AFAU, Dmitry found a cheap way of making consistent snapshots of a running system.

BTW, there was a thread on HN relatively recently where someone mentioned that the hard part of hibernation is not restoring the RAM state but bringing all hardware into the right state at boot. That's why hibernation has been so problematic on Linux.
> You'll never be in this situation

The article indicates the opposite: this is a real situation (it's explained why they are asking) and like Zach Holman states (somewhat exaggerated, true): unless your software has no users and is only one hour old, you'll find yourself in this situation.
That’s interesting. Do you have an idea what fraction of the YouTube premium fee goes to the content creators?
I’ve been using water from a hosepipe, so yes, tap water. However we have also been getting an unusual amount of rain recently, so that’s been watering the plants also.
Is intelligence correlated with happiness? If there is a correlation, would it be nonlinear?

Some of the most miserable folk I've met are genuinely stupid people whose every endeavour fails.
At least with 30-40% support there’s no way he can claim it’s a fringe minority.