skysight-inc/HackerNews huggingface dataset:
In my experience, a sufficiently rich type system is extremely similar to TDD in this regard.

Both give you super fast feedback and a lot of issues can be solved before you finally launch your software for the first time. But neither will save you from bad design or misunderstanding your requirements.
Does the meter reader coming to see how much someone owes the power company not have the option to retreat, then? The FedEx delivery guy dropping off a package? The Uber driver called to pick someone up down the street?

No, they don't. With cops though, they are just going to have to come back tomorrow. Not delivering the package is an option, but skipping an arraignment usually is not.

Actually, in most states the intruder is the instigator. First illegal act, etc.

In this, we may be close to a meeting of minds.

Sure sounds like 'special rights relating to killing other people' to me. I mean, you can argue that police SHOULD have the right to kill people in much wider circumstances than the rest of us... But arguing that they DON'T have those rights seems to be an exercise in splitting hairs.

I am not sure how it sounds like that. Does it sound wrong to you if I replace "police" with "anyone" and say "If anyone is acting lawfully and someone draws down on them, they are in a self defence situation?".

What I am arguing is that police don't have a special right to kill in self defence -- everyone has that right -- but they have special rights to engage with people in a way that may lead to conflict.

Where does it say anywhere in the law, that a cop has special permission to kill?
In addition, theres proabably not a wide audience for math videos, and this is a good advertisement for his channel. Likely would have been useful when I was in undergrad, but most math terms are gibberish after not using them at all for work.
Only trouble is that the opportunistic racists you mention are in fact the people who put those laws and policies in place in the first place.
Speaking historically, we seem to have a rather large number of examples where societies were reorganized to take away individual decisionmaking (ostensibly for their own good) and they've all gone rather horribly.

BTW, that paper didn't have any numbers in it, and didn't really help answer the question "Is that really true that the majority of people don't know what will make them happy?" The biases it enumerated are I am sure common, but do they dominate the lives of the majority of people? I am doubtful, especially if the proposal is "we will take away all your troubles, just let us make all your major life decisions for you (including, almost always, the ability to revoke the deal)".
If you don't see labour camps as a form of modern slavery, then I'm genuinely asking you to provide the definition you've learned back at school.
To expand:

Of all of the math teachers I've had, only one tried to explain things in an understandable way the 3b1b does.

Most math teachers just follow a curriculum and hope repetition drills facts into the students head. 3b1b makes the relationships between systems clear.
Tesla filed restraining order against person trying to interfere with fsd demo
Objective-C is much closer to true object orientation than C++, but IMO Apple neutered it by having the program crash if there was no message handler.
He doesn't even mention C++ in his essay [1], but regardless, the C++ OOP is pretty much the mainstream OOP, which we still use today in Java, Kotlin, C#, etc...

And... no, the change in mindset about OOP never happened. Kay and Armstrong's view of OOP never took on. Today, OOP is still not seen as message passing and mostly seen as polymorphism, parametric typing, classes/traits/interfaces, and encapsulation. The complete opposite of what Erlang is.

[1] http://harmful.cat-v.org/software/OO_programming/why_oo_suck...
Awesome Parallel Computing Resources
I guess political nature of the article take precedence over any form of science or tech found in the article. Moving on from hacker news waste of time.
I hope at some point it makes financial sense for a company independent of software to maintain stuff like the BSDs and what have you. Ie toyota doing something like Netflix. Maybe an embedded devices manufacturer...
Pony.ai Testing Driverless Cars in Guangzhou
Any chances of telling us what they are in more details?
I meant more about long-term improved situation.

I suppose that you could claim Germany or Japan as long-term successes. But the costs were immense.
to;dr -- Never devalue your personal time. If you can, monetize your hobbies that you'd be doing anyway.

I don't have a side-hustle yet, but I'm working on one. As you pointed out, there's an opportunity cost to a side-business. I'm working on a scheme to monetize a hobby; make money off something I'd be doing anyway. I'm just over 10 years into my career, recently married with a teenage step-child. My family-time or my "down-time" is very precious to me. During our wedding, we got some beautiful wedding save-the-dates off Etsy. They were water-color paintings. But then we needed additional stationary: invitations, menus, seating charts, table signs, a gobo (wtf is a gobo??), etc.... I ended up using photoshop to make all of the other stationary and graphics myself based off the initial Etsy save-the-dates (it was important to me that the fonts & colors matched on everything). My wife loves to paint water-colors, and I'm into photography & graphic-design. I'm working on a side hustle to do wedding invites and similar stationary on Etsy based off her paintings and my photography & graphic-design skills. These are (mostly) activities we'll do anyway. So... make some stationary templates once, throw them up on Etsy, and if people buy them GREAT, if not then no loss.
"The Single Greatest Predictor of Future Stock Market Returns":
https://news.ycombinator.com/item?id=14948078

And here's the live (well, lagging a few months, but this is a very slow signal anyhow) version:
https://news.ycombinator.com/item?id=14950203
Julia is GC based language. If you are ok with then there is whole world of other languages with similar disadvantages. For high performance numerical computing most GC based languages won’t cut it and that fact is typically swept under the rug by creating C++ implementation wrapped by your GC based language bindings.
Works fine for me incognito with ads and tracker blocking extensions enabled.

Keep in mind that the journalist who did the research and wrote the article did not have a say in how the employer who enabled them to write this piece generates revenue.
True but AT&T gave Apple a chunk of the service fees. If Apple had had to sell the phone alone the cost would have been much more expensive. Plus within a year they were selling the most expensive at about $399. A price that was competitive with the high-end phones at the time.

It was estimated that apple averaged about $450 payment from ATT per phone. So users were paying way more for the phone than they thought.

The iPhone was profitable from the start or very close to it. It really was a genius move by Steve.
How to Edit the Hosts File on Windows
I love the concept of your FairyTrail app. I am trying it out right now but I wish there was a way to continue without facebook for those who don't have a facebook account.
This reminds me of how DNS works. Every domain holder is responsible for their nameserver records but every dns server ultimately communicates with a distributed network for lookups. Blockchain would be a great solution for this.
I've bookmarked so much it doesn't mean anything anymore. I tried a few years ago to index it all, but with the rate limiting that went nowhere. I should probably revisit pulling it all out of the common crawl now that I think about it. Or perhaps someone knows of some mirrors?
Except someone actually tried to cause an accident. Employees had to call the police and Tesla was granted a restraining order against him. This wasn't just "jokes on twitter"
> Obviously, but that's because businesses act unethically

This is like saying women shouldn’t wear short skirts because men can’t be trusted not to rape them.

It’s ridiculous and insulting to people that run businesses that do act ethically and do engage with open source in a positive manner.

You’re judging all business as unethical, before they have a chance to do anything, and against the evidence of companies that use permissively licensed software in a positive way.

Attitudes like this are why people don’t like the GPL and it’s proponents.

Edit: holy ironic shit, I just noticed the last sentence you wrote:

> so that non-free software licenses are illegal or severely restricted.

This is fucking insane. It’s a terrible suggestion and needs to be recognised as such.

Edit: terrible ideas are terrible.
My lukewarm enthusiasm for OO stems from a different set of reasons than these. I view its main benefit to be the way it reinforces encapsulation as a design pattern. But good code with clearly organized functions and data structures can achieve that just as well.

I don't have anything against it, and wielded with skill I see its benefit. But after 30 years of programming I think you can achieve many of those benefits more simply without it.
Great article. One point though (not aimed at the author).

The majority of engineering articles I see today are along the lines of "X with Y, using Z", where X, Y, Z are specific products, frameworks or libraries, often trademarks.

I rarely see more generic engineering/architecture topics such as: [virtual DOM based / string based client side templating] with [JSON/Protobuf] over [REST/Websocket] with a [compiled / interpreted / JIT compiled / virtual machine based] backend runtime, built on [RDBMS/NoSQL/hybrid] etc.

Am I alone in feeling this way?
It's perfectly fine to assume something will be exploited and call the exploitation unethical.

> Also "expected behavior" seems like it could be pretty subjective. Different cultures have wildly different values.

Sure, and it's down to your expectations. Two people can perform the same act with different intentions, and only one may be unethical.
H1B is a response to the high salaries and is a mitigation strategy, cause goes a bit too too far.
>Consider “time”. In an OO language a “time” has to be an object.

No it fukin doesn't. OO is a paradigm, useful at times, nothing more.

That's what modern programming is all about - you pick the right tool for the right task.

OP's attempt to force OO onto an abstract concept like time is so far off the mark calling it a strawman wouldn't even be the right word.
Half the IP cams out there are on a WiFi network that isn’t a dedicated vlan so an attacker could just ddos them or do a broadcast feedback loop to take them offline
No, it's an equation. Equation is a statement that says that thing A is equal with thing B. The point is that thing A and thing B are often quite dissimilar in form. But since they are the same thing, and because math is deterministic, if you manipulate the both sides the same way (For example, multiply both sides with the same amount), it stays equal. (Plus sometimes you are allowed to manipulate them in different ways, because the axiomatic system you're in says that's allowed for some cases. Example: you are allowed to rewrite (AB)C as A(BC) if you know that the object you are manipulating is associative.) "Solving" an equation means manipulating it in a way that the other side becomes trivial in form. You maybe can't do that for many differential equations, but that doesn't make them less of equations.
It changed a lot and you don't have to use all the feature if you don't need it. React with data support, router, etc can be super big... and latest Ember without Ember Data and tree shaking is small, so you win a lot of developer time and money and you end up with a well maintainable code, which can be understand by others in the first day, because of conventions over configurations. ;) IMHO Ember.js is still the best option for frontend, especially if you build a serious Web Application.
> Do any companies secure their confidential information by randomly inserting information or images that would be considered subversive in China?

That would be pointless, since it's only forbidden in public discourse. People in trusted positions are able to access subversive information if needed, and anyone hacking foreign organizations for the state are probably in that group.

This article might be enlightening about the situation: https://www.nytimes.com/2019/01/02/business/china-internet-c...
I'm the one mentioning C++. To anyone familiar with both styles, Joe Armstrong is clearly not talking about Smalltalk-style OOP in his essay, he's talking about C++/Java/etc style. And later on he only praised Smalltalk-style OOP.

And sorry, by a "change in mindset in our industry regarding OOP" I mean that it became commonplace to criticize C++-style OOP. Not that everyone stopped programming in that style. Maybe there's a better way to phrase it?
> Imperative programming languages (like C and JavaScript) don't generally impose any discipline on the users.

I think this view disrespects history a little. C was one of the earliest languages to be conceived upon a foundation of structured programming principles, i.e. block structure, sequence/selection/repetition, subroutining. (Okay the language still has goto, hopefully we can agree to not make a big deal out of that.) The kind of discipline proposed by structured programming was far from universally well-received at the time, and I think it's fair to say that it lead to huge improvements in the quality of codebases everywhere, and is one of the great successes of programming language thinking of the '70s.

C is also statically typed. It's obviously easy to blow all sorts of holes in C's type system, but if you'd go so far as to say that C's types impose no discipline at all, I'd ask you to try teaching C to a room full of compsci students who have been raised on something like Python.
Fitness Marketing Automation company. Started in 2018 when my position was eliminated. Achieved $1k in MRR in less than a year.

Have a handshake deal with a hollywood actor/martial artist to partner with his 500 affiliates.
https://www.quora.com/Why-do-so-many-people-feel-that-the-Ch...
You are mistaking what an "index" is. You don't need to host any of "the internet" on your servers. You just need to host where it is.
To be fair author should have disclosed this fact as disclaimer in the article.
Ubisofts Uplay: they have serious problems with user accounts and log in. They hoisted a 2factor authentication on it, but some thing's not right with it: fails to accept the 2 factor codes for many users saying code is wrong, locking people out from there accounts and purchased games, even locking out their access to support which may be the only way of resolving these issues.

So frustrating that something as fundamental as user login is botched up by a major software company.
Every source I've ever come across on this topic (and I work in PL research) points to Kay as the originator of the term "object-oriented" in relation to programming. No exceptions.

You are now making an affirmative assertion that Alan Kay did not coin the term. The burden of proof is on you, not him.
Well, its time to move on from Hacker news. This will be my last post, I will try to get them to remove my account. Suppressing conversation about topics very relevant to technology is where I draw the line. There is nothing political about facts. If the moderators of hacker news can't handle that (because they too are a white male dominated company) then that is just something they are going to have to deal with - even if reality is something they can't deal with.
this is quite interesting! thanks for sharing
Interestingly, even as a one time front-end specialist, I'm leaning the something same direction this author did: the complexity introduced along with front-end frameworks/tooling treads near (and in some cases beyond) a border past which I stop feeling like working with JS itself is a win. The more the development process treats the browser as a runtime target for generated code, the less point I see in sticking with JS -- or even augmented versions of it -- as a source language. And I like JavaScript.

Of course, I don't much like Java, so that's not where I'm likely to go, but I am struck with what the author demonstrated here regarding that as an option. Like the author, I'm very curious about something like Elm; if I'm going somewhere with a type system, I'd like to go further along the spectrum of benefits types can provide.

And I'm also not sure we've reached the apex of possibilities of working more directly with HTML/CSS/JS, but that's highly domain/application dependent and another topic.
One of the best techniques that I have found to be useful is reading more long-form writings.

Its something I found myself doing less and less over the past 5 years and in 2019 made a conscious effort to change that.

Find a topic you are interested in and start reading more. Avoid short-form writings such as tweets, or stuff like that. If you dont have a lot of free time, start with reading articles of Medium.

Reading books are obviously better. It also helped me improve my focus and memory because you rarely finish a book in a single sitting, so you start getting used to remember what you read yesterday and get back into that context.

I'd recommend setting aside at least 30 minutes each day and forming that habit.
> But I think the English language is flexible enough to use the word violent to try and emphasize the evil of one cultural group wiping out another.

This is the core disagreement I have: I don't believe English should be that flexible. The word "violence" should necessitate physicality. People are trying to sneak the horribleness of physical harm in through the backdoor into discussions of non-physical harms in order to color perceptions of these non-physical harms. It's reminiscent of the "words are violence" idea.

I don't know what happened to ThJ in his Norwegian schools, and he or she didn't go into any great detail. Maybe it was violent? Maybe it was just really horrible. It's possible for something to be bad without us having to mischaracterize it.
What is fitness automation?
It's quite toxic. It causes cancer among other problems. A lot of things used to be Cadmium plated because it's an excellent rustproofer. Some things in the aerospace world still are, because for some things, the safety risk from corrosion outweighs the health risk.

It's not a great idea to grind or sand Cadmium plated items, because it kicks the Cd into a fine dust that you will inhale and will be absorbed into your system.
This is really unfortunate. Its difficult enough to get a green card and then a citizenship. To make it artificially more difficult by adding "moral" guidelines just feel malicious.
Does it do 3d? Because geometry and algebra on 3d bodies and rotations, quarternions, etc do benefit from good visualizations.
I think I had a comment about this several months ago. But you're somewhat right regarding indica/sativa - most strains these days are hybrids. I don't have any references handy, but there are several types of cannabinoids in marijuana and they all largely get lumped together (unless you end up at a savvy dispensary). Except for CBD anyways, which often gets highlighted more than anything else now.

The amounts/ratios of them largely determine what you experience. But in addition to that, the subjective effects are highly modulated by the NON-cannabinoids components as well - the "terpenes". Terpenes are in many (most?) other plants. For example, linalool (the reason for lavender's smell, which can induce relaxation on its own), or pinene (probably the most common terpene, smells like pine trees and can have stimulant-like effects on its own). My armchair-pharmacologist theory is that THC makes you much more sensitive to the effects of the terpenes.

A lot of...ahem...testing...might need to happen to dial in what works for you. I'm starting to notice (extracted) products with cannabinoid/terpene profiles printed on the labels - which is a great start. Not sure if it's only in this state, though.
No, you didn't miss anything.

That's a very nuanced perspective you have. You've given me something to think about. Thanks.
Largely because I expect the server should be behind nginx/apache/similar, and the SSL layer can be done there.

I know it's trivial to use the right library in golang to auto-generate the correct certificate via let's encrypt, but the libraries I've used for that don't handle wildcards, which is what we'd need here.

I'll update the document to make that more explicit.
> I haven't seen a single person mention their gender yet.

That's why, in order to establish the answer to OC's question, it is necessary to ask.

> Maybe don't assume someone's gender based on data like hobbies?

Directly asking is the opposite of assuming.

Your attitude is why OC made a throw away.
I asked a Google Engineer in a Google Interview (at the end of it, when you get the chance to ask them questions) - if Google would ever make it's infrastructure available to the public so they could leverage it in whatever way they wanted.

He had no idea what I was talking about.
Downsized dwellings: Inside Tokyo's tiny living spaces
More reason to push for SMRs (Small Modular Reactors) until Thorium and other technologies become available. Eventually these utility scale reactors would need to be decomissioned and building new ones isn't quite so attractive today. OTOH deploying a fleet of 10 to 12 SMRs would cover for an utility scale reactor.
It's kind of true -- it's designed with a recognition that computers are real things, and shouldn't be abstracted out in terms of a specific programming model. The JVM approach (somewhat by design) limits the easer of interaction with other systems.

The biggest drawback in WASM to me has alway been the memory model. While it is memory safe, it's currently opaque to the host environment which means that the general implementation is to over allocate address space and essentially implement pointers as integers. That results in pointers that can't be trivially shared between environments.

That said, I think that if I /were/ to be making an app that had plugins, or an OS from scratch, etc I would define an interface via WASM. Screw loading unbound untrusted code into my process. My code is 100% bug free, I don't want to other people to break it.

This is not remotely true :D
I have worked on systems that had turned into the classic 'big ball of OOP spaghetti'.

Likewise I've also had to deal with a 'big ball of structured programming spaghetti'.

My take on the difference in these two types of systems is they are generally the result of too much coding with too little design.

Personally, I think the OOP approach does have a tendency to turn into that spaghetti ball more easily, only because it needs more up front design.

Most of places I've worked who adopted an OO approach have tended to focus predominantly on the OOP with little or no attention to the OOD and that tends to be a recipe for disaster.
Sounds like you are looking at junior resumes for some reason, when what you need are experienced folks. You know, older people. If they need a refresher on an algorithm or two, well then you hand them a book or teach them. Like in the old days.

Industry today wants a solution on a silver platter but the universe doesn’t work that way.
I maintain my favorites list with a great deal of selectivity. You can check it out here: https://news.ycombinator.com/favorites?id=Invictus0
He can't win. People bug him to find out what software he uses. He says he wrote it. People bug him to release it. And then complain it is not properly documented or is unintuitive.

'A few hacks thrown together' seems awfully pejorative. It is a tool he has developed over the years to enable him to produce the high-quality videos he releases.
Did you try the HackerNews API? [0].

I've never used it, but it states in the README that there is no rate limit currently (~8 months ago).

0. https://github.com/HackerNews/API
PEA-RAG