skysight-inc/HackerNews huggingface dataset:
I currently think ORMs might be an anti-pattern, but I'm interested in what other folks think. It's the same kind of anti-pattern that led us down the path of taking Object-Oriented Analysis and generating an entire stack using MDD.

The thing is, you should really only want your database to do a small number of things, and those things you should pay special attention to. You don't want a database that does everything and all runs on autopilot. Then who the heck is coding the system?

I think most any app has a reasonable number of features which map to an also-reasonable-number of function calls back to persistent storage. Identify those and make them first-class citizens in your coding. After all, aside from UI dazzle, that's where all the magic happens.
Enterprise Mobility Examples in the Travel and Hospitality Industry
For people who don't know, vimtutor is generally installed with vim. So if you have vim, just put `vimtutor` in the command linr and add the two letter language code if you want something besides English.
Vim Considered Harmful
Factory-wiping will not stop them from installing a rootkit in something like the SSD controller's firmware. I would be very reluctant to take any electronics with me across a US border. Maybe a cheap Android phone (that's not my main phone and that's not logged into my actual Google account) so that I can call up a map or get a taxi.
There are a number of things you can do to improve performance of queries generated by ORMs.

* Make sure you are indexing properly

* limit the number of items returned by introducing paging

* use lazy loading where applicable

I'm sure there are other techniques, but these are my gotos.
> This isn't remotely true; it turns what looks like an in-memory access into a network round trip. Navigating your database using an idiom of lists and member accesses is a fast path to n+1 queries all over the place, or ORM tuned to eagerly fetch the whole world when you only touch a tiny piece of it.

That isn't true for e.g. Django's ORM, which lazily evaluates the query and only actually accesses the db after that, with a single query, and filtering done in SQL.
>almost mathematically determined to be more racist than the Democratic party, which is a coalition of labor, minorities, and liberal whites

The assumption you build this on is that those groups are not more racist than the groups in the Republican party. The only way you could even make that kind of jump is if you subscribe to the definition of racism where you can't be racist if you are systematically oppressed in some regard. Is that the case?

If not, then you will definitely need some data showing that blue collar workers, minorities, etc have lower rates of racism.

The vast majority of racism I hear (assuming the definition based on race discrimination) comes from uneducated people, regardless of political affiliation.
>I remember feeling that way, and wondering how a rational person could see it otherwise.

Because history has proven time and time again that government can not, and should not be trusted.

>The presumption in the USA is that government is fundamentally untrustworthy and our enumerated rights exist as a protection against the government.

The presumption in the USA is that rights are not enumerated at all, we do not have enumerated rights. The Bill of rights is not designed or intended to list all of the rights a person has.

The constitution is a document outlining what government can do, if the constitution does not give the government the authority, the government is prohibited from acting.

This is almost the exact opposite of however other nations government is authorized where the government is giving total power and then some government powers are prohibited or limited.

I do not see how any rational person would want to give government near unlimited power.
Isn't this the type of thing that 'the' (or a) query optimiser is meant to do?

With a suitably tweaked ORM, you can pass platform-specific hints down to the DB. The platform's query optimiser should be (obviously up for debate!) the one that's taking a query and working out the most efficient way of executing it.

Not saying it always will always pick the best execution, but if you're getting to the point of supplanting the optimiser you're starting to replace the database itself.

At which point you're probably beyonds the realms of what an ORM can and should reasonably doing, you're starting to writing your own custom persistence platform.
Adding tabular display to Lisp is useful, IMHO. I was thinking about using something similar, but mostly where code looks like data or specifically for Lisp data. I would not be very interested to use tables for control structures, but would like more support for auto-aligned layout for control structures.
How to Choose a Mobile App Development Platform
How Five Iranian Women Built Iran’s Biggest Female Portal
DMD: Be your own bank and a creator of wealth
Should they? If yes, what's the argument, and can the conception of "citizenship" it assumes be reconciled with how most people view the meaning of their own citizenship? I suspect there would be significant tension there, but in any case that's not really my point. It's that there's a distinction between fallacy and opposing viewpoint.
Like I said, I really don't expect to find the "true" answer to all this. My point was basically that our current scientific knowledge may not be able to explain everything. We can observe the brain and see what's happening, but the brain and the mind is still a big mystery in science (as far as I know, it's been so many years when I read about this stuff).

And I believe you immediately, without checking first, when you say that electricity can provoke such experience. In my youth I was also interested in brain wave states and how to "manipulate" them with binaural beats, for example. So it seems plausible to me that electricity can provoke a change in the current brain wave state, and thus induce OOBE like experiences. I think there was even a Kickstarter campaign or something for a device which was supposed to aid in experiencing lucid dreams. It also worked by inducing some electricity, as far as I remember.
Using a safe language would help even more. Safer than C != Safe.
There should not be protected classes..

All people should be treated the exact same under the law
Delivery from local farms like https://www.farmdrop.com/
If intelligent life got as far to have the technology to be able to visit us they at least did not kill themselves off which already reduces the chance of them being aggressive against others.

Tipping off a rogue sentient AI that killed off their own creators is what I am more afraid of.
Your essentially paying for the product at the time of your payment and a 12 month subscription to updates. From that point of view it makes some sense that once your subscription is finished you revert back to the original product you bought you when subscribed. It does seem unnecessarily punitive though.
This is my first post so here it goes:

I'm a 30 yo self-taught programmer from Romania and I've found this page a couple of months ago... since then this is my point of entry to the WWW, this is really adictive! :D

Great job maintining this!
These day I struggle to name things, everyday mundane things. My vocabulary is seriously diminished. It could be sleep. I am pretty sure lack of quality sleep is playing a role, but it is worrisome nonetheless. What gave me some reassurance was coming to know that such symptoms are not that rare.
How to render login form and user register form in Drupal 8 in a custom place
Ransomware ‘Nyetya’ behind new global cyber attack
Looks like the insertBefore call got dropped along the way.
It's clear O'Reilly is struggling. I personally know some authors, and they have made some great books, but I've not bought much from them for around 10 years. They seem to have dropped from my radar. I no longer hear from my friends that they are publishing their books with O'Reilly.

Also, O'Reilly produced and ran a number of excellent quality conferences (ETech anyone?) These disappeared a long time ago. I also remember them sponsoring a whole range of meetups and smaller conferences with books given out for free being quite common. O'Reilly has changed, and they need to change too.

Perhaps the internet and search engines have overtaken technical books in general? Perhaps in seeing their market share decrease over the years they need to make drastic changes to adapt?
The point of an ORM is not to be some magic 1:1 powerhouse, but to make it easy to abstract your storage layer. If I had the time and resources, I would make storage plugins with testing interfaces and dependency injections that precisely match the query patterns of my application. ORMs are almost never an ideal fit but they give me that for free out of the box.
Not really, thankfully we cannot put people in prison by mere majority.

People go to prison if they violate the law, not because 51 members out of 100 voted that someone is a bad guy.

Not even democracy works like that, where the majority rules (dictatorship of the majority.) Or, at least, it should not. There are many checks and balances that are definitely not captured by a simple distributed hash.
It depends, there are quite a number of exceptions. Yeah, if you're going to get yourself into a farm-like outsourcing company as a fresh CS graduate then you'll have a pretty numb programming life in front of you. But there are also lots of start-ups/small companies which do really interesting stuff (some of them have been acquired by Western companies for quite a lot of money or have grown into "middle" companies).

I for example have started doing Django-based projects back in 2006, me and my other programmer co-worker were at the time I think the only Django programmers in our Eastern European country. We had also done some quite cool map mash-ups. But pretty soon after that people around us also started doing Ruby stuff, Plone/Zope (maybe not so cool, but interesting nonetheless), we had a local site that had done street photos the same as GStreetView 2 or 3 years before Google started covering our streets, some Information Retrieval/AI projects, it was not all a technological desert. And in recent years things have started becoming even more dynamic, but I have to admit I stopped paying that much attention to the local IT scene.

But, yeah, Eastern Europe (and Europe in general, with the possible exceptions of London, Berlin and maybe Dublin) will never get even close to the "feeling" one gets as a programmer in SV. In my mid- to late 20s I was pretty well aware of that I and was kind of let down, I was feeling that I was losing out by me not being in SV, but now, that I've grown a little older, I feel like I didn't lose that much by staying here.
There's quite a neat little library with an impressive amount of functionality for interacting with Keepass, called "File::KeePass;".

Here's a copy of the script itself:
https://gist.github.com/kjbweb/38508fd92669101ec1fca4bea62bc...

It works on Mac's too, so I've been told.
Oh not another one of these

I have "JS Fatigue" fatigue
Clickbait title on top of an opinion piece that doesn't justify author's
position. From my perspective, it's a good thing that the link leads to
a non-existing page and reader needs to dig quite deep to find the article.
Best pics
I worked in, broadly speaking, computational studies of surfaces and reactions on them (adsorption, heterogeneous catalysis, AFM, STEM, etc.). In this area, the #1 journal is (the aptly named) Surface Science, published by Elsevier. Although us computational guys do also publish a lot in PRB/PRL and a smattering of other journals as well of course, but particularly for experimentalists Surface Science is clearly #1. So you still have to read a lot of SS articles.
Self Awareness Zero....

So if I oppose all Religion, if I believe All Religion is a threat to the safety, security, and mental health of people. If I believe indoctrinating children into any religion to be a form of child abuse. And I wish to give a talk, or wish to write a book on said subject, you believe I should be barred from speaking or publishing said book in Canada as "hate speech"
I'm sure I'm not their biggest customer, but I have bought in the hundreds of dollars worth of books each year from O'Reilly for the last few, consumed as DRM free PDFs. Definitely going to re-evaluate that. When I want to buy a book on a topic I used to Google "O'Reilly <insert topic here>" as my first port of call. That just ended. I'll look to other publishers first instead, and cease recommending O'Reilly.
This is just an analysis of the snippet, not the script it loads (www.google-analytics.com/analytics.js).
"Or"? They're all excellent and I highly recommend all of them, especially the 3 body problem series.

And honestly the killing star has aged.. weirdly. Amazing concept, seemingly written by an author with multiple personalities, one of whom just cannot shut up about the Titanic
This is not the case - with Django's ORM you are still susceptible to the N+1 problem. It can be largely mitigated through `select_related` and `prefetch_related`, but the fundamental issue is there - that simply by accessing an attribute for an object that wasn't already fetched, you can do another database query without it being at all clear in the code that this will happen.
An ORM provides easy DB access and various implicit operations. The trade off is that if you don't know what you're doing, your app gonna have bad performance. Seems fair to me.

Also, Django ORM documentation is very clear and you can use Django Debug Toolbar to analyse the raw sql generated.
Understanding JavaScript Code Coverage
We wanted to keep the website simple :). We charge a few % over the infra costs, which comes out to about $0.05 per hour per core. Anyway, it's in prototype stage, and we're not charging anybody yet.
Google is very good at linking those and it sounds like people have had their non-developer accounts suspended before.
HN sounds very similar to the FFF forum in Gibson's pattern recognition novel. And I mean it in a good way. Also, if it's not on Hacker News, then it's not news.
That may be the case in the US and/or other countries. Most of the accommodation in the UK is self catering however, private rooms with a shared kitchen between 5-10 people.
>> The economy is not developed, making it extremely difficult to convince anybody to buy anything you try to sell them

You easely get the same thing on the opposite end. In countries where people are used to buy a lot of stuff, people are constantly bombarded with advertisements and drivel.

In a poor country, it is hard to convince anybody that stuff you sell is good. In a rich country, it is hard to make people buy your stuff, even when they know it is good enought.
"They're not just going to be smart... they're going to be mean."
Google Pixel’s Assistant Can Now Control Your Smart Home
I'm the original author of Sequel [1], an ORM for Ruby. Lately I've been finding that ORM's actually get in the way of accomplishing stuff. I think there's a case to be made for less abstraction in programming in general, and access to data stores is a major part of that.

I believe in most cases the efficiencies that can be gained from using an ORM is quickly offset by a substantial dependency on third-party code, limited control of performance, and inability to express more complex SQL expressions, such as CTE's, lateral expressions, JSONB functions and operators etc.

ORM's also tend to pile on lots of functionality, of which most projects will normally only use a small fraction.

For an in-production system I've been maintaining for the last 10 years, I've recently ripped out the ORM code, replacing it with raw SQL queries, and a bit of DRY glue code. Results: less code, better performing queries, and less dependencies.

[1] https://github.com/jeremyevans/sequel
What exchanges is this coin on?
The differences between physicists and engineers
<insert "when you're a hammer..." joke here>

Not to be a jerk, but, running Facebook over AWS is not a CDN problem. That's crazy talk. There are far more Facebook requirements that AWS can meet that Akamai cannot. You have to look beyond their content delivery reqs.

Also, they could absolutely have 800k servers. I don't think comparing their size to Akamai is fair. The requirements of each company are drastically different.

Do I think the 830k is accurate? No, but only because these estimates are usually wrong (unless informed by an inside source).
> The more I use Common Lisp, the more disappointed I am that it hasn't become more popular. It really is higher level than Python, Ruby, or Perl but with nearly the performance of C and C++.

It's nice to hear that I'm the only one. I, not too long ago, picked up Common Lisp and after a bit of "getting it", it suddenly became one of my favourite languages.
And by "getting it", I'm not talking about the difficulties people normally refer to when talking about learning lisps, it was learning how to develop with it.

There's a huge productivity boost in just the fact that your development process is as follows: boot REPL, run your program and then modify your program (while running). If anything is to break, or hasn't been implemented, the debugger just stops your program, let's you inspect your program state freely and you can update the code that failed and have another go.

I'm normally very much to the strong, static typing side of languages. But to me, the Common Lisp experience is dynamic done right, it gives all the tools to handle the problems that arise from a dynamically typed language (even though Common Lisp is actually partially strongly typed) with is a great boon to productivity.
Who are these ISPs? I would love to see a treemap apportioning blame to the worst offenders...
I would argue they 1) leads to lower performance over time due to its demoralising effect and stress.
What you are feeling now is hindsight bias or survivorship bias. Would you have felt this bad if ETH didn't rise to these levels? Nope.

Or would you have dumped the ICO for 2x-5x profit once the "price target" was achieved? Or would you have ridden the hype wave up to the current 30x?? The answer is you don't know.

Limitations of the project are real. If your idea of becoming rich is buying something you don't believe in and hoping it goes up big time, then you should try the next big ICO, maybe you will get lucky.
I've been meaning to do a similar exercise, and this one is very helpful. Thanks.
Started looking at getting into Racket and CL after reading up on lisp and there is something about it that really bugs me, in a good way. Sadly the train seems to have left the station regarding positions where you use lisp where I live. All is java and C-flavors.
Trends in RIPE NCC Service Region IPv4 Transfers
I agree with Hawking:

"If aliens visit us, the outcome would be much as when Columbus landed in America, which didn’t turn out well for the Native Americans."

The picture of Carl Sagan at the top of the article says it all. These kinds of initiatives are always started by persons who want to pose as visionaries.
I enjoyed Blindsight, but it may not be very reassuring to someone concerned about the possibility of aliens arriving with the intention of using us as a food source.

And I really, really tried hard with The Three Body Problem. I get that the English version is a translation, but in the end the flowery language and slow plot just wore me down. Did anyone else have the same experience?

(Off topic, but I find that the problem with fiction based on SETI / first contact is that the subject often ends up being used as a metaphor for the human condition and the difficulty of really communicating with other people. Which is fine, but doesn't make for satisfying SF in my experience.)
Reddit allows (and encourages) people to upload images to their site for a year now: https://www.reddit.com/r/announcements/comments/4p5dm9/image...
Bulgaria has low income tax, but a monsterous social security, EI and pension payments as is with most formerly red countries.

This gives self employed people, or people leaving their profits on a company account an ennormous, unfair advantage
Sherlock here discovered that it asynchronously loads the actual script, which he conveniently did not bother to explore further.
My main goal is to just learn something really well in my spare time for fun. I'm not too fussed about actually building anything, so I don't mind materials that are more theoretical than practical.

I also have a secondary goal, which is to move to another industry, as I'm starting to get a bit disillusioned with front-end web development. That's in the future though, and CG would be only one of many different fields I'd be considering.
That's true, though select_related is mostly the default, and that behaviour is documented well. In practice, I very seldomly find N+1 cases with Djangos ORM, even when doing relatively complex data analysis.
Ubuntu displays advertising in /etc/motd
GroundBreaking Free Software (Grow in Cloud) for Freelance Consultants
Correct, I've had a Google account suspension result in 4 linked accounts being suspended. The others were restored after an appeal though.
Did you check the cited research paper in that book, just to see that the experiments actually test for this, and the results actually match that claim?

It's bad but I found with Kahneman (and Taleb)'s books it really pays to check. The stories told in the books can sometimes be wild extrapolations of the actual research experiments.

For instance, did they test subjects' assertions for all of "the usual cognitive biases"? I doubt it. Or just one particular bias but extrapolated it holds for all of them, but on what basis? and is that relevant in the context of which you cite it now?

I urge you to actually go check. The outcome may surprise you. Tasty clever anecdotes with mildly counterintuitive experimental outcomes sell books.
Why would their Safari service not be suitable for you if you prefer to consume their content as PDFs anyway?
Yes, if you can manage to find even some 40k or 50k/year contract it will put you into about 5% of top earner in population in many central/east european countries.

Prices are not as low as you might imagine, but it will give you a very nice life standards. You are not going to be able to afford luxury cars or other luxury items (those costs the same everywhere), but otherwise you would be set.
Accel leads $22.8M Series A in Swedish telehealth startup, KRY
Journaling Platform 'Day One' Transitions to a Subscription Service
> But, yeah, Eastern Europe (and Europe in general, with the possible exceptions of London, Berlin and maybe Dublin) will never get even close to the "feeling" one gets as a programmer in SV

That's exactly the thought that hits me every morning I wake up. That "feeling" that you're in the right place and in the right time to build some truly revolutionary technology. I hope that I start getting this feeling here, in Bulgaria, soon. Otherwise I'll have too many reasons to emigrate for a few years.
Gay marriage and the six rules behind Angela Merkel’s political longevity
> I think there's a case to be made for less abstraction in programming in general, and access to data stores is a major part of that.

I'd like to hear more of your thoughts on that.

My experiences with ORMs are less about too much abstraction, and more about them encouraging wrong abstractions. I'm yet to work with an ORM-using project that doesn't employ ORM objects as business model objects. The ones I've worked with always exploded due to the fact that even with ORM, database model doesn't map 1:1 to how the business logic would like to see the world - and the tension of trying to use one set of objects for both purposes at the same time is what messed up the codebase.
if the latest hot "internet culture" property to come out of Tumblr is a year-old frog meme then maybe they truly are doomed. or maybe NYMag is clueless and nobody on staff uses the web.
Mkosi by Lennart Poettering – A Tool for Generating OS Images