skysight-inc/HackerNews huggingface dataset:
Mostly good. We use the Fritz2 framework. It's a reactive UI framework that has a nice component library and supports styled components using a Kotlin DSL for CSS. It heavily leans on things like Flows (from Kotlin's co-routines library). We have a multiplatform client library that uses kotlinx-serialization, ktor, kotlinx-date, and a few other things.

Interoperability with javascript is possible but a bit cumbersome due to the need to map types. A typescript mapping conversion exist but it does not really work that well. We use e.g. the maplibre framework to display maps and it has issues converting the type mappings for those. We ended up doing this manually for the bits of API we needed.

Main downsides are the relatively immature tooling (though that has rapidly improved over the last year) and slowish build speeds. The Kotlin compiler has some performance issues.
Well it's not that the square is a negative number but rather that you were only taught to do arithmetic with 1x1 matrices so you don't have a nice abstraction in your head to convince yourself. It's similar to people who insist that 0 is not a natural number because they haven't studied abstract algebra and don't care about the underlying algebraic structure (nevermind that peano arithmetic starts by postulating zero and succ...)
All the tweets from people who should know better tells me that even smart people are highly influenced by propaganda and bad takes from the media.
They're outsourcing their customer services.

Thia is actually quite annoying, because the one time I've used their customer services they were really good. I needed to cancel half of a reservation (booked for 2 nights, needed to leave early), and the hotel staff said they couldn't do that as I'd booked through a third party. I called Booking.com and they made it happen. Hopefully whoever they outsource to can continue the good work.
I'm using booking as it has a great UI and genius + Amazon Prime give me by far the best prices.

I haven't found any alternative yet.
Check for what? Spurious correlations?
I just wanted to note Intel tried that and it didn't work. See pjmlp reply.

I still think the idea is sound, the way to go about it needs a lot of rethinking.
.NET also has plenty of silly wrinkles, and C#11 is getting a couple of new ones, see twitter storm regarding !!.
Hacker News is part of my daily life. I try to follow the top stories every day when I have the opportunity. In order not to miss important stories on my busy days, I prepared a notification service. It was a very simple, ~40-line PHP script that sends me notifications for stories with over 200 points. I have been using this service for 7 months and I no longer worry about missing important stories.

Finally, I made this service available to everyone so that it can be useful to others. I have also obtained the necessary permissions from the HN moderators to share such a service with you. So, I hope you will not miss important stories from this awesome platform with the help of this service. Also when I share this service with HN, I hope I will receive this story as a notification.

And this is my "I don't care if this succeeds" project because I am already using and I just shared with everyone.

Also I just received this post via this service and just came here to share this.

https://news.ycombinator.com/item?id=30153116

https://hnn.avci.me
Hurry, 5000 people are being fired right now!
The cost of nuclear goes down if we build more of smaller standardized reactors rather than a huge, advanced plants every few decades where everything is new and untested each time, warranting long periods of validation and certification, and where the people building it have changed after each built power plant.
That is not hidden by immutable data either - the state is just global in the latter case, in a way.

There is no getting away from essential state, from a theoretical point of view. In my opinion the often leaky partial encapsulation of state is still one of the better ways to deal with it. And immutability is another axis so of course the frequent case where it makes sense should be adhered to, but not religiously.
While true, this doesn't change the premise. Both parties should agree on the "correct" approach in the context of this discussion: minimising technical debt.
Optics. That's the true name of the evil overlord.

Government cares about "looking" like they are doing the right thing. Because they want to get public support.

Then there is corruption. But I will say that's a secondary issue. Anyways, I am pretty sure once govt changes were I am from, former politicians will find a job easily in pharma. Again this is secondary and will always happen.
Kind of, only true when speaking about .NET Native, now with standard .NET + CsWinRT it isn't as natural as it used to be.

More an exercise in patience dealing with the WinRT mess.
"Here's an URL to a jpeg that may or may not 404 in a few years"
Whilst not making light of the complexity of the field.

Distributed systems, it honestly is just a toy for the tech monopolies.

Nobody I've ever heard of in a company with less than a billion dollars of revenue is bothering.

Who ever thought "let's build a software program which has major issues dealing with clock errors!"

My day job doing distributed compute at a "main street" company is/was completely eaten by "why the hell would you even, just throw Postgres on a 64 core 2TB RAM machine with replication."

Why indeed.
For asymptomatic and mild cases as well?
We and France are no where near solving that problem. And it's likely we never will...

https://www.power-technology.com/features/managing-nuclear-w...
Didn't even request his "findings" to be peer reviewed. Or ask the authors to clarify his questions. Just assumes some stuff and hits it out with a catchy headline.
Honest question: is myocarditis and "heart disease" exactly equivalent for purposes of that assertion? In any case, you would have to subtract the percentage of people who get myocarditis from the vaccine itself, before deciding on the net benefit.
The one time I used booking.com I got screwed over. Their website is riddled with dark patterns and has probably been A/B tested into oblivion. The tactic they used that screwed me over was that they advertised 100% refunds on last minute cancellations. I used booking.com for this exact reason as I didn’t know if I’d be staying the night in the city I was driving past. Well turns out I didn’t need the booking but when I went to cancel I didn’t get a refund. When I went to go back to booking.com to see what their policy was, it was clear they carefully worded the last minute cancellation policy to really mean something completely different from what they knew they were advertising.

Lesson learned: never use any third party service when you can book the place directly. Also last minute cancellations probably just don’t exist
Isn’t exactly these boundaries what OOP gives us?
> They almost sound self-evident!

I think it's hard to provide examples since they would all be implementation dependent.

simple to me is a stage of the thought process that will become apparent only after putting in the extra work. It's not just applying "this 1 trick". Making it simple is its own unique challenge. E.g. my first iteration of an idea is always a mess. Then I rework it enough times to make it presentable (a state where it "works" and I can reason about it with others). But on the job nobody pays me to make things simple because that means spending another 10-30% of the budget on it. making things "simple" at work is nearly impossible to sell because people quickly through arguments at you like "perfect is the enemy of good", and few jobs give you a "definition of done" where making things simple is part of it.

Another reason why it's impossible is that the best time to rewrite a greenfield project or an MVP is before you add additional features. But at that point people will not allow it because the expectation usually is to build on top what you (they) invested in previously.
Thank you. I'm always looking for ways to improve it.
My wife had a small one around the time you bought yours. Started to rust after a few uses... I guess that sort of demonstrates GPs point.
Completely and utterly disagree, it may have been the case in the 1800s or whatever but the naming sense of modern mathematics is pretty on point and actually incredibly insightful. Consider the definition of a "connected" topological space and tell me it doesn't tell you something about society.
I have never created an account either, and eventually added the entire Twitter domain to my uBlock Origin block list the day they booted a certain politician from their platform. Different paths, same destination.
Chart showing Wind/Solar Capacity vs Electricity Prices in Europe:

https://twitter.com/briangitt/status/1491556458671968259
Sure. But the original question was: do you think that that should worry regular folks more than the evil and abuse perpetrated by their own government?
Sources? - I've heard the opposite for young males.
Ask HN: What do you think about RISC-V development?
My friend told me he's betting a lot on further development of RISC-V architecture.
With China and maybe soon Russia have USA trade ban, and ARM and x86 are licensed to USA companies, it will further develop technological disequality in the world, or make middle-man countries earn more money..

So the question is, do you think RISC-V as an open source architecture emerge as real competitor to ARM?
I've had adversarial managers in the past. Unsurprisingly, the team underperformed and the culture was terrible, so I left. I don't agree that one's manager should be one's adversary. I've worked with many managers who work with me instead of against me. This is a crucial difference.
> Why diversify? If you have enough power when you need it without emitting CO2 I would think that would be enough.

Ask that question next summer when the rivers get too hot again and they have too shut down.
I’m working on building an implementation of Magic: The Gathering in Ruby: https://GitHub.com/radar/mtg

It’s fun trying to work out the different card / game mechanics and how they all interact.
Tell so
Some to read a book because you can’t articulate the issue.
Yeah, compiling a data access DSL down to SQL, potentially through some intermediate AST, is not as novel as it's being made to sound around here. I feel like I'm being gaslighted.
Only for IOD and some low end APU.
Same but for porn.
It’s worse than that, not just web browsers, they’re also forcing these frameworks into desktop apps, mobile and embedded because they refuse to learn any other platform or language.
Maybe. But the fact that we haven't encountered those "pure tyrannies" anywhere sure does.
By the time you're 20% in that process your competitor has already overtook the market.
I’m working on an implementation of Magic: The Gathering in Ruby. https://GitHub.com/radar/mtg

It’s fun to work out the different card / game mechanics and how they all interact. It’s a good different project from the typical web-dev-y stuff I do every day.
This is interesting to contrast with the numerous studies mentioned here: https://www.statnews.com/2021/05/14/setting-the-record-strai...
Also could be a coincidence... lots of factors go into whether or not you have a heart attack.
There are two types of "data" in a properly encapsulated class [1]:

1. Internal/private data -- things like a pointer to a string's contents, its length, and the capacity of the content buffer.

2. Public "data" (API) -- best provided as accessor methods/properties (and public methods) to ensure that the class' invariants hold if these can be used to mutate state. You don't care if the object has been mutated through this public API as this is the contract for how the class/object instances should be used.

A properly encapsulated string class is free to change its internal state/data (e.g. start+length+capacity, or start+end+endOfBuffer), as long as it keeps the contract defined by the public API intact. The same applies for data structures, mathematical objects like complex and rational numbers.

You could store a complex number in polar (r, theta) or cartesian (x, y) form and provide public accessors for all of those values. If you had setters for those, the native representation would be a simple assignment, while the other representation would do the necessary polar <=> cartesian conversion. This would maintain the invariant that the two representations are equivalent, such that if you set r then the angle (theta) does not change, but the magnitude changes such that it is equal to r.

Note that if the complex number (or string) was modelled in a procedural or functional language, you would have to choose and stick to one or the other representation. That structure or type definition is leaking the state, such that a program could modify the length of the string without updating its contents.

Q: Can you give an example of where having object A inconsistent with object B is an issue? That would help me to understand the issue/problem you are referencing.

[1] Many OOP languages also allow protected data, which can be seen by implementations but not any other code. These are risky, as they can allow the derived class to break any invariants on that protected data like you described in your second paragraph. As such, I try to avoid them wherever possible in my own code, but will run into them in thirdparty or system classes.
Yeah, taking the vaccination reduces the chance of myocarditis. https://theconversation.com/myocarditis-covid-19-is-a-much-b...
> The article says that the vaccine greatly reduces the rate of heart disease amongst people that eventually get covid.

It does?? Where does it say this?
I remember 20 years ago my parents used to edit static websites with Dreamweaver

Those sites were literally hand crafted directories of index.html
My point is, if every (or almost every) actor does the same thing, and someone argues that's bad/damaging/not the best course of action, the only explanations are either:

* All actors are anti-rational (not just irrational, which leads sometimes to seemingly rational actions).

* There's something else pressuring them into taking an anti-rational decision.

I'd be surprised if it's the first, so I ask about the second. Unless the commenter means that killing your own citizens is in self-interest of the state, then leaving COVID run rampant would have been better option anyway.
Anecdotal anxiety ;) I guess
Apple's "Tracker Detect" Android app wants full network access and precise foreground location permissions.

They expect me to consent to having my physical location tracked by Apple in order to avoid having my physical location tracked by someone other than Apple. Unbelievable.
> I mean, increase from 0.00001% to 0.0001% is still significant and yet I still wouldn't worry about it in the slightest.

I think there's probably a little gender bias at play in your risk estimation. I too am not particularly worried about someone stalking my 6ft ass - but I'd say a majority of my female friends have experiences with stalking at some point in their life.
Am unvaccinated and recovered too. Heart is fine, as far as I can tell.
Well this is defensively not gonna make it easier to get a new agreement for data transfer between EU and US.
Indeed, but with a bigger launch vehicle, much of the complexity of JW would have been simplified and the cost of building it gone down.
I was thinking about something similar.

Use wasm ffmepg to convert video into avi format (most size efficient). Since it's done on client side, you don't exhaust all server resources.
Indeed thanks, although I understand they didn't make distinct groups according to status, which would have made results more convincing.
I don't believe for a second that anything being tweeted by billionaires, C*Os, and politicians is not approved by some marketing and/or social media department. It's not like people are required to tweet, they choose to tweet.

In the end Twitter is just the illusion of people talking to each other. It's all just to further their brand or to push their goals, not insight they give up for free. Sometimes someone slips up but this just results in even more carefully crafted tweets.
Hotels.com. You get no dark patterns and shady practices as bonus.
Exactly what I was thinking in my head when I wrote that. Although I really should have written it out properly. To be fair mass is probably way more important.
Current projects

- App that documents all the steps to successfully get married
- App to organize my video game collection

They are personal projects so I don't care if they succeed.
Booking at the venue itself will almost always be cheaper and provide more luxuries like a free drink in the bar or free breakfast.

The third party takes a cut of the cost. The hotel wants that cut badly, so just call them up, say you found a cheaper price at the third party and see what they do. They will likely give you a better offer and they themselves will have a better profit as well in the proces.
Monogame has some support from Microsoft,

https://dotnet.microsoft.com/en-us/apps/games/ecosystem

But the problem is the WinDev silo, they are pretty much against anything not C++/COM.

XNA died because when Phil Spencer left, no one else cared and naturally XNA got rewritten in C++ as DirectXTK.
Well yes. But that's partly because the launch weight was restrained, and the launch cost high. It's a bit unituitive!

The limits on launch weight means enormous costs to remove every single grma they can. This makes the launch cost go down in percent. If thy could just make it 50% heavier they could cut development costs by a lot. They could also build one much faster and allow it to fail constructively where you learn a bunch and then build number 2, 3, 4 with the things you learned. So now you have 3 telescopes instead of one.

Launch cost changes everything.
Yeah an even the most patient of adult tires of the same question over and over but Siri doesn’t.
My discussion was intended to be about two things:

- is function coloring better than alternatives?

- is it possible to interact with APIs that require they be called from a specific UI thread using those alternatives?

The answers are resoundingly “no” and “yes”. The point is that I think C# should at some point adopt lightweight preemptible threads similar to goroutines for the benefits, not that you need to switch to Go for GUI apps on Windows. I don’t agree at all that function coloring for async is a benefit, or that poorly written tasks being able to block the executor is a benefit, which is what the GP basically argued.

C# is a good language, but defending function coloring feels the same as those Go developers who defended not having generics for years. It’s important to be able to recognize the shortcomings in languages so that improvements can be made. Generics will be a benefit to the Go language, even if it took a surprisingly long time to materialize. Async in C# is better than what it had before, but that doesn’t mean it is perfect.

To your question more directly, Go’s runtime automatically uses the underlying native async APIs in most places where it makes sense in the standard library. WinRT probably isn’t used by Go, but I haven’t ever looked. If you’re specifically referring to UI APIs, then this is irrelevant to the discussion, because I’m not saying you should switch to Go for that. Plus, Google doesn’t care about using native windows GUI APIs from Go, so it probably wouldn’t fit your definition of “natural”, since I doubt anyone has put in the effort to clear that bar.
100% agree. It's a trade-off. Get product-market fit first and learn what you can about the domain. Spend enough time on architecture up front so you can easily pivot. That's all the simplicity you should care about at that point.

Once you get traction, you can start to afford to have the crazy vision. IMO, at that point it's easily worth the risk. A decent research team will probably discover something, and potentially extremely valuable knowledge.

If you were James Clerk Maxwell before he published his equations, how much would they be worth to you, especially if you had paying customers?
Hotels.com price matches and has a pretty great loyalty program. It's like a punchcard where after 10 punches you get a free night's credit (avg. rate of your punches).
Anekdote:

Recently fixed an issue for performance ( MS SQL ) by just using "With INDEX index-name".

Very small PR actually. I couldn't write an blog post about it actually.
I’ve had the same experience in the past. I travel to Japan a lot and outside the big cities many hotels there just don’t have anyone who speaks English, which obviously makes direct interaction with the hotel difficult. Booking.com customer service was always excellent. Never took too long to get connected to a real person, and that person was usually able to solve my problem or at least find a good compromise.

If their service declines I hope a new service gets created that replicates what they do, but I worry that if someone was to build a company like this nowadays they’d just not hire phone support staff.
Are Americans getting richer or poorer?
I've personally witnessed these "dancing boys" in Afghanistan, and no I didn't shrug my shoulders. I'm not sure why you think I disagree with you. I'm pointing out that this insistence on the principle of "equality of culture" is a western proclivity that is both naive and wrong.
I don’t think ORMs are fair choice as prototypical examples of (good) OOP. But I agree that having data (record) primitives is very important in some given domains (and that relational databases are really powerful). There are other cases as well which are not as data-oriented though.
Planning the same for my cat who goes out a lot: is there a special collar that has a place for AirTag or what is your setup?
https://expiringcake.com

I built it to get email reminders about things that expire, such as passports, free trial cancellation dates, Covid antigen tests, travel reward and free night expiration dates, etc.

My real sob story is that my passport unknowingly expired and I didn't notice until I was checking in to an international flight. I really don't want that to happen again, especially now that I have more passports to keep track of in the family.

It's built with blitz.js, Go, Postgres, and runs on a tiny VPS. I use it for myself and haven't marketed it much.
It is much easier to reason about immutable state than mutable state, both for humans and compilers, especially in a distributed setting (any modern piece of hardware).

The problem with "leaky" encapsulation as you put it, is the combinational explosion of the state space as many stateful objects are composed.

Most mainatream programming languages are still unfortunately not well geared up for working with immutable data, they lack even persistent collections. Functional languages are of course ideal for this.
Well aware of the politics. The play here was to predict the ways corruption works and use their own moves against the other side.

Obstruction of justice can already be shown to have occurred within the prosecutor's office, in a case against the judge related to her faking of a crime. Police had concluded there was no threat. That page went missing from her file but I have it from another source.

A number of my friends and acquaintances are, in fact, high-level judges. This court had no way of knowing this.
OK, for tablets it would make sense if they operate with continuous high-speed connection to OneDrive not throttled by Microsoft.

Not for laptops, not for devices which are sometimes offline, not for devices without high-speed link to OneDrive.
tldr; Almost all of booking.com customer support employees are having their contracts transferred (outsourced) to another company, Majorel. This Luxembourg based one, will offer 6 months contracts but it’s unclear what will happen next and also it’s not stated what will happen to those employees that don’t accept the transfer. Corporate tactics at work once more in order to reduce costs :-(