skysight-inc/HackerNews huggingface dataset:
The author recommends watching Object-Oriented Programming is Bad.[1] I did, and Brian went into a discussion of dependencies (at ~20 minutes) and the implicit state-sharing that destroys real encapsulation and makes OOP a nightmare. He says: So if we're taking encapsulation seriously, the only real way to structure a program -- to structure objects as a graph -- is not as a free-form graph, but as a strict [tree] hierarchy." We handle message calls from one node to another by drilling messages from The Root down to the other ancestor. "No one writes programs this way."

We do. It's called Redux. The state is a tree, and each child is immutable and calculated via a pure function of the state and action (called a reducer). A message (called an action) propagates down every branch, and most ancestors remain unchanged, as they don't care about that particular action. So you have an explicit ledger of how state has changed, and figuring out why is trivial. State as an immutable result of pure functions gives you features for "free", e.g. time-traveling through your state. Debugging is a breeze. It's an absolute godsend.

(I realize the video is from 2016 and his opinions might've changed, but I think the speel is still valuable here.)

[1] https://www.youtube.com/watch?v=QM1iUe6IofM
I wonder if this will stop western firms from taking any political stances in the west, because right now the optics are... interesting to say the least.
Thank you for the feedback. Speed is very important.

I’m trying to optimize that. But it’s not that easy for a complex site.

I also need to consider my budget, because it is not funded yet.

But yes, optimizing performance is my highest priority.
> Sejong is a brand new city, made in 2014, yet there was litter everywhere, especially right near bus stops.

Mostly due to people who wait at the bus stops alone; I've never seen people littering at the bus stops at the rush hour, but I've definitely seen people leaving their empty coffee cups on the benches when (they think) nobody's looking.

> There were almost zero trash cans so what do you expect.

That's mostly because of the stupid decision of that trash cans 'look' dirty, which causes the broken window effect... but IMO that was a stupid decision.

> The bathrooms didn’t have tissue or anything either, you had to go to one of the nearby stores or cafes and get some.

Hmm, that's not what I experienced, I've rarely seen public bathrooms without any tissue.
Agreed! There's not much it can't do!
I don't overload the CPU and my storage requirements are low. 95% of my used storage is stuff I wouldn't care if it got lost, but just nice to have around. I only have around 2GB of data I don't want to lose.

I do leave the batteries in. Is it dangerous? I read some time ago that it is not dangerous, but the capacity of the battery drops significantly, I don't care about capacity, and safe shutdowns are important to me.

In the past I used an HP DL380 Gen. 7 (which I still own, and wouldn't mind selling as I don't use it), but I had to find a solution for the noise. And power consumption was at around 18EUR for my EUR/kWh.

Cramming down what ran on 12 cores and 48GiB of RAM on a 2-core, 4GiB (I only upgraded the memory 2 months ago) machine was a real challenge.

The ThinkPad cost me 90EUR (IBM refurbished), we bought two of them, the other one burnt. The recent upgrades (8GiB kit + Samsung Evo 1TB) cost me around 150EUR. Overall a really nice value both in compute per EUR spent and in compute per Wh spent. Really happy with it, I just feel it is not very reliable as it is old.
I've been coding for a while now, but making and growing a product is a whole new thing for me.
I may not be alone here, hopefully these insights will help someone else too.
Given that ignorance merely means not knowing, yes. Yes, that’s exactly how it works.
⌘⇧5 was introduced back in 10.14.0 Mojave.
The Current State of AI and Deep Learning: A Reply to Yoshua Bengio
"unacceptably crippled" is a pejorative meant to insult, not a descriptive criticism.
What would this translate to in a typical workstation situation?

Browser with some YouTube video playing, 30 tabs, some webpack Dev server doing compiles and a text editor?

50ms faster compiling?
In the UK, we generally tip for a great service. If I buy a meal and the food and service is just fine, then no tip. Though if the food and service are great, I will generally tip 10 - 20% depending on how generous I'm feeling at the time. Tips generally aren't expected, and you won't be shamed if you don't tip.

I would clean up after myself somewhere like McDonalds or Burger King, though in a cafe or restaurant I wouldn't. In a restaurant I usually put the plates together to make it easier for the waiter or waitress to clear the table and try not to be too messy.
Fixed ️
Didn't know unbound had DoT.

I learnt about CoreDNS because Kubernetes uses it for service discovery, and once I read about it's "chaining plugins" philosophy I wanted to try it out.

And it was so refreshing coming from Dnsmasq that I fell in love with it.
Should we stop people from doing high risk activities in general? Mountain climbing? Sky diving?

Those impact society as well, and my medicinal expenses are higher when they get hurt.
Wont that be incredibly expensive? Or do you not have to be in a degree program to do research programming?
This has a lot of really serious implications. I built a form for a charity that allowed users to buy a subscription but include an additional donation amount. Chrome was sometimes filling that field with the two-digit year. The charity got a lot of complaints and it ruined the trust relationship with the donors who didn't understand what was happening and thought it was intentional.
Dunno. Matrix algebra seems perfectly intuitive to me. I don’t get what this adds except making it harder to write things down. (The insights elsewhere that you can also do this as a n appropriately constructed functional programming language are more useful - at least you can write that down!)
Contributing to open source is fun but no one told me it would be this easy
> programmers on staff

That is generally referred to as "research software engineers/groups" and are unfortunately currently fairly rare in academia, but are becoming more common. RSECon is dedicated to this topic, and hosts a list of research software groups [1]

[1]: https://rse.ac.uk/community/research-software-groups-rsgs/
I'm not really sure but I think the behavior is a bit different with autofill. While the browser show the field highlighted, the data is there for _the user_ but the actual form field has not been actually changed and no dom event is fired.
Can u share any of your code with us?
When I tried to jump back into the Shippuuden arc a while back I had to find a site that gave synopsis of the episodes so I could skip watching the filler episodes. There were... Quite a lot.
Don’t feel bad, in San Francisco it took them 1 year to fix the 24th st. Bart escalator. 1 year. It’s pathetic.
Subdomain as well.

External services I need are directly accessible via a local reverse proxy that's publicly visible over IPv6.

For IPv4-only scenarios I proxy through a linode instance (that also hosts a few things, including my blog) which sends the traffic in over v6.

Obviously this is all fronted by a traditional firewall.

And before you ask: it's surprising how often v6 connectivity is available these days. Mobile phone providers have moved to v6 en masse, and even terrestrial internet providers are starting to get religion.

It's still not available in my workplace (surprise surprise), but other than that, much to my surprise, v6 is my primary mode of connectivity.
You don't have to identify yourself with a "random Joe's website". You can read the comments here without identification, you can seach for flights without identifying yourself, you can search for hotels without giving away who you are, you can read the news, watch YouTube, etc.

But when you want to access something that should only belong to you, e.g. your bank account, your Google Drive files, your private emails, etc. then you must find a way of identifying yourself with given website. Username/password is one way, biometrics is another way.

Only my family has permission to enter my house. When someone enters my house who doesn't look like my family, then they can throw around all secrets, passwords and usernames they want, I'll kick them out, because in my eyes they don't pass the ultimate test of verification, namely biometrics.

So far we were unable to provide the same level of identificaiton via the web, but technology is changing rapidly, so I don't see why username/password are always going to be more secure. On a theoretical basis it doesn't make sense. Because inforation can be easily shared, spread and copied. My physical composition not.
We are still working on our pricing model but right now we are looking at a doing freemium model. Free version would have some limitations (ex: a limited number of news sources that stories can be pulled from, so choosing 3 sources from list of options) but the average user would still get a ton out of the site. Premium version would be subscription based, giving users full range of features (ex: pulling from as many news sources as you wish). We would love feedback on any suggestions for pricing though, we'll be tinkering and tailoring it based on how the beta goes/ what changes we make to the site + idea
Given that Ukraine, one of the small handful of nuclear states that voluntarily gave up its weapons, likely rues its decision, disarmament is a pipe dream.
Yes, redux is a much saner way of mutating state, but the pattern is closer to FP than OOP.
Remember Brian isn’t attacking state-management in the front-end or anything specific. He’s attacking the entire paradigm of object oriented programming.
Wikipedia says the recent bump to “2 minutes” was taken due to;

> The most recent officially announced setting—2 minutes to midnight—was made in January 2018, which was left unchanged in 2019 due to the twin threats of nuclear weapons and climate change, and the problem of those threats being "exacerbated this past year by the increased use of information warfare to undermine democracy around the world, amplifying risk from these and other threats and putting the future of civilization in extraordinary danger.”

Those same systems which enabled “increased use of information warfare” also enabled the rise of Greta Thunberg from a kid skipping school to the face of a movement speaking at the UN.

I’m pretty sure you can’t have systems which enable the later without enabling the former.

And given the choice between having or not having those systems, I think we are better off with them than without them.

Therefore is it reasonable to conclude that they moved the clock forward based on technological advances which should have actually rolled the clock back?
VC Can Help More Women Get Ahead
Osaka really is _different_ in a tangible sense. They seem to buck the conservative/traditional trends as a point of pride. That said, 2 of the most disgusting (public) bathrooms I've ever had the displeasure of stepping into were in Osaka. That's been a sticking point for me and it's come up in conversation nearly every time I have a conversation about Japan. I thought Osaka was fun, and it has a great culture, but you need to be prepared for it's reality if you are in Tokyo or Kyoto first.
Global modeling of nature’s contributions to people
For taste.

Some say that olive wood is better, some say oak or beech, though I believe that since these "preferences" tend to be regional they are most probably originated by "whatever wood you have available around".

Only thing I can say definitely NO coniferous wood (i.e. no cypress/pine/fir).
> that method/logic should be in the object, not elsewhere

Only if it's involved in preserving some object invariants, or accessing parts of its state that are abstracted away in the public interface. Otherwise, you're breaking encapsulation by putting some logic in the object that doesn't belong there, and making it hard to change the implementation later.

> The languages were talking about, C#/Java already provide a facility for this called a constructor.

There are sensible reasons to avoid using constructors for this, at least in the general case.
Unfortunately, yes.

I still have to come to terms with it.
And then they added the Files app and brought back all the classic file handling. Because it was impossible to work with files siloed inside apps.
I joined a startup that was acquired by a large company. Once the original founders left it went straight to hell. Upper management changed three times, then we got merged with other acquisitions, layoffs followed. It went from engaged, smart staff working long hours to unmotivated 9-5 cover-your-ass corporate environment within one year.
Wow, what a time capsule!

I have a newfound appreciation for the New Yorker after this. I’ve often found their articles tiringly long and full of unnecessary mundane details and side tangents.

But reading something from a hundred years ago, those very details and side tangents are the best part. People generally don’t care to record what ordinary life was like - everyone knows! - yet when we look back far enough in history that is the kind of stuff we have the most difficulty relating to and understanding. Perhaps better to think of the New Yorker’s style as not writing for today, but writing for future historians.
I tend to think of "expensive hobby" as meaning you do it for fun rather than for practical reasons.

While I know that some car owners do just have it for fun, I think a lot more are because it's useful.
I understand, thanks. I pointed out in another comment that Mojave support ends in 2021 which will have been 10 years since Adobe CS6's release. The grandparent seems to be arguing that they are entitled to support beyond that.

I get that Windows (for example) backward compatibility is even longer. That's great but involves trade-offs I don't think operating systems should be expected to make.
DoH isn't an "L7 hack to speed up adoption". It's a DNS privacy mechanism that can't easily be disabled by network administrators, unlike DoT. You may have lots of good reasons to want to disable DNS privacy on your own network, and by all means use DoT to do that. But DoH is superior for end-users.
What if on the other hand this is the fundamental aspect of Capitalism... Where the people with capital are always telling other people who might want access to whatever they are holding, money, markets, production, whatever, that if they don't kowtow they won't do business with them. And no one talks about it, just like no one talked about all the Chinese hacking so as not to ruin their reputation and anger China.
The New macOS Catalina Privacy and Security Features
RGS4 maintains chronic pain symptoms in rodent models
When those start to have a noticeable impact on society, I'd imagine yes, they'd start to do something about it. Right now, diabetes is indeed a serious problem.

> The cost burden from diabetes, including medical expenses and productivity loss, is expected to rise from beyond $940 million in 2014 to $1.8 billion in 2050. The prevalence of diabetes among Singapore residents (Singapore citizens and permanent residents) has increased over the decade. [...] Table 2 shows that even after accounting for Singapore's ageing population, the prevalence of diabetes in Singapore (10.5 percent) is higher than the world's average (8.8 percent). Rising obesity is also a significant contributor to the rise in diabetes prevalence. [1]

> Diabetes is a serious health concern in Singapore. One in three Singaporeans
is at risk of developing diabetes in their lifetime. [...] The Ministry of Health (MOH) launched a War on Diabetes (WoD) in 2016, in response to the significant health and societal burden posed by diabetes, and established the national Diabetes Prevention and Care Taskforce (“Taskforce”) to
spearhead a whole-of-nation initiative to tackle diabetes. [2]

References:

[1] https://www.healthhub.sg/a-z/diseases-and-conditions/626/dia...

[2] https://www.ourcommons.ca/Content/Committee/421/HESA/Brief/B...
> Because it's your body, not your family's body

A dead person can't own property, which is why wills, trusts, and laws of intestate succession exist.
> On a practical level, using version control and a code review mechanism (e.g. GitHub PRs) within the research group equivalent in rigorousness to what you'd see at a good practice software development shop in industry.

Let us (professional s/w engineers) not pat ourselves in the back by confusing standard industry practices with 'rigorousness'. Rigorousness would be formal verification and proofs. How many s/w engineers can do that? How much will it slow down the development speed?
Application Behavior Considering DNS
Large industrial facilities often track air quality, usually in certain areas, to prevent accidents.
Thanks for the feedback! That's something we've been thinking of implementing, perhaps with a search feature as well. And we'll definitely try to reach out to Austen, especially with his success in the startup world. Are there any other people/ companies/ startups you'd suggest reaching out to for feedback? We've mainly talked to professors/ business leaders from Brandeis University and a few professionals in the news industry.
I really don't like checksums. The reason the author gives is twofold: detect things like CRLF conversions and bit rot.

For the former, a static code that includes a CRLF does just fine and allows modifying the file without having to write code to recompute your annoying checksum.

For the latter, I find it questionable whether it's the file format's responsibility to prevent bit rot. What's it going to do anyway? Reject the file? Knowing whether the file is undamaged is good, but most of the time people will want it to do a best effort attempt at reading it anyway, and knowing whether integrity has been maintained is actually not that important for most files (if it is, it's usually a cryptographic feature and you'll not want to use CRC32 or MD5 as the author suggests). To recover from bit rot, you'll need a backup (or an error correction scheme but that seems out of scope of this article). If every file format has its own checksum, your backup solution can't check the files for integrity anyway, so it seems to me like it makes more sense to have checksumming be a filesystem feature.

I'd like it if checksums could just not be a thing in file headers anymore. The number of times it helped me is exactly zero, but I did run into issues when wanting to open an old file or modify a file. I would argue checksums prevent hacking in the HN sense of the word.
They are not fungible.
dgb gives talks about the current status of NISTPQC often, 3 months ago he claimed they were only ~0% finished checking the submissions for even basic proof errors like unproven theorems/conjecture claimed in the submission papers to avoid a repeat of Asiacrypt 2004 where “OCB2” was standardized in 2009 then completely broken in 2018 due to finding a proof error, let alone ready to begin any kind of cryptanalysis on the risks left by the various proofs. Round 3 is already next year too with still a mountain of work to do. Kind of early for IBM to declare they're going to run a post-quantum encrypted cloud with their CRYSTAL suite.
I knew someone was going to push the limit - how about exercise, it kills some people.

The bleedin' obvious answer is where the benefits outweight the cost. Benefit obviously extends further than 'can kill with x% probability'.

This is a useless post, try answering the question, or giving a framework within which it can be answered, instead of asking it.
> I think the problem is entirely caused by the US having absolutely abysmal private internet speeds and capacity. Since you can’t then have your own server at home, you are forced to have it elsewhere with sensible internet connections.

The trend definitely traces to the advent and eventual domination of asymmetric Internet connectivity. My first DSL connection was symmetric, so peer-to-peer networking and running servers ("self-hosting") were just natural. Since then, asymmetric bandwidth has ruled the US.

It's not so much that connectivity technology in the US is strictly poor—many cities have options providing hundreds of megabits or a gigabit or more of aggregate bandwidth. It's that the capacity allocation of some shared delivery platforms (e.g., cable) is dramatically biased toward download/consumption, and against upload/share/host. And there's no way for consumers to opt for a different balance. I'd gladly take 500/500 versus 1000/50. Even business accounts, which for their greatly increased costs are a refuge of symmetric connectivity and static IPs, are more commonly asymmetric today.

I think that this capacity imbalance and bias toward consumption snowballs and reinforces the broader assumptions of consumption at the edge (why make a product you self-host when most people don't have the proper connectivity?). This in turn means more centralization of services, applications, and data.

Nevertheless, even with mediocre upload speeds (measured in mere tens of megabits), I insist on self-hosting data and applications as much as I can muster. All of my devices are on my VPN (using the original notion of "VPN," meaning quite literally a virtual private network; not the more modern use of VPN to mean "encrypted tunnel to an Internet browsing egress node located in a data center"). For example, why would I use Dropbox when I can just access my network file system from anywhere? To me, it's a matter of simplicity. Everything I use understands a simple file system.
At this point I consider myself pretty knowledgeable on Kubernetes.

I bought Kubernetes Up & Running a year ago, I was disappointed to see it is a very over-the-top view, without getting into details.

I skimmed over Kubernetes in Action a couple months ago. Nothing really catched my eye either.

The last one I read was Kubernetes Security by Liz Rize. Either there's not that much to securing Kubernetes or the book is very introductory too.

The only parts of K8s I don't know a lot about are storage (haven't got past the NFS driver yet), CRDs and distributions like OpenShift. But in the same way I'm lacking storage expertise outside of Kubernetes.
It isn't clean at all tho. For a place that on paper has hefty fines for littering the city is a dump.ok sure enough the inner city center is quite clean but you only have to travel 5-6 stops away for exampleto Lavender (Indian neighbor... Hehehe) and it's a total dump with trash all over the streets.
You’re mistaking the web for the internet. It doesn’t detract from your points but your insistence risks confusing others.

It’s still pure Internet. It’s just no longer pure “web.”

The internet‘s UI is your OS’s networking library. Although it has changed with the advent of mobile (e.g. can we transparently handle switching between WiFi / cellular?) it has no GUI, touch or otherwise.

What you are trying to say is that companies have had to adapt to the possibility that web applications in a web browser will lose out to native applications using web or Internet protocols behind the scenes.
And just to add one more clarification, 'interfaces' refers to both UIs and APIs.
Thanks, we think so as well :)
> from stiffing freedom of speech to support China.

How would it be decided that they do it to support China and not, say, to cater to an outraged domestic group that makes noise? Will that become a game of "connect the policy change to China in five hops or less" to determine whether it's against the law?
Start using Firefox on your phone.
Helmet laws and seat belt laws cut the supply of organs to those in need.
Sort of, but in this case circumstances are somewhat complicated by the PRC's authoritarian government which is prepared to deny market access for political reasons.

So it's not the opinions if the people with money to give that are at issue here but the opinions of the gatekeeper, which actually is a remarkable phenomenon.