skysight-inc/HackerNews huggingface dataset:
I think that this is true if you're writing your application in a way that requires object-relational mapping in the first place.

And that's only necessary when you're trying to manage your data in the application in an object-oriented way. And managing your data in an object-oriented way implies more than just the simple fact of defining classes to serve as data records. Those classes can be entirely equivalent to a struct in a procedural language or a record in a functional one. And I can't remember ever suffering from object/relational impedance mismatch when working in a procedural or functional language. Implying that the spot where you really start getting into trouble is when you trot out some distinctive feature of an object-oriented data model.

I submit that the original sin is treating instances of those data classes as if they are discrete entities that can serve as an application-side proxy for some other discrete entity that exists in the database, almost as if ODBC were just a more REST-flavored alternative to CORBA. Which is a thing that I've often been tempted to do in an object-oriented language, but never in a procedural or functional one.

Which isn't to say that I don't use anything to help with talking to databases in those other styles of language. It's just that I retain SQL as my query language (there are plenty of reasons to do it, none of which I'll bother to repeat here) and rely on a more Dapper-style library to handle unpacking the results into data structures. And I don't really consider those to be ORMs; they're just a special class of data mapping utility library.

So, in conclusion, I think that a more accurate stab would be "Any sufficiently hastily built, object-oriented, database-driven non-ORM program contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of a decent ORM."
Yet there are all kinds of things that people do while they’re well in order to stay well - regular exercise, good diet, adequate sleep etc.

And routine checks on basic indicators like blood pressure and cholesterol are part of conventional health advice, particularly as people age, in order to identify and respond to problems early, before they become much more severe and difficult to treat.

Equivalent preemptive/preventative treatment for mental health is less understood/available.
They aren't comparable at the moment. But London used to have "London fogs" that contained a large air pollution component. At least one was so bad that a doctor hired a blind man to guide him on his house visits, since the doctor couldn't see enough to tell where he was (even on foot on the sidewalk), but the blind guy wasn't handicapped at all by the smog.
That's pretty much exactly how I feel. I gave a talk a few years ago about doing advanced SQL things in ActiveRecord [0]. The talk suffered I think from lacking a unifying idea and because I tried to offer something to the whole spectrum of experience (from "this is a join" to "this is how you can express a CTE/lateral join/window function in AR"), but the real unifying motivation/message was that with AR you can have your cake and eat it too.

I've approached tons of problems by making it work in SQL first and then translating it into AR afterwards (to some degree or other). I would reject an ORM without an "escape hatch", but AR is wonderful for taking away the boilerplate while still letting you write SQL when you need it, and even letting you make SQL more composable by defining scopes.

I'm just wrapping up a couple C# projects where everything is direct SQL, and oh man is it verbose and painstaking! Every day I long for more Rails work. :-)

[0] https://github.com/pjungwir/rails-and-sql-talk
Is your company engaged in running or supporting the operation of concentration camps?
“ Of course I don't think the exhibit was there before the bug was publicly known.”

Would that be the smoking gun?
I find a lot of people dealing with startups ... employees and founders (mostly) posting practically everything on social media from going to an event, launching a product / service, last night's dinner, a picture of every coffee in the day, a message in the loo and a coworker dozing off ... etc

I always wonder if this is a means of guerrilla marketing, being social, expressing camaraderie or showing gratitude?

I think of it as social validation and wonder its impact on creativity, morale, etc (if any at all)
I am always surprised when an article makes the top 20 without any comments. It helps me realize how much I value the comments.
I haven't been to the Cryptologic museum but I did get to see one of these Enigmas as it happened to be on loan to the American Computer Museum in Bozeman, MT when I visited there. If you like museums, don't miss this one, it was really awesome. Oh, and free.
What you are saying exactly highlights what the author is missing: That if your application has some logic, you will eventually have to map your database rows to your in memory typed structures.

It sucks. Sometimes it sucks less if you map your queries as well, sometimes it sucks less if you stick to SQL and only map your results, sometimes it sucks so much you're better off with a no-sql solution.

But when using a relational database, ORM isn't optional.
I bet that somewhere in this ocean of apologetic comments I could find the classic one:

"You're not the target audience (if you disagree with anything that Apple does)"
Get back to me in a quarter century.
Everything you can build with OOP can be done with FP and vice-versa. So the question is which one's strengths you'll most benefit from.

OOP's strengths surround modeling nested object structures and encapsulating state and logic within opaque containers. If you're primarily writing data to/reading data from a relational database, everything gets flattened and exposed. So you have to ask yourself what you're getting from it at that point.

Rendering and processing are well-suited to FP. "Email sending" and "notifications" are vague, but I see nothing about SQL + FP that makes those harder.
>Again, think women and shoes. Why do women have many pairs? For precisely the same reason people have many guns.

I understand the point you are making, but I think you could make a much better and less sexist analogy.
Point72 Used Big Data to Short Weight Watchers, Dave and Buster's
Isn't this just a way of saying that effective governance in a representative democracy is a public good, and that thus we should expect it to be underproduced?
Hahaha! ^_^

Seriously Jesse, isn't this the very same reason __some__ people end up implementing yet another programming language without realizing it?

First they start out of exasperation with X language they use, because they hit some obstacles or limitations, and before they know it they end up implementing a newly created language.

You know what's the fun part? In their attempt to fix the aforementioned language's issues, they end up introducing __the very same problems__ in their own language, only under different "cloak" so to speak.

It's a vicious cycle I'm afraid...
To be fair, I think the story of laowhy86 and serpentza is also one of consent manufacturing not by censorship but by incentives (a bit like journalists in corporate media implicitly knowing that they can kiss their promotions goodbye if they're anti-war).

They had really grassroot organic videos about their lives as expats and had extremely valid criticisms of China's policies and circumstances (such as him investing in property and realizing that all the amenities then become unmaintained because the developers finish a project and move on). They were thoughtful and nuanced.

But then at some point in the last few years, they realized that their full on China-bashing videos had way stronger YouTube responses and more monetization. At this point, their content just went Access Hollywood in organic quality where they would try to get into confrontational situation to generate negativity.

I don't think they're malicious, but they also know that their weekly China's going down the drain videos are keeping the lights on.

(I also don't doubt that the Chinese government 'invited him to have tea' and made him make positive videos or leave China. Nothing I said makes that acceptable. But it doesn't change the original point)
Even better – economists have already worked out how to create this kind of investment incentive in a mathematically optimal way:

https://medium.com/coinmonks/breaking-down-buterin-hitzig-an...

https://poseidon01.ssrn.com/delivery.php?ID=4960960851100740...
Hunter2
Good.

Look, ultimately, beyond a certain point, this stuff is point scoring.

After you have some amount - say a few hundred grand, a million - the actual number doesn't really matter - you're waving your metaphorical dick around.

And that's fine. If we can convert that dick waving into serious change - if we can get the metric by which intelligent beings compete to be something good, like carbon captured or species saved or ICE cars avoided or _whatever_ - we are well on the way to winning.

You built an enormous solar farm? Adonis DNA.

If we hack it so that it just slots in to the Natural Way of Things - e.g. with a carbon tax or similar - such that investing and buying and doing good things is simply logical - even better.
You’re saying that a 3 year old is breaking the law. Don’t be stupid.
To be fair, we didn't have to understand the climate to break it.
I mean, everything ends eventually, right?
Well of course, content blocker audience is still scarce vs ad blockers, hardly worth investing.

That will change if content blocking is the norm.
I think he just assumed they were more valuable than politicians, regardless of preparation.
Interesting, maybe it was lost in translation as English isn't my first language, but "here is some background" doesn't mean "here is the brief summary" for me. It also doesn't mean here is the complete story and the only truth. Sorry if I wasn't clear. IMHO, I still think that if people take the time to read the thread and the articles written by media like New York Times, The Register and Business Insider, it should give a proper "brief summary" (of what can be said without bringing any legal issues) for the person who asked for it.
This isn’t just Elon, Oracles Founder did the same thing. Except they actually have a company with assets. So I don’t get what OP was rambling on about “non real assets”. A fucking manufacturing plant is an asset. My servers are not. Looks like the financial world is working as it should...
From OP's argument, it seems likely they'd support Chrome doing the same thing.

A double standard requires the same person or population to hold logically contradictory viewpoints. That isn't what is happening here.
Wow, this is really cool. I assumed this was going to be written in go or rust, but taking a look it's actually all bash! I'm always surprised by how much people can get out of bash.

It's also some of the cleanest bash I've seen. Definitely going to be using some of these patterns for my own scripts.
If there truly is a cash shortage to the point that it is threatening bank liquidity, the Fed's likely response would be dropping rates and increasing the money supply with another round of QE.

If that happens, you should be buying, not selling, since QE basically acts as a subsidy for equities as institutions seek yield with cheap money.
My favorite movie. Nothing else comes close.
I think taxes are more like investing in a shady gofundme with a credit card you found.

With a compact, people are putting their own money at stake, have skin in the game, and a concrete goal

With taxes, people are usually putting someone else's money at stake, hope some of it goes where they want, and move on.

*edited for grammar and clarity
Are you telling me the assets that WeWork owns are not real assets? Well, then, if real estate is not an asset then what qualifies as assets?
And my very reasonable comment about it was flagged and removed because we can't have reasonable discussions on Hacker News because we all have to be woke!
ORMs are a leaky abstraction -- there is a sweet spot (mostly basic queries/relationships) where they provide lots of value, but there is a veritable infinity of scenarios beyond where they are a hindrance. Also they tend to introduce lots of hidden complexity when they try to introduce flexibility to match the landscape.

I'd argue that most of the time what you really need is a query builder with the right combinators, and maybe some higher order combinators to wrap those together for even better ergonomics.

For those writing NodeJS one of the best ORMs that I've found is typeorm[0], check it out.

Here are some reasons I like it:

- Typescript-first

- Provides the repository pattern (ex. repository.findOne) & the entity manager pattern (ex. manager.findOne) so you can use whichever you prefer

- Annotation-based entity markup

- Ability to drop down to raw SQL query easily at any time

- Query building ability, special handling for relation queries, it's even got support for building with where params like and and or

- Great documentation

- Ability to programmatically use the introspection that it does for you (accessing the metadata from code is trivial)

- Handles migrations (you can generate them, run them, etc), easy to use programmatically as well

- Supports some low level concepts from my own favorite RDBMS, postgres

[0]: https://github.com/typeorm/typeorm
See also: getting kubernetes into production anywhere.
Bridge between quantum mechanics and general relativity still possible
It was pretty cool. The company was founded by MIT folks, so I guess they weren't afraid of mixing C & scripting languages. :-) I was just a junior developer, so I barely understood what was going on. The company tried to build an open source version, but it suffered a lot from second-system effect IMO.

I don't often get to do work as cool as that, but I've really enjoyed pursuing more researchy things in my spare time. Right now I'm working on adding SQL:2011 temporal features to Postgres, so I guess I'm still getting my C fix from somewhere. :-)
Computing is heating, but with benefits, to a rough approximation.

The components inside the computer do something with the electricity, which results in it being turned into heat. So by doing useful computing and using the created heat as a result for heating something, you've effectively made the heating free, to the degree you can use the computing for something useful.
Many of the internees were in fact citizens.

Internment was not voluntary.

Succumbing to bad advice and popular opinion, President Roosevelt signed an executive order in February 1942 ordering the RELOCATION of all Americans of Japanese ancestry to CONCENTRATION CAMPS in the interior of the United States.

http://www.ushistory.org/us/51e.asp

From EO9066 itself:

by virtue of the authority vested in me as President of the United States, and Commander in Chief of the Army and Navy, I hereby authorize and direct the Secretary of War, and the Military Commanders whom he may from time to time designate, whenever he or any designated Commander deems such action necessary or desirable, to prescribe military areas in such places and of such extent as he or the appropriate Military Commander may determine, from which any or all persons may be excluded, and with respect to which, the right of any person to enter, remain in, or leave shall be subject to whatever restrictions the Secretary of War or the appropriate Military Commander may impose in his discretion.

https://en.wikipedia.org/wiki/Executive_Order_9066

Also cited here, which adds:

Nearly 70,000 of the evacuees were American citizens. The government made no charges against them, nor could they appeal their incarceration. All lost personal liberties; most lost homes and property as well. Although several Japanese Americans challenged the government’s actions in court cases, the Supreme Court upheld their legality. Nisei were nevertheless encouraged to serve in the armed forces, and some were also drafted. Altogether, more than 30,000 Japanese Americans served with distinction during World War II in segregated units.

https://www.ourdocuments.gov/doc.php?doc=74
This is the 'data mapper' vs 'active record' debate and I would argue both are sub-categories of 'Object-relational mapper.' I've seen multiple people in this thread even include query builders in their definition of ORM. I'm starting to wonder if much of the disagreement in this thread is caused by everyone having their own definition of ORM.
Aside from having literally a room or two full of books at home, the regular trip to the library was literally a highlight of my childhood. Piling up the books to take back, and then running around and choosing a new stack to take out, it was a great time.

It's literally free entertainment for children that lets them effectively supervise themselves, and god knows as a parent one can use entertainment for young children.

Plus its an actual constructive skill.

We live in the time with the most access to the most information available and almost no one wants it. I'm constantly blown away that the default position isn't: "Why isn't the human race just constantly reading?".
If you know SQL and know the ORM, you can just do the complicated things in SQL.

If you know a problem is going to be complicated, you know to use SQL.

If you don't know if a problem is going to be complicated, you can default to SQL and decide to use the ORM later if it's a good fit once you've got more problem details.
Seth's move impacted Chef's customers.

Google Cloud may have contracts with ICE. So Seth may want to do something against Google and therefore impact us indirectly.
A reference to Jaynes. :) Have an upvote!
I’m beginning to doubt the reality of anything ever being done in the first place. Done software is dead software that nobody uses anymore.

It seems more fruitful to talk about gradients and equilibriums of desired changes.
Thank you.

PII that you don't need can become like radioactive waste. If it gets subpoenaed, and it comes out that you retained and produced it, your reputation may be hosed. But if there's nothing to produce, no problem.

That's actually not quite correct. If you're required by law to retain that PII, you'll be hosed if you can't produce it. But then, maybe you should be doing business in a different jurisdiction.

I'm thinking of Private Internet Access. To my knowledge, logs have been subpoenaed in two US criminal cases. And they just said that they didn't retain logs. But then, VPN services aren't required to retain logs in the US.
Good to see y'all Rails developers out there, enjoying work and getting things done.
Thats very un-democratic, it implies that people with more money should have more votes. This would quickly dissolve a democracy
Australia vs. Fiji: How to Watch Rugby World Cup on TV
https://medium.com/p/125a9be54956

https://medium.com/p/3d72f4904103

https://medium.com/p/605fdd5191bb

https://medium.com/p/426eb7e8f76e

https://medium.com/p/4953f5dd08fb

https://medium.com/p/ba0a05f5dbac

https://medium.com/p/a096f98e9782

https://medium.com/p/3561ce24f2ac

https://medium.com/p/85e2e325f2e2

https://medium.com/p/541c28dbedc5
It seems to me that the obvious context is that it's spring there, so saying it's massively warmer than usual is another way of saying spring is slightly earlier than usual, but making it sound more extreme.
> People who don't understand the security implications inherent in allowing browser extensions that have nearly-unrestricted access to the user's behavior -- even if well-intended -- may hate the Chrome team for it.

> But there are those of us who understand why the Chrome team made the decision it did, and are sympathetic. And we're happy that the Chrome team and Apple are of the same mind about this.

Hey, you probably didn't mean it this way, but your comment kinda sounds like you're saying everyone who opposes Google's decision is a simpleton who doesn't understand the security implications of browser extensions. That's not true, and more importantly, not especially charitable.
Admittedly, I was venting over inaction of the taxi industry to innovate. While I do think other competitors, like Lyft, can do those things I'm skeptical if the legacy industry could catch up even if the way has been paved. I imagine the ideal would be a "platform" that gets sold regionally.

Like McDonalds, at least for travelers (or, well, me) having the app already installed and setup with a form of payment is huge. I've visited cities, like Austin, when they didn't have Lift/Uber and figuring out their "local service" was rough. You've landed at an airport and likely don't have great service. To seek and download and register a new app is a big burden. It's also why using a credit card internationally is much less hassle than getting local currency.

"Apps" and "services" are ubiquitous, but incumbents are pretty terrible at them. Large organizations like Apple, Playstation, or Obamacare have had rocky launches of services--they had more incentives to polish things later. Often those services would go down completely Christmas morning. Many apps like my local bank or library, have terrible apps. That's how I imagine legacy or regional taxis responding to Uber.

It's been over a decade and a lot of those features weren't that novel at the time. I've heard of a few cities internally having decent apps, but it hasn't been that wide spread. Maybe that will change?
> extensions can’t block requests based on these observations

The new API is called "declarativeNetRequest" and allows extensions to block requests: https://developer.chrome.com/extensions/declarativeNetReques...

"There are the following kinds of rules:

* Rules that block a network request.

* Rules that prevent a request from getting blocked by negating any matching blocked rules.

* Rules that redirect a network request.

* Rules that remove headers from a network request."

> Google proposes to continue allowing extensions to observe all requests

Their expressed intention is to disallow such behavior in the future:

"The declarativeNetRequest API is an alternative to the webRequest API. At its core, this API allows extensions to tell Chrome what to do with a given request, rather than have Chrome forward the request to the extension. Thus, instead of the above flow where Chrome receives the request, asks the extension, and then eventually gets the result, the flow is that the extension tells Chrome how to handle a request and Chrome can handle it synchronously. This allows us to ensure efficiency since a) we have control over the algorithm determining the result and b) we can prevent or disable inefficient rules. This is also better for user privacy, as the details of the network request are never exposed to the extension."

(Source: https://docs.google.com/document/d/1nPu6Wy4LWR66EFLeYInl3Nzz...)
> At its core, bitcoin is just an extension of the old PGP, or Pretty Good Privacy encryption protocol.

Grampa Simpson: "Oh, everything's stolen nowadays. Why, the fax machine is nothing but a waffle iron with a phone attached!"
A brain written in Rust would form only tree-like interconnections, not arbitrary graphs, and would quickly be outcompeted by other organisms relying on GC.
That's because when you actually need the handgun you'll want it to function as expected when you pull the trigger. A safety is just extra complication that provides no significant benefit if you're already handling the firearm like you're supposed to (which is to say, never pointing it at anything you don't want to destroy). Even without external safeties, modern firearms often do contain internal safeties to ensure that they only go off when the trigger is operated, as opposed to being dropped or something.
My understanding, as someone who is rather scientifically oriented but not a biologist, is that a living organism is basically an elaborate, multi-level set of interconnected negative feedback loops. Have I got that right?
Do It Yurtself
Open-ended recursion is not quite universal. Piraha lacks arbitrary causal embedding.