skysight-inc/HackerNews huggingface dataset:
I've also torn it up with MikroORM this weekend. I figured I'd give my 2¢ review of ORMs in NodeJS.

MikroORM: is maintained, with a lead developer who is receptive to feedback, checks issues and responds. It's also built around the unit-of-work pattern. Unfortunately, there are some bugs – and having looked at the lack and quality of tests, this is unsurprising. Also, look at my note on type-native at the end. Ultimately, I left the weekend with the following thoughts:

1) is using an ORM in NodeJS even worth it or should I just go a level higher to Knex?

2) how smart is it to adopt a framework that may go unmaintained in the future, and is already big enough (in complexity) with a lack of quality tests and promising-but-incomplete docs? am I pointing a gun at my foot?

3) if I were going to go with an ORM in TypeScript today, this would be it. I hope that download numbers will increase, the community will get larger, and the product will continue to advance. The owner cares, but I don't think he can get there on his own.

Non-MikroORM / Community: Many of the ORMs are abandoned – this includes TypeORM, or aren't type-native [f1]. TypeORM was promising (I guess), but I'm really reluctant to work with it on even the most basic tasks. That the documentation is out of date, the issues are unresolved, and maintenance is lacking make this a no-go for me.

p.s. I do sorely miss SQLAlchemy (thanks zzzeek for those good times) when working with DBs in NodeJS.

[f1] type-native: this is actually a double edged sword. The ORM is never going to have type-parity with the underlying DB. So, you really shouldn't invest in building your "schemas" or "migration files" from type metadata. And you'll also only ever be able to type the most basic queries. I'm concerned MikroORM has gone too far down this path.
Sure, and there's a secondary point where if the need for labor no longer makes wages the primary mechanism by which a corporation pays its way in society, we may need to compensate with other forms of tax or cost of doing business.

I don't directly begrudge a company or CEO their profits and paycheck, but if corporate profits are at all time highs while investment in infrastructure, education, healthcare, etc. are inadequate, that points to an imbalance that isn't being solved by the labor market.
I agree, though OP is a little ambiguous if this is a 2012 Unibody (which has USB3 and one of the best old machines) or a 2012 Retina which he would be out of luck.

I've upgraded multiple 2011/2012 Unibody MBP for friends and family with 16gb ram and a 512gb ssd for about $150 in the past few years, it makes the machine feel completely new and "snappy".
Duh? What's up with all the recent assertions that there is any sort of trust equivalency for 3rd parties vs Apple within the iOS ecosystem? Apple is part of the core trust foundation for any iOS user. They are present in the entire freaking stack, from the SoC everything runs on up. As a technical matter, they can do absolutely anything they want. By definition if you run iOS you trust Apple's stuff, from the hardware to software. If you don't, you shouldn't be running iOS. There is absolutely a "completely separate privacy regime" for Apple on Apple platforms, and it's not "Apple's own apps" it's "Apple's own processor and microcode and firmware and other chips and cryptographic keys and operating system ...and apps".

For human facing privacy and security information overload is a genuinely huge issue. What value do you assert exists for a "scary dialog" for Camera, software from Apple? After all, for that to even mean anything you must by definition be trusting iOS, software from Apple. On the other hand it's perfectly reasonable to not have the same level of trust in 3rd parties. 3rd parties do not share the same financial relationship or incentives that Apple has with its customers. Nor the same culture, nor necessarily scrutiny or technical acumen or even controlling legal regime.

You certainly do not need to trust Apple at all in general, you can run Linux, the BSDs, Windows, ChromeOS, Android or (happily!) various improving Linux phones that are extremely open. But if you decide to run Apple specifically, then you must indeed trust them.

Edit: Also, "fearmongering" is a ridiculous bit of bait. I mean, 2020 on HN and you're suggesting random 3rd party apps accessing camera/location/whatever is not the slightest issue? Ok.
Well, kind of. Some apps get entitlements to prevent showing TCC popups; some don’t, like Weather. And if you look in Settings, you will find that Camera shows that it was using your location, just like other apps on your system. (FWIW: I believe that dialog is specifically for apps that use your location in the background, so Camera won’t trigger it anyhow.)
Except the fact that all land in India is a farmland.
Not surprising at all, and not really a problem either provided it works.

More modern aircraft use things like USB sticks but often with old file formats and they can’t use a stick bigger than 2GB (actually hard to find if you want to buy one). Aviation engineering vastly prefers “old but works” over “new and fancy” and this article is just one detailed example of that.
So..

if the engineering leadership said, this is not a good idea. Management said, it saves money.

Engineering failed to convince management. Management didn't have the understanding that it was a bad idea.

It is now, no one's fault?

If management merely takes the advice of engineers ( and other who specialize in the things that they do not ), and they choose to ignore it because they do not understand the things they do not specialize in. I believe it's a reasonable to assume that management is more at fault than engineering ( I'm not sure they're is a situation here where any party is fault less )
Good. Less wasted human time.
Use of psychics in law enforcement [pdf]
My favorite fix for modern websites is firefox's "reader" mode. Pretty ironic that to make many webpages readable you need a reader mode, after all without reader mode you are supposed to ... do what?
I'd guess that it is 'points/karma-based', on that your involvement/participation along with positive support from other participants increases your share on the executive power of your actions within the community. Is a bit like a shareholders meeting, only they give you shares if you actually say/support something and more shares for each other shareholder that expresses a positive reaction to your contribution. Free speech is practically total in terms of what you can say or write, but the community can demote your post in such a way that only people that has earned enough karma can read it. I guess that it only concerns itself with human rights related to expression.
The advantage is that tools have been developed to make perfect positioning of elements (text and images). So pdf authors never have to worry about different reader form factors.

And, when reading a Pdf, you can print it and get exactly what we see on the screen. So the tooling is very straightforward for the reader, just click print. With other Web content, it's the browser trying to fit things the way they should on a page and it generally looks horrible.

Positioning elements coded in marked language into a page is actually a tricky thing. Until we have the tooling to magically make any markdown content (with images) fit nicely in a page, pdf will prevail. Any hint on a tool that can take my markdown and print out beautiful pages, without having to tweak a dozen params, please show me.
"free of charge for non-commercial (non-profit) use, ONLY."
I haven't seen a viable alternative presented.
Or spy on you, without malware.
Open Computational Neuroscience Resources
Why illegal?
Nope.

It’s been 9 years since the penalties started. One could say that the site had taken something of a popularity hit since then.
> 1. It never seems to solve the problems it claims to address. When evidence against it is brought to bear, its advocates move the goal post.

Sure it does. There are dozens of Western European countries where people do not go bankrupt due to medical debt, post-secondary education is free or affordable, homelessness is not a serious issue, and large portions of the population are not incarcerated.

> 2. There is never an established "end state." More and more areas of life magically become "rights" and then get added to its ever increasing responsibility.

Sure there is. Scandanavian countries, for the most part, have had a fairly undertstable steady-state relationship with their social safety nets for decades, with policy arguments mostly taking place on the margins.

> 3. It is commonly used as a means to buy votes and sow social dissent by convincing a receiving group that a productive group wants to take their livelihood away.

Creating government policy that is appealing to voters is the basis of democracy.

> 4. The US government is arguably not representative enough to be tasked with providing it. The nation is too large, the people are too divided, and the political system is too corrupt.

Sure. But it's probably worth trying to change that right?

> 5. It relies on confiscation by the aforementioned unrepresentative entity. And those that never use it shoulder a disproportionate burden of its funding and implementation.
The idea that a social safety net is a Universal Good Thing needs to be reevaluated.

Yes, it requires those who amass a disproportionate amount of the society's financial resources to shoulder a disproportionate financial burden of maintaining that society. They're still doing pretty well, go to Geneva sometime and hang out with rich people and see for yourself.
Australia, New Zealand, and Canada have point-based systems and have received nothing but praise for it.
No I hadn't heard of it. Will check it out now.
They probably spent well over $1bil on their autonomous driving research (which didn't pan out).
I don't think the exercise of drawing the line between "engineering" and "not engineering" is a useful one here. The actual decisions and the pressure to perform for the job crosses disciplines up at the top of the management hierarchy.

The broader point is that in most companies engineering decisions don't come purely from the engineering department. They are often decisions made as part of bigger projects or efforts. For example, it's probably not up to engineers in most companies whether the any of the tech giants sell to the military. If it is, it's up to people who were engineers at some point and might still exist up at the top of the "product" part of the company, but who for all intents and purposes stopped writing any code or even managing anyone who writes code a long, long time ago.
One definite benefit I've noticed is the lack of eating out. When I was commuting to Boston every day, most of my eating was based on convenience or opportunity; I was out of the house for twelve to thirteen hours a day, and taking the time to make a meal just wasn't realistic.

Now that I'm home all day, prepared-at-home meals are not just more realistic, they're (for the most part) the only option.

And this doesn't even require becoming a Michelin Star chef; a bag of chicken and vegetables from Trader Joes is easy, and much healthier than grabbing a Bacon, Egg, and Cheese from Dunkin.
This app sounds really cool and smart for what it is trying to do. Do you mind sharing the name?
I think a way to archive content and remove it from the search index is better than deleting.

Old content is still handy to have accessible, even if it’s not completely accurate, but it makes searching awful.
Don't Fail to Negotiate Your Salary
The solution to this is to make a UI which can be used like a wiki, but in fact creates a git commit for each edit. Allow documentation-only changes without reviews or pull requests etc.

Still use ACL's in the monorepo so that people can edit their own documentation with a single click, but to edit another teams docs requires some kind of pull request/approval from that team.

Create a culture that code changes must have accompanying documentation changes, and that any substantial code change without documentation changes needs a good reason.

Then everyone can use the tools they are familiar with, and still get all the benefits of history and always-uptodateness.
I’m curious how you actually would access this, would you need some kind of an RPC library to use in conjunction with it? The page doesn’t really seem to go far enough to answer actual usage information.

What would be the alternative to using a library like this? I’ve been looking for a good way to distribute workload to many machines and don’t want to invent it myself or jump into a very heavy system.
I prefer this as well (except for the monorepo part :) ) for anything that concerns the code/app in any way. We chose Slab for our wiki partly because it can surface markdown files from github. So, the onboarding guide just links to relevant markdown files right in Slab.
Amazon has been paying Jeff Bezos the same $81,840 salary since 1998. On file it says he gets about $1.6 million per year, but that's mostly security costs. He doesn't get any bonuses and he doesn't get any more equity. So none of the profits that Amazon has been making have been going towards Jeff Bezos pocket to make him richer. He's worth what he is because he owned something like 43% of Amazon at IPO.

If Jeff Bezos quit Amazon in 1998 after the IPO and we were here today at the same > $3000 per share price of Amazon, Jeff Bezos would still be worth over $100 billion and would have had nothing to do with Amazon for the last 22 years. So I don't see how you can draw the conclusion that Jeff Bezos can't be worth $100 billion unless they're mistreating their workers. Those things don't have to be connected.

Now should Jeff Bezos be worth that much? Probably not. But he's worth that much because he owned a large stake in Amazon. Anyone could have purchased Amazon at IPO and would have been up over 2000x right now. If you put $500k into Amazon at IPO you'd also be a billionaire right now, does that mean that Amazon is mistreating their employees because of you?
What I learned from OnDeck and why you should join it too
It's not just the numbers though. It's a database of names with numbers, all clearly stolen.

I'm pretty sure it's covered by copyright infringement laws.
When I worked for a major pharma company in the mid-to-late 2000s, their entire security system (IE, the door badge ACLs) was run on an old vaxstation that had its own full rack. It worked, they said.
I disagree with both of those points.

I've definitely had easy / comfy commutes. 10am-7pm workday, missed most traffic, easy 20 min rides, sometimes a little longer in the evening. Drive took me past a grocery store and a liquor store, so I could stop off and grab things. I don't miss it, but it wasn't a soul crushing slog.

I routinely freak out while cooking.
Nope they are quite alright and much better than the PS tooling that they replaced.
It's entirely possible then to use tsc as a "global" typechecker for the purposes of your dev workflow, without making it a part of your build process (unless you're doing CI, in which case it could still be a separate, preliminary pass that doesn't have to be bound up in the actual build stage). All I'm saying is, especially for a project like Rome that has so many other irons in the fire, I think it's a fully legitimate decision to focus on builds alone and parse-but-not-typecheck TypeScript code, leaving the latter to projects like tsc that have much bigger teams and already do a great job of it.
Brutal != high salaries. I know someone who got triple the salary when moving from Germany to the US without even trying that hard (FAANG would have been something like 6-8x the salary).
Seriously? How about a Hippocratic Oath for CEOs and other corporate executives? They exist in a world that encourages sociopathic behavior, and they are coming down on engineers?
Because of the problem of how to decide how they labor is used. Central planning communism has never worked. Free market with regulation and taxation has a much better record.
Dan Bell: The Subversion of Collective Bargaining
You forgot C++
Don't you think it's at least a little hypocritical that they don't extend the same privacy configuration options to their apps that they mandate for 3rd party apps? Sure, I generally trust Apple more than a random 3rd party developer, but the fact that Apple doesn't trust me to set my own privacy configuration for the camera makes me trust them less.
There's no reason to believe Cutts would have any personal knowledge

Cutts was the head of the Web Spam team at the time. That team is responsible for penalties.

He and I had an exchange here years ago. The text of his comment implies that he looked up penalties, so he had knowledge: https://news.ycombinator.com/item?id=5426209

This seems like a conduct violation on here or any reasonable discussion site.

If that’s the case, I’m happy to discuss it with dang or another admin.
> Other advertisers and ad networks on iOS, however, need to ask permission every single time.

Is this something new? I have been using iOS for years until recently, and I don’t remember any ad network ever asking me permission for anything.

…Ah, it says that the prompts are new in iOS 14. I see.
It is interesting that people don't think on these scales. What percentage of the HN crowd has developed something that has had (or will have) a 10, 20 or 40 year life span?

Because I've seen a bit of that and it's what makes the world go round. There's certainly a lot of bad/crazy stuff out there but wonder if the ephemeral fashions of today will stand the tests of time.
My intent was to say that PragerU is partisan propaganda, not a source for definition.

At best, someone could use it as part of an adversarial process at arriving at the truth, but the author doesn't do that. They take the definition at face value. (A ridiculous definition at that).

I wouldn't use PETA for my definition of factory farming.

So yes, if you aren't able to find a non-partisan definition , then I assume the whole piece is partisan, and therefore lacking credibility.
The $10K limit is a federal regulatory requirement. You have to fill out paperwork and provide identification that is turned over to law enforcement for review.
> the colonial system was set up to prevent India industralising

Hardly. The colonial system started to evolve from approx 1600 [0] but industrialisation [1] didn't start in the UK until at least 150 later

[0] https://en.wikipedia.org/wiki/East_India_Company

[1] https://en.wikipedia.org/wiki/Industrial_Revolution
It is a new feature in iOS 14.
The speed of light is absolutely not an estimate. It's a mathematically provable fact.

Facts (in this context) are numbers that are not reasonably disputable. The value of pi, the speed of light and my current phone number are all facts.

What I happen to think the net worth of someone else is, is certainly not a fact. You might think it's something else. It would be difficult to prove either one of us right.
Some kind of 'voting' could be handy - so you can see at the top of each wiki page "BobSmith last reviewed this page on 01/02/2007 and reported it accurate at the time".
I have been doing a good job of playing Eleven Table Tennis on the Quest every day. Forme that's an accomplishment because my standard is absolutely zero exercise and I work from home and don't go out much.

But I am going to have to try harder because I have not gotten any less fat from that. Its kind of minimal movement really.

What actually is the most exercise on the Quest for me is bowling, believe it or not. Because to release properly you actually have to get pretty low. So it's like I am doing a bunch of lunges.
I'm sure u/eklavya is aware that this is the problem in India. This is why entrepreneurs with low political influence participate in low capital businesses (ie import export). They move into more capital intensive businesses (ie oil refineries) only when they have bought political influence.

It makes sense right? Why invest capital when you risk losing the value of your investment due to arbitrary bureaucratic hurdles like the ones faced by OP? This is the strategy Relience used in the past.
1. Its not a small amount in India. Lot of families live on $ 100 per month
2. SOme people worry about how their goal is achieved than achieving in anyway possible
Yes, I can accept that it's region specific. It's the case in London, for example. Uber has made central London traffic worse. And that would be the case for many places outside of NA.
Pretty sure you can embed javascript in a PDF document, actually.
Show HN: Morfist – A Multi-target Random Forest capable of mixed learning
You're missing the point. He's not saying he's against any of the documentation. It shouldn't be this hard, re-zoning or not.
Hey everyone!

Here's morfist, a Multi-target Random Forest implementation that can mix both classification and regression tasks.

Morfist implements the Random Forest algorithm (Breiman, 2001) with support for mixed-task multi-task learning, i.e., it is possible to train the model on any number of classification tasks and regression tasks, simultaneously.

Morfist's mixed multi-task learning implementation follows that proposed by Linusson (2013).

Although it's initially not my code, I've been working on refining the implementation for a while now, and it reached a point where I feel it's worth to show it to the world.
Be the change you want to see in the world, Uber. You don't need laws to tell you to do the right thing. You are free to treat your employees (including contractors) as people and not resources to be mined. So do it.

Or, get off your moral high horse from which you claim that everybody should be obligated to treat people fairly, and until they won't, you won't either. This is morally bankrupt leadership.

Oh, and before someone says they are beholden to their shareholders. I realize that, and it doesn't mean companies need to strip mine the land in the name of profit. Doing the right thing is sustainable, and over a long enough time horizon, the most beneficial action on behalf of shareholders.
I think of the many (dozenish?) people I know who've bought personal exercise equipment over the years, all of them have become primarily clothes-hangers and usually eventually sold. Personally, I'm doing the best I can, but I find it really hard to get a good workout in at home and look forward to my gym re-opening.
The problem is that PDF targets the printed page, while HTML targets screens. PDF does a better job with respect to printing then HTML does for screens, because HTML has been largely repurposed for creating GUIs. Unfortunately PDF are not easily scripted, and HTML has essentially no support for proper printing.

And so alas it all sucks.
It's been impossible to buy any kind of home fitness equipment for a couple of months now. I've seen kettlebells going for $500 on Amazon.

People definitely thought they were going to jump into home fitness with both feet, but just like New Year's resolutions, I doubt that many of them stuck with it.

If I had to guess, there are two groups of people who are taking advantage of the quarantine to better their fitness routine: people who were already serious, and already had a home gym; and people who are doing something that doesn't take a whole lot of equipment, like yoga.
Oddly enough, I’ve noticed this even down at my level as a teenager who worked as water-park lifeguard last summer. We had two months of rigorous training before we could even start work, and because the park I worked at was huge and very safety oriented, our job was actually very mentally and physically taxing, much more so than, say, that of a cashier.

We were paid 50 cents above minimum wage, and it wasn’t until just recently that I realized what was going on: the park was leveraging the social status associated with being a guard in order to pay us much less than we deserved for such a demanding job. They substituted “hero worship” (like you mentioned) for the cash our labor was actually worth.

I quit a month before the season ended and don’t intend to go back.