skysight-inc/HackerNews huggingface dataset:
Great use case for blockchain technology
For starters, I'd say that overloading the multiplication operator to concatenate strings and insert path separators is one very bad code smell.
When Rodney left it stopped being funny and slowly spiraled into generic romance and drama.

Sinfest is a sadder loss. You will never see a bigger difference between first and last comic strip. The first ever Sinfest strip is still best Sinfest.
How do you define class variable in a data class?
37.

US - 14. Russia - 11. UK, France, China - 4 each.
And this is why you need unions. Join the IWW.
I worked with Cisco a lot in the past. I am so happy we have more and more open source alternative to replace all those network solution vendors.
The Paradox of Building America's Green Lifestyle Grid
The same or similar. Well, chocolate is probably more. The point OP is trying to make is that yogurt has most of the stuff found in milk( different yogurts vary of course). But e.g. eating greek yogurt is way better than whey isolate.
That might be a conclusion in search of evidence.

I suspect it's something similar to what's happened in physics. Plenty of important work's still being done, but the low hanging fruit has already been harvested.
> Accent is defined based on where you grew up from age 10-12.

Not so. Maybe this is true in many cases, but I personally know of at least one outlier: a relative who grew up in West Virginia, lost her accent to work in radio and news, and when older re-married to a man from Texas with a heavy accent and developed one herself.

It is also the case that many people slip back into accents as they age.
"Some residents crossed city lines to buy soft drinks outside the city"

It's interesting that residents would travel to another city to purchase the beverages. I wonder how much extra in travel (gas) each spent on average.
The internet before peer-to-peer MP3 file sharing was ruined by child pornography and spyware, because piracy.
"My name is {}, I'm {}'{}'' tall and live in {}".format(name, location, feet, inches)

This error is much better hidden than in the equivalent:

f"My name is {name}, I'm {location}'{feet}'' tall and live in {inches}."
I think the issue is that salaries are such an arbitrary business as it is.

Pulling out the ok, I'll trade you 25% salary for 25% time at the last minute is pushing the limit.

Then again, I don't think I would personally have a problem with it so maybe you're right?
They are, and I envy you for getting to read a bunch of their comics you've never read.

I find Oglaf intriguing in how its backdrop is essentially a mediaeval fantasy world, in which the authors (Trudy Cooper and Doug Bayne) manage to consistently present a world where diversity and sexual diverseness are a given, without coming across as forced or overtly political.

From skin colour ranging the whole gamut, to physical characteristics (boobs in different sizes including A-cups, hair styles both above and below the fold), to sexual attraction (gay, straight, dead, and everything else), it's all there, and yet it never really jars or gets in your face. I find that quite an achievement and inspiring.
> It's strange to see someone say this like it's a good thing.

I'm saying that, because the situation would imply a price war for health insurance, which -- crazy me! -- I think would be good for everyone.
CVE-2019-0708 – PoC Exploit – RDP Remote Code Execution
How to fast track your tech career promotion?
I think you are underestimating the scale of our cattle. The majority of deforestation is due to cattle [1].
The world is basically dominated by us and our cattle [2] leading to massive losses in biodiversity [3].

If everyone in the world would eat the recommended USDA diet (mostly backed by industry and totally not healthy for you) we'd need another Canada to sustain us all [4].
By the way, most of the grasslands are man-made and we should try and reforest those areas to combat losses in biodiversity and climate collapse. Furthermore about a third of all fresh drinking water (not rainwater) is used for cattle [5].

[1]: https://rainforests.mongabay.com/0812.htm / https://scholar.google.nl/scholar?hl=en&as_sdt=0%2C5&q=defor...

[2]: http://peakoilbarrel.com/carrying-capacity-overshoot-and-spe...

[3]: https://www.ipbes.net/news/Media-Release-Global-Assessment

[4]: https://journals.plos.org/plosone/article?id=10.1371/journal...

[5]: http://www.takepart.com/article/2016/02/18/4-billion-people-...
The Android App Underground
Show HN: I built a CDN for our multi tenant app
IMO, policy has a huge impact on technology. For example, if carbon was priced to include its climate change externality, the market would respond with solutions.
I suspect it's only a fraction of employees that work more than they're supposed to, but as they're workaholics that work a lot more, they move the mean and it has a big positive impact for employers.

If this is true, this ruling is bound to have an impact on EU economic activity. And I don't see how it can be good, given that nobody's thinking that EU labor is too cheap. If it's applied at face value, it can only reduce worked hours at current costs, or have employers pay more for current output. Definitely can't increase EU labor competivity.
Listen: If you know of a better way to encapsulate the idea of really creating a competitive market for health insurance, I'm all ears. That's just been the easiest way I've ever seen of expressing: "Hey, let's have a REAL market for the stuff, like EVERY OTHER KIND OF INSURANCE!"
This is crazy - was just browsing through the site a bit last week. I just finished a project[1] partially inspired by YMNTD and spent some time... getting inspired. A lot of the pages didn’t seem to have working audio - perhaps modern browsers don’t allow what YMNTD required. (It seems that gifsound.com has also had to adapt over time - you have to click a few times to get it to play, to work around autoplay restrictions.) I didn’t check, but I imagine the site didn’t work at all on iOS.

[1] https://www.kickscondor.com/slaptrash/
Wikipedia is now banned in China in all languages
It's funny how shitty decisions in tech always seems to win the masses, only because it's easier to get started with. And only 10 or 20 years later, a great amount of effort is put into patching all of this.

"Good tech" is created by people with a lot of knowledge of a specific domain. For them, it all makes sense, but the mental modal does not map to newcomers.

"Bad tech" is usually forgiving (messy syntax, accepting bad data etc), so people don't get stuck.

The solution is to have good tech with proper tooling and hints / error/configuration reporting.

apache, php, mongo, mysql, javascript.. They all have the exact same strengths, weaknesses, quirks, bad decisions, and mass adoption.
> its defenders should focus on actually showing what modern PHP code looks like

This is one of my personal side projects, written in PHP and Laravel: https://github.com/brendt/aggregate.stitcher.io

Here's a list of all OSS package we maintain at work: https://github.com/spatie
Deploying a Flask and Vue App to Heroku with Docker and Gitlab CI
Can you explain the IOC hell? isn't most IOC / Dependency Injection patterns suppose to help the software maintainability ?
Dutch people are tall, with an AVERAGE height of 1.83m (>6')

It therefore makes sense that the Dutch flag carrier has slightly more generous leg room than the norm.
Python tips and tricks, April 2019
On what basis? Raspberry Pi is a trademark only in combination of these words, no?

https://www.raspberrypi.org/trademark-rules/

And competition is good.
How to exchange token from an external provider to a keycloak token
> but have such disrespect for the wellbeing of their workers or how they affect communities in the world.

That's the innovation and the reason for the multi-billion dollar VC valuations while Uber was private. The app/platform is nearly a commodity at this point. Most taxi companies in my area have apps with similar features.

Edit: Notice that Lyft is basically the same story and Airbnb's main value-add is stripping regulations from the short term rental industry (formerly dominated by regulated hotels and BnBs). When someone pitches an "Uber but for X" they're often implicitly saying that they want to strip job security and labor protections from the people doing X and consumer protections from the people using X.
I remember when I was a kid in the 90s and my dad connected two computer to play Doom. The connection was so slow it was almost impossible to play. When my brother and I saw each other’s characters walking around my mind was so blown at the time. Really a great memory. Wait, you can play the same game from 2 computers?
> We may have 100% clean energy locally only because we've outsourced the dirty one.

We have outsourced it because they have been undercutting local producers in pollution, labor, human rights standards. Therefore bringing back manufacturing and taxing them is a much better solution overall than bringing more extreme measures to our already pretty "green" region.
For what it's worth, here's the source code of one of my personal side projects, written in PHP and Laravel: https://github.com/brendt/aggregate.stitcher.io
Tips on how to deal with remote teams
Methods for Solving Android Data Binding Errors
PTKFGS too?
> 3 times as much heat energy can be released into the local environment

Or used for desalination, hydrogen, syngas, ammonia, methanol, ethanol production [1] etc.

http://www.world-nuclear.org/information-library/non-power-n...

Also, your estimation is incorrect. The thremal rated power of a nuclear reactor doesn't mean it releases 3x as much heat in the environment. At least 1/3 of the thermal energy is converted to electricity, and part of what remains is fed into a new cycle. The overall efficiency of a nuclear reacor is 33-37%. Gen IV reactor projected efficiencies are above 45%.
Your parent comment has a point about performance; I don't see why he is downvoted. Crystal is cool, but it is still immature in terms of ecosystem, the language could change, limited library support, and most importantly, not many great engineers. Particularly not outside of the valley.

Performance is a concern for many people, and this is somewhat overlooked because of the number of people here who work for companies where scaling is the primary concern. I think this is what he meant by people outside of VC-backed startups. I know of multiple companies that have had outrageous cloud-hosting bills and have had to hire fancy consultants to fix it.
I am not sure... where I live (Australia), the electricity supply policy is essentially aimed at avoiding brownouts on hot days, I suppose for the fear of losing building cooling (this has resulted in fatalities in the past). This incidentally results in having a massive amount of standby power generation, and rather high electricity prices.

I think the low hanging fruit (in Australia at least) is various industrial users (eg aluminium smelters). The politics around this are fascinating, but unfortunately too complex to describe properly here...
Thank you! Here's the same video, but starting a few seconds before the "catapulting" https://youtu.be/XiP2IcE-c5A?t=60
Self-employed you can be in a public health insurance. Depending on income you might switch to private though.

More relevant: self-employed don't pay into social security. Thus unemployment money and retirement have to be paid differently.
Give me a better way to express this idea, then: How do we create a REAL market for health insurance, so we can buy it like EVERY OTHER KIND OF INSURANCE?
I really like his content. The research is awesome and detail is next level, what sets it apart for me is that there so little actual shooting.
AI could save lives without spilling medical secrets
Why Do Game Developers Prefer Windows
>...accompanied a request to produce the cells in a foreign trade zone within the Buffalo plant that would allow Panasonic to import certain parts tariff-free because the finished cells would be sold overseas, not domestically. That request was granted in April.

>The zones help companies avoid, delay or pay reduced tariffs on imported parts in cases where it helps U.S. manufacturers compete with overseas rivals.

>“It is fully anticipated that the majority of the cells to be produced” in the FTZ “will be exported,” the company said in its application.

>Panasonic’s Canal said foreign solar panel manufacturers want the Buffalo plant’s cells because solar panels assembled abroad with American-made cells can be shipped to the United States tariff-free, according to U.S. trade rules implemented last fall.

>Panasonic’s Buffalo operation is one of few U.S.-based solar cell producers because it is traditionally far cheaper to make the components in other countries, putting it in a unique position to serve the foreign demand.

This is kinda hilarious. Gotta love incentives.
TPL Dataflow in .Net Core, in Depth
As a longtime reader who pitched a few bucks at the OotS kickstarter years and years ago, I do still get occasional progress reports to my inbox. The last one was from September: https://www.kickstarter.com/projects/599092525/the-order-of-...

A choice quote: "While there, you may also notice that it's the tenth wallpaper I've released, so that means the wallpaper reward is officially finished. One thing I saw when posting this last one, though, is that it's been so long since the first one that the screen resolutions I've been putting these out at are a little dated in some cases—especially with regard to phones. Is Windows Phone even a thing anymore? And I know the iPhone has completely different screen sizes now, right? So if you have a device that isn't represented with any of those resolutions, go ahead and comment on this post with what screen sizes you'd like to see, and I'll try to go back and add like 5 or 6 of the most popular for all ten wallpapers by the next time I send out an update."

Also be sure to check out the image of his "workometer", which he's been using to track his reward fulfillment progress since the very start. It's nearly all complete by now, but some of the remaining items are substantial.

If I had to guess at what his folly was, I'd say it was simply overpromising with the stretch goals for various milestones. Remember that this was in the early heyday of Kickstarter, and few people had any experience with what an absolute slog fulfillment would turn out to be. I commend him for sticking it out regardless when so many other projects have just defaulted.
I actually thought the solar rooftop was really cool when it launched, and if I owned a home I would consider buying it. What happened? It sounds like Tesla intentionally sabotaged it.
The great Nicklaus Wirth wrote a book;

"Digital Circuit Design for Computer Science Students: An Introductory Textbook"

It is different from other standard texts and well worth studying.
But they didn't do it because they considered it a great idea, but because Ukraine couldn't afford not to.
The tax might increase income but imagine the effect on the costs to the health system!

At least in a European country where health costs are socialised. Not sure how much they're socialised in the United States.
Some visual proofs of Turing completeness:

https://twitter.com/shr_em/status/1127922245743960064

https://twitter.com/mattar0d/status/1109987662608384000

The game for those who are new to it — well worth playing!

https://hempuli.itch.io/baba
Yeah, watching the video, it doesn't seem like catapulting at all. Entangling feels more accurate.
SolarCity was initially a different Musk project, that ended in bankruptcy and then he made Tesla buy it to cover the losses. This sounds like they are effectively liquidating SolarCity and trying to make the factories profitable (at least for Panasonic).
Postgres is the coolest database – Reason #3: No vendor lock-in
I appreciate you sharing this. The goal of my post was not to convince people to "switch to PHP right now", but rather to tell them you can do pretty cool things with it, and that it's actually fun to work in.
Bridging Gaps: The Importance of DevOps Communication
Not as serious as death; but their argument suggests that the owners are subsidizing Tesla's R&D monetarily when their systems fail. I assume there is some type of legal agreement the owner had to click through to gain access to the feature. That is a pretty crappy situation for Tesla owners; hopefully, there is a way to opt out of agreements once opted in, given new information.
I mean, apart from the huge number of items that have been fixed over the years, yeah.
So perhaps you can carry it only on takeoff and before landing, when there's a higher chance of survival/emergency evacuation anyway.
Behind the language, the early day of shared web hosting make it affordable.
It's really easy to perform a conversion of what you describe, for the sake of publishing an archive.

Extracting audio from flash objects is trivial, and coverting HTML frames to a single page format is a basic markup task, using divs.

This stuff is so easy, you could not only automate it, but build an abstraction layer to convert it on demand or even client-side, with a JS library.

Anyway, as the GP implies, the archive was likely performed collaboratively, with the consent and direct assistance of YTMND. Why else would they have closed user registration, but left the site available for a full year.

The writing was on the wall.
Limits of Life and the Habitability of Mars
That was a feature they added later on when people started making pages that required the audio to be in sync with the gif. Flash would wait until both were fully loaded to start playing them.
Indeed, OotS does provide an RSS feed.
When you do that, here's my little suggestion for a policy: a carbon duty.

It seems to me the biggest argument against doing something is that any action we take would be useless if country X doesn't do anything.

But with a carbon duty, this is much less of a difficult collective action problem. Impose a significant duty on products coming from countries which are not meeting some reasonable target for carbon emissions.
dupe: https://news.ycombinator.com/item?id=19915362
Have you found your brand differentiator?
This is very interesting, but note that in the diagram on the linked page, the "consumers" are "not controllable" - so it seems that this does not address the demand side management opportunity.
Show HN: Personal Robot Newsletter – receive our top robotic stories weekly
You might need Ansible and not even know it
> I'm pretty sure if the survival of human race is at stake, money is no object.

It shouldn't be, but unfortunately, it very much is.
I don’t have any doubt they could do such things, just as they’ve done for driver and vehicle licensing. When I or a family member needs medical care, I don’t look forward to a DMV-like experience.
However the food wastage/carbon footprint from Cereals,vegetables and fruits is far greater than Meat, milk and fish combined.

Pic: https://postimg.cc/D4ZNpBLz
Yes, I'm aware you were attempting sarcasm, but it wasn't very good, was it? I thought it would be kinder to ignore it and post something useful. The phrase you're looking for is, "thank you".

Cheers!
Stripe is a good example, thanks.

I absolutely agree that in a good web app DB is a bottleneck and can be 10 times slower than any part of the web app itself, regardless of the language.

Maybe Ruby ORMs are not so optimized, who knows.
VMWare to Acquire Bitnami
US journalism has become more subjective
> They blow up in the sense of a dirty bomb. That's a lot worse. It would be great if NPPs just blew up in a nuclear explosion! We could safely use them by making the blast radius a forbidden zone.

I do not know how to respond politely to such a ridiculous statement.
Disheartening that my comment has drawn some negative reactions.

A public policy of forced "sharing" of wealth has an absolutely abysmal track record. Any supporters of that idea willing to explain why they think it will work this time? Anybody want to take my question seriously and answer what philosophy of government they are using to claim that redistribution of wealth is the proper role for government?
> yes those genetically modified plants are somewhat scary

I have a question about this. Aren't all vegetables that we eat now are 'genetically modified' by humans. There were no ancient tomatoes or ancient okra.

Is there implication that GMO's that were made in lab are more scary?
.Net on Non-Windows Platforms: A Brief History
Symfony is better at handling backward compatibility and managing deprecation.

Still over-engineered I guess but sometimes it means you won't have to go against the framework for some complicated tasks.
Wow! Good for Microsoft. You don’t see Apple releasing patches for 15+ year old operating systems.
Trality – a platform for algo trading and quantitative problem solving
Deflecting Earthquakes the Way Ancient Romans Did It
>there's little suggesting plants are capable of experiencing suffering (or experiencing anything at all).

So walk me through this, I'm curious how you know whether or not plants have experiences? How would you know whether any arbitrary life form (or object, since you brought up fighter planes) has experiences? What method allows you to make this determination?
How is this different from encrypting the binary locally, and store the result as hex strings?
> What's a case where I'll have a problem if I don't use this decorator?

If you are explicitly setting enum values, it causes accidental aliases (duplicate values) to be an error early rather than a source of (potentially subtle) problems later.

It also specifically communicates intent to other readers of the code, which can be just as important if your code has a lot of enums,some of which do use aliasing intentionally.
> But we're the descendants of the lucky and prepared.

Some of us may be the descendants of those who enjoyed their seed corn during the winter and later reaped the cobs planted by their neighbours.
Microsoft discoveres wormable WannaCry-style Windows XP exploit
The colour palette for me has a bit of a dated feel, although I assume these are scans of the originals and would probably look right at home if freshly printed.
> UI/UX design as it is today is almost entirely about sacrificing utility to boost sales.

I don't think this is true. Many undesirable qualities in modern design are due to a cult like belief in them by designers rather than just listening to users. Excessive use of white space in virtually all design being the most obvious one.

That's not generally because it boosts sales. It's because they've really drunk the kool aid that it's better.
Very important article.

A point that failed to be mentioned is this one : as the mining demand goes up, more and more "low-concentration" mines will be opened, requiring more energy to extract the same amount of raw materials. And, unfortunately, the mining industry is also entirely reliant on fossil fuels. Mining dump trucks carry up to 700t of material, it's hard to imagine the size of the battery that would move such a thing.

Another reason why major changes in lifestyle are inevitable, and solar panels, wind turbines and carbon capture plants won't cut it.
> Composer, the package distribution system

a package distribution system.

Composer suffers some of the same issues NPM does, IMO: it encourages stuff like 'install dependencies at deployment' and "why write it when you can blindly trust someone else's code".

Not everyone who uses PHP uses Composer.
You'll Always Be The Man Forever Dog
You can't remove those old APIs without changing culture, and culture is really hard to change.

One thing that shocked me during my brief foray into PHP was how heavily popular PHP apps like WordPress rely on the filesystem. Want to move a site? Copy the database, and copy a bunch of files. It seems like there's a cultural expectation that applications run on a single server in your closet. Of course you don't have to write code this way... but people still do.