skysight-inc/HackerNews huggingface dataset:
There is a note near the beginning:

"The goal of this tutorial is not to show you that you need a Kubernetes cluster to run a static website, it’s to show what can be done with OpenFaaS and Kubernetes."

I don't think it is being advocated that you should make this switch, just an informative article showing the steps required to do so.
Why grow freshwater algae to sequester carbon when there's already a readily available supply of saltwater algae in the form of seaweed?

Take seaweed from ocean. Turn it into activated charcoal using solar pyrolysis. Bury the charcoal in farmland and marginal land to make terra preta. Terra preta sequesters carbon for hundreds of years and makes the soil more fertile, reducing the need for fossil-based fertilizers. Plant trees and grass on the marginal land.
How do you know that?

There are over 100 million kids born per year.

So after one year we would already have less emissions caused by 100 million people.

After 20 years we would be 2 billion people less. That's quite significant.
I didn't know that, I thought Google is using customised perforce and later moved to Piper for their mono repository. I do not know if Piper still use some parts of mercurial or is based on mercurial. But it's good to know Google is supporting mercurial.
Behind the Facebook-Fueled Rise of the Epoch Times
First of all, humans are the only sentient beings in the known universe. Second, most humans have children because that is maximizing their quality of life - it is a living organisms instinct to replicate, and (most) humans are no different. If you feel different, check the stats on how many have children, and think, you may just be in a bubble. Humans have endured millennia of starvation and disease, try to keep our upcoming hardships in perspective.

Beyond reasons why it would not maximize our quality of life, collectively deciding to not have kids just would not do any good. You are taking people 'like you' out of the gene pool, while people who choose to not go with the collective will procreate.
As ferzul points out, we ban plenty of things just fine. Shady-looking dealers are not selling loose asbestos and highly flammable children's pajamas on the streetcorners.

Alcohol and caffeine are at this point culturally established, so rooting them out is more trouble then it's worth. But we have the opportunity to stop Juul from foisting a highly profitable new addiction on millions, so I think the cost-benefit tradeoffs are different.

I'm entirely fine with banning private cars. Let's start by licensing and regulating them and their owners. Then we'll just keep ratcheting up safety requirements until the death toll is very low and most people are riding in safer vehicles driven by competent professionals. Looking at the progress Amsterdam has been making, I figure we can do it in 30 years if we put our minds to it.
It sounds like you're assuming that configurations are only created before running a program. But you can also create them while programs are running, to configure dynamically created objects or structures, too. And you can send those configurations as messages, to implement, for example, a distributed network object system for a multi player game. So you may be programmatically creating hundreds of dynamic parameterized "configuration files" per second.
An Introduction to the Vi Editor
> While it's easy to blow away work you haven't committed

This is bad enough. Git treats your workspace as trivial that can be replaced willy nilly.
There has been a theory going around for a while, supported by a growing body of evidence, that women might actually be better at some endurance events than men.

https://www.google.com/search?client=ubuntu&channel=fs&q=wom...

EDIT: POTENTIALLY better obviously, not ACTUALLY better, since currently these events are generally won by men.
Medias Res: Explore the social networks of artists
Organized races in America were predominantly white in the early days and yet when other ethnicities started to join (in small numbers at first) no special trophy was needed. They were able to compete immediately for the overall trophy just like all the other men.

Historical exclusion from competition doesn't make sense as a reason for modern under performance.
The opposite actually; we're seeing the downfall of socialism.

Syriza was defeated by a capitalist right-wing group.

Just sticking to that area of the world: Turkey, Hungary, Bulgaria, Romania, Italy, Germany, and Poland is conservative or right wing.

Russia is controlled by a super majority of anti-communists. Russia is being falsely portrayed as big bad in the media because they are anti-commie; because of their recent experience with communism.

Socialism/communism is being thrown out the door.
Is this a common thing? I'd argue it's an anti-pattern, similar to how we prefer devops over splitting purely development and purely operations nowadays.

At least the times I've seen it the first authors proclamed it as done and "just need to port it for production" only to find out pesky things like massive amounts of bugs (no testing in the originals) or unusable performance problems (turns out what you can do on a 64-core cluster overnight is not suitable for doing realtime)
You said, "show a counter example". You really need to work on your phrasing if you were referring to records.
It looks pretty bad if you had deployed this :(

Here is a summary of the exploit re-pasted from a great comment [1] written by @JanDintel on the github thread:

- It sent the URL of the infected host to the attacker.

- It sent the environment variables of the infected host to the attacker. Depending on your set-up this can include credentials of services that you use e.g. database, payment service provider.

- It allowed to eval Ruby code on the infected host. Attacker needed to send a signed (using the attacker’s own key) cookie with the Ruby code to run.

- It overloaded the #authenticate method on the Identity class. Every time the method gets called it will send the email/password to the attacker. However I'm unsure which libraries use the Identity class though, maybe someone else knows?

So... it potentially comprised your user's passwords AND (if you were on Heroku or similar like many Rails apps are) system-level access to all your attached data stores. About as bad as it gets.

[1] https://github.com/rest-client/rest-client/issues/713#issuec...
Ask HN: Why you keep coming back to HN?
He hates everything that's a British invention. IIRC even from the old guide, "the British take everything good about music and ruin it".
If one country can’t get its stuff together across religious, educational, socioeconomic and cultural barriers....how can a planet scale coordinated governmental effort by committee work?

Ask Al Gore how that worked. Or the Paris Treaty folks.
We need to be carbon neutral in twenty years. 2 billion people less (most of them from poor countries!) are not enough.
Interesting. Are these complete proteins? As in, do they contain all essential and non-essential amino acids?
It would help for sure, I'd guess the problem would be , will the maintainers of all these libraries be happy with the overhead that this would introduce.

A less invasive control might be to notify all owners when a new version is pushed, so they would be aware of a risk, if they weren't expecting a new release. Not perfect, but something.
This is disappointing. Bitbucket is the premier place to host free private mercurial repos. Just look at the hosting page on the mercurial website. There is literally not a single other place for free private hosting. There may be some smaller ones out there I'm not aware of.

Hacker news, question: Have you ever tried mercurial? Don't you like to save keystrokes? Isn't `hg com` easier than `git commit`? Isn't `hg pul` easier than `git pull`?

Is there any way to shorten the amount of keystrokes to use git?
He could have just moved the maintainership to someone else. I was wondering if there was something that triggered the decision is all. I wasn't trying to be snarky or mean, I just wanted to know what had cause the burnout.

Sorry this got taken the wrong way.
Don't worry, in the event of my untimely demise there are trusted people with access to the servers to pick up the mantle.
I started my distributed version control journey when SVN was still king of the hill and git and mercurial were both tiny challengers.

I actually picked mercurial first. I found the interface more intuitive, especially coming from svn. The problem was that everyday commands were just dog slow -- 5, 10 seconds on every single interaction. It felt like wading through molasses, contrast to git, which was effectively instantaneous on small repos and git on my large repo was still multiples faster than hg on a small repo. Also, IIRC hg didn't have a "git stash" equivalent. I chose git on its merits and didn't look back.

A few years later (2010 ish?) I met a mercurial evangelist who said things had changed on the performance front, but I checked and they hadn't.

I'll give hg the benefit of the doubt that it eventually got better, but I have serious doubts about your accusation that git's success had to do with marketing. I gave hg a more than even chance and it lost, fair and square, on technical merit, as weighted according to my everyday use cases.
WeWork Analyst Warns IPO Filing a ‘Masterpiece of Obfuscation’
Personal hero of mine. He pops up in lots of mountaineering documentaries. If only more CEOs were like this.

“I realized we were just growing for the sake of growing, which is bullshit.”
That's exactly my issue with going by market share. By installations, desktop Linux is massively successful compared to where it was in the 90s even though its share is low.
The problem with addiction is that it strongly diminishes the capacity to make choices. So I think at the very least, we need to be deeply suspicious of things like Juul. And advertising, of course, is meant to subvert rational choice as well, so given that Juul is mostly a marketing company for a highly addictive drug, anybody valuing people making their own choices should be very concerned about it.
Is that (CFCs) even solved?

https://www.cnn.com/2019/05/22/health/china-cfc-pollution-en...
Huawei Founder Sees ‘Live or Die Moment’ from U.S. Uncertainty
I think given the current political climate (sic), scientists tends to be overly cautious on these subjects. They know they can be berated for any not fully proven detail or tiny error. All in all I don't think this is a bad thing, forces against real changes are such that incremental actions are the norm anyway.
I hope that the Angular Blog will follow suit.
selfishness + nihilism, what a program...
Well it is being fought on some level. More and more blogs have moved off of medium and hosting their own. I sense that rss is making a bit of a comeback as well
Setting up an inbound proxy VM that NATs all your other machines is not "difficult".

There are plenty of tutorials online for doing this with nginx or Apache, and even a junior dev ops person should be able to do this in a few hours' work.

I highly doubt this requires hiring another engineer.
Determined gripping agama
Companies Might Be Smarter with Workers in the Boardroom
Because I find interesting stuff and I get to interact with other like-minded people. I feel like I have always something new to learn.
Here's a list of ultras: https://ultrarunning.com/featured/ultrarunning-magazine-all-...

As others have stated, elite women can best nearly all hobby jogging men. But they can't compete with top ultra runners like Jim Walmsley or Killian Jornet.

So if you define "competing" as "having a legit chance to win" then no, elite women cannot outrace elite men.

But always cool and good to see a woman win overall, hope it helps publicize the sport more. The fact that it has people here on HN talking is a good sign.
Unlike the VHS vs betamax comparison, Mercurial was not strictly-better than Git. Mercurial is quite slow in comparison and becomes brutally painful to wait for once your repo gets reasonably large.
I understood it to be a fee for static IP binding, used or reserved. Sad to be corrected (I mean, happy to be corrected but the news won't be happy)
Hot Chips 31 Live Blogs: IBM's Next Generation Power
Yeah my dream blog is basically Ghost that deploys static posts when I hit Publish/Update. I’ve been slowly working on something like that for myself.
Yes, but what about non-static?

Also, a CDN would also classify as "serverless", under the definition used by the article.
> Static but not inline functions will trigger warnings of unused functions.

Well, isn't it true? It's true also in the inline case. I consider it strange behavior not to emit an explicitly enabled warning for a case that definitely satisfies the warning conditions.

> Static and inline does not trigger this.

Tried -Wunused-function in gcc 6.3.0 and clang 3.8.1-24, with an unused-but-defined function declared "static inline int add(int a, int b)". clang still emits the warning, gcc does not.

If you're already dependent on whatever additional semantics gcc tacked onto the inline keyword you can as well use "__attribute__((unused))" to disable the warning for a particular function, which more clearly communicates the intent to disable the warning.
I don't agree with the assessment that betamax was superior. Sure it had more advanced technology, but it was too expensive and much more complicated - it fit the business requirements of a home video system poorly

https://www.youtube.com/watch?v=ddYZITaxlTQ
Let's Contribute to “Hacking for the Commons”
What can a "growing body of evidence" be, when performance at these events is precisely timed? Either women win or men win.
It's also likely it was done by an intelligence agency.
Neil Young’s Lonely Quest to Save Music From Low Quality Streaming
most humans have children because that is
maximizing their quality of life

Citation needed. I have read several studies about which factors improve quality of life. I cannot remember a single one that had "children" in the list of factors that significantly improve happiness.
It's worth noting that the hijacker pushed a malicious version of 1.6.x

Version 1.7.0 was released to rubygems on 8th July 2014, and 2.0.0 on 2nd July 2016, so anyone who has started using rest-client or run a `bundle update` recently is unlikely to be affected.

The impact could have been significantly greater had the hijacker pushed a new versions of 1.8.x or 2.x as well, so it's very fortunate the breach was spotted now.
There isn't, and shouldn't be a "male" class. There's a "human being" class, and a "human beings without the testosterone gene" class. The only reason to have the second class is because only half of the human population has the "testosterone" gene (aka the Y chromosome), and the other half still like to run. If you can win the "human being" class without needing the testosterone gene, more power to you.
This video said that they found geobecter bacterium that also produce electricity 30 years ago on 2017.
Also they said it is everywhere.

https://youtu.be/l1MuDYc0D2Q

Seems different with this one posted here.
Had it not been granted to UP, likely then we wouldn’t have this nice uninterrupted east-west throughway for transport of goods and data.

It’s rather a nice consequence of having granted them right of way in return for developing a railway. It’s better than an alternative patchwork. One just need look at the problem with right of way for the California HSR to see having a right of way is important for progress.
Force inlining code is actually quite a useful optimisation still. We have found many instances that after a few inline functions the compiler gives up and just calls the function instead. Force inlining certain low level functions has actually improved performance by several percent in our codebase.
>Take seaweed from ocean. Turn it into activated charcoal using solar pyrolysis.

Kelp and seaweed forests are vanishing due to ocean changes (as a result of climate change) and overfishing in coastal waters. It will only grow in water with a maximum depth that effectively limits it to coastal waters.

Then consider that you would need several orders of magnitude more area to grow it than currently exists.

For the solar pyrolisys too, you simply couldn't process it fast enough even if you found a way to grow it fast enough.

The seaweed route is even more unworkable than the algae would be.

Similarly I did the maths on using the 10 largest fresh water bodies (all other life in them be damned) to grow azolla and even THAT wouldn't even get us close to carbon neutral (a fraction of being carbon neutral) assuming 100% sequestration to anoxic depths.

There legitimately isn't a workable solution here, even if the entire planet came together, other than outright abandoning fossil fuels completely in addition to establishing new seaweed and kelp 'forests', reforesting land that has been clear cut, switching to permaculture for our food needs, outright abandoning cattle for food, etc.

Humans aren't going to extinct, but the next few decades will likely cause drastic changes in civilization as we know it and a couple centuries from now, barring multiple miraculous inventions and/or ET intervention, life for the common man will be incredibly different.
I wonder how long that will last, when people chemically "optimize" their bodies for winning. At some point, wouldn't the genetic advantage men have be lost among the testosterone supplements?
When I search Google for "brilliant" it gives these: "gifted, talented, virtuoso, genius, accomplished, ingenious, masterly, inventive, creative; intelligent, bright, clever, smart, astute, acute, brainy, intellectual, profound; skillful, able, expert, adept, elite, superior, crack, choice, first-class, first-rate, excellent; educated, scholarly, learned, erudite, cerebral; precocious". It cites that to english.oxforddictionaries.com.
There is https://xaddress.org

1) Opensource and free

2) Can be used offline

3) Designed to be used in low tech environments and decoded by hand

4) Multilanguage

5) Error correction incorporated with visual avatar.

6) Short code for storing or linking.

7) Works with any map.

8) Yow know is an address when you see it.

-----------------------------------------

Here is a comparision side by side of each option

For GPS : -6.7184 , 129.5080

XADDRESS: 7150 Magical Pearl - Maluku, Indonesia

WHAT3WORDS: percolator.surmount.retooled

GEOHASH: qyu1g0by7

MAPCODE: VQ6.1MFD

OPENLOCATIONCODE: 6Q5F 7GJ5+J6

-----------------------------

Article about it:
https://medium.com/hackernoon/an-algorithm-that-can-give-an-...

Github:
https://github.com/roberdam/Xaddress

(Disclosure: im the creator of Xaddress.)
Yeah true but I wouldn't call storing every possible result of a system in for instance a lookup table a computation. That is just precomputing all the results and then running a lookup.

If I have a lookup table of all the values of the sine and then use that lookup table to get the result of sine for specific value I haven't computed sine, I just looked it up.
Are you looking under the women's table? Can you provide a _single_ point where a world running record is held by a woman? You're really sticking your neck out on this point and I'm curious if you actually have a counter example or are just stirring the pot for personal reasons.

Look, I am all for empowering women and as far as personal politics goes, I think we're on the same page. However, nobody is doing anyone any favors by wishing away biological differences present in sapiens, and many other species too[1]. This is a stone fact of our biology, it's up to us what we do with it.

[1] https://en.wikipedia.org/wiki/Sexual_dimorphism
Banks Want Efficiency. Critics Warn of Backsliding
It has been said enough already but worth repeating - if everyone or most of them is remote in an office then only remote works - not only for business but also for the worker (career growth wise).
Retractable on-street chargers to pop-up on UK streets
I don't know how to feel about that subreddit. On one hand, they discuss the daunting reality of climate change in a way you don't see in many other corners of the internet (besides HN). On the other hand, reading it is definitely not good for one's mental health and they often don't propose any solutions, and generally the mood is a very "we lost, the game is over" attitude. That's not going to help anyone, even if we are too late to stop a large amount of warming.
Yep, thanks for the outline link, however as a side-side note it is the text accompanying the 451 that is IMHO interesting:

>451: Unavailable due to legal reasons

>We recognize you are attempting to access this website from a country belonging to the European Economic Area (EEA) including the EU which enforces the General Data Protection Regulation (GDPR) and therefore access cannot be granted at this time. For any issues, contact customerservice@lnpnews.com or call (717) 291-8611.
It's mind-boggling to think how fragile and potentially dangerous those dependency ecosystems are – no matter if it's Ruby, JS, PHP or other languages widely used for web apps.

We all just hope that nothing bad will happen or that it will be noticed fast enough.
Accounts get compromised, maintainers quit and transfer their project, bad actors might even pay the dev of some lesser-known dependency…

I have no easy solution for this problem and of course I too use external dependencies in my projects – but it feels like it's only a matter of time till disaster will happen and most of us just ignore this problem till then.
Whilst I'm not an intelligence analyst, this seems like a pretty basic/untargeted attack for a nation state.

It could be one, but it could just as easily be one of the many criminal gangs who used credential spraying to get access to accounts and then figure out what they can do with them afterwards.
Guitar Action: Lowering with Neck Relief
Marathon/Ultra swimming is one where women do much better. Multiple theories as to why; higher body fat and low bone density makes it easier to float, bigger hips means more buoyancy towards the back of the body when swimming, and/or higher pain tolerance. Men can't get anywhere close to the records that women ultra swimmers set.
Did you watch the video I linked about how women were explicitly discouraged/banned from entering long-distance running? The now infamous image is from 1967.
30% or 1800€ on a target of 6000€! @helloasso
#crowdfunding and 31 remaining campaign days. THANK YOU to all our contributors.
https://frama.link/lbdl
Bonus: https://peertube.fr/videos/watch/d95e543b-e527-4034-a655-29a...
#lbdl
And still science indicates nothing like you claim.
It's curious how the situation can be viewed like this. In my experience it's the exact opposite. Headlines in my country (Germany) are absolutely dominated by the climate doomsday scenarios. Taxpayers spent hundets of millions of euros for "greener" energy, entire industries are ruined. We even killed nuclear because it's somehow not green enough. Heck even fusion energy is too evil. Fridays for future and the green party are dictating what is allowed to be said. Dozens of German cities are literally in a climate state of emergency (no joke). The sky is falling according to everyone.
> Is there any way to shorten the amount of keystrokes to use git?

Sure, you can just set up aliases in your shell and in git. Set an alias in your shell for git → g and in git for commit → c and you can commit with `g c`.
I think it's especially popular in the US where they've always had long commutes. I work remotely from time to time, and it works fine when I have a specific task to focus on, but I've never managed to replace the spontaneous talks or meetings by a whiteboard with any meeting tool (be it Slack, Hangouts, Skype, Webex, you name it).