skysight-inc/HackerNews huggingface dataset:
"Effective Modern C++" is extremely well written (https://www.amazon.com/Effective-Modern-Specific-Ways-Improv...)

It cover very smoothly most of the main C++11/14 features, while explaining the pros and cons and the inner choices that has been made when those said feature were implemented

Highly recommended book by the community
ORMs are fun to play with, and are probably better for productivity in small apps.

However, for anything more significant than such, I find that writing SQL is not only more performant but also allows for greater productivity (do exactly what you want the way you want it without excessive digging around to see if it can been done/has been done).
I couldn't agree more. IMO, not wanting children for one's personal reasons is perfectly fine, there is no need to make it look like there is a higher noble reason behind it.

IMNSHO what is completely unacceptable is having children just because you "have to".
Companies who cannot upgrade their codebases are companies who cannot maintain their codebases.

Eventually, the technical debt hurts your ability to deliver with both speed and safety. When your org can't do that, your org stops being competitive in the market, and if the market doesn't kill your company then the brain drain will.

(small and non-notable exceptions for the literal handful of types of orgs where this is not the case)
Every time I hear a rational, intelligent person expounding why they decided not to procreate, I have to think about the opening scene of Idiocracy: https://www.youtube.com/watch?v=YwZ0ZUy7P3E

Don't get me wrong, everybody is free to make their own decisions (and I would be the last demanding from anybody to go through parenthood), but sometimes it seems as if intelligence is not an evolutionary advantage.

There are whole subcultures of people who spend their life breeding, while especially the DNA lines of intelligent, working women just seem to end there. And it does not help that there are all these seemingly rational argumentation lines against children, e.g. about environmental impact. If you can pass on your education (and maybe some intelligence-related DNA), it may help society more overall in the end. Think of a big birthday party of an educated grandparent you may have visited - this procreation thing is an exponential function.
The kinda comment that shows how arrogant we are in thinking if there are no humans, the planet isn't worth saving.
Yes and he was not under oauth.
Well if she finds having children not to be attractive, that's fine. But I doubt that further decline of birthrates in the West will stop overpopulation.
I've been working on
https://www.idiopage.com for a week, MVP should be finished in the next couple of days. Hoping this side project can make some money but I want to try and improve my sales and marketing skills in the process even if it flops.
https://clojure.org/guides/destructuring

Basically it means that you can assign several variables at once, by asssigning a complex value to an aproprietly structured literal with variables as placeholders.

In pseudojavascript, let's say you got this from some API:

var someList = [1, 2, 3, 4];
var someMap = { name: "John Smith",
age: 20,
cars: [{ id: "AAA-1111", model: "Ford T"},
{ id: "AAA-1112", model: "Mercedes Benz"}] }

And you want to extract useful data for your code quickly. In languages with destructuring you can do sth like this:

var [x, y & rest] = someList; //x==1, y==2, rest == [3, 4]
var { "name": name,
"age": age,
"cars": [ {"id": firstCarId, "model": firstCarModel}
& restOfTheCars ]
} = someMap;

And the language will put the correct values in your variables name, age, firstCarId, firstCarModl, restOfTheCars.
These Robots Are Learning to Conduct Their Own Science Experiments
One of the big things to come out of the semantic web was RFD-A (embedding semantics in unstructured web pages) and similar technologies (microformats, JSON-LD, schema.org). It's what lets Google show product reviews and rankings in search results, and lets shopping aggregator sites show things like price comparisons from other websites. While it's probably not as widespread as its boosters from a decade ago hoped it would be, it did lead to some helpful technologies that are in widespread use now.

I wonder if Facebook won't someday be forced to publish its social graph data in FOAF format the same way Microsoft was forced to publish its Office document specs as part of an anti-trust decision.

Speaking of Facebook, the OpenGraph tags are another example of widely-used semantic data on the web, maybe the most widely-used, since all kinds of sites pull in page summaries, images, and other data from those tags. So while Facebook doesn't make social network data available, it did popularize a format for sharing other types of data (about companies, articles, websites, etc.).
It's an interesting question of whether someone (e.g. my future childhood)) will produce more value than they consume.

Obviously, selfishly, my own child is inherently invaluable to me. But that kid could also grow up to make a positive change in the world, or at least make the change which leads to a positive change in the world.

On the other hand, consumption in Western countries is already and increasingly way too far in excess of what's necessary or healthy. So if my kid ends up simply getting by in life, even raising them to be "eco-conscious" wouldn't be nearly enough to offset the normal bite each person takes out of the environmental pie. And that's just trying to break even.

I'm optimistic about this and do plan on having kids, but the goal is to raise them to make a real positive change in the world, at a high level. That way the cost they incur on the world will be seen as a worthwhile investment, not a waste of resources!
The reboot of Battlestar Galactica had a female Starbuck and it worked. One of my fav series (I never saw the original).
It's essentially the same instinct that pushes you to have 12 children and clear a large swath of forest to create arable land to feed them. There is nothing superior about your children, and chances are you will find an underprivileged child you can support that is much smarter than the average offspring you could produce (not that it should matter).
We are the result of our choices ;-)
We do need more technical people running for office, or just those rare, almost extinct people with ethics/morals.

Even if we had technical people asking questions, by the time any bill/regulation gets written those $1200/hr. lawyers/lobbiests have pretty much written the bill, or squashed it.

We don't need experts; we need ethical people running our country.

I'm so disenfranchised, I kinda lost steam, but we should be watching these politicians like we keep track of technology on Hacker News.

There are sites out there that track these politicians, and their voting record, but life seems so hard, I have a hard time looking at the Sellouts; let alone combing over 1000 page bills that I will have real say in.

Actually, I would like to see bills, and TOS have a one page limit, maybe under a certain word count?

I don't know the name for what I'm seeing in politics, and many professions, but my next sentence is what I'm seeing everywhere.

It's make it so seemingly complicated/convoluted the masses will just quietly go away, and we will still be very wealthy.
And yes--it's about their money.
I was going to post the same comment, having just recently finished the 7-book series.

Stoked to have discovered the handful of prequel novellas providing backstory.
Even without meteorite: 1 billion years from now the Sun will output enough energy to make it a lot less enjoyable.

5 billions years from now the Earth is no more.

So long term if you want Earth based life to endure you need it to start getting the fuck out and spread. At the moment it seems the best positioned for this are humans.
Hence my belief that at the end of the day CSV is actually more considerably more complicated than XML.
IRC was the best online course you could have had back in early 2000s, provided you could come up with the right questions, read the right books and did your own research first.

Maybe this is still the case?
Without breaking up a sweat. USB 1.0 is >1MB/s, CD x1 speed is 150KB/s.
Same here, we use Knex.js Querybuilder to build queries and fallback to `knex.raw()` for very specific SQL queries.
Not hiding, because there is a world of a difference between "because of x" and "exclusively because of x".

Emphasizing that one argument of many is a defensive act, inspired by the almost universal subtext that parents are somehow better human beings than the childless.
Why people are so short sighted and focus only on the numbers instead of seeing the root cause?

The root cause is how we live and treat our enviorment, our society with it's consumerims uses mostly non regenerable energy sources to produce mountain of useless junk that breaks fast or it's out of fashion, driving big polluting cars and eating lots of meat that leads for deforestation to provide land for the crops that are eaten by billions of animals that are slaughtered every year and many other irational things the modern man is doing to it's planet, it's home.

Reducing the numbers while keeping this insanity going will no help much, it will only slighly delay the inevitable.
No that's just how IT works.

Your games don't work in windows XP anymore. Actually, your USB3 mouse doesn't work on windows 7 out of the box.

Centos have LTS, but still EOL.

Ubuntu init system was changed to upstart. Then to systemd. Also gnome, then unity, then with new menu/notif/systray semantics, then back to gnome (but shell), and soon wayland. It breaks a lot of things.

Firefox new addons don't work with some addons from last year.

NodeJS had 3 incompatible forks in it's short life.

Twitter and Facebook API breaks every sunday.

JS frameworks are just madness.

Python break compat, ONCE.

Once since 1990.

Also gave 10 years to migrate.

In our industry, that's not bad at all.

And the community hold. We worked. We wrote tools, doc, blog posts. We were there all the way. We have incredible libs like python-future to help.

And if any of that is not enough, well, Anaconda Continuum will be happy to do business with you.

It's how it is.
Great point. It seems to suggest that her decision is important for other people to hear and also consider. Either consider as in "I should save the environment and not have kids too" or as in "Wow, this is a warped perspective."
RAW SQL of course.
* Create the database for the queries you will use, then, for the admin panel, you can use an ORM (but why would you mix the 2?), but for front-end I always use RAW SQL (PDO, to be exact).
ORMs can be used poorly sure, but anything I can design using raw SQL I can typically do with an ORM. The question is, are people using ORMs as a way to avoid having to figure out proper database design? If so, they should not be using an ORM and should really learn how the database they will be using works. Heck! There's micro ORMs like Dapper which let you run raw SQL and match it to an actual object for you, to be fair almost all ORM's support doing raw SQL and getting back an object which can be handy for performance bottlenecks. Badly coded software will usually have performance issues, whether using raw SQL or not.

Update: Fixed typos.
>"Strawman. Types are not about the difference between a string and an integer, they're about the difference between a user id and an order id, or a non-empty list and a possibly-empty list, or..."

Can you explain - how is the difference between a string and an integer different from the difference between a user id and an order id? You're calling the OPs comment a straw man but I'm not understanding how your examples are not the same thing given type system that understood all four of those.
I use ORMs as a programmatic way to generate SQL for me.

I do NOT use ORMs as a replacement for knowing SQL or using SQL when it's appropriate. I think this is where a lot people get into trouble. They assume they can use the ORM and not need to know SQL.
OK, I can see that. For me the environmental impact is a nice bonus, but it's never something I'd mention as a reason for not wanting children.
I'm firmly on the side of raw queries with binding params to avoid SQL injection. This is doubly true with complex queries. I can't count how many times I've crafted my SQL query very quickly, and then fought the ORM query builder.

Often, ORM proponents will say that is why any true Scotsman, erm, I mean ORM, will let you drop into raw mode. But that can have problems with testing. If you test against your ORM one way, it might just not work to test it against raw mode. And, thinking of testing, I'm also a fan of testing your SQL or ORM against a real DB (one that is set up and tore down per test). I know there are some unit testing purests that don't like that and thus prefer an ORM.

Many who like ORMs claim that they are so much faster for the programmer. Maybe for basic CRUD and composing simple conditional WHERE statements. And I contend that really is a "maybe." But I've been bit by poorly formed ORM queries (either does not do what you planned or is too slow, or one of my favorites: it returns ALL records and the ORM filters that app side to give you the ONE matching result) and I've lost enough time trying to force the ORM to make the query the way I want it, that I opt to skip that whole class of problem whenever I can.
But these weren't the same products as Facebook.
> Movio Cinema's core functionality is to send targeted marketing campaigns to a cinema chain's loyalty members.

That's a different use case c.f. Facebook Ads.
If voting habits were genetic we could replace natural selection with electoral selection. In a sense, Europe experimented with that in the first half of the 20th century, didn't go well.
100 Billion, all farting at least once a day, and you might have the biggest global warming ever.
I've only had bad experiences with ORMs. You get implicit behaviours and performance nightmares.

SQL isn't hard to write, unless the model is poorly conceived, in which case throwing an ORM at it will only makes things worse.

It really depends on how many tables you have, and how you generate their definition.

Personally I once had to start a fresh project with a large amount of tables, I generated the few CRUD requests I needed on all the tables, and commit them in my VCS. Then when iterating I would update and tweak them manually, either for performance tuning or new features / joins / schema changes etc...

This is not to say ORMs are to throw in the bin, I'm sure they solve some problems, but I've never fund myself in a situation where they would help me more than slow me down.
Depends the quality of the ORM really. For simple queries (basic insert, basic select), pretty much every ORM will do the job and in a more readable way than SQL. For something more complex, if the ORM isn't great, I prefer writing SQL directly.
Do you think the performance would have been better if the same programmers who introduced them using the ORM had been forced to use raw SQL?

I've seen far too many cases where programmers get around their lack of SQL knowledge by writing a bunch of basic queries and then post-processing the results client side.
What is the recommended way on a traditional Linux desktop? Apple Music on iTunes on Wine?

(I really enjoy the books, so I would like to experience that adaptation.)
> Might be better to have kids so you can rease them as super-heroes that fight the planet-killers?

Please don't. While I understand that you might think that it is unfair to those people who decide not to have kids, they made the decision.

What you're suggesting is arguably worse. I certainly wouldn't want to be raised with onus of having to clean up the planet after the wild party of my parents.
I think "not entirely true" is an understatement. Bitcoin has a 115 Billion dollar market cap and is traded all around the world in arms length transactions for local currencies and is treated as fungible. Like to gold market people loudly insist that its manipulated but I don't understand how it could be to any large degree when I can go to a pawn shop and buy or sell it anywhere in the world. I'm not sure what central regulatory body would give any greater confidence than that fact.
While this is an interesting article on history, this isn't an actual criticism, is it? I've never heard this criticism.

I really don't think saying "a = 1; a = a + 1;" is the equivalent of saying "1 = 2" because "a" is a variable.
The solution is probably buried in the reasons people use to not have children. The “costs” to raise a child can easily exceed a family’s abilities. In the US, maternity leave, if offered at work, only lasts the first few months. But the child’s need to be supervised 24/7 doesn’t end for maybe even a decade after that. (I don’t know the real timeframe, but suffice to say it’s years.) A family needs to find someone or company to watch their child(ren) for years. That alone is a prohibitive requirement. I think society could solve two problems with one here, but clearly not with current market factors. Society could subsidize child care - thus increasing employment, GDP (ultimately), and family formation.

This is just a hypothetical example.
This is the false assumption that your offspring think like you do - sure, it definitely helps, but if you want to have kids and operate in this way, you have to work a lot harder than just sending them to school.

For a lot of people, they will have more effect doing things today and informing future generations than they could by having their own kids.

That being said, if anyone is at all serious about carbon footprint reduction, the message should be clear - your job in life is less about how many kids you have, and more about how many other people you can stop having kids.

Birth control is one big step, desensitized sex is another big one (more porn!), even more effective would be a child tax or even limit. A tax is more humane and would allow those who have generally lived better to produce more, anyways, than those idiots who 'dont care'
Speaking of the Matrix, years ago I stumbled upon The Animatrix which was a surprisingly good set of animated shorts set in the world of the Matrix. My favorite one provided backstory on the robot holocaust (inflicted by humans on their sentient silicon-based slaves), that led to the collapse and reversal found in the main series. Highly recommended!
Also, if you want to install Python tools (as opposed to working on code), take a look at pipsi, which simplifies the whole process.
I'm well aware of that, but the ggp was arguing that "check in" is a generic term and "commit" isn't. That's pretty obviously nonsense.
People are so afraid of SQL they end up putting in 10x the effort trying to do it with an ORM. You just don’t need it, just a day of studying SQL is an investment that will pay off 100-fold.
Millions of species flourish and procreate without destroying the planet. Their populations rise and fall in harmony with other species and the resources nature provides. Only one species is destroying the planet, and it’s not because we’re acting like animals (procreating and such).

It’s because we’re acting like humans.

We grow food where it’s not supposed to. We survive disease, natural disasters, shortages. We live too damn long—not only as a species but as individuals. Think of one natural check or balance we haven’t either turned off or are actively working to. Even minor inconveniences like boredom or unwanted facial hair we’re putting coal to flame to destroy.

If you want to save the planet, have lots of babies, live a simple life, and die young. And if you’re wondering where I got this from, watch Disney’s The Jungle Book. It’s all you need to know.
The Internet is the infrastructure plus a set of protocols, with HTTP being just one of them. The protocols the most heavily used tend to be regulated (at least in the EU...), the rest - not so much. So each time I hear someone talking about "the death of the Internet" when they mean regulation related to the WWW, I feel at least we as "hackers" should remember this important distinction because sooner or later, once the web becomes even more regulated, we might want to turn to these remaining protocols in order to communicate more freely, and without the blessing of people who create web browsers (that became so complex you practically can't compete here unless you have tons of money).
The biggest advantage of using RAW SQL is that you learn it 'quicker'. You will make mistakes, but hopefully those will be found before they make it to production.
If you get used to ORMs, you probably won't know how to optimize your queries..
Funny, calling people out on ‘ no true Scotsman’ in your straw man reasoning.
> die young

No thanks, I'll just not have babies.
Zuckerberg gave his grueling, 5-hour testimony to Congress from 4in booster seat
I'm confused. Once you develop technology to travel to a bunch of different star-systems in a lifetime, space isn't so "vast" anymore.
One thing I have found out useful is having a setup where you can easily write test cases for ORM queries using a real database and see a log file of generated SQL. Most of the "strange ORM errors" are much easier to figure out when you can see the DDL (like foreign keys) and the queries/updates that ORM is generating.
I don't know you, I can't tell. I would advice to stop, but facebook is just the tip of the iceberg. It's about doing (as much as it's humanly possible, we are small weak creatures after all) what we can to create a society in which we want to live in.

And for that, before voting, before anything political or big, there is the day to day life. What you you consume. What you communicate. How you behave.

I don't pretend it's easy. I fail at it most of the time, most of the days. I've failed since I was born.

But it's what matters. Not facebook in particular.
It applies to all these transactions:

https://coin.dance/volume/localbitcoins
Since we use a lot of Java we use Flyway. It’s got different ways to use it, one of them being straight command line- so you don’t have to be a Java shop to use it.

I like Flyway over some others I’ve tried (like Liquibase) because it supports straight up, plain ol’ SQL code for migrations and uses very simple file naming conventions to define versions and repeat operations.

The advantage we have being a Java shop is that we can also write our migrations in Java code, or mix and match. I’ve only ever done Java based migrations sparingly, all involved a big migration that involved sorting and sanity checking a lot of existing data.

For PHP/Laravel I’ve really liked Blueprint.

Although I like Flyway better than Liquibase, Liquibase can do a lot that Flyway can’t and is certainly worth looking at.

I like the control of migrating my DDL by hand instead of the code first approach, and then having some ORM randomly changing data on boot.

We use Spring Boot w/ Hibernate and JPA a fair bit. We always turn off the code that would have the code manipulate our DDL, and we do write a lot of queries by hand, but we still get a lot of auto-magical stuff for free.
Where is Googles internal ontology used exactly?
I used a home-grown system that essentially 'versioned' the database schema and initial configuration data. The program queried the database on startup, creating and/or altering as needed to get to the current version the program expected. Sometimes, certain upgrades required manual/offline steps to be taken - the program noted this in the log and shut down until that version upgrade was completed.

This used our home grown query library, which was a pretty thin layer over raw SQL.

This was a huge enabler for testing.

Today, I'd probably use FlywayDB if I needed to do that.
YouTube recommends a 50% higher bitrate for 50/60FPS compared to 25/30FPS.

https://support.google.com/youtube/answer/1722171?hl=en
I really like the concept of sqlx for Go. You write the SQL, but sqlx returns populates structs for you.

For really simple stuff, CRUD application, an ORM usually fine though.