skysight-inc/HackerNews huggingface dataset:
The trade-off is that of every higher-level VS lower-level anything when it comes to computers:

Higher-level: Dependent on the quality of the "bridge", but generally you will benefit from good-practice security measures, less repetition and more idiomatic code with regard to your language of choice. What you lose is the cost of the bridge and the fact that the bridge itself has to be maintained over time, requiring you to keep up with any API changes.

Lower-level: Generally less approachable for beginners, highly dependent on your capacity to understand all the implications of the choices you will make, will yield more performance if used correctly because the layer between you and the system is smaller but with power comes responsability.
If you're not having children, who are you saving the planet for?
Mark Zuckerberg notes and highlights from Congress hearing
Stonebraker: My 10 Fears about the Future of the DBMS Field
(in between compiles...)

Raw SQL for simple stuff, of course - easier to debug, transportable to multiple languages.

For non-trivial stuff...

For read-write access, no choice but ORM imho - are you really gonna create stored procedures for every type of update?

For read-only access, raw SQL is an option, but it gets tricky with layers of VIEWs. Must be at least as powerful as Postgres e.g. partial and function indices to hide the underlying physical structure without paying some horrendous performance penalty.

(experience from trying to avoid ORMs in 3 startups... someday I'd love to add SELECT * MINUS <columns> to PostgreSQL to make VIEW authoring more scalable...)
I find Asimov's language to be very un decorative, or as you put it, boring. What I enjoy in his writing is the ideas, story and characters.
Just to mention another alternative, I've been using a QueryBuilder library on the last two projects. The code's prettier than it would be with raw SQL, plus there aren't ORM downsides.
If you join an instance that caters to an interest of yours, then you can look at the "local timeline" which shows only public posts on your instance.
I'm with you - I find both AV1 and x265 to be over-smoothed. On the other hand, at these compression ratios, you don't get something for nothing, and I certainly appreciate the lack of block artifacts.
Udemy April Sale – All Online Courses Are for Just $10.99
Unfortunately this amounts to unreciprocated virtue. Ultimately I believe all the demographic optimism will be confounded as we are effectively selecting for women who are broodier (and similar for men). Having met women who 'just love' the feeling of having a baby inside them. It's not something learned.
I'm no expert but I would say no. Each frame delta might have less/same information, but since you're applying more deltas/second, it gets better again.
Other people’s children?
Well, I also imagine that the native code is mostly C89 or C++98.
Good question, assuming this does help the situation, who should have children and who shouldn't?
Animals, plants and other beautiful things. Saving it for life in general does not sound too bad? If it goes between leaving a dead rock in space, or keeping this lively rock around albeit without humans, that does not sound too bad. You can turn your question upside-down. Why should there be humans around to enjoy it in order for it to be a thing to strive for?
But what's the supposed ground truth that spouses and algorithms were tested against? Self reporting? Some other glorified coin flip algorithm that maybe just did the same mistakes as the "thumbs" algorithms? An export panel populated with people that, unlike the benchmarked spouses and acquaintances, used the same jargon as the algorithm authors?

(Glancing over the footnotes it seems to be (b), some other algorithm)

The beauty of adtech: it's perfectly fine to be wrong as long as advertisers think you are right.

On meta level, this "better than your lover" meme/study is surprisingly enlightening.
I missed that opportunity. Now my only option is to populate earth (mars and everything else if possible) with better humans than i am.
After reading Johnny Mnemonic I saw the movie and liked it so much that I bought it on DVD. We all have different tastes. I liked the mood of the movie, thought it worthy of being a cult classic.
For the people who don't give 2 shits.

I realize that sounds like a meme, but it's kinda true, isn't it?

Might be better to have kids so you can rease them as super-heroes that fight the planet-killers?

This is a very un-ycombinator feeling thread.
> Not everyone's goals however are to get huge muscles

I should point out that strength training != bodybuilding
I think Bicentennial Man was a good film in its own right.
Seems counter intuitive for a bunch of apparently smart people to write themselves out of the gene pool.
http://vhemt.org/
To think one persons’ action on not having one or two kids will save the planet. Must think highly of themselves to think it will make a difference.
Given the use case, I bet it was most likely written in Clipper.
Funny story - I had an old short-length insecure password on a website that I hadn't used for years.

I decided to log in and change it to a randomly generated secure password. However, they had upgraded their off the shelf software some time over the last 4-5 years to a newer version.

The problem was, on their password change page the "new password" field had a minimum length of 8 characters, however the "OLD password" field also had that exact same requirement.

So I put in:

* Old: 12345

* New: 717&t!1XFCWJWk!q@ut3B

* Confirm: 717&t!1XFCWJWk!q@ut3B

And got an error "your password must be 8 characters or greater".

After swearing a few times, I breakpointed and edited the javascript validation to remove the length requirement and submitted the change again - this time got a server-side error saying the same thing.

I ended up beating it by logging out, clicking "I've forgot my password" and resetting it via email.
It's not like manufacturing companies don't need marketing. Any commercial entity needs to do those same things.
No, we are talking about LLCs. LLCs are not corporations.
I used to work with a guy who said he used to have this mentality, and now he's older and childless, he deeply regrets it.
"having one fewer child (an average for developed countries of 58.6 tonnes CO2-equivalent (tCO2e) emission reductions per year), living car-free (2.4 tCO2e saved per year), avoiding airplane travel (1.6 tCO2e saved per roundtrip transatlantic flight) and eating a plant-based diet (0.8 tCO2e saved per year)."

http://iopscience.iop.org/article/10.1088/1748-9326/aa7541

https://motherboard.vice.com/en_us/article/3kn5z9/stop-telli...
Half of the problem you mention are either:

- if you tried to support Python < 2.7.

- if you tried to support Python < 3.3

But nobody used 3.0, 1 or 2. And supporting 2.6 is like supporting ruby 1.7 and 1.8 and 1.9. Which nobody did.

And it's easy to rewrite libs when really the language started to be used in 2004.

Or maybe not, given that "gem install" still regularly crashes on anything other than the top 20 packages, so it's still not a solved issue.
Typically, I would agree. Yet, I'm fairly certain Google has good reason for doing so.
The Fanboy Social list is mostly cosmetic filtering, it won't prevent connection to Facebook servers.

For this I suggest dynamic filtering[1], as this guarantees there will be no connection to sites with block rules, and block rules can be easily locally overridden in case it is needed for a specific site.

[1] https://github.com/gorhill/uBlock/wiki/Dynamic-filtering:-to...
I use both raw SQL and Hibernate in my applications.

For simple CRUD (Create, Read, Update, Delete) operations Hibernate is excellent and does the job damn well!

But as your data model gets more complex, you need to write more complex queries. For example if you need to build a tree with child/parent nodes. This can only be done with CTE(Common Table Expressions) https://www.postgresql.org/docs/10/static/queries-with.html

Hibernate and "all" other ORM's out there doesn't support CTE's and this is where you want to use raw SQL's instead. There are also other examples where I want to use specific function, for example the array_to_json function in PostgreSQL.
We are not our children. Though they might carry our genes, our ideas, and our appearance, we will absolutely still be dead one day.

Other peoples children are almost genetically identical to us, and to ours. Depending on how you live your life, people other than your children might carry more of your ideas forward. And in the scheme of things, all humans look like you, when compared to rabits.

Only caring about your own children seems like a strange place to start.
I felt that the Will Smith movie was pretty good and true to Asimov's stories. There is a common theme in Asimov's stories that he exploits loopholes in the interpretation of the 3 laws. I robot the movie did that pretty faithfully. It also hinted towards the advent of a robot like R Daneel, who would see beyond the 3 laws.

The movie didn't adapt any particular book or short story, but that doesn't mean it didn't try to be faithful to Asimov.
I feel like I understand this situation fairly well and I still use Facebook, is that a mistake or very bad idea?
My guess would be for some imaginative, idyllic Eden where all animals are herbivores and all remaining humans sit around solar ovens getting high off their own hubris.
Does only human life have value? Or should other organisms exist as well?
Good job, more space for people who don't care about the planet or anything outside their tribe
s/security/bug

I don't think that centos 6 is bug free yet it EOL in 2010 too.

Actually i'm using it right now and I'm positive it has at least one bug when running in virtualbox.

My client won't upgrade. They pay support, expensive support, to keep their old version.

In 2020 I'll open a shop to convert old Python code bases or fix bugs in them. I'll charge 4 times market rate. For me it's a net win that people don't migrate.
Earth's gonna get hit by another big meteorite at some point. When we get to that point, any species that hasn't been lifted off the planet by humans (or whatever equivalent is around at that point) are gonna be wiped out regardless. We're the best hope for a continued existence in the long run, for all life.

And if the argument is that animals are happier without humans around, you should watch some nature documentaries. Nature is brutal.
It is no different than ensuring you have the right libc.so in place.
According to this: https://en.wikipedia.org/wiki/Tragedy_of_the_commons

She won't save the planet acting this way
For simple queries, I totally prefer ORM because the code that converts the results to objects is more work than learning/writing the ORM API.

For complicated queries involving joins and/or complicated conditions, in my experience writing the raw SQLs directly is simpler and more readable than ORM. However most ORMs let you use raw queries and you still get the benefit of not having to write the conversion code.
Do you recycle?
Raw SQL queries will perform fast if you write correctly. No ORM will stand close. Stored procedures help a lot. It's close to C/C++ in a sense that is easy to shoot yourself in the foot.

On other hand, ORM helps to write code that can be unit tested and you can test that some data retrieval conforms to certain principles.
Here's some light benchmarking (this was posted a few weeks ago I think...) https://hackernoon.com/which-is-the-fastest-version-of-pytho...

Basically once 3.7 is out (which is soon), CPython3 will finally be broadly faster than CPython2.7.

Interpreter startup time is still annoying though. I really wonder what the right strategy for addressing that is. Like honestly 2.7 is faster than 3.x, but 2.7 CLI tools still feel silly to use.
There was a weirdly named thing called "mybatis" around awhile ago, that had a nice balance where the SQL was contained in one place and communication into and out of it was objects, but it was actual SQL (amenable to DBA optimization) and not some library doing things for you cleverly. Not sure if it's still a thing but I'm surprised that model isn't more common.
Software Development Trends 2018: Latest Research and Data
It’s almost like their attitude isn’t very smart at all. It’s a naive reaction to the issue.
Advantage of Alpha and Beta versions before going out live publicly
The total open interest of Bitmex + okex is around $1bn of futures. That's $1bn of shorts open on bitcoin.

Bitfinex has around half a billion of Bitcoins borrowed.

I'm not saying $100m is easy, but it is definitively doable in todays crypto space.
Bethesda Has More Exciting News for Nintendo Switch Owners
Ask HN: What privacy focused plugins do you use?
In the wake of a lot of the concerns for online privacy and being tracked online it's become more and more apparent that plugins are necessary to sort of 'harden' your browser from leaking too much information (which can be used to track and identify you online) by restricting what the browser can do.

What are some of your favorite plugins?

Some I've found recently / have been using for Firefox include:

Decentraleyes, CanvasBlocker, AdBlocker Ultimate (kinda hard to figure out which AdBlocker is the "best" / trustworthy), Firefox Containers, Facebook Container, Don't Touch My Tabs, and Disconnect.

Notice: I know this doesn't stop them from fully tracking us, but it at least helps, and in some cases improves browsing experience on the web tenfold.
Fine, but people that don't give a shit still reproduce. Result: More kids that don't give a shit, and less that do.

She could better have 10 kids, so her kids can "out-vote" the kids that don't give a shit, and they can put their head together to make a real change.
Decentraleyes also makes a Chrome and Opera extension:

https://decentraleyes.org/

"Don't touch my tabs" does not exist on Chrome, but some random author created an extension that adds rel=noopener to all _blank links:

https://chrome.google.com/webstore/detail/safeclick/npmhmkil...
Airborne attacks on IoT devices
The discussion here show how much computer languages are human's work, with all humans' little approximations, taste, creativity, etc. Great read :-)
But it didn't scratch the particular itch that Asimov's writing does, in my opinion.
If you're at that point I have to wonder whether you'd be looking at this article.
What if that not born child makes the critical breakthrough discovery?
I bet you also don't vote :)
Or your adopted children, you don't have to reproduce to have a child.
You're not just avoiding the environmental impact of your hypothetical children, but also grandchildren, great-grandchildren, great-great-grandchildren and so on.
We should develop a model, but wouldn't it be more efficient to have children and educate them rather than letting others influence our future?
> sleeping in two sessions ("first sleep" and "second sleep") of a few hours each.

I still do this sometimes. Eat and shower directly after work. Then sleep until like 9pm and stay wake until 2am. Then sleep again until i have to get up to go to work.
Why on earth is the decision of a random woman not having children on the BBC?
He does pretty much the same thing though; a lot of serial youtube series have a "hook", Cody does the hey guys, thumbs up, welcome to cody's lab thing. AvE does "welcome back to the shop today a treat especial", DeFranco does something something beautiful bastards, etc. I think it's a way to tune into videos, or... something. Also for the video creator themselves.
Hm. I always think these statements are a bit weird and somewhat trying to hide something else.

I don't want children because I really don't want to have children. I think children are a ton of work and I really don't think I'd get enough out of it to make it worth the investment. It's a bit of a rational look at things, but that's how I feel about it too. Being gay complicates the whole process anyway.

I often get weird responses from people if I tell them this, as if I gave them a slap in the face, so I get why people would hide behind the environmentalist point of view.
Problems with CSVs (2016)
I'm not having children because they are awful creatures, and even worse the grow up to become adult humans.

I am doing it for selfish reasons, it's cheaper not to have them and the entitled shits would never look after me in retirement, so why bother?!
the GIL was not removed or at least a solid parallelism story was not included

Not for lack of trying. People have been trying to do this since at least python 1.4. They just haven't found a way of doing it without negatively affecting single threaded performance, which Guido considers an unacceptable trade-off. http://pyparallel.org is probably the most interesting latest experiment in this field, but it never got cross platform support and seems to have stalled out.
there is a certain selective pressure to tend to care a little bit more about your children than somebody else's children (as well as caring to a broader kin such as humanity vs rabbits).

it's not right or wrong, it's just an instinct that has been selected through evolution because apparently it favours carriers of such genes to outnumber those who don't.
What critical breakthrough discovery?

We're not going to magically fix climate change.
Good point. We had great success doing this with our PHP code base. For us it wasn't about pretty or not-pretty code, but rather about type safety. The idea that you can have a method which accepts "WhereClause $constraints" instead of "string $constraints" means you can be much more confident that the code is correct.

We actually wrote a custom query builder because none of the available ones (e.g. Doctrine) had the type safety that we desired. A direct parallel to what we used is the Java library JOOQ, in terms of its querybuilder API [0].

[0] https://www.jooq.org/doc/3.10/manual/sql-building/sql-statem...
Newspapers did it before it was mainstream, with headlines that kept getting bigger and more screamy.
Do you recycle anything other than tin and glass?
Oh, you're correct.

I read some sarcastic financial blogs and let's just say the "muppet" theme there is recurring when it comes to the "squid" :)
Create an onboarding template for your team/company
Seems to be a 'Netflix Original' in my part of the world. What that term means appears to be coming less and less clear.

https://deadline.com/2016/10/space-drama-the-expanse-streami...
>> It's just that we, as a community, will stop to pay the price for the ones that didn't move. If you want to stay there, you'll pay a commercial actor for it.

That's very well put. But I guess this can happen only with big, important, projects where you can afford to loose/upset some users...
This - you really want the best of both worlds. Use an ORM that lets you mix raw sql in where needed, or generate it directly - sqlalchemy.org is a great example of being able to mix and match as needed using the same core library.
It is possible to read that sentence as "million Euros spent to deliver working solution, which includes a full rewrite of everything employing well-paid senior-level engineers in Europe".
NoScript doesn't stop the tracking. See the noscript tags in the html example of the post you replied to.
This is wrong :( Wiki had wrong info for a long time, more at http://www.os2museum.com/wp/how-fast-again/

USB 1.0 already had both 1.5 Mbit/s "Low Speed" and 12 Mbit/s "Full Speed" modes.
For those who don't use ORMs in large projects:

What's your preferred approach to store table definitions and migrations? Raw SQL queries there too? Doesn't it make them more susceptible to mistakes?
'childfree'. He only says he regrets it to make you feel better about having one.
The more you're free to amble around the Web 'liking' things the more data Facebook can accumulate and the more lucrative you become. Why would they want to restrict that?

As for stifling competitors, Facebook actually benefit from a free-for-all Internet because they can watch trends and identify what needs to be done to capture each successive generation of users, slowly folding them into the big Facebook family.

I don't like the company but I don't think they want to lock the Internet down . I reckon they know that will just lead to something really disruptive and destructive that they won't see coming, like some app that spreads by sideloading.
There are also a lot of people who regret having children, which causes a lot of misery too. Children are certainly a gap-filler for a lot of people, but imo there's nothing wrong with being content with other people having them, and plenty of ways to interact / benefit from them (aka "society.")
Or very lowly of themselves, making a selfless decision that is so personally significant, yet by itself so objectively insignificant.

Although in the interviewee's case, it seems she personally didn't want to have children anyway, and considers environmental concerns to be a justification for that preference.
Paper?
Yes? Newsprint, cardboard, plastic, metal, coloured glass, clear glass and food waste go into seperate containers. Also batteries and lightbulbs are collected seperately.
In the Parsi faith, neither burial or cremation are used. In Mumbai there is the famous Tower of Silence (not visible, or accessible to non-believers), where the bodies of the deceased are laid out on top for vultures to eat.
Ad blocking is herd immunity
How the Baby Boomers–Not Millennials–Screwed America
We might. How can you be so sure.
You have consented to your friend having your data in his phonebook...it has nothing to do with Facebook. Its like saying that if your money is in a bank, and that bank gets robbed then the theives are responsible for you getting your money back, not the bank. You as a third party have no recourse on Facebook, but you should against your friend who shared the phonebook with consent

As for the grandma analogy, you indeed did consent to your data being shared, as thats what you agree to as being part of Facebook
> was it originally posts only for yc funded startups and it eventually became general techie/science news and thus acquired a lot of people who are yc startups?

Yup, that just about sums it up.
I find -> to be useful when poking around in the REPL but IMO it should never be used in real code.

I spent some time as a package author, that’s where I found <<- to be the most useful
> Why should there be humans around to enjoy it in order for it to be a thing to strive for?

Advanced consciousness may be the key thing the universe has going for it.
100 billion could, without problem, live on this planet using nuclear energy and vertical farming.
To be perfectly fair with you, you can make bad choices and still get something useful done.

Most companies are not alive "because they chose mysql over something else" they're alive because they have "good enough" tech to get the job done. The job that they're trying to accomplish is the thing that makes them successful.

Uber isn't super huge because it used a specific database technology. It's huge because it's good at marketing, it's providing some value to people.
Those of us that think they're not so smart are quite happy with the net effect on the gene pool.
How slime-crazed kids made gunk a booming business
Short answer: First one, then the other.

A good ORM that abstracts away simple access, querying and database creation can be a godsend during many early iterations of a project.

Eventually however you may start to hit boundary cases where an ORM is unsuited or generates slow queries. Once you identify slow queries, then drop down to raw SQL to optimize only when you know where to optimize.
Just making up to 2 children is having a similar impact. 2 is just bellow population renewable rate. Is everybody was having 2 children world population would slowly shrink.

The real deal nowadays are people having 3 or more children. Once you realize that we are consuming 1.5 times what the earth can renew every year, it is a complete non-sense to make more than 2 children.