skysight-inc/HackerNews huggingface dataset:
Had never thought of building such a tool, but now that you mention it, there were cases where I had Unix sitmestamps in log/debug files for instance. I ended up using the web browser console to do a quick conversion.

I just gave it a try now, as a shell script:

#!/bin/sh
# https://news.ycombinator.com/item?id=31233092

case "$1" in
-*|"")
echo "Usage: datez <unix-timestamp>"
;;
*)
if date -r "$1" 2>/dev/null; then date -r "$1"; else date -d "@$1"; fi
esac

Edit: tried to add the reverse, from human-readable-timestamp to Unix timestamp, and got a problem when the locale does not use the English language: the human-readable form is not understood by date as input!

So the round-tripping version of the script has to set the locale to C:

#!/bin/sh
# https://news.ycombinator.com/item?id=31233092

# Needed for round-tripping:
export LANG=C

case "${1}" in
-*|"")
echo "Usage: datez <unix-timestamp|human-readable-timestamp>"
;;
*)
case "${1}" in
(*[!0-9]*)
date -d "${1}" +"%s"
;;
(*)
if date -r "${1}" 2>/dev/null; then
date -r "${1}"
else
date -d "@${1}"
fi
esac
esac

Edit 2: it does round-trip by using a locale-independent format like "%Y-%m-%d %H:%M:%S %Z", which is anyhow the format I prefer:

#!/bin/sh
# https://news.ycombinator.com/item?id=31233092

# Needed for round-tripping if you use a locale-dependant format:
#export LANG=C
FORMAT="%Y-%m-%d %H:%M:%S %Z"

case "${1}" in
-*|"")
echo "Usage: datez <unix-timestamp|human-readable-timestamp>"
;;
*)
case "${1}" in
(*[!0-9]*)
date -d "${1}" +"%s"
;;
(*)
if date -r "${1}" 2>/dev/null; then
date -r "${1}" +"'${FORMAT}'"
else
date -d "@${1}" +"'${FORMAT}'"
fi
esac
esac
I really like what you wrote. Thanks about that!

The only issue I find with your comment is the expectation that there will be mass unrest or protests in Russia. Somehow I don't see this. People in ex-soviet countries are sadly used to accepting the status quo and trying to make the best out of it.

I do hope I'm wrong, though.
The word 'agape' existed before Christianity, and meant something broadly similar - some kind of love, not necessarily romantic or sexual.

It seems to me that the precise nuance varied a lot over time. For example, the Septuagint, the translation of the Hebrew scriptures into Greek in ~200 BC, uses it for all forms of love, including in the extremely saucy Song of Solomon [1]. The 20th Delphic maxim (~600 BC) is "Φιλίαν ἀγάπα", which means something like "desire friendship" [2]. In the Odyssey (~700 BC), Eurycleia describes Telemachus as "μοῦνος ἐὼν ἀγαπητός", meaning Odysseus's "only and beloved" son [3].

[1] https://www.patheos.com/blogs/tomhobson/2018/04/how-did-agap...

[2] https://www.hellenion.org/essays-on-hellenic-polytheism/delp...

[3] https://www.loebclassics.com/view/homer-odyssey/1919/pb_LCL1...
I used to experience this as well, on multiple MacBooks across years. It seems to have disappeared when I moved to a non-MagSafe USB-C charging generation of MacBooks (can't say for the latest ones though).
What does "deep routing" mean?
> Let me explain: the headline mentions "eros" for love, which is one of several (Greek) words for love, but focusing on physical erotics (lust).

Did you read the article? I feel like you wrote your comment to demonstrate your grasp of Greek vocabulary, not because you had a meaningful response to the author of this post — a post which is quite nuanced and interesting and, I might add, not at all focused on lust.
Cost depends a lot on who you find and want to hang out with. I found a group of friends where we spent most of our social time hanging out at the dorm: playing German board games, making music, or just talking. I'm still friends with most of them fifteen years later.
I know what you’re going for with ‘culturally determined’ but it’s just so unconvincing. When I was 20, I was part of the culture that went to clubs. Now I’m part of the culture that thinks it’s trashy as all hell, and a fleeting millisecond of’fun’ that isn’t really even that fun.
Whether they practice in leetcode does not matter if they can not get past resume stage.
(1) [Thing] is bad for the world

(2) But I want it.

This is the recipe for the road we are on.
I assumed since it wasn't in the skill list on your profile (I'm on mobile so apologies if it is there and I can't see it) that you didn't know anything about it. So I guess my next comment is add to the skill list all the ubiquitous technologies you know but thought weren't necessary to enumerate.

But definitely good to provide a GitHub link in your resume, I don't usually make a decision based on reading the code, but showing it is a positive in my mind.
Somewhat related: I was playing with cube recently, and, starting with solved state, I started doing sequence of two moves that came to my mind: rotate right side down, then the bottom, clockwise. After maybe a 100-150 repetitions (I did not count, just did the moves mindlessly for couple minutes) I went back to solved state. I wonder if there are more such sequences, and how long it takes to go back to original state. The obvious difference from Devil's algorithm was that the 2x2 sub-cube remained untouched the whole time, only the edges were messed up.
Pretty sure it was Joe Armstrong who said he would take code and change infinite timeouts to 30 years and wait for the developers to protest.
> i.e. imitating the correct gestures, but very few people put in the effort to actually learn to become a good communicator.

Reminds me of Celeste Headlee's comment: "There's no reason to learn how to show you're paying attention, if you are in fact paying attention."

EDIT: I guess the reversal the article is talking about is that you now need to learn how to pretend not to be an effective communicator, because it's not part of the current social norm.
"Wibbly Wobbly Timey Wimey", LOL. Any other D&D-adjacent novels on your bingo board?
Fwiw, i have a Thinkpad x395 with AMD Apu. It's mostly nice, but there are GPU driver issues that have been unsolved for almost 3 years now with that generation of ThinkPads (0). Let's hope such issues are sorted out for newer models

(0) https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870971
Anomaly Six claims it can track the movements of ~3B devices in real time
> The charity bundles are an absolute travesty of making really cool stuff look like shovel-ware in some ways, too.

Could you point out the cool stuff? As someone not staying up to date, all those PDFs do look alike.
Thanks for the context, I fixed those up. This was my first time looking up AS for additional info and it was a lot of fun.
Feel free to quote where anyone here is saying not knowing something makes you smarter.
One thing is that terminals are a kind of magic. While the rest of the graphical interface gets bogged down with drawer pull animations and blinking buttons it can be possible to run a whole series of commands with reasonable responsiveness. Systems are drowning in response choking complexity. Did an app just start a download in the background? There is probably an app that will tell you, but even a bad terminal can probably tell you faster. It is a one size fits all immediate gratification head above the churning waves maneuver in an accessible package.
I agree, but I have done things wrong with autotools, then spent hours debugging the generated scripts to figure out what I did wrong.
I often think about the earlier days of the internet as a parallel to the pre-code Hollywood era
I do think apps have something to do with it. Not saying they're evil, but I do think they contribute to the objectification of people. Maybe more importantly, I think they shift the focus in relationships to initial appearances, and onto the evaluation of the other person rather than ones self. I think a lot of this is subtle and not limited to dating.

A lot that's too much for me to put in an HN comment from my phone. A lot gets lost in treating dating similarly to how you'd buy a pair of headphones, and it has consequences. Figuring out what exactly is lost is hard, and addressing it would help a lot of people.
Check https://github.com/edenhill/mklove which aims to be a drop-in replacement of autotools but with sane developer experience.
> event sourcing is just ESB, microservices is basically SOA...

Event sourcing is a persistence model, an ESB is about distribution.

Microservices are an implementation of the 4+1 architectural view model where at least three of the views are identical.

You’re not wrong about spyware though.
Quite a few of these are in fact cautionary tales or allegories. (Obsessive romantic) Love in many cultures was considered a sort of madness. Only the elite subset of society had time for romantic amusements in pre-industrial societies.

A lot of these issues (and preoccupations with romance) go out of the window when people are struggling to survive, as most did in pre-industrial societies.
Yeah, that strikes me as much too complex. I like the games where you get something like ‘3 damage points, pick any effects you want (optionally limited per weapon type) or just pure damage’
If eating meat were bad for the environment, all predators who eat exclusively large prey would be extinct. We can have a discussion about how much meat per year production is sustainable, but I'm not going to start eating bugs.
Cool, thanks for pushing this discussion from the inside.
>We use OpenTelemetry and eBPF to map your existing stack and show you only results that are relevant to the tools and technologies that you are using

I am not familiar with the tools you mentioned, what do they do exactly?
> In fact simplicity means you can't describe hard problems easily without being overly verbose, which means more code and more attack surfaces.

Hence simplicity is not a desirable goal. We need to create complex languages so that fewer people can understand and use it in a few projects and write very less code. Less code means less bugs. ‘Complex’ is the way to go. /s
LOL the idea that "just so you know, I don't want to see you again" is the solution to ghosting is hilarious. That's someone being mean to you at a level about as damaging as ghosting. There is this magical thing called care that can be put into words to avoid either. "Just so you know, it was great to see you again, but there isn't anything romantic there for me. Sorry it took me X dates to get there. You're a cool person and I wish you all the best for your next date. I'm sure you'll blow the right person away when you meet them."
If cases are up, and hospitalizations are trending up strongly, why do you think they are uncorrelated? You think covid suddenly got less dangerous, and something else started putting people in the hospital who happen to have covid?
For companies offering 4 day week jobs in Europe @ full salary, try:
https://4dayweek.io/remote-jobs/europe

There are currently ~100 companies on the platform atm but I have a backlog of new companies to add and see more companies every day

And @HN, if your company is open to 4 days @ 80% salary, please get in touch :)
Well, by pushing C++ you can enforce a lot of constraints at compile time, just like you do with Rust. For instance, by extensively using concepts or SFINAE (enable_if and friends) you can make type safe code that works well and (almost) never breaks. I rarely if ever need to fix runtime issues with my C++ (or Rust), because it almost always works at the first attempt. That's due to all the "fighting against the compiler" you need to do beforehand in order to get the code to compile in the first place, but it's generally worth the effort IMHO.
What country do you live in? In Sweden the Social Insurance is paid by the employer and that tax is in 2022 31,42%, of the gross 2.6% is for the Parental part.
Here’s a perspective (more a response to the DeBoer article than this one) which I find helpful and which I think not enough people acknowledge:

Neurodivergence (view that mental disorders are a form of human variation that should be celebrated), medicalization (view that they are diseases, much like physical diseases), and personal responsibility (view that they are caused by personal choices) are all lenses which need to coexist in order to explain mental illness.

ADHD is probably the cleanest example because all three lenses truly apply. For many people with ADHD, it’s who they are, and there are aspects of it that they wouldn’t want to change. It’s also a condition which often needs medication to be managed properly. Plus, (in my experience with loved ones) it’s impossible for people with ADHD to function unless they are trying to take responsibility for their actions.

For most disorders, you need at least two lenses. You can’t fully understand alcoholism unless you acknowledge that both personal responsibility and a medical condition (“substance use disorder”) play a roll. Ditto anxiety and depression.
The modern conception of true love is very modern. Nobles used to marry to accumulate property and fairy tales were little more than the glammed up version the hoi polloi consumed. Like the Kardashian thing, tabloids etc where the story is a fabrication.

I think what gets lost is that long term relationships have been more utilitarian than anyone likes to admit. Who doesn't love a love story, or want to feel the rush of first attraction?

The problem is that it isn't enough to build a life out of. You need a practical, working partnership to raise a family and app dating isn't geared to that goal. The apps give a monstrous illusion there might be something better on the next swipe, and it just isn't true.
They aren't literally claiming a physical requirement, they are describing todays most common workflow.

If I said you need to install 100's of mb of gcc to produce a binary, would you say "no you don't? you can write bytes directly from the shell right into a file" It would be a technical fact, and yet kind of stupid to pretend not to understand that today, in all practical senses, one produces a binary with a compiler suite of one sort or another.

Today, it's a growing trend that software is developed using huge ides and stacks of frameworks. And a new developer is started right off at the highest most abstract (most automatic and magic, sold as most "productive" or "practical") layers possible, which requires the fattest of ides and the tallest of stacks.
I was under the impression that a significant percentage of cattle was not fed purely from pastures. Perhaps this what GP's comment was about?
The hardest part of learning a new skillset is deciding that you can do it and then finding the motivation to do it. The rest is just work. But it requires a certain attitude of "Of how hard could this be? Let's do it.". A lot of people chicken out of doing that work with some lame excuses about how they have better things to do, they are not good enough, etc.

Too many people self select themselves out of things they could be doing by simply deciding that they could never do it.

I studied computer science. I've taught myself lots of other stuff over the years including a lot of things that have nothing to do with computers. I'm a decent photographer. I can bake some nice sourdough breads. I'm not a bad cook and I definitely like eating my own food. I can repair stuff. Etc. Nobody ever taught me any of these things. I just started doing them and then figured out how to do them better. If I'm interested in it, I'll find a way.

Professionally, anything you put your mind to you can be the world's leading expert in just a few years. But you have to dedicate yourself. That's a bit of wisdom my professor gave me when I started my phd. He was not wrong.
Videocalls kill M1 Mac batteries too. (Typing this from a 16" MBP M1 Pro that last around 4 hours if you're using Google Meet on it.)
>> I learned early that following Gary Gygax’s advice in the opening lines of the DMG was essential: the rules were only a rough guide; develop your own system.

One has to wonder then why we already have 5 official versions of the rules, and counting.
Maybe the happening faster part is actually the most important thing.
FHD displays need pixel perfect rendering to look really good and sharp. People who buy 1440p or 4k displays are ultimately compensating for a poor quality rendering pipeline (a very real issue on MacOS) that just blurs everything to near-unreadability.
> become e-trash in a couple of years, while these "plastic" laptops can last a decade before being discarded as junk.

My experiences different, I'd still be rocking a 2014 MBP had it not suffered massive liquid damage. All Macs and MacBooks I or relatives have crossed or are going to cross the decade threshold with aplomb.
That's legit. But when you've got more than 5 years of monthly journals to look through, the tradeoffs look a little different.
It doesn't need to be turned into farmland, we need to stop using existing farmland to grow feed for livestock, which is where so much of it goes.
The point is that you can choose which facts to present. In any case, “(badly)” is clearly an opinion and not a fact.
Since NSO claimed that they only sold to national governments, this means Pegasus was used cross-border, or NSO lied about that. (maybe both)
It depends on which direction you want to go.

Rust is probably a better bet for web-related things. There is not much C++ there, and Rust seems to get some popularity. After all, Rust was originally made for Firefox.

For more industrial applications, or game dev, C++ is likely the way to go. Where I work, we do a lot of industrial applications and we have a lot of C++ projects, including new ones. Rust is not even on the radar. [Edit: C++ here is mostly C++11 now, with some C++98 and not much C++14 and later, I expect that we will get to C++17 soon enough but C++20 probably has a long way to go]

Forget about the criticism/hate of C++ and hype of Rust, it has little to do with practical applications.
"Eraser mouse" cmon? That's one of the reasons why I (and as I've seen many others) prefer thinkpads. Trackpoint, good keyboard, good linux compatibility, upgradeable.

Despide some Lenovo BS plays on firmware etc a thinkpad is still, in the age of making everything fancy looks over functionality, a thinkpad. A reliable product.

I've been trying to find a substitute for years. I can't find one. Macbooks are (generally) good products, but they don't have trackpoints, I don't like their keyboards, linux compatibility is not where I like it to be, and definitely not upgradeable.
> Mac BSD-derived utilities and POSIX utilities.

BSD-derived utilities in macOS are POSIX-compliant. The gulf is between GNU and POSIX.
yea

"fighting for peace is like fucking for virginity"

then again ...
> RAM (I think only 8 GiB, actually) or CPU (I don't even remember which Intel CPU it had

Sounds like you had one of the cheaper T14's, it's likely you didn't run into any power limits due to that. 1080p screen as well, I presume?

Kubuntu 20.04 and its kernel version certainly throttle power on the higher-end T14's I've seen. If that's lifted then they throttle thermally, unless you manually force both cooling and power limits higher. Windows handles it all tad better, but the battery life is nothing to be amazed of.
Vegetarian diet somehow equals synthetic sludge and nothing to hope for?! Sorry if that mischaracterizes your point, but it does seem that's the slippery slope you were going for.
It depends on the direction/industry you want to move in - depending on that you have to learn. The solution of the task will show you which language is more suitable.
1/3rd of the US farmland being used for pasture and 80% of global crops being fed to livestock are not mutually exclusive on their own.

Edit: Surprisingly our world in data has a breakdown of land uses (which includes grazing) but not of crop use. This study[0] says that about 40% of global crop use (by calories) is used to feed livestock and that it takes about 3.7 crop calories for 1 calorie of animal product. So yes, there's plenty of saving potential even if we kept all the grazing livestock untouched.

[0] https://iopscience.iop.org/article/10.1088/1748-9326/8/4/044...
I'm looking for something in-between a version control system and an archiver, with simple file-based deduplication and as fast and robust as possible. Maybe you can explain whether restic and borg fit my needs. Desired functionality:

- Main inputs are an input directory or a list of files, the location of a file repository (1 file), the location of a metadata DB, and some indexed and searchable metadata like original path, modification date, semantic version number, arbitrary title, and other strings.

- If an input file has been changed or is not yet stored, it is archived in the file repository compressed with very fast compression like snappy or LZO with corresponding metadata and version in the metadata DB. Otherwise only the metadata information is stored. Support for deltas / storing incremental changes in the file repository would also be nice but is not required.

- The metadata is stored in the metadata DB so later a file can be retrieved based on version information, it's original modification data, it's original path, and/or metadata regexp searches.

- Snapshots of an input directory or list of files can be extracted based on version information and any other metadata. Extraction needs to be very fast.

- The library needs to work on common file systems and at least on Linux, Windows, and MacOS.

- Archiving should be ACID-compliant. Either a file is stored with all of its metadata so that it is retrievable, or nothing is stored and an error is returned. Likewise for whole input directories and for extraction.
Here in Germany even local bakeries put stuff in their bread which doesn't belong there. A good chunk of population (including me) has switched to make their own bread. With a bit of routine (and patience) it's pretty easy (I am not talking about these machines which make your bread). I just finished two loaves where I even didn't add any yeast besides what's contained in the sourdough.

We have some high-end bakeries who sell real bread but you have to know them. Sourcing proper food in Germany is pretty difficult if you don't live in a big city.
> The novelty (T14s) features ... USB-C 4.0 Gen 3

This one could be a better value compare to the Intel one, if it provides support for Thunderbolt 3 eGPUs.

One downside I can think of is that T14s usually only comes with soldered on RAMs, no DIMM slot, meaning it's less upgradable (say to 64G of RAM). That's why I'm waiting for a new AMD T14 which should come with a DIMM slot and hopefully USB4. And if Lenovo failed to deliver the T14 that I want, then I'll probably just get an E14/old-style XPS13. I don't really need cellular connectivity, fingerprint scanner and backlit keyboard anyway :-\
I don't believe the argument is that the acreage for animal pastures would be converted, but rather the acreage for the crops they eat would be converted. Or is that in error as well?
The issue I have with this type of thing is that it is difficult to work on the goal if you don't already have the funding to do so. This then incentivises institutions like Universities that can front that cost to work on it, and disincentivises independent people from getting together to work on the problem, or from hiring people to help out on the project.
Why this old, abandoned decompiler? Current is remill/anvill/McSema by Trail of Bits:

https://github.com/lifting-bits/remill

https://github.com/lifting-bits/anvill

https://github.com/lifting-bits/mcsema
Firing People Made Easy
A security audit of my small 6 person office found a Digital Ocean machine trying to brute force one of our Windows machines. I'm becoming less and less impressed with Digital Ocean as time goes on.