skysight-inc/HackerNews huggingface dataset:
The most common situation I know of where you store the time with its original TZ is when dealing with recurring times (opening/closing items, appointments), as you need to follow the original DST/summertime the user was in.

Which also requires you to store the TZ location (ie city) and not just the name or offset of the timezone itself.
> Are these semantically the same?

No, but that's not what I meant. These are semantically the same:

action1sync();
action2sync();

await action1async();
await action2async();

> If going from the first to the second is an improvement, I don't understand the excitement.

The excitement is about going from my second example to the first.

> Especially when other languages look like:

It doesn't matter what they look like in the code. They suffer from all the problems I mention in the article: exceptions lose context, debuggers and profilers lose their effectiveness, APIs are split into two disjoint worlds. Virtual threads gives you code that doesn't just look synchronous, but behaves like that in every observable way.

What the code looks like on the screen is a very small portion of the problem we're trying to solve.
This is the most chicken shit code I've ever seen - and I used to make a living doing VB6+COM
https://www.twitch.tv/videos/623155434?t=00h32m52s

Commencement starts at around 32:50
Are You Planning Technical Debt in Sprint Planning?
https://flipso.com/p/dBrEHmXHXEpWpqdYpn2L [Still rough but you get the idea]
The thing is if America was a closed system then yes we would see massive inflation right now and a collapse of the stock market. But as a member of global community where everyone is the world is seeing the same financial problems, America is seen as the safest bet. People in other countries are investing in American companies and the American dollar more than ever. This is the only reason the stock market has not tanked, because it is still seen a safe bastion for your money. However, once unemployement stimulus runs out, PPP loans run out of forgiveness, bankrupcies begin to occur on a massive scale, and taxes have to be raised to cover more spending we will see a further crash. YOu can't just have 36 million unemployed people (which will be 50 million once PPP forgiveness runs out) and expect everything to remain normal. A large part of those people will not have a job to return as every company will try to cut costs.
> I don't understand, you can call a coroutine from a synchronous function and call a normal or suspend function from a suspending one.

Not without a syntactic distinction, and not without losing the performance characteristics you want coroutines to begin with.

> By colorless we mean that you can use a suspend return type directly and not through the ugliness of a promise.

That's not colourless. Colourless means that there is no syntactic distinction between sleep and delay. Two subroutines that mean the same but have a different syntactic colour.

> kotlin could have had no suspend keyword and be officially colorless,

It could not. You'd need to control the JDK to do that, or depend on class reloading, or pay a very high price in performance. Not to mention that it still wouldn't help when calling Java code (directly or indirectly) nor would it change how, say, JFR observes your program.

The problem is that Kotlin has very little influence over the platforms it targets -- Java, Android, JS and LLVM (well, maybe it has some influence over Android) -- and so must do its best to implement its functionality on top.

> I believe the best of both worlds

We don't want two worlds. We don't need two worlds. We want one that behaves as it should.
I think that if you don't have connection with people who are not like you, you lose perspective. I think we need a diversity of friendships in order to not just be happy, but also to stay grounded. Otherwise, we get into bubbles and lose our ability to communicate with people, especially people who are not like ourselves. We can say that technology has enabled and accelerated this trend to society's detriment.

Like Steve Jobs creating a corporate building layout that forced random and disparate people to bump into each other in order to have random conversations and create innovation, friendships of convenience due to geographical realities also enabled for innovation, diversity of thought, and an interesting sense of community in its own way.
> We solved that by settling on UTF-8 for everything - which is fine - but we can't do the same for time, because time zones aren't going away.

What the GP is suggesting is exactly doing the same thing for time. If the internal format is always UTC, that doesn't mean timezones are going away for the user, just that they shouldn't show up in the data layer.
For me the biggest plus of UTC is that the values do not jump back in time in spring during the switch to day light saving times. Surely there are tools that allow to compare/sort time properly as long as there is TZ in the date, but it is easy to forget to use them especially under the pressure. Then those quick-and-dirty scripts ends up as a permanent utility in production, then on the first of April (or the first of March depending on the country) one spends a lot of time trying to understand why the log merge script fails for the previous months. I really prefer to avoid a chance of that in the first place.

Now, as Europe got some sanity and will abandon time shifts the next year, local time as long as as it comes with time zone will be OK. But out of habit I guess I will continue to configure servers to use UTC.
I use Materialistic on Android. It has dark theme and nice widget. There is API, you know...
That’s it, next scrum meeting I’m saying mahakavyas instead of epic.
Quasiquote – Literal Magic – Weinholt.se
Yes, this very much :)
Zoom Status Issues Spike
Tried connecting to Zoom this morning and only a few people out of several dozen were able to connect. Checked, and looks like major outage. Zoom's status page isn't updated yet: https://status.zoom.us/
> I assume either EU falls apart and we get 5-10 years of economic chaos or EU helps countries finance universal basic income and it becomes a a new normal. I put more weight on the second one.

Universal basic income, which means giving money every month to everyone, is not affordable at the best of times. At most it is a temporary measure. This is basically what is happening in some European countries: Governments have said that if companies furlough employees instead of firing them then the government will pay salaries (up to a point). It is atrociously expensive.

Universal basic income might work if you have a source of wealth production that you can tap into. That's why is talked about in relation to automation.

Here we're in a serious economic crisis situation so basic income would be welfare financed by debt.

The only way out is to reopen the economy ASAP and to give it a booster shot.

Now if the term "universal basic income" is just used to describe more generous welfare (e.g. generous unemployment benefits) then many European countries already have that. The issue, again, is how to finance it if the number of claimant skyrockets. This is not sustainable.
OP does not owe you their labor.
Time zone designators can only be represented as value offsets from UTC, which means that it can't refer to an actual location. Time zones change for political reasons all the time, so using ISO8601 for future events becomes buggy. If Germany changes their policy on Daylight Savings, ISO8601 times such as 2021-08-02T09:00:00+0200 will have a 50% chance of suddenly becoming wrong (because they no longer refer to Berlin time).

Another problem with ISO8601 is that omitting the time zone info implies floating time rather than UTC time, and this causes no end of bugs in all implementations.

When I finally gave up on it, I came up with the following alternative:

Time zone data omitted (implies UTC):

2019-01-23/14:08:51.941245 = January 23, 2019, at 14:08:51 and 941245 microseconds, UTC

Area/location based timezone:

1985-10-26/01:20:01.105/America/Los_Angeles = October 26, 1985, at 1:20:01 and 105 milliseconds, Los Angeles time

Latitude/longitude based timezone:

5192-11-01/03:00:00/48.86/2.36 = November 1st, 5192, at 3:00:00, at whatever is in the place of Paris at that time
At least this behaviour is better than iOS Safari, which will happily send an input field longer than maxlength to the server. You can find a whole bunch of StackOverflow questions about this [1][2]. So if you will need a server side check regardless of what Firefox does. (Of course, you need a server side check anyway, but you need one with proper feedback rather than throwing back an "Unacceptable" http status code).

[1] https://stackoverflow.com/questions/33080103/ios-safari-igno...
[2] https://stackoverflow.com/questions/27319642/is-there-a-work...
Tend to disagree w.r.t. the disclaimer tbh. Be it GitHub or package manager of choice I don't get where the default assumption became "everything on here is curated and production ready" rather than "this is something a 15yo built 5 years ago while on shrooms". That's part of due diligence, if I use something that isn't explicitly marked as maintained or don't understand the state it's in that's on me imho.
There's a license for that: http://matt.might.net/articles/crapl/

I know free software debaters and open source license philosophers love to hate on this one, but the fundamental core concept of "more importantly, it should absolve authors of shame, embarrassment and ridicule for ugly code" in the context of them choosing to release code or not is a great idea I reckon.

(But I agree wholeheartedly with the thrust of your argument, and am of the opinion that if you spent more time on the logo design or website marketing copy for your library than you did writing the code, then "You're doin' it wrong...")
For recording when something happend, that makes some sense. Though if you want to report the day of an event, it is still neccesary to include a timezone.

For planned events, it becomes really hard to determine what to do when changing locale.
> Both Australia and NZ are almost back to BAU, again, the UK will lag behind.

Not even slightly. We (Australia) only just (this week) had some states start to loosen up the initial list of restrictions, so some businesses and social activities can restart in limited fashion. But we're still on "stage 3" restrictions - with stage 4 being the most restricted.

In my own state (Victoria), we're going slower as we've recently had some new infection clusters show up, which we don't want to get out of hand.
Some of this strikes me as a bad idea...
People often act very entitled about open source I've found.

You'll often get angry irate emails/issues raised demanding you help them or add a new feature or whatever. Some people are just clueless and need help, others are just dicks.

It is often not worth the hassle in my opinion, but then everyone's circumstances and motivations are different and I am glad that a lot of people do think it is worth it.
Reddit Crypto Tokens now have more than 10k holders
Just my opinion but seeing how compiler behaves with each of them would have been much more interesting, for now it's just a hacky-ish way of getting the ascii codes.
Which is fine for past events, but doesn't solve the issue of future or repeating events. There are actually three main kinds of time: absolute time, fixed time, and floating time [1]. Storing everything in UTC only solves for situations involving absolute time.

[1] https://technicalsourcery.net/posts/time-timezones/
I like this question. I’ve often wanted a search engine which gives you the choice to find sites that don’t contain a paywall, tracking or advertising.
Is it safe to go back to school?
How to Write Log Files That Save You Hours of Time
NHS's Covid-19 website includes advertiser tracking
Yes, exactly. The OP shouldn't probably be using it. There are many other fancy, trendy, modern websites with dark themes like Twitter or Reddit which would be better fit. Leave HN alone, please! It is a fragile environment.
A simpler, if perhaps unnecessarily heavyweight way of doing this is to have separate accounts on the same computer. My email has its own account, and allows cookies there (it's gmail). I have to switch accounts to do mail but that's not so bothersome, perhaps even an advantage for some as it might help not jumping every time a mail arrives.

Using private X in the browser requires trusting the browser, this way you can have the OS isolate processes which has to be stronger.
Part of it is where the eyeballs are, and part of it is what the content creators are using.

Blogs were written and read on computers. Now people consume, and increasingly produce, on phones. Hence blogs (long-form text) -> social media (short-form text) -> vlogs (long-form video) -> tiktok (short-form video)
Because Wikipedia is more accurate about something than real life. It's like the joke with 2 guys in cubicles, the one next to the windows tells the other it is snowing, the other asks for a link as proof.
Issue is that different "agents" ruined blogging: war of misinformation, politics, fake news, conspiracy theories, corporate advertisement fake stories, quick money earning scheme, phishing sites, AI created pages, etc.

Nowadays, there is so many of above that simply finding meaningful read is really hard work. I guess we are race of attention seekers (money and fame), some of them justifiably as they have really new inspiring ideas, other not so much. One Flappy Bird and gazillion clones. Issue is in global world with 5 billion connected, top of the pyramid is very limited space. And to get into that space is very, very hard.

Anonymity never worked, as because of shared data across cookies and huge number of cross referencing vectors, it is easy do identify any person. GDPR does not help much. So, do I agree of anonymity no, maybe for a change everything should be transparent, if you have crazy idea, and you wish to say, because you broadcasting to wide population then you have to be prepared to face consequences. Also if people would bully writer because of what s/he said they should post their comments only as identifiable personas.
It's sad, but that's the reality of things in our "politically correct" modern world.
I Fully agree. Learning Verilog, or ideally SystemVerilog, to a basic level is important to have as a foundation for when you may need to build more advanced designs. I'm in favour of more high level languages being developed for HW generation, but I've yet to see a true replacement language for the main HDLs. For a counter and blinking led example, Verilog is very easy to read/understand for a beginner.
I'm guessing commodity crops in this context may refer to non-food crops, like corn for bio-ethanol, rapeseed, cotton, tobacco?
I blog about my electronics project. It's public in that it's online and accessible but it is for me, both to ensure I think things through well enough to write them down coherently and to have a reference for decisions.

I blog my work activities on an internal wiki for similar reasons. Major decisions need to be gathered in project documentation but small decisions and daily challenges are good to have written down.
I appreciate that the dropdowns are native so they actually work on mobile. I think the treeview (and others) however should select off of the aria roles for this kind of widget to enforce accessibility.
With that logic we shouldn't need clinical trials for drugs or food additives either. Just ship it, if someone gets hurt we'll sort it out later!

At this point it's well known that unfair biases can easily creep into these kind of systems. I don't think it's unreasonable to require products that could potentially cause much harm (e.g. online censoring, scoring CVs, vetting loan applications) to be tested for fairness before letting them loose on the public.
Yes, some of these have been slowly added, similar with Java slowly moving to embrace features from Scala and Kotlin, but to me it doesn't feel as nice, rather sort of baked on and many of the libraries don't use these latest features.

Swift was designed to seamlessly blend functional and OO styles from the get go.

Fundamentally, there's still classes and inheritance everywhere in C#, which is also what I hated about Cocoa and using it from Swift before they came out with SwiftUI.

Now don't get me wrong, I am not saying C# is a bad language, just that when you compare it with Swift, Kotlin, Rust etc, it's clearly playing catchup.

> far bigger lib ecosystem which is the most important criterion

Going by that metric, you could argue there's no point to C#, because Java likely still wins handsomely on that front and maybe Java should just give it up to JavaScript anyway.

Clearly we don't just evaluate languages solely by the size of their ecosystem. There's a critical mass that needs to be achieved, but at some point there's 2-3 libs for everything you may want to do and simly having 5 more is not magically better, the same way having "millions of apps" on the App Store doesn't mean much if most of them are not that great and people stick to just a few.

As an example, the GUI situation on Windows clearly offers more choice for C# devs as to how they want to go about their GUI, but I'd argue the Windows GUI situation is a bit of a hot mess right now and SwiftUI seems like a breath of fresh air compared to that.
I dunno, I feel like Go was created to commoditize the work of programmers. Make everyone write the same stupid and repetitive code, over and over again. No one will ever be able to fuck it up, and no one will ever do anything interesting with it. You can onboard new hires who don't know the language in literally an hour. When reading the code, everyone will understand what each line does but there will be so many lines in the codebase that most people won't actually have time to understand the entire project (which is probably how the managers prefer it, actually). The performance will be pretty okay, since the language isn't high level enough to not be aware of the performance of the code you're writing. Great for companies with a gazillion coders. Like Google.

Programming in Go is like trying to tie your shoes with one hand. You can do it, and its okay (I guess), but you can always see how things could be so much easier.

Maybe this is a bit much, but I find Go offensive: designed for the maximum amount of typing and least amount of thinking. Even Java looks like a powerful language in comparison.
Both of those look like they were reading off of this: https://i.imgur.com/9MQv6z8.gif

I miss PLIF.
Yeah, I meant to put a “usually” qualifier in that previous comment. Rostering has the same problem. Event scheduling can also run into similar problems. The best solution really depends on a lot of context specific details, but most of the better solutions I’ve personally seen have put TZ in a seperate field, rather than using TZ-typed timestamps, and then use the TZ when required instead of as the default storage format.
I've always imagined that this tech would need a markup language. Instead of a script that an actor needs to interpret, the script writer (or an editor, or a translator) would mark up the text.
The fact that you are making that much money is without doubt also something you have to thank society for. Would you be able to make the same amount of money in every other country, and without the sacrifices made by other people over the course of history? This is also something to keep in mind.
Back in the 90s it was common for databases to implement their own file systems or memory management

Informix in the mid/late 1980s initially had Shared Memory implementations in UNIX platforms that supported it. Then, the Turbo/OnLine/IDS servers added the option of raw disk partition use for database spaces to avoid filesystems altogether (and do raw unbuffered I/O).
In regards to the memory model, I am not talking about reference counting, but rather [1].

1 - https://swift.org/blog/swift-5-exclusivity
I could do lots of things that would be unnecessarily burdensome for the dubious benefit of having my package unpublished. If it's acceptable to install it on a local network I can just do it directly from a normal filesystem.
I generally think it makes sense to start with readily available tools, but as a project grows and becomes more specialized, it often shows that the tool doesn't quite fit, doesn't quite have the same performance characteristics, or otherwise not a good fit anymore. And then it's time for something better. Or, it works out, and you don't switch it out (e.g. etcd in k8s)
What's closest to Alpaca for UK based traders?
https://www.bloomberg.com/opinion/articles/2019-10-02/the-tr...

https://www.kalzumeus.com/2019/6/26/how-brokerages-make-mone...
The third code block has two `main` functions. This confused me a bit, but the first one is likely a mistaken copy-paste from the final version.
Zappy, an offline screen capture tool requires an online account to use. The CEO's answer is "we wanted to make it available quickly." not sure why that means I need an account.
>Freetrade

Freetrade are now charging £3 a month for ISAs (tax free wrapped accounts) so it might be free but it's not completely free.
So I’m not a biochemist or an MD or similar but this seems to say that they think they found which pre existing human antibody targets a particular covid 19 protein. And since that antibody (like all antibodies) is really hard to manufacture, someone now needs to develop a drug with a similar enough shape to do the same job (while also being non toxic and stable in the body).

We’re already harvesting antibodies from people who produce them (people who had covid and recovered) and using them to treat (or prevent) covid in others. But that’s expensive so it’s strictly for those who can pay...
> Look at the population and population distributions of GB, NZ, and AUS.

The disparity in population distribution is no where the near the massive disparity seen in COVID 19 outcomes.

Australia has a population of 25 million which makes in more than one third the size of the UK with its population of 66 million.

Also 10 million of that 25 million live in just the two major cities of Sydney and Melbourne which I'm sure are just as densely populated as cities like London, Liverpool etc.

To date UK COVID deaths total 34466 or 508 deaths per million.

By comparison Australia has 98 or 4 deaths per million.

There is more than population distribution at play here.
I used Solid Explorer when I was on Android and that's exactly how it was set up. I really can't think of a better design pattern for a file manager on a mobile device.
There was a Pulsar post on HN a few months ago, with interesting comments, some of the related to kafka. I keep Pulsar on the radar since that post:

https://news.ycombinator.com/item?id=21936252
I mean "without a clear answer" for UKL which is only just over a year old and still in active and early development. There will probably be a way to attach gdb at some point.
Containers get "rebooted" when they go wrong too, so I'm not sure this is so different.
Wow, OK, I guess I haven't lived in/near the actual worst... Seems rather wild to me.
https://www.freetrade.io/
> Unix does the sensible thing and records timestamps in seconds since the epoch.

If only, but unfortunately that's not how UNIX time works. Instead its more like number of days since epoch * 86400 + seconds since midnight. Which is 27 seconds different than simple seconds since epoch count. This is why I would advise against using UNIX timestamps for anything critical because they are fundamentally ambiguous
Or ethics for humans, for that matter.
It sounds like an interesting bug, can you elaborate?
On the surface it sounds like your new hire merely used fold expressions to call functions and operators that were already treacherous on their own.