skysight-inc/HackerNews huggingface dataset:
I love dayjs! I’ve been using it for the past 4 years in most projects and I have no issue at all. Current company used moment, but recently they also changed to dayjs as well. Love to see the author being very active in github as well :)
There are countless, profitable business use cases for accurate time tracking.
What is their propoganda and bias , curious to know.
This type of trolling is frequently seen on /. Easiest way is to downvote and ignore.
If feels a lot like those YouTube uploader disclaimers to me: makes the author feel good, but probably won't mean much in a court of law - if it comes to that. IANAL
It would be interesting to see a true ROI calculation, eg.

Sell old laptop, buy new, what's the cost delta

vs

Buy new framework motherboard, sell old motherboard, what's the cost delta
Any operation like adding/substracting months from a date is very messy to implement yourself.

What is one month ago when you are March, 31st?

We have to deal with monthly subscriptions and it's not fun.
But then, how can they overcharge you if they realize you're a noobie?
What libraries are folks using for dates/datetimes these days in python? I've been using arrow but I believe it also has some issues and doesn't work well with pandas/etc.
I am personally annoyed because I expected something more sensible from an article called “DALL·E 2 vs. $10 Fiverr Commissions”.

The author could also compare how well DALL·E draws text, but what would be the point of that? Is not being a scientific article a good defense for posting nonsense?
I agree that it's complex relative to what AI can currently handle (clearly) but I don't agree that it's complex in general. For a human, it's a simple description. You or I could draw it freehand correctly given 5 minutes, with no training or preparation.

I don't see how this isn't the task these AIs are supposed to solve. They are meant to take a text description and output a corresponding visual result. This just demonstrates the narrow limits on the complexity of the input they can take.

If you're saying they're not designed to deal with inputs more complex than one sentence, then sure, I guess I agree. But this post goes to show that if you require specificity in your desired visual output, then you need more than one sentence's worth of complexity, and therefore the current generation of AIs are not yet broadly usable.

It's about illustrating the current limitations. This post is not implying that the technology is a failure or that it isn't enormous progress.
Medium started like that too. It's the circle of startup life.
The same for me, while I use Linux on laptops, desktops and computational servers, I use FreeBSD with ipfw on routers and gateways.
First you have to define what you mean by "one month ago". Is it 30 days ago? Or last month? Or a certain number of milliseconds ago?

No library can help you with that. You have to define what you actually want to calculate.
Sure, implementation is easier said than done. That doesn’t change that, conceptually, having machines that you can destroy and spin up new ones at will is much better than bespoke “pet” instances. The “pet” stuff is used until someone sets up e.g. Salt, Terraform/Ansible, plain bash scripts etc.
Is there an API an app can use for this?

Out of curiosity what apps are those?
I think you can still get the HH3000 if you manage to escalate a request past the first layers of consumer support.

I also heard about buying special optics that you can completely set up to mimic the original bell GPON, down to the SN but those are expensive. It's so weird to "downgrade" such a useful feature (that does not even hurt any other part of their business, and only serve to make 1.5gbps+ speeds more attractive for those who would actually need that much speed), but hey it's still bell after all
I don't think there's any need to be condescending.
The GP commenter account seems to be a bot posting climate change articles...
They have an obvious pro-business, neoliberal (economic) bias, and they've never hidden it. Calling it propaganda and implying it's some nefarious tricking is too much. It's in their freaking name what they are!
I'm not suggesting Magic Leap are necessarily going to succeed, but a competitor 'proving' that a market is small isn't really a sign that the market is small - it's just a sign that the competitor couldn't (or wouldn't) grow the market. And launching a startup that's trying to take some percentage of an existing market is a bad idea anyway. With every single startup the goal should be to make the market bigger. Its much, much easier to persuade someone to buy a product they don't already have than it is to get them to switch from a competitor to you. Growing the market also makes your competitors less likely to get defensive because you're not eating into their business. That helps a lot at the start. You really don't want a price war with Microsoft or Google.

You're right that the current industrial AR market can't sustain Magic Leap, but hopefully Magic Leap know that and have a plan to get more companies using AR somehow.
Ask HN: Bonding a New Team. How To?
I'm a startup founder that recently (last few months) got from 1 to 8 employees. It was difficult as I had no idea how to do hiring, manage a team, build a dev process, etc - i was never employeed and worked in a team before.

I'm also sure that I'm not doing things ok now as well, but at least the project is progressing at good pace.

The main problem though is building a solid team. Our dynamic is ok, but it feels like we're disconnected. Not necessary work wise, but after 6 months we still feel like strangers on calls, we don't talk anything besides the project and even if I try, they don't like talking anything else. We're a remote team from different countries - wondering how much this affects it?

After talking with them privately, they also don't like that little bonding games HR do.

How do you guys keep the team together? Do you play remote games, have zoom coffee breaks, or what other things you do to increase the connection between team members?
I doubt A/B testing. If the original headline was "Bridge destroyed" then it was simply factually wrong, blatantly incorrect, and seemed unlikely to me coming from a news-source like the NY Times which still has some shreds of a reputation for journalistic integrity.
And Laravel is essentially Rails for PHP
pendulum has been our go-to for a couple of years now, I have been quite happy with it.
Ethnically Chinese could very well mean Taiwan too, the main ethnic group there is also Han, same as mainland China.
Does JSON Crack support a node having multiple parents?
And Alpine https://alpinejs.dev/ and petite-vue https://github.com/vuejs/petite-vue
Ask HN: What's your biggest issue with HTML?
HTML is over 29 years old today. You must have used it in many projects during your career.

Perhaps the first time was modifying MySpace or some 90s/2000s social media site.

It's used for laying out pages, adding buttons or building whole UIs. Safari, Chrome, Firefox, Edge, Opera all implement some latest standard of HTML.

What's your biggest issue with HTML today in 2022?
What's the one big thing you would change?
Which of your needs are not being met with HTML as it is today?
You wouldn't. It's not a trade anyone is asking.
This is only you having super basic date needs, not Day.js being overkill in general.
I feel like people who haven’t grown up with grandparents don’t understand the value of seniors in our society. They are not just ‘old people’.

From a non material perspective, life is rich when there are relationships and companionship and love. And we learn from our older generations and they are memory keepers. Society cannot learn and progress and evolve if we don’t treasure the elders amongst us.

Sadly, this is lost in today’s world and especially in the west. Even in India where I grew up in a large multi generational family, the notion of multi generational families participating in child rearing is become rare with the current generations.

We see the downsides of this. At least, I do. You can learn how to code or be a nuclear engineer at a college…but how do you learn what it takes to be in love and to be able to love? Learn cooperation and create partnerships..how to be kind and when to be kind. Or stern.

We need elders. A society that doesn’t care for its most vulnerable is doomed to perish. That’s how we learn to be humans. And to be human is to learn how to cooperate and co exist in order to survive.
It means that if you need a whole JVM instance to service a tiny chunk of data that's less than even a terabyte then you're doing something extremely wrong.

Leaves a bad impression of Cassandra, personally.
Maybe we should just parent better. Seriously. If your kid is so young that they can’t figure out if they should or shouldn’t be watching a particular YouTube video on their own, they shouldn’t be on YouTube to begin with.
Well for that matter, I have known people who buy fashion items online (that fit perfectly) use them on a dinner out and then return them because they don't fit or are not the expected colour, etc.

Still, since as you say these online sellers must calculate the prices of these goods to cover these return expenses, the other "normal" clients pay more and BTW there are thousands, millions packets going and returning (it is time, money, traffic, etc.).
> I'm not interested in long theoretical articles

Those articles are more empirical in nature than theoretical.

> This logs that an image with a given id was updated

As a thought exercise, imagine that your log trail needed to be created in a distributed system, spanning multiple machine time zones, or that you needed to build a report that is read from browsers in multiple time zones that differ from multiple differing written time zones, and you need to account for human readable things like knowing what day of the week it is and what some given locale calls that day.

If you are doing the equivalent of printf debugging with your times, maybe you likely don’t need a time library.

If you are using time as a central part of a distributed algorithm, web content, or a business workflow, then you may likely need a time library.
Phone is easy, laptop is hard
Yep, and while they are there they can steal also some salt water, but the rail infrastructure won't likely be affected.
One of the things that is being shattered in Ukraine right now besides the Russian Army is the Russian self image.
Now that's a powerful thing to lose.
Russians have believed that they were a strong important country, now, the truth is here and it turns out they are weak and unimportant. Unable to project any sort of believable conventional power onto the world.

The soviet union was obviously strong militarily with wast sphere of influence, but Russia has not filled its shoes at all.

All the years of corruption and greed shows.

In that backlight, using tactical nuclear weapons will at least let the regime assert some kind of might.

One can wonder if Putin at all has or had a true image of Russian military capability.
I think you’re missing the point entirely. If Date has a method that does what you need, by all means use it directly.

Libraries come in handy when doing things that aren’t one liners.

A colleague thought it was super easy to change that exact ISO string to use the local timezone instead of UTC, against my advice. Guess what. The minus sign broke it and he would have never known because most customers are in the US, then they travel to Singapore and your product is worthless. By the time you hear about it, you lost the customer’s money and time therefore you lost the customer.

Moment and Luxon are too heavy, I agree, but date-fns isn’t.
I'm a completely naive fan of smart watches (as I don't own one and probably won't any time soon) just because of the possibility to reduce much of what the smart phone provides down to a less attention stealing device. Maybe the notifications are the major problem (I'm naive on this) but I figure that that big screen with an internet behind it is just cognitive cancer. Take the screen away and you're left with music phone calls and an awkward text messaging interface.

Don't know if cellular/network connectivity and battery life can hold up to be practical, but if a device were somewhat larger just to accomodate this I'd think about (less naively).
> More modern version (the one that come with zPDT emulator package) cannot be pirated anymore.

I don't think it can't be pirated. IBM has made it a bit harder (DRM encryption of the installation media), but nothing a sufficiently motivated and skilled person couldn't bypass. However, I guess that extra difficulty has been enough to dissuade people from actually doing it, thus far at least.
Designing data intensive applications
Will this cause a significant shift away from Ubuntu?

In the startup world, much less so in the enterprise world,
I hear a lot of "We dont use Windows because it is too expensive
and we dont wish to spend the money on licenses".

(There are also many people who are just ideologically opposed to Windows)

I hear the same thing when it comes to RDBMS and other vital software,
Oracle, Microsoft are too expensive to license.
Having worked in both the business Enterprise world,

"We dont use any software if we cant license support and .. "

with startups

"We dont use any software that is not free and open source"
Aside from the fact that they are developing the next unicorn SaaS that
they will charge $$$$ for.

It might mean more adoption on the Enterprise side, though RedHat or one
already provides this.

I would think it could cause a shit in the startup crowd unless they
figure Ubuntu will be available for free as well so they dont want ot
worry about license costs
It doesn't surprise me. Timezones - and dates and time in general - are extremely complicated. Deceptively so. Although we interact with timezones, dates, and time every day, we don't think about layers of complexity and edge cases. More importantly, we don't practice them.

We have courses about compilers, databases, data structures, algorithms, cryptography. It's surprising we don't have courses about dates and time.
probably not what you meant, but: are you saying that we shouldn't care about global warming as long as we have fun?
Thank you!! I will try this tomorrow
H. Russell Wakefield's “Look Up There ”
There is now experimental support of 68k Quadra emulation in qemu too.

I wish it expand to the whole 68k Mac line.
I love these sorts of posts. Is there a Hacker News just for cool retro-computing hacks and weird hobby OSes I could read?
For it’s time (meaning relative to the US population at that point) MASH is larger than basically every superbowl ever, except for maybe the last couple. I’m not hip on the current viewership numbers, but literally over half of America watched the series finale of MASH
I’d second that and can relate as I’d have loved to pay Medium for an enterprise global account that would’ve allowed selected, smart engineers from my current company to post blogs that would escape the Medium paywall.
Looks like to me that option doesn’t exist on Medium - or I’m not able to find my way through your website.

That being said, you Medium folks - as it looks like you’re actively reading this thread - should work in priority on the global perception that Medium is hosting more and more clickbait and superficial content, as that is a possible concern for people like me who’d be willing to give you corporate money so that our possible readers would bypass the paywall.

In a nutshell: work on an option (or pivot to?) making good writers pay for publishing content and get rid of the others. Some of those writer will be fine with paying (corporate branding is their goal), while some others will ask for their share of the fame created and you may want to go the Patreon way for them, i.e. asking readers to pay as an option (?)
Why do you reckon the average webpage size is closer to 1MB? Could it be perhaps because people do not obsess with xKB?

It’s just 140kb extra, don’t worry about it. Repeat 5 times.
Decided not to wear the life jacket whilst kayaking in Thailand. A speedboat came around the corner, then straight at me, such that I rolled off the kayak into the water. Whilst I still was struck by the propeller, I expect that I'd be gone had I been wearing the jacket.

I was also extremely lucky that I ended up having down and got hit in the butt as, to others, there's nothing that suggests I was in such a traumatic accident.
> I don't believe for a second that Nato would directly strike Russia if Russia used tactical nukes in Ukraine.

Almost no one is saying that’s the immediate consequence. But General Petraeus already commented how the response would be a collective NATO involvement sinking the Russian Black Sea fleet and bombardment of Russian positions in Ukraine. It’s anyone’s guess how Russia then responds to THAT, then how we respond, then how they respond…
At some point you will need to calculate how many leap years to account for and whether or not a leap second was introduced in between two arbitrary times.

Time libraries can help you with that.
Odroid-Go portable gaming console and devkit launched for $111
That's not exactly true. This is hostable, just like PlantUML is, but PlantUML also hosts an instance, linked directly on their sidebar: https://www.plantuml.com/plantuml
One of these days I just want to go one normal day without a phone, but it's kind of a necessary tool for everything in city life unfortunately.
All schools are government schools because the government license them and will shut them down if they do not comply.
Helix needs a jumping tool, badly.
You're unable to summarize ? How d you explain to a child who cannot yet google ?
I personally don't love that you can commission art for $10. I know that this price point is more or less the 'trial' or 'promotion' price, but still - it's so hard for artists to pay their bills, and this sort of creates a perception that their work should be available for really cheap
If having shock-resistant playback, analog audio, and easy recording is evil than call me Charles Manson, 'cause y'all can keep your record scratches and CD skips.
Internet Archive Files Final Reply Brief in Lawsuit
Even if some difference actually matters (e.g. setting a timeout), it would be wise to wrap axios or fetch in a custom function, which obviates the need to use either for most developers using the codebase.
Good for you I guess.
The usual sly British games with the English language.

I first noticed it when they were ranting (very politely, of course) about some Indian policy change. They never said "the Indian government;" it was always "Modi's nationalist party."

There was another example where their podcast was playing the sounds of various religions. For church bells, the speaker said "who'd want to live next to that," and for other demographics, he'd say "ah lovely."
>they also have an interest in stability in Russia and in an end to military conflict.

This might no longer be the case, given what looks like early signs of China pivoting away from Russia towards the West.
This is the same impression I get when reading the docs for Leap. It's pretty clear I won't be able to know which keys to press until I'm done pressing the first two, so I can't think of the whole thing as a single motion; I've to complete one motion, pause and think, and then continue.

I suppose it's more useful if you're not too well versed in Vim motions though.
It is a very weird way to phrase that headline. I'd rather they specified the Chinese gangs that kidnap Cambodians/Burmese.

It's especially relevant (to me, anyway) because of the ongoing exploitation of Cambodia by Chinese interests who have Cambodian officials in their pockets because, well, money.

Sihanoukville is something a friend had highlighted to me previously - it's seen massive development - by Chinese developers for a market comprised of Chinese tourists and expats. So the development hasn't exactly poured money into the economy, unless you count the minimal wages paid to local labourers, or the bribes to officials.

And the development has seen locals being displaced by obliging Cambodian officials when they were seen as getting in the way of "progress", as well as the Cambodians displaced because they've been priced out of their own town.

Mind you, economic colonialism is nothing new, and the countries that a lot of HNers hail from, myself included, have done exactly the same in the past (and, being fair, are probably still doing so now to some extent), but I feel it highlights the risks of the "Belt and Road" strategy as much as the ports in Sri Lanka et al that are now owned by Chinese interests because of loan terms that couldn't be met.

Right now China is offering up lots of money for influence in the Pacific, and lots of "development" loans, and the eventual cost is going to be massive for the entire planet - a lot of those small Pacific nations have very large EEZs, and the ability to fish in an absolutely unsustainable manner in those EEZs is often what China asks for in return.

There's also been worrying suggestions of Chinese military bases as a form of quid for the quo. (I say worrying because of China's aggressive tendencies in Biển Đông/West Phillipine Sea/North Natuna Sea/South China Sea).
Been thinking about this aswell. I have kids, so I wanna be reachable.

I have all notifications already turned off on my phone. But the internet and a browser are enough.

Has anybody successfully reduced phone use with a smartwatch?
this is related to "230K Chinese “persuaded to return” from abroad to establish Extraterritoriality" [1] As I mentioned in my comment in this article, there has been a lot reporting, videos on Telegram. It is not only happening in south east Asia, Turkey, Dubai, and more.

[1]: https://news.ycombinator.com/item?id=33050320
Am I the only one who would expect the behavior in the top example?

I don't want my equality operator doing timezone conversions. If one type has no timezone attached and one does, then you probably shouldn't be able to compare them at all. Likewise, for a type that has a timezone attached, if the timezone differs between a and b, then I want a == b to return false, even if it represents the same instant in time.

Equality can be a tricky thing. Named functions are the way to go when two different developers might intuit different behaviors.
Who is "some kid"?
Do we not have better things to do as humans than blow ourselves up. seriously?
Because, among other things, Medium has gone out of its way to make sure conversations never happen. Their comment system is unusable.
> The West

The interests of the USA and Europe are not the same.
A Political Demography of American Elite Students