skysight-inc/HackerNews huggingface dataset:
I, like many other people, also took a stab at my ORM / ActiveRecord lib (First for PHP on MySQL, later ported it to Javascript on WebSQL) and I've been following exactly the sentiment that a people here seem to have to: Don't make your ORM want to do everything. If you are going to need computed N+1 queries, write a View, or use custom SQL.

ORM / ActiveRecord is a great pattern imo, but if you want to make it do everything, like so many other techniques, you're gonna end up with a behemoth of a thing.

I've tried many different ORMs in the last couple of years, and while mine may not be the most complete or have a sexy API for joining custom query parameters into the results, I still feel my own provides the one and only syntax / workflow 'as it should be' in Javascript:

var serie = new Serie();
serie.name = 'Arrow';
serie.TVDB_ID = '257655';
serie.Persist().then(function(result) {
console.log("Serie persisted! ", result);
});

I've got loads of examples with jsfiddles if you want to find out more :-)

https://github.com/SchizoDuckie/CreateReadUpdateDelete.js

(browser that supports WebSQL required, obviously)
Only works if JavaScript is allowed by default.
Thanks for the answer!

Unfortunately, what I needed to do back then were more complex than that (say, I need to perform query on top of subquery, e.g. "SELECT ... FROM (SELECT ...) AS a HAVING ... GROUP BY ..." sort of thing) which seems to be something ActiveRecord wasn't designed for.

In the end, I solve the problem by using Arel with an ActiveModel and unwrap all the data manually.
Maybe Apple's software quality declined due to engineering prowess being siphoned away towards skunkworks projects like APFS
I have not yet managed to setup a single local recursor, such as PowerDNS recursor, to deliver the same performance as the list consisting of multiple open resolvers, although bandwidth does not seem to be the limiting factor. Testing with dnsperf, the best result I am currently getting is about 6,000 resolves per second with bind, for PDNS the figure is even lower for some reason. I will have to dig a bit deeper in order to find the reason for that cap.
There is a reason why AKG 414 are probably the second most popular mic for studios that have huge budgets. 414 sound is also considered an awesome mic.
I'm afraid this won't help, considering current progress in AI [1]. Facebook will soon be able to match your HN (and every other) account with your FB account just by the words you write.

[1] http://ben-evans.com/benedictevans/2016/6/23/ai-apple-and-go...
As much as I advocate for properly using SQL, I still want an ORM (lightweight) to manage the repetitious small stuff that happens repeatedly throughout an application. I'm all about custom SQL or stored procedures when the time comes though.
Previous discussion:
https://news.ycombinator.com/item?id=8133835
> "A very sad day for everyone in Europe."

The unskilled, or partially skilled working class in Britain had to compete with immigrants from poorer EU countries for jobs and the immigrants also drove down wage rates.

The leadership of the EU is able to dictate treaties to member countries, but the leadership (unlike the President of the US) is not elected by the people, but rather appointed by elites. In other words, the leadership of the EU had no mandate to govern by the electorate of the EU. This favored policies that favored elites, but not the working class.

The rise of Trump and of Sanders was caused by the Republican and Democratic political elites and media elites that ignored the suffering of the working class. Working class in the US has to compete with illegal immigrants for jobs while at the same time having their wages depressed.

It is against the law to hire illegal immigrants, but they are hired anyway.

Meanwhile firms are exporting jobs to Mexico, China etc.

Recently Carrier air conditioners closed a factory in Indiana and moved the jobs to Mexico. There is a video on youtube with the Carrier leadership acting terribly towards the factory workers in Indiana. Only Donald Trump spoke out against Carrier exporting jobs.

Trump may not be able to "fix" the problems, but at least he's not a member of the Republican or Democratic elites that simply ignore the plight of the working class.

The UK withdrawal from the EU was most about economics for the working class and lack of autonomy for voters. The situation was created by British political and media elite who by and large simply ignored the complaints of the working class.

PM Cameron had the hubris to call for the referendum because he that it was impossible that he would lose.

The EU leadership and the leadership of individual EU member countries need to start listening more to the citizens, the electorate and less to their clueless elites.

They need to take into account the job concerns of the working class in member countries instead of just ignoring them.

This is all probably because of a structural problem in the EU that makes it basically not a democratic institution elected by the people. If the EU has any chance of a successful union, they need to ensure that all leadership offices are elected, much as they are in the US.
SEO Check Online
what do you hope to gain by talking to them?

I'm assuming that by capital A, versus lowercase a; atheists, you are trying to underscore the differences between people who understand that religion is a hoax but it doesn't affect me right now so I'll let it pass, and those who have been directly affected by religion and it's evils and see no other way but to fight it as hard as they push it?

I will try to explain why this is bad:
engaging the mentally ill in their delusions is not only mean (you don't believe their crazy stories, so why listen to them?) it's bad for society as a whole, because this is a untreated mental illness that is totally treatable and it's being spread because people refuse to treat it as a mental illness and instead say, believe what you want.

why is it bad to allow the masses to remain ignorant?

you (hopefully) wouldn't teach your children that the world is flat, because you were educated against such teachings.

you wouldn't teach a medical student about the human body without allowing them to learn about the human body by cutting it open and studying it.

you wouldn't let your neighbor spray your yard with ddt (hopefully) because a higher being told him it was safe.

you wouldn't take advice from someone on the Internet without first researching the topic (we all do)

yet we'll freely entertain the insanity of religion because why?
so many people believe it?

we all thought the world was flat, the human body was designed by God and shouldn't be examined, sprayed ddt right in our children's faces, and still take advice from strangers on the Internet without doing research because, we're sheep (hanlons razor).

it's all stupidity, and fear. we're all alone, there is no guidebook and we're so painfully self aware.

when you have No explanation, any explanation seems possible.

the world is not flat, but knowing we knew, was comforting.

anyways, what was I trying to get at?

don't let them in.
keep them very far away from you.

if you want to help change the world, be proactive.
openly challenge religious beliefs any time they are presented.
it could get you killed. it will get you beaten.

but we all have a duty to further the human species, and putting us second to imaginary beings is not exactly the way to go about it IMO.
New businesses and ways of doing business always disrupt the existing businesses, and the existing ones frequently advocate for regulations to preserve their niche.
What do you define as "large enough"? There have been a ton of fairly big Ruby on Rails apps written over the last few years, the majority of them using ActiveRecord to handle everything.
Your paragraph after "where do I start" is so incomprehensible that I'm not entirely sure you're not simply spouting random technobabble at me. But I get the idea. :D
I've always felt that part of Car Talk's popularity was their eagerness (and perhaps determined effort, I'm not sure of the demographics) to include female callers in their shows, as equals to males. Honestly, their inclusion of females, to me, has been unmatched by other shows, especially programs relating to historically male-dominant subjects. Their broadcasts have always been a wonderfully enjoyable and enriching part of my road trips.
This is a good introduction: http://natureofcode.com/book/chapter-7-cellular-automata/
> On a single-disk device, the FS doesn't have enough information to do anything useful about corrupt files anyway.

Some filesystems can be configured to keep two or more copies of certain filesystem/directory/etc. contents. Two copies is enough information to do something useful.
Seems like an awful lot of bother to go through for so little benefit.
Please see http://awfullibrarybooks.net/why-weed/ for a justification of why a library might reduce its collections.
Yea, using a closed source and poorly vetted protocol for secure operations doesn't really sound like a good idea to me.

I hope this gets fixed.
It strikes me as a thick/thin client tug of war. You can supplant ORMs by e.g. moving your logic into stored procedures on the db side, until you find an inconvenience there, then back and forth until the end of time. As with many dyadic architectural choices, there are good arguments on both sides.
Britain is sailing into a storm with no one at the wheel
"Money laundering" is an imaginary crime. If certain patterns of transactions were not arbitrarily outlawed, there would be no need to enforce this law.
Do they explain the reason why they needed a new filesystem instead of using some existing one (same OpenZFS)?
Previous discussion:
https://news.ycombinator.com/item?id=3428836
Unfortunately, ORMs sometimes undermine safety for the sake of convenience. Even ORMs which use parameterized queries (which any sane framework will) may be vulnerable if they build dynamic queries using string concatenation.
The main in the middle could just decode any secret being sent. The only way I'd want to participate in a system like this is via a smartcard or a challenge based system over TLS
Most libraries (in Europe, at least) tend to have an incredibly low density of books. I think the image of a good-looking library is more important to them than to actually have more books on the shelves.

E.g. something like this (the main public library in Linköping, Sweden):

https://cdn3.cdnme.se/cdn/7-2/1081760/images/2012/dsc_0337_1...

rather than something like

http://f.tqn.com/y/seattle/1/W/V/F/-/-/IMG_8459.JPG
Guide for building a cheap home-server/workstation
my result: https://snag.gy/4X5ZyN.jpg
Whole Foods and Safeway are both expensive in the Bay Area. You want something cheap, go to Lucky's.
How do you manage version-control on stored procedures? Can they be checked in with the rest of the application logic?
> If you're not using an ORM, then you ultimately end up writing one.

Only if you assume that Object Relational Mapping is the only way to express type checked database access at the application layer.

ORMs are broken by design; there's no lossless bridge between relational theory and OO -- only inconsistent, error-prone, complex approximations.

Instead of bringing relational theory to the programming language, ORMs try to emulate OO behavior/method dispatch/etc in a world of transactions, deadlocks requiring retry of previous operations, on-disk serialization of data, etc.

In 2016, it's ORMs that are outdated.
I'll bet Zuckerberg and countless Facebook employees have used software written by Stallman.

At the risk of being wrong, I'd even go so far as to say they need this software.

But does Stallman ever need to use software written by Zuckerberg or Facebook employees?

Personalities and errors in judgment aside, give respect and credit where it is due.

I have never needed Facebook's software. And I doubt I ever will.

From a purely utilitarian viewpoint, my gratitude goes to Stallman and the people who brought us the internet. I'm not sure what I could thank Facebook for.

If Zuckerberg had failed to be in the right place at the right time, there would always be a substitute.

But if there was no Stallman back in the 70's and 80's, would we still have gcc, gdb and so much free, open source software?
I largely agree with your comment that talent doesn't come cheap. Software developers, venture investors, bank CEOs, &c.

In the case of NPR staff, I question whether anyone else is bidding on their services.
Here's the instructions if you want to do a batch download to your favorite offline e-whatever.

https://blog.archive.org/2012/04/26/downloading-in-bulk-usin...
I might be wrong, but I read APFL's no-checksum decision as founded upon Apple's hardware-and-software strategy. Given their situation, they can decide that checksumming is a hardware problem. They can build their latest devices with ECC, and require customers to only use Apple-developed USB keys. (I would not be shocked to learn that, in late 2017, Apple starts selling USB-C storage keys preformatted as APFS.)
Previous discussions:
https://news.ycombinator.com/item?id=6816072
https://news.ycombinator.com/item?id=9201644
Works for me! Correctly identified my location as Germany.
No one is preventing the UK from adding exceptions for Indians.
Yeah, i don't really know enough to argue that. You're probably right about the convictions.

I just think we need to be able to TALK about these issues, so that when a real expert looks at those statistics they can get to the truth of the matter, and say that truth whether it is or isn't politically correct.
EU funding blabla. You wonder why the Swiss universities still do so well.. I don't think the leavers ever said the transistion was going to be painless.
Jason Scott has been really busy in recent times. Just saw on twitter of him announcing Joe Decuir's Engineering Notebook during his Atari days from 1977.

https://archive.org/details/JoeDecuirEngineeringNotebook1977
Creating a time management system sort of assumes that the creator is good at managing time to begin with! ;-)
To add, it's basically 1-click for the iOS simulator install, my favourite feature
That much is obvious to anyone here, but I'm noticing an odd spate of downvotes that contradict that post. Any insights? I'm seeing at least 6 downvotes to my posts alone.
I'm in favor of re-spelling it as jipped, and removing the old connotation, because most people don't know that and it is a pretty common word now.
We can speculate on the management decision, but from an engineering point of view Dominic Giampaolo said that he didn't dive into btrfs, ZFS, or HAMMER in order to not get potentially bad influence. At least that's how I read his answer as cited by Adam. It's interesting that Larry (Oracle CEO) being a good friend of the late Steve Jobs didn't result in finding an acceptable ZFS licensing agreement for Apple. I mean, they've incorporated DTrace (into the kernel of all things), so why not ZFS as well?
Yes, there are tools to do this. It varies by database server and may need custom integration with your deployment system but they definitely exist.

The alternative is the old StoredProc_v1, StoredProc_v2 etc in the database and have the application check what's available. This allows you to roll the parts independently.

The big advantage with stored procedures is they can benefit from the DBMS caching and applying additional optimisations (depending on the DBMS of course).
Because if housing prices are out of whack with development costs it can be more profitable to sell your current apartment (with its associated discounted cash flow) and use the capital to build a new one for cheaper.
This doesn't ring true for me, at least - I've been programming professionally (using SQL) since the mid-90s, and these days very much appreciate the time-savings that ORMs (on Windows, for the most part) provide. With my favourite ORM - XPO from Developer Express - there is a decent tool for monitoring queries and sessions, and if I need to I can write custom SQL to improve performance (which almost never happens).

Another important point is that it's, IMO, much easier to maintain ORM-based code, and another programmer coming along after me can more easily get started on understanding what I've implemented. Once place I worked in the past we had a 'SQL guru' who wrote these massively complicated SQL queries that could be understood by no-one by him.
Fraud and money laundering fine avoidance are two different things.
Maybe one day Stallman will agree to use "Liberating Software" instead of the more confusing name "Free Software".
I can get a cheap, shitty pizza for 8.50 out the door, with a max wait of 10 minutes at the local Lil Caesers.

Thats a human made, human served pizza. How is this pie equivalent in price to the more premium pizza I can have across the street at Round Table, also served and made by humans?

It doesn't add up.
I have some bad news for you: you're supposed to be washing that food before you eat it.
I did this a few years ago, a simple tool that pinged places all over the world and calculated where you should be.

This only ever gets as close as your ISP, or perhaps a local routing center if your ISP has multiple (mine has only one in Amsterdam, I live on the other side of the country). This means it's less accurate than your typical GeoIP database.

Edit: I'm no longer sure this is the same. The title mentions "passive", and from another comment I understand that the author meant that you can find someone's location if you are the man in the middle, observing traffic to various places around the world. This is definitely something I had not considered yet!
> Every time I run into one of his idiosyncratic terms, it interrupts my train of thought, and dislodges any argument he had been constructing there.

In the spirit of ergodic literature, such as the use of extensive, awkward footnotes in Infinite Jest, some consider this to be a good and effective thing. If the reader isn't willing to put in the cognitive effort to constantly overcome this and extract the meaning of the overall argument, then that reader was probably just looking for some easy confirmation bias reason to disgree or criticize in the first place.

By constantly jarring you out of feeling comfortable while reading, it means that, if you are determined to read it seriously, you will have to exert more effort and by the end will likely have gotten much, much more out of it than if it had been designed to feel pleasant for the reader.

I actually love this style of writing and can't get enough of it. I also like the music of the band Swans and eat lots of meals with bitter foods (like huitlacoche, bitter melon, extremely earthy green tea). I don't know what it is, but I feel this kind of constant, just-on-the-cusp-of-being-too-unpleasant disruption for almost any sense qualia really leads me to appreciate things more, dig into them more deeply, retain more about them later on, and quickly separate things I do care about consuming from things I don't care about consuming.

It's kind of like putting up with the pain of a deep tissue massage to get the more satisfying muscular relaxation that comes later.
Mods, please flag this and remove/delete if possible. It is clearly a misguided post.
I can't help but think this whole thing could be solved by charging hotel taxes on AirBNB room nights. Can someone explain why it's not that simple?
The metadata use across applications was great and exactly what others tried to mainstream (WinFS et al). You could search quickly for media files, emails, etc. and save the queries for fast access later on. mbox vs maildir, etc.

Edit: And this wasn't slow and of considerable overhead like what we have right now with indexers for OS-wide search.
But they don't scan everything or even ILL everything, so it's pretty lost by contemporary standards.
Back in the day, "MS-DOS" used to always be "MS-DOG" and you can still find references to that: https://www.gnu.org/software/emacs/manual/html_node/emacs/MS... and as late as 2014 it was still there in emacs: http://osdir.com/ml/emacs-diffs-gnu/2014-08/msg00048.html
Unfortunately that argument works both ways, and we are saddled with a majority of mediocre developers who know an ORM but can barely read trivial SQL and can't really write it at all.
The problem is that saying "Swindle" instead of "Kindle" works when he's talking to people who already agree with him, but is seen as adolescent crap by people who don't agree with or don't understand his message. It's preaching to the choir.

"Digital Restrictions Management" is a good semantic switcheroo, but "Swindle" is just name-calling. I've read his reasons for it, but really, it just makes it harder for people "outside the choir" to hear his message.
Project: Sheroes
I think that means you're in Europe.
Hashing passwords is not done to prevent MitM, it's done to prevent/delay password disclosure if the database is hacked.
> from an engineering point of view Dominic Giampaolo said that he didn't dive into btrfs, ZFS, or HAMMER in order to not get potentially bad influence.

I'm not sure I quite understand this approach. It's sounds like a pure NIH kind of method (which is admittedly common for Apple). I.e. of course one can always try to reinvent the wheel, but why is it bad first to analyze what already exists and to evaluate good / bad sides of that? Or his approach is simply always to make everything from scratch and not to look at anything else?
What would be the better thought process for writing sql procedures? It seems like PL/SQL is fairly procedural.
That would be the opposite of passive: using a geoIP database is passive; probing from/to various locations is active.

Another comment mentioned someone monitoring your traffic and noting your RTT (roundtrip time) for various IP addresses around the world. That seems much more likely.
I myself am wary of stored procedures except in very specific and uncommon circumstances. That said, you could absolutely version control your stored procedures by creating them from within database migration files that are version controlled by default.
Talk about the mother of all selection biases...
Okay, wow. Just clicked the https://www.bankid.no/en/ link and it looks like it's two entirely different companies using the same name?

In Sweden we use https://www.bankid.com/en/ which doesn't use SMS for authentication, it's mobile app based.
True, but a lot of the tools within RX are meant to be very manual labor-intensive, very CPU intensive, and not particularly realtime.

At the end of the day, the cleaner the source material, the easier it is to process in any fashion you want later on in the airchain. A lot of stations will have noise gates on their microphones, or even wideband gating before material hits the transmitter in some cases. With the right settings, it should be more than plenty.
They got to 191 countries in 8 years. By 2024 AirBNB will be in 382 countries!
Not sure why this needs fancy branding. This sounds like what any ops organization is supposed to be focused on. I agree that there are plenty of places out there that approach ops poorly, but to me what they outline here doesn't sound like HumanOps it just sounds like the way you are supposed to approach ops in your engineering organization. All of the big name tech places I've worked at have had this attitude. I have interviewed at some other large tech places that do not deal with ops his way and I choose not to work for a company with what I view as a "broken" approach to operations.