skysight-inc/HackerNews huggingface dataset:
Huh? It's all in the infographic. 60% is the target, but "production takes time" (see content here) hence the "ultimately". I'm not hiding the current number, it's in the key statistics.

If you're interested in where the 60% comes from in the first place > it's based on the lifetime costs of a number of machines. It was on the page a while ago, but the index page itself isn't a research paper so I removed it. I'll give it a new spot soon, probably on this page (already containing the foundation of the method):

https://digiconomist.net/bitcoin-electricity-consumption

If you just want to see some real-world numbers, check out my break-down a farm recently:

https://twitter.com/digieconomist/status/898582265080446976

(Note: subtle difference between part spent on elec & part spent on ongoing costs. I take costs and then 1 kWh for every 5 cents spent, so including overhead.)
Not your fault, bud. Offer to help train your replacement if you feel that bad and it!
I've found a very strong correlation between high amounts of very powerful kool-aid and terribly negative team dynamics.

Microsoft in the mid 1990s was not great, but it doesn't hold a candle to Amazon in the mid 2000s (and to this day) which is a highly emotionally manipulative cult with terrible backstabbing politics, stack ranking and incompetent leadership.

One early signal of this is if the company has a book that everyone is supposed to read. (For amazon it was required indoctrination for new employees)... though there are exceptions-- one startup required everyone to read "Crossing the Chasm" and while that company wasn't well run, that book wasn't part of the problem.

OH, the book thing may not be obvious-- a company must be run in a dynamic fashion. If everyone is mindlessly quoting cult slogans (e.g.: amazons "IT's day one!") or citing chapter and verse in a bible then it shuts down reasonable thinking.

The book becomes a source of thought terminating cliches.

I think this kind of cult ideology may be taking root at places like Google and Mozilla and Facebook where they seem to be forming a rigid homogenous ideology (though I haven't worked there, so that's just speculation from an outsider)
> Isn't that the opposite of great leadership?

What is great leadership? An ability to excel in well-parametrised circumstances? Or doing well enough in a broad set of situations?

Steve Jobs was a great leader. He only worked well in specific circumstances, circumstances he sought to produce and maintain. The failure in the Whitman anecdote above is not in the scaling limit to her leadership. It is that she failed to detect it before she passed it. Presumably, she has learned her lesson.
There's actually a parser for rust called syn, and it's very useful for procedural macros, as the current API exposes a stream of tokens, not a full AST.
Sounds like CERT (Community Emergency Response Team).

https://www.ready.gov/community-emergency-response-team
Magnetic Antigravity Path, Induction Falling Coins
So like WUPHF.com?[1]

[1]:http://theoffice.wikia.com/wiki/WUPHF.com_(Website)
OP lived in eleven countries, worked at ten companies, knows companies in and out and the signs when it's time to jump ship.

Why do such people with that vast experience always stay employed, keep critisizing but never start their own company and show us how to run a business the right way?
You're right. I'll refrain from commenting on how large tech companies conduct their business from now on.
Just leave. It's not your fault. If the cost is your well-being, fuck the company.
Babylonian tablet of base 60 trig
I've worked on a similar system running on plain FTP (wasn't SFTP created just in something like 2000? So that it wouldn't have been an option back when the system was created) but it had no obvious security flaws because of this - all the FTP handled was the exchange of encrypted&signed files with encrypted&signed ACK messages, the same system might have been run over something like plain email.
Houston: Boomtown, Flood Town
Haven't seen any reports of major roads collapsing. Bridges? There are no major bridges in Houston.

America has a knack of encouraging people to move to completely unsustainable places and not planning for the growth at all.
> I think the real question should be why do companies feel the need to hire a "Professional CEO"?

I think it's Tyler Cowen or someone from his blog who has the answer to this. It's the star system. It's relevant for sports, entertainment, CEOs, and anything else where the premium for an established player is significant.

Hire a new guy to do a star job, and you take a risk. Hire a guy someone else already hired, and you're just doing what's normal. New guy may be cheaper, but once he's elevated to stardom, his pricetag will as well. So no great win there. New guy may fail though, and they you will look stupid. Why'd you hire an untested guy? Maybe you should be replaced, too!

Established guy may fail, but many things can cause failure. You just got unlucky. OTOH if he does well, he's worth every penny.

New guy may do well, in which case you're fortunate for seeing what anyone would have seen.

If you've ever thought it was somewhat hard to explain why some people seem to be elevated while others with seemingly similar skill are left on the shelf, this is one mechanism. Add in actual skill difference and it starts to get interesting.

Wrt to Uber, there probably are a bunch of execs who've been there a while and know the place. They could probably do an ok job of it, but because the board are in a position where Uber really needs to be turned around properly, the people who could that best won't get the chance.
Redis is a bad choice for locks. Should be using ZK or something else that provides consensus.
I've written event-driven, non-blocking style C for a couple of different projects on POSIX platforms. When a file descriptor becomes readable, you read from it until read(2) returns EAGAIN[1] or until a condition is fulfilled, such as the read buffer containing a delimiter. People new to event-driven programming may just invoke read(2) once for each readable event, check for a condition and then yield to the event loop. This sounds like the same mistake, only with more turtles stacked on top of it.

[1] This applies to sockets and pipes (incl. stdin), not regular file I/O which usually ends up being off-loaded to a thread/process pool (if needed)
Maybe you could explain what it is specifically about running Uber that would preclude a 68-year-old from doing it?

Edit: Just to be clear, if it's not already: Part of why I ask is because I think Carol Bartz would be a fine candidate to give Uber the reality check it seems to need. She's a bullshit-eliminator. But there's a question as to whether Uber is merely a place where there is a lot of bullshit (this I think most people agree on) or whether it's a place constructed of bullshit. If the latter then there's not really much hope for a Bartz type figure to succeed.
Off topic, but are you still interested in those ActiveX h264 dvrs? I've got sdks for a few variants of a chip family commonly used in them and am working on reverse engineering their binary kernel modules, and was hoping to start gathering helpers.
This thread is why I love HN. Thank you.

I'm not familiar with Newtons' filesystem. What was different about it? I was too young to have one when it was out and the one I was given a few years ago died.
Clojurescript is nice a option too, you get a language with better defaults and you don't have to pull in immutablejs/lodash or you favourite immutable and util library and deal between all the inconsistency between them. All the ES6/7/8 stuff is there too plus other niceties.
I'm in New Zealand, not the US.

But in many ways, our culture is the same, and inequality is rampant.

Our current center-right government is also systematically dismantling social welfare and public health systems, with the end-goal being something very similar to the US, I guess.
You've made yourself clear that you're not interested in an honest debate, and I'm not interested in a dishonest one, so I'll leave you to have the last word, though I won't bother to read it.
https://twitter.com/RosenbergPolice/status/90183726729943040...
For now, it produces a recursive descent parser. Packrat parsing is an open-question since I'm afraid that adding a memoization layer all throughout the parser will lead to a consistent general slowdown.
Thanks for the links. Assuming close cooperation between the telecom companies and the national security agencies is the direction you want things to go, there's definitely room for improvement. In the Bloomberg article, improvement is what's happening.

Expecting perfection out of the gate--or even at any given time--is setting someone up for failure. If this is something you care about, what you can focus on is that they're making changes to improve the situation: they're actively responding to correcting and preventing these kinds of mistakes in the future. Unless they're omniscient and omnipotent, it's really all they can do. This applies to work in general, not just security.
I dunno, I re-read the beginning and I didn't see anything about the points I raised. I think your point that overzealous people who as you put it:

begin by shopping for ballistic vests and night vision goggles; they would be better served by grabbing a fire extinguisher, some bottled water, and then putting the rest of their money in a rainy-day fund.

is right on point, but IMO that just says - hey don't be insane.

Literally right now, my good friends are being rescued from a rooftop in Houston. No number of bottles of water in their basement or generators are going to help them. They are lucky in that they have some discretionary funds and Flood insurance, but more likely than not (if history repeats itself) they wont get fully paid out for what they lost.

What they should have done is learned when to move or when to stay by: 1. Not buying a house in Houston and then 2. Gotten out well before it was imminent.

Small scale common adversities like you are talking about can get critical really quickly. All those preparations, other than just having savings, is just making you slightly more comfortable and buy you a little bit of time so that you can make a bigger plan. Good, but insufficient and gives you a false sense of security. Again, these are things I've seen over and over.

Planning for the range of disasters from a month of unemployment and TEOTWAWKI is the same basic mental change, not just a full basement and bank account.
Roof-fed tanks are becoming common where I live. The water is probably safe to drink without treatment (I spent my teenage years in a rural environment with entirely roof-fed water tanks), but boiling or chlorine will ensure that.
Which are unavailable in many EU countries already.

Practically the only way of connecting anonymously to the Internet is the old-fashioned wardriving, or getting lucky and finding a "free wifi" which is not limited to the Web only.
FEMA is saying they'll be there for years, not months:

http://www.cnn.com/2017/08/27/politics/fema-harvey-brock-lon...
For pocketknives, some standard quality makers are Spyderco, Benchmade, CRKT, Kershaw/Zero Tolerance, and Buck. Prices really run the gamit, a low end Buck or CRKT will be $20 but will have lower quality steel that will dull rapidly. A high end Zero Tolerance will be from a known knife designer, will run an exotic super hard steel and cost $300. If you want a decent knife that you can rely on in an emergency, expect to spend $50 to $100. Spyderco knives are very well regarded, although some people find them ugly (I do, but I carry one anyway).

"Traditional" knife makers - for pocket knives like your grandpa used to carry - are Queen, Great Eastern Cutlery, some Buck knives, and A.G. Russell. Prices tend to be lower than for modern knives.

For multitools, it's really hard to do better than Leatherman. A Wave or a Skeletool will be about as good a multitool as you can buy.

For fixed-blade knives, which are better for hunting/fishing, camping, and general "survival" tasks, Bark River makes a very complete line and does a great job at it. They tend to run in the $150-$250 range. The Bravo 1 is considered to be their "do everything" knife. You can also buy fixed blades made by Browning, Helle (Norwegian outdoors knives), Buck, Benchmade, and Spyderco.

If you want to investigate this topic a lot further, there are several good websites. I read EverydayCommentary by Tony Sculimbrene, who reviews knives, and KnivesShipFree, which sells them.
Thank you for the actual answer. Funny how some people are so excited to give an RTFM answer that they forget to read the question.

E: turns out this is wrong anyway.
It needs to involve everyone because the only way to get there is to force them, and forcing only some of banks is kind of unfair.

E.g. the EU got there by legal limits on transaction settlement time set by the first payment services directive, the infrastructure came into place only when the banks got the message that they have to improve the product or else (IIRC the law specified that after a couple years, customers would be entitled to compensation if their payments were "too slow"). Without the requirements, EU banks would still be happy to charge 10 eur for a 3 day payment, since that's obviously more profitable than charging cents or zero for same day payments, even if the payments would be running over fast&cheap infrastructure - case in point, UK banks, which charge extreme fees for EU EUR payments simply because they, as a non-EUR country, aren't forbidden by the EU to do so.
Yeah. I'm using Safari and it claims I'm using an outdated version of IE, only showing me a notice and link for Chrome.
That is not going to prevent any supplies from reaching anyone.
Interesting. I'll try and find some time to read the source - am interested to see how this is implemented.
Ask HN: Advice on evolving from freelancing gigs to a consulting company?
I feel like i am stuck in a loop, I see a lot of folks struck in this as well, I started a freelancing account on upwork/freelancer/similar site, a year or two later, I have an established profile, I want to build a company instead of getting gigs as an individual (because of the securtiy net / the prospect of getting paid even when i can't work etc). But the gigs I have as yet, don't convert as they insist I be the one to write the code instead of someone I hire. Any advice on people who have been through this problem? how should i address it?
Pretty good! I've had boxes that got more than 4 years uptime there. Hardware is solid, network is nice (at least for EU), and when it come to the price: it's the best ones.

Support is fast and always reactive as well.
This misses the dimension where specific people are your passion in life. For example your significant other and children. In those cases work IS a necessary evil and work life balance is a direct attempt at gaining more time for your passion.

I'm not in that boat and gladly lose myself in things, but I understand the perspective.
Not everyone has the personality to start a company, or be the CEO. I've certainly had the experience to do so as well, but I really do like to be the #2 guy in the background, not the #1 guy out in public. And I know that about myself, so I seek out leaders to follow instead of starting my own thing.
Where I live, basements aren't really a thing, but I can see how it could be problematic if the water heater was in a flooded basement. I wonder if you could rig up a manual air pump to force water out of it without using the drain tap at the bottom, though.
>>Haven't seen any reports of major roads collapsing.

https://twitter.com/RosenbergPolice/status/90183365789111910...

You gotta realize Houston is basically built on clay. Once the clay is washed away, like what is happening now, many buildings and lots of infrastructure will collapse.
Laptops catch fire sometimes.
Sounds a lot like what FreeBSD CARP[1] suppose to do.

[1] https://www.freebsd.org/doc/handbook/carp.html
Most worldwide don't actually. Suburban single family homes, sure. Apartments and the like, much less so. Even less so, in non-western countries with electric under sink heaters.
So, are we going to have quotas for wine too? :(
I took a 40k paycut moving to New Zealand back in 2001. I don't regret it, since leaving my country of birth, things have only gone backwards there, and NZ is a great place to raise my son.

Since I was here, I took a 10k paycut once, to move from a big company to a small startup.

It was the right call, but I was lucky, and it was by no means guaranteed to work out (2009 was scary).

Company got acquired by a massive one, and compensation ramped back up to the top of the scale (w/ RSUs making total comp p.a. something I can't match elsewhere in the local market - I interviewed around, and found out I was making substantially more than the CEO of the startup I interviewed at).

But thinking of making the move again, since I'm feeling my skills atrophy a bit, and financially now on a solid footing, so I'd like to work somewhere a little more fast-paced.
The worst of the rain has not arrived yet. If gigantic sinkholes are appearing now, things will get much worse.
It's way below a livable wage in Italy if it's before taxes.
This makes it sound like Texas is somehow leading the country in telemedicine. The real story here is that despite early progress in this area, doctor's groups successfully lobbied to have heavy restrictions put on telemedicine in the past few sessions, because the legislature in Texas is generally up for sale to the highest bidder, and the bill that passed simply eases up on those.
It's not a bad idea per se, it's just probably overkill. I mean I keep a bug out bag and a tub of supplies, so I don't disagree wholly, but it gets out of hand quickly if you aren't thinking critically about it.
You are right of course. We were involved very early on with Newton development and were asked to start looking at Dylan pretty early on. I still have the original DRM which featured s-expression style syntax.

Soon after though we got an early release of the Newton Tollkit (NTK) which was written in Common Lisp AFAIK.

Maybe that is why I remember tools being heavy weight. The tools, not so much the compiled results.
Veganism is definitely a big thing, my Danish neighbour told me when he was living there people looked at him weirdly when he showed up with meat for BBQs.
TL;DR - in addition to the usual spots at the bottom of drainage basins, lithium also exists in pegmatite and hectorite deposits. But there's currently no commercially-viable process for extracting it. Headline is kind of hype-y.
IMO #6 (Believing Your Own BS) is very similar to "Success Hides Failure". If a company achieves great success, it can become very hard to push against the status quo.

Any argument that boils down to, "we've done X this way for years, but we should do Y instead" can be shot down with, "but we've been so successful for all those years, clearly we know what we're doing". People who are naturally inclined to always stay the course are given a very powerful rhetorical device with which to argue.

The real conundrum is that in many cases they might be right. It's a powerful argument because it's often true. Correlation does not imply causation, but causation usually results in correlation. Many of these arguments end up being rooted in people's gut feelings about things, and get resolved through org charts instead of rationality.
They're saying this could be the worst disaster in state history.

It already looks like New Orleans after Katrina:

https://twitter.com/NBCNews/status/901818498908905472

What's worse is it's forecast to head back out into the gulf and drop rain on the region until it makes landfall at Houston (possibly as a cat 1) on Thursday. Several of the major dams/reservoirs are already at capacity and we've got another 20-30 inches of rain.

It's like worst case scenario.

It is estimated an additional 24 to 30 inches of rain can fall in Houston metro area, on top of what has already fallen by next Thursday. I cannot overstate enough how much I hope that model is wrong, on that value.

https://www.reddit.com/r/houston/comments/6wbo8t/live_hurric...

Get ready, because the next few decades are gonna look like this.
Another area that is sorely in need of telehealth reform is dietetics and nutrition. Nineteen states require a license to provide any type of nutrition guidance, education, etc. but they only allow dietitians, people with just a bachelors degree in something like food services, to qualify for that license. The laws are written so that even tele-health is completely out of bounds when it comes to nutrition. I hope more states wipe out these prohibitive licensure laws when they do more to protect market share, than public health.
Yes that works in most cases but I strive not to use preact-compat - like to keep things lightweight.
I have an idea, should I quit my full-time job to build a startup?
I'm currently working remotely for a London-based company. Incidentally, also from PL (Warsaw). Difficulties? The usual with remote work: a bit of loneliness, in 2017 video still sucks, and text is bad at carrying contexts, requiring more careful communication. Oh, and EU VAT is a minefield in PL. Otherwise the plan is sound, if the employer can be convinced to hire you as a remote worker.
To my palate, butter tends to be a little bit sweeter and less oily than margarine. It tastes lighter and richer.

It's not as obvious as, say, olive oil vs. canola oil, but it is distinguishable. I can imagine giving up butter in favor of margarine... but then I also doubt the half pound I go through per year has a major impact in the big picture.

As for cheese... I do eat tofu sometimes in place of meats, but don't see it as a good substitute for cheese, except for perhaps a very narrow selection of cheese varieties (perhaps paneer).

I've yet to find a soy substitute for a cheddar or brie. What I have had is soy ricotta, which is about 80% of the way to matching the real thing in terms of texture and about 50% there in terms of flavor. I have no doubt it will be done eventually, but we're still a _very_ long way from replacing a cheese lover's dairy consumption with alternatives.
I want to see some data about how these bootcamps perform in the job market, before seeing more ads for bootcamps.
The biggest problem I had with forced promise asynchronicity was with browser promise polyfills, which use setTimeout to force success and error handlers to be called asynchronously.

This is fine, unless you're:

1. Modifying the DOM and hoping to avoid jankiness
2. Trying to work with popup windows, in a browser which deprioritizes setTimeout in all but the focused window.

I ended up implementing https://github.com/krakenjs/zalgo-promise to get around this. It intentionally "releases Zalgo" by allowing promises to be resolved/then'd synchronously, but my belief is this doesn't have to cause bugs if it's used consistently.
This is a neat project! I might take a look at this if/when I get started on my dream language. :p

One constructive criticism, which may be only an unpopular opinion, but I find creative operator overloading unnecessarily hard to read. And I don't think my opinion is entirely subjective since, by definition, you have to learn new semantics whereas a good function name would make the meaning obvious. Maybe this syntax would be familiar to people who are already familiar with formal grammar notations?
Please please please help fight climate change. Stand up get mad. Fight the system. Do everything you can to fight the fossil fuel industry and save Earth for our posterity.