skysight-inc/HackerNews huggingface dataset:
We need both better policy and better tech, right? As Bill's article points out, energy technology is by no means mature. There are huge improvements to be made in production, storage, and transmission. Could it be that policy requires and will respond to innovation?

Policymakers need to consider not just today's "cocktail of existing tech," but upcoming technologies. My perhaps naive hope is that strong investment in tech will convince policymakers that reducing civilization's GHG emissions toward zero is becoming ever more feasible, desirable, and profitable (for some people).

Disclaimer: I don't work in the climate sector, though I'd like to one day.
Indeed it does. I forgot that one.
What's wrong with xdebug?

Sure, xdebug requires a graphical frontend to be practical (I use phpstorm), but so does GDB.

Debugging with xdebug has been a really good experience for me. Much better than python or even GDB for C code.
Wow, you're right. :) I'll do that from now on.
New-style classes never became the default in Python 2:

Python 2.7.15 (default, Jun 27 2018, 13:05:28)
[GCC 8.1.1 20180531] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> class Foo:
... pass
...
>>> Foo
<class __main__.Foo at 0x6218e384ee88>
>>> class Bar(object):
... pass
...
>>> Bar
<class '__main__.Bar'>
>>> isinstance(Bar, type)
True
>>> isinstance(Foo, type)
False
> ideally from the world of finance, where evaluating correctness of methodology and models is absolutely crucial

Isn't it only crucial to the group doing the analysis? Financial world thrives on information asymmetry. If you have more information / better models, why would you share it publically instead of extract as much as you can from that difference? (Unless it's a one-off invest/short-publish-benefit case)
That's how the course came into existence.

I built a number of SAAS apps (and apps that had similar functionality) for a few freelance clients. Then I eventually thought "hmm, lots of repeated patterns here, maybe I can make this into a course", so then I made the course.

As for the process. Funny you mention it. The changelog just had me on as a guest for their "backstage" podcast last week where we talked about content creation and the process of recording courses. That's at: http://changelog.com/backstage/4

It covers most of your questions but it doesn't cover nitty gritty details on sales figures and revenue. Thousands of people have signed up for the course but I still do quite a bit of freelancing. Freelancing and course creation is my full time job.

I find it really rewarding at a personal level. I just like creating things, but it is a lot of work. It's not just hitting record and being done in 2 days. Expect it to take 3-6 months of full time work to make a course. Then there's having to keep it updated (because tech changes so fast) and ongoing 24/7 support.

Couple people have asked me to make a course on making courses. Maybe one day but at the moment there's still a bunch of technical courses I still want to make, a million blog posts to write (I have 85 draft posts that are unpublished) and some side projects in the works.
I admit the comment was meant to be a bit tongue in cheek but it doesn't appear to have had that impact. My intention wasn't to be condescending or anything like that as others have taken it.

A better argument would have been to explain why ORMs are bad.

In my view:
- they encourage bad data modeling practices. Eventually there will come a time where the way your ORM maps your data model to physical tables will be inefficient. Maybe you really have event based time series. The impedance mismatch becomes exacerbated.

- they are an extremely leaky abstraction. It is hard to think of a more widely used abstraction that leaks more. You have to be familiar with your ORM's SQL generation. Every single comment here has admitted that yes you eventually do have to drop down into raw sql, so this part isn't even subjective at this point. The article is about leaky abstractions, ORMs are the poster child for them.
- On the other side of things, there are simpler abstractions between SQL and ORM that provide more value comparatively for the leakage, and my argument was you would be better off having simple leaky abstractions than one massive behemoth of an abstraction that leaks more than a waterfall.

- Really hammering the point home here on the leakiness, for being such a leaky abstraction, after it is all said and done, in my view they really don't provide you with all that much value, given that you have extensive experience working without them (the source of my seemingly condescending point about experience and some languages guide you to never working without them).

I can just as easily use my code generation tools to have "less code to write", and map some functions to SQL statements using my language's favorite DB drivers, use a battle tested and proven SQL migration and schema tool, and I can do this just as fast as any experienced ORM developer.

In this view, just like we have had the movement away from big massive monolithic frameworks to smaller opinionated sets of libraries stitched together with simple glue code, your ORM is the massive monolith in this case, and your simpler tools like code gen and migration tools are the smaller libraries.
Truth! I'm kind of amazed that it's still around. I went to check it out and if anything the pace of updates seems slower than ever. Ten so far this year. What's amazing to me is that he has $2000 a month of Patreons for this pace of output. That makes it clear to me that this comic really touched something for a lot of people.
that would be tough if youtube doesn't save the originals
Interesting model having a firm sponsor a specific part of the infrastructure. Don't think I've seen this before, reminds me of sports style sponsorships.

Great that lets encrypt gets funding, long may it continue!
Proto-Indo-European *dn̥ǵʰwéh₂s 'tongue' was feminine, hence why all the languages mentioned in this subthread (except Hebrew) have the word for 'tongue' feminine.
How to delete, insert and replace whole lines
It isn't, because development is upstream from UI/UX design. You can have a software product delivering value to end-user without UI design. Might not be pretty, but it'll do the job. Whereas you can't have a software product delivering value to users without development work. Moreover, it's the UI that's the direct point of contact with the user and the driver of sales, so the pressure to screw users over is higher there.

That's not to say developers don't make choices sacrificing utility for sales - they do, and I bitch about this here plenty (for instance: bloat, invasive telemetry, privacy-hostile solutions, addiction-generating mechanics). But it doesn't look like a trend that's essentially consumed the discipline.
Thank the gods for base85..
Most of TV is one big commercial these days so I'm not sure you can really say this sort of thing.
Parent mentioned it would have to be the case, it doesn't have to. If it makes you feel any better replace it with "shouldn't" in your head.
I'm of the opinion that the teaching there was decisively average. I had a few that were good, and some that were bad, but no outliers for sure. I've had teachers at college (British high-school) for my A-levels that were incredible or awful in comparison, so I do have a somewhat decent frame of reference at least. My secondary school teachers followed the curriculum, worked from the textbooks, and that's about it. We certainly had as many terrible teachers as great ones, if not more. Don't get me wrong, I'm not dismissing that teaching quality as the number one factor - I just think that socialisation time for developing children is vastly understated in its importance.
I only checked out again ytmnd a couple of days ago and left after I saw that all pages required flash. (Was that always the case? I thought it only required basic HTML)
Indeed, and also Joomla. But the thing with all of these CMS systems is that they're already written. So the related "PHP work" is writing or tweaking plugins for them.

It's kind of like acknowledging the footprint of Microsoft Excel and VBA. Yes, it's quietly a huge deal, and thousands of people hold a job largely because they maintain it for an organization. But it's also the sort of thing one "stumbles into". They don't get hired specifically for that, and it doesn't really transfer to more general developer jobs.
Laravel has a Java-like problem of too many indirections, and has a really complex application model that breaks a lot of things. For that you gain an end of 00's quality templating system and ORM.

I understand that PHP developers love it. It's orders of magnitude better than doing everything by hand. But no, thanks.
You get more protein but you get less of everything else. What do you replace that with? For example it appears that peas have a decent amount of vit K in them. Also what do you do with the carbs taken out? Do you replace them with sugar? Because that's an inferior source. Or do you just add sugar to the powder in the first place to make it's taste bearable?
https://twitter.com/textfiles/status/1128517332064772098 :

"YOU'RE THE ARCHIVE NOW, DOG: Archive Team took a full copy of You're The Man Now Dog (YTMND) last year - should be playable in Wayback Machine now or soonish."
Excuse me, but I've been saying this for a lot longer than Trump has been President. Not everything is about him, you know. Perhaps it is, in fact, a problem that needs to be addressed, regardless of who is in office.
'It would destroy it': new international airport for Machu Picchu sparks outrage
The explanation of why now they use a more conservative approach is in tha last pag "72":

> This action resulted in the F-84’s pitching violently and then flapping upward and into the B-29. The B-29’s outer wing panel crumpled as the F-84 rolled into it and, when inverted, struck the B-29’s main wing spar; before the two aircraft separated, this impact sheared off the F-84’s nose section forward of the cockpit. The B-29 then went into a steep spiral and crashed into Peconic Bay, Long Island, and the F-84 went down shortly afterward. No one survived.
https://en.wikipedia.org/wiki/Marquette_National_Bank_of_Min....

> The decision attracted little notice at the time. Two years later, the possibilities it opened up became clearer when Citibank, squeezed by interest rate caps, decided to move its credit-card operations out of New York City. The company persuaded Bill Janklow, then governor of South Dakota, whose agricultural economy was struggling at the time due to high fuel prices, to persuade that state's legislature to formally invite the bank there, as required by federal law before a national bank can do business from a state. He then successfully lobbied the legislators to pass a bill drafted by the bank that repealed the state's cap on interest rates, something a small group of legislators were already trying to do. Citibank quickly moved the 300 white-collar jobs in its credit-card division to Sioux Falls, where it has been ever since.

> South Dakota lured a few more large credit operators, such as Wells Fargo, before corporation-friendly Delaware repealed its anti-usury laws as well. Several other states also repealed their interest-rate caps, more lenders entered the credit-card field and introduced newer products and by 1990 the amount of credit cards in use in the U.S. had more than doubled. Credit cards, once a loss leader for the banks that issued them, became a major profit center as banks aggressively marketed them to "revolvers", customers who carried large balances but rarely paid more than the monthly minimum, resulting in large interest payments to the bank.
One of my old friends has been working with php since forever, we’ve teased him over the years.

Since then we’ve moved to a world where every program is web-based. I mean, even huge enterprise systems in healthcare run on some JavaScript MVVM framework and a web-backend in the cloud.

The truth is that php is more adapt at handling this than a lot of the stacks you see in enterprise. It’s really kind of silly, but I don’t think we’ll ever adopt php either exactly for its bad rep. But sometimes I wonder if we shouldn’t.
This was the designed purpose of these companies. They're more efficient at providing wealth for the top end by taking it from the "employees".
> you have to guard the domain very closely

I'm intrigued by this, would you kindly share more on this!?!
I've been burned by some language that create a poor developer experience with long compilation time and garbage collection.

Maybe V language (vlang.io) could pique your curiosity.
I've generally found Bill Gates to be actively unhelpful to this end. Even in this blog he sounds very negative that nothing can be done unless all the companies he personally invests in come up with something.

In reality, if there was the political will to roll out existing solutions we'd all be richer, healthier and happier, but another bunch of rich and powerful guys would prefer that their investments paid off.
I described it above. Technology offers options for policy.

Our climate-solving cocktail of 20 years ago involved things like drastic reduction of car use in favour of mass transit, and mass deployment of nuclear power to replace fossil fuel plants. We would be in much better shape today if that was done, but that set of solutions was (and still is) politically untenable - so technologists had (and still have) to invent different solutions, that are easier for politicians to implement.
Fourteen-year-old girl is newest YouTube far-right, foul-mouthed star
I agree, I think the PHP community wants this to be successful, and is looking with rosy thoughts. But I find it hard to blame them. PHP paid my salary for a long time. It's got a few issues as a technology, but it gets the job done. I can see how the PHP community would look forward with hope.
probably for audio
Is android doing triple buffering wrong? Where does the extra 16ms delay come from?
I may have to, now that I'm at a new job where I only do Java, I feel like I can experiment with other languages more since I dont have to keep juggling between front-end and back-end code. Does it handle sessions and such? Also not familiar with database driver support for Nim.
Can you share some of the BC breaking changes you've seen? I personally haven't seen any in quite a while, but I'm not using all parts of the framework.
I guess I was hoping for a snappy term like "finite Turing-complete" or something.
The office of one of my early programming jobs had an ISDN line. I would carry my home desktop into the office to download things/play games.

The next job I had was in a much bigger company, and the office I was in had equivalent of 70+ T1s. Most of those were to support the phone system though.
To speed up Composer you can install Prestissimo [1] globally, it speeds things up considerably.

[1] https://github.com/hirak/prestissimo
The only time I heard the word "lox" was when I was a kid and had the James Bond film You Only Live Twice on VHS. This is the one where Blofeld is launching rockets from Japan to destroy Soviet and American spacecraft, with the hope of them blaming each other and triggering a war.

For some reason, one of the scenes that stuck in my mind was when the head of the Japanese intelligence services (Tanaka?) and Bond are reviewing the receipts that the latter managed to steal from the company they suspect is acting as a front for Spectre. Tanaka is reading out a perfectly innocent list of items and comes across a huge order for "lox", and asks Bond what that means. At first he just defeatedly dismisses as an American word for smoked salmon, but then has a brainwave and says something like "But... it can also be a shorthand for Liquid Oxygen, which is needed to power rockets!".
BA business is not representative of a good business class though, they cram you 8 wide with their herringbone layout which is just insane for a "premium" product.

Yes, the chairs are relatively comfortable, and if you're just going to sleep it's OK (especially with the BA arrivals lounge at Heathrow meaning you don't need to wake up for breakfast on the flight) but after being the trailblazers with lie flat seats BA have really dropped the ball compared to their competitors.
Actually not true, even without GPU support all the ones I have (4 different SoCs - H3,H5,H6,A83T) are noticeably faster than Rpi 2 for things like browsing the web. (H5/H6 a bit unfair, since it's A53 CPU)

And desktop use is not the only thing you can do with these boards, and pretty much any of them is better than Rpi on connectivity, which is what matters for other use cases.
This must be propaganda for "intelligent design" or some such philosophy. To most readers it will make no sense.
Sorry but being clear here only provides an answer to who might be right to an internet argument. Nobody is really right, I understood what he meant and I might not agree with all of it but still take valueable feedback. You could do as well by avoiding the troll discussion. It's not because someone is literally crying in pain because of his team's cursy bad work that you got to end his opinion on the least interesting part.. It's only an opinion.
Sad. Back in 2000-2002 I was in grad school and I have fond memories of setting the home page on the shared imacs to YTMND with the volume turned all the way up and hearing it go off when someone would open up the browser.
Search them up on ebay! Loads of IT admins for schools sell a random email with you. Pretty scammy.
Now that's interesting (and somewhat understandable).
I was pretty anti-PHP before I worked for a multi-billion dollar company that was built on top of it. It's not a beautiful language, but it offers a lot of side benefits in terms of dev-ops, and tooling, and frameworks. As a company, the language was not something that held us back. The company moved really fast, and PHP was a large part a big part of why. In my career over the past 14 years I've done web work using ruby, python, C#, javascript, and Java. but that ugly PHP site was the one that impressed me the most. People moved fast in it, our tooling never held us back, everything just worked. It was the most utilitarian environment i've worked in. The first time I touched PHP, it was a spaghetti disaster... but today, next to python It's my go to language. It gets the job done faster, and it's maintainability is just fine. It really doesn't matter if sometimes things just look odd.
Nice find! This is exactly what I had in mind!

It is curious that this system is only compatible with Nissan leaf though. Perhaps we should work on a standard?
I have an old relative who has the classic, very thick Boston accent. It is always fun to have her say, "park the car in the Harvard Yard", and she is willing to humor us. You are correct that most younger people don't, though some have a less significant one. Accents are disappearing among the young, which is somewhat sad, albeit inevitable. Newscasters never have an accent, most characters do not (and when they do, it's a "difference" of some sort), and people move around too much for them to survive. A Texas accent used to be John Wayne, now it is used on comedy shows to represent the "uneducated, fat, cousin-marrying red-neck bumpkin". At least we have recording technology now, so future generations can hear them.
github is terribly slow... or maybe it's just me?
> I have picked insurance as an individual and as an employer, and that is 100% wrong.

Wha..? So, are you in favor of your employer picking out your car insurance or your home owners insurance? Sure, health insurance is complicated, but have you read your car insurance policy? I don't see the two as being FUNDAMENTALLY more or less complicated. Further, I will probably blame any irreducible complications you may quote as vestiges of a product that is primarily sold to... corporate specialists. I think these things would change if we got our employers out of the loop.
Seems that the strategy is to trigger curiosity, then pull person by this curiosity to show him a lot of ads. To trigger curiosity they pose some artifically created question, by inventing an imaginary gut doctor with some imaginary obscure opinion, and create a bunch of content that seems promising on answering question, but never answers it actually. The answer is irrelevant for their goals and all the scheme works while answer is not accessible easily.

This scheme can be scaled by a lot of misterious clickbaity questions without answers, because an attention of a person searching for answer for some question can be redirected to another question, then to one more, and more... It looks as a labyrinth where you could follow clickbaits and where you never able to find answer for question bothering you. Moreover you a facing a lot of other mysterious questions and if you got tired for the current one, then your attention might get caught by another, and you might continue to run through the labyrinth, clicking, clicking, clicking...

I guess what is the business model behind this. Showing ads? Skewing metrics?
With many modern games (even single player ones) requiring online servers (and in particular closed servers that are not released for download) this probably won’t translate well to current times.

A couple of very different examples are Super Mario Run (which is just stupid) and Fortnite (which at least makes sense because it’s purely multiplayer in battle Royale mode).

This seems driven by a combination of analytics and anti piracy.
Show HN: Crux, an open-source bitemporal Datalog database
Most places will check salary constraints at the onset these days. Or at least it's almost standard practice here in Sydney for both recruiter and non recruiters alike.

I do agree though it's a bit on the nose, the expectation is that you'll be working full time hours, not part-time.
Yeah, Munich is like the opposite of a party city. Quiet, functional, stable, boring. If you're looking for fun, it's an awful choice. Literally right as I was typing out a response, a conversation sprouted up in my work area where someone was complaining about the shitty pub scene in Munich compared to Seattle, haha.

> That said, walking in general is no problem, there's just not much interesting (besides parks) in reach.

I'm not thinking of things that are particularly interesting, mostly just errand-type stuff. In most US residential neighborhoods, commercial activity is banned, so the only things within walking distance are parks and schools, maybe a library if you're lucky. Oh, I guess churches too.

In contrast, near the outskirts of Munich in a relatively quiet neighborhood, I'm also within easy walking distance of a few bakeries, a few grocery stores, my local bank branch, my dentist's office, a drug store, a post office, there's a few small fitness centers, a book store, a locksmith, a florist, couple of clothing stores, a shoe store, a few hotels, and a few restaurants. All small examples of their categories, to be sure, but useful nonetheless.

And it's not just the distances and destinations, it's the design. I could go on if anyone's interested, but the street design in Munich (and really Germany as a whole, from what I've seen traveling around) is vastly more walk-friendly than pretty much anywhere in the US.

Like, my parents pointed out that a new shopping center near where they live in Santa Clara, CA (which is steadily becoming more dense and mixed-use, albeit more slowly than I'd like) is technically within walking distance. But, they admitted that they never actually walk there, even though both are into walking for exercise. They likely don't even realize, but there's an obvious reason for the this: the way there just doesn't feel comfortable for walking. I know the route well, and the streets and intersections just don't make it feel good.
> many compilers fail to diagnose undefined behavior or do so incorrectly.

It would be much easier if undefined behaviour was better defined, because then a compiler could recognize it and diagnose it. Of course then it wouldn't be undefined behaviour any more, so problem solved.