skysight-inc/HackerNews huggingface dataset:
> It's simply a matter of cost, and that's a combination of situation and experience. Batteries, hydro, compressed air, thermal, gravity... all of these things work, and are known quantities.

Everything is a matter of cost. If cost didn't matter, we could just suck up all the CO2 from the air. That technology already exists too, and it's a "known quantity". The problem is, cost does matter and there is such a thing as "prohibitively expensive", especially if we're looking at countries that aren't as wealthy.

Furthermore, relative costs matter. What are we not building if we are building all this buffering infrastructure?

> It doesn't take a breakthrough in technology to say "If we build a tank for compressed air that is volume X, to pressure Y, it can store energy Z; and thermal losses for conversion in and out are A, and it costs B to build". This is completely ordinary engineering.

Sure, but if B is too large, it just won't happen. That's why you need a technological breakthrough to get B within the realms of feasibility.
You presume that a legal regime of IP per se encourages the flow of foreign capital and is to the benefit of local successful startups, but what's the evidence for that?

What happens when relatively robust economies start to reject IP conceptually, altogether?

It seems unambiguous that they'll be at an advantage, not the other way around.
I have a theory that this happens in Amazon to cheap products (e.g. it's great the first couple months and breaks after 6, but the review is made several weeks after the first product). The reviews mean less as a result, and the only good signal is a heartfelt review from someone who has used the product (or in Glassdoor's case, has worked there a while) a while (and it's worth scrolling pages of the meaningless review to find them).
An intuitive, intelligent performance debugging tool that works for any programming language.

A similar tool that finds common errors like race conditions, missing null checks, etc.
If you do most of your research in-browser, you should look at u/burtonator's https://getpolarized.io/
bcmp just tells you "equal" or "not equal", while memcmp tells you "lesser", "equal", or "greater".

I don't really know, but I suppose it might be possible to make bcmp faster since you have less strict requirements on the return value.
That make me think. It seems we're losing a lot of kinetic energy with rain, just letting it fall and impact the ground without capturing the force. Your example was real though, so I suppose that's an advantage over crazy rain energy.
upvoting you for this. I thought it would break it into a block, and was wrong.
What's being measured is the strength of the bars that make up the roof, not the glass.
Just listened to the How I Built This with you and your brother. Thanks for sharing your story there. Big fan of Stripe!
Does this mean the Linux x86_64 kernel could only be built with gcc before this LLVM release?

Are there any downfalls of switching from gcc -> LLVM for kernel compilation? Why might somebody want to stick with gcc, why might somebody want to switch to LLVM?
Doesn't this have implications for any industry that sells a digital product? Games, music, movies/tv, software, etc?
Probably not the answer you are looking for but I don't understand why these two machines get so much love from developers.

In my opinion Asus is underrated if it comes to great Linux laptops. Some models have stellar Linux support, are lightweight while still having battery, disk and memory upgradable.
This is what assaying is. And a certain Mr. Archemedies had a specific eureka moment on this very question.
What I hate is the impression. You can have mitigation controls galore. I trust that they all do. However, it's difficult for average customers to understand that. When even NIST has longer password recommendations, people who hear that "long passwords are safer" should have that option. Banks are relatively arbitrarily depriving security conscious people of that nominal opportunity to try to practice good password hygiene. The line is that password resets increase with password length. I'd be fine with that.

I am an Information Security professional, customer of financial institutions, and started my earliest engineering career for a large bank.
Your competitor Adyen sits a few streets away from me in Amsterdam. Seems like a very thriving and interesting market you both operate in.

Congrats and best of luck!
Win a Car – 🅶🅴🆃 🅵🆄🅻🅻 🅰🅲🅲🅴🆂
ᴡᴇᴇᴋʟʏ ᴡɪɴɴᴇʀ 100% ɢᴜᴀʀᴀɴᴛᴇᴇᴅ!

WIN A CAR

You can win your dream car for as little as £0.85 by using your own skill, and playing spot the ball well enough to win! Check out the recommendations below, or the full lineup that you can play for here!!

🅶🅴🆃 🅵🆄🅻🅻 🅰🅲🅲🅴🆂!!

ATTENTION: YOU MUST TO CONFIRM PAGE or RESOLVE CAPTCHA to get FULL acces:
http://binb.ooo/2nABG
I don't think you understand what "maintenance" means here.

If you make them well enough for the job, you haven't succeeded at your job.

If you make them well enough for the job and you don't need to constantly watch for failures, you have succeeded at your job.

If you can't say "this is as good as it can be done" for a given piece of software, you might have room to grow.
This is the kind of ad-hoc PEP proposal that could be completely avoidable if there was a generic modifier or initialization/declaration construction for declaring a variable as constant. So incredibly simple, so incredibly useful that it's hard to believe that it hasn't been accepted yet (it was proposed).
I think this is a question that's orthogonal to OOP-versus-functional-programming, but is rather about programming style. Haskell programmers like being terse, but there's also nothing stopping you from writing Haskell like this:

alignCenter :: [String] -> [String]
alignCenter lines =
let maxLineLength = maximum (map length lines) in
[ leftPadding ++ line
| line <- lines
, let leftoverSpace = maxLineLength - length line
leftPadding = replicate (leftoverSpace `div` 2) ' '
]

You could have verbose and easy-to-read functional code—you don't see this often in Haskell by convention, but you might in OCaml or in Scheme—and you could also have terse OOP code filled with single-letter variable names (less so in Objective C by virtue of the method call syntax, but I've definitely seen code like this in Java and JavaScript.)
Yes, far from it. Actually a lot them seem very intuitive, esp.

lower() {
# Usage: lower "string"
printf '%s\n' "${1,,}"
}

And with uppercase, "${1^^}" instead.
They weathered the last one. Lehman and Bear didn’t.
It doesn't matter because the glass isn't load bearing. Sunroofs are even less rigid and safe than panoramic glass roofs and cars have been passing safety tests with those for decades.
Congratulations! Stripe has consistently made my life as a developer and entrepreneur significantly easier. I still remember that feeling of relief some 5-6 years ago thinking, "Yes! I don't have to use PayPal's API!"
OTOH they were willing to pay almost $100 million a year just for rights to The Office.
Like reading a novel that created a stereotype/trope - so derivative!
1) Impending recession

2) Not enough IPOs so lots of investor interest to deploy capital into something( (thus driving up the price, making it more attractive for startups)

3) We're near the end of a 7~10 year cycle where lots of private VC capital was deployed and needs to be returned

4) 500 private investor maximum SEC rule
Tesla Model S Plaid can achieve 7:20 at the Nürburgring
Pretty sure if anyone should be using 'technically correct' terms from the field of economics, it should be the IMF.
That's an interesting story. How long did the effect last? Did you ever report it to anyone in any "official" capacity? (ie, seek medical attention, report it to the manufacturer, etc)
DEET is not a pesticide. Are you thinking of DDT?
Posterous was genuis: Blog posts over emails. Its primary competition, tumblr, grew big with super easy sharing mechanics. Notion.so now with its Swiss army knife of products, esp with wiki-like semantics, has taken off as not only an Evernote alternative but for documentation, as well. And there's of course, Netlify that turns GitHub repos to websites; plus tilda.cc and the like are growing, too. This area (low-code websites) is ripe with budding upstarts.

I personally use https://1mb.site for simple pages, but it still isn't easy to use.
Safari is the new internet explorer. Too little, too late.
Except the sheriff didn't make the argument that it was outside the time window, he said the state did not have the right to authorize a break-in attempt on a county courthouse.

My guess is the state will shortly remind the county about government hierarchy.
I'm not seeing anyone state any numbers, though. Just a bunch of handwaving about how it's totally impossible, which strikes me as simplistic BS.
Specifics would be useful. Either criticisms, or links to same.
you're talking about number of people covered, but area covered might be an even better metric.

I think the number of cameras per 1000 capita is actually a good metric, it's easier to calculate and it probably is doing a good job on average.
In some ways, this reminds me of the debate over whether it's "worth it" to make the Mac Pro. As a percentage of sales it's tiny. But there are other reasons they do it that aren't about the profit they get from that single device sold, other ways it impacts the company.
Repo of the Linux kernel built with clang:

https://github.com/ClangBuiltLinux/linux
IANAL, but I don't think so. In the US, you can't discriminate against someone because of their religious beliefs, but I doubt that "having bad energy" counts as "religious belief", even if that "bad energy" thing is itself a religious belief on the part of the employer. If I objected to the color yellow because of a weird religious stance, I think that I could legally fire someone because they drove a yellow car. I couldn't fire them because they didn't share my religious belief, though.

But this may be one of those weird edge cases where an argument can be made either way.
Yeah I wonder why the purge-test-data job is blocking and long-running. I suspect it's just low priority to fix it, but I imagine it would be doable to "unlink" the user's entire "test database", provision a new one, and wipe the old one in the background whenever convenient (and not even necessarily the same day).
I honestly don't understand why electric vehicle manufacturers went direct to consumer. Fleets are the ones that are looking at pure economics and would have the most to gain by cutting down on energy consumption.
You should have seen developers rigorously implement requirements. Just saying.
It can easily be a smokescreen for, for example, racism (perhaps unintentionally).
Congratulations on launching!

How are you handling AML/KYC? Is this something that AnchorUSD will front first, and is there a fee that they take for the deposit? Also -- do you have to restrict usage for certain jurisdictions (e.g. NY state residents)?
memcmp returns the lexicographic ordering of the parameters (<, = or >) while bcmp only returns equality (anything nonzero is difference so memcmp is a suitable bcmp), so the LLVM folks believe worst case scenario bcmp will alias to memcmp, and possibly it'll have better performances since it has to do less: https://reviews.llvm.org/D56593
Isn't that what cert pinning does though?
I'm finding that in Javascript, I really enjoy map() and filter(), but map() caused some friction on code reviews at one place, from someone I don't think had any FP background. The are best when they are one liners, of the form .map((val) => someFunction(val)) or .filter((val) => val.length > 1)

reduce() on the other hand is always illegible to me. I get pretty grumpy when I am 'forced' to use a reduce because the code calls for it. It just looks like I'm trying to write obfuscated code.

Often I'll just unroll it to a forEach.

This code structure in your example reminds me of some Python code I was reading recently (Norvig's Sudoku solver). Putting the conditional at the end of the line fights the way humans process data. Quite often we are trying to filter lines of code that could be involved in a problem and saying things like "do an action (if this condition is true)" increases the amount of short term memory I have to use to process the function. That's bad ergonomics.
Uh, I'm not sure why you believe this is an effective retort, perhaps you would like to explain?
Toward an artificial intelligence physicist for unsupervised learning
Silicon Valley is terrified of California’s privacy law
Is there now an opportunity to create yet another simple lightweight API but one that doesn't cover all use-cases?

I think so.

One of my businesses has used Stripe since they launched in the UK, around the same time we were launching ourselves. Like many others, we appreciated the straightforward API, excellent documentation and easy integration. I’ve been happy to recommend Stripe personally on many occasions since then.

Recently, we were trying to update that original integration to take into account the new SCA rules that came in across the EU last weekend. Unfortunately, after reviewing Stripe’s current documentation site in its entirety and other SCA-related material, followed by a lot of discussion with Stripe’s support team, we were still struggling to understand the model of how SCA fits in with Stripe’s current API. That left us unclear about the structure that our integration needed in terms of Stripe.js, the API and webhooks. Essentially, after a lot of effort, we still didn’t really know where to start, and inevitably there came a point where it wasn’t viable to continue and we had to look at other options.

Of course Stripe has grown a lot more than we have in those intervening years and it’s understandable that their data models and APIs will have become a lot more complicated to meet the needs of their wider target audience. But sadly, the simple API, clear documentation and top-notch support that made them so attractive originally do seem to have been casualties along the way.

Given that SCA seems to be causing a lot of bother across the whole industry in Europe, to the point that several EU member states seem to be deferring its implementation because so many people aren’t ready for it despite years of advance notice, it does feel like there’s an opportunity for someone to disrupt the online card payments market in Europe now with a back-to-basics approach that is enough to meet the new regulatory requirements. One interesting question is whether it will actually be another card payment service that does so, given that a lot of other payment methods are popular in various European countries and some of them do have significant advantages including fewer complications due to SCA. We live in interesting times, as they say.
dupe of https://news.ycombinator.com/item?id=21018675
"I apologize for the length of my letter. I'm afraid I did not have the time to write a shorter one." -Blaise Pascal (et. al.[1])

[1] https://quoteinvestigator.com/2012/04/28/shorter-letter/
Just a heads up that you can get the column free if you subscribe to it as an email newsletter.
I respect the scale of your ambition and the suite of services/products you guys offer to realize it.

I love the copy on Stripe's website. Who wrote it?

Godspeed.
Mainstream yes. Android has moved to clang for quite a while now, the Linux kernel is the only GPL piece left.
Both are equally bad. Search for a laptop with user upgradeable RAM and SSD. There’re many thin and light models on the market.

For RAM, laptops manufacturers overcharge a lot. E.g. HP asks $660 for 32GB RAM option. The market price for that amount of RAM is $120 for the equivalent of what HP offers (DDR4 2400), or $230 for much faster one (DDR4 3200).

For SSD, laptops manufacturers overcharge a lot as well (HP asks $762 for 1TB SSD option, Intel asks $100 for their 1TB 660P M.2 2280 NVMe), but it’s worse than just the cost. You’re unable to recover your data from a broken laptop. Also, unlike RAM, SSD technology advances very fast, they release new models which are both faster, larger and cheaper. I’m upgrading SSDs in my computers once in a year, even more frequently than GPUs.
I think it's more of a "relative" to certain cars.

I could compare it to a miata that is ~2300lbs. But that's not really relevant then, is it? A Jeep Wrangler is basically a truck - so I don't think that's a good comparison.

Compared to other "compact executive cars" (as its class states) it's close to the competition.
My guess is that Stripe has a service internally which predicts "how much of each currency am I going to have, and how much of each currency do I need to pay out at the end of the day?" Then, they balance whatever currencies they can internally, and for the rest, convert to USD, before paying out to customers.

The reason here is because Stripe wants to mitigate exposure to non-USD price fluctuation, e.g. if EUR dives against the dollar. Many companies do (or should do) some version of this rebalancing, e.g. FB cited on an earnings call last year that they lost a large amount due to forex fluctuations.
Internet app improving fish farming
memcmp promises a nonzero return value tells you something about the lexicographic ordering. bcmp does not: so if you only care if it's exactly equal or not, it might be faster.
TXR Lisp:

(defun align-center (strings)
(let* ((maxl (find-max [mapcar len strings])))
(mapcar (op fmt "~^*a" maxl) strings)))
Mr. Godwin wants a word:

https://web.archive.org/web/20170814022147/https://m.faceboo...

https://www.washingtonpost.com/posteverything/wp/2015/12/14/...
It may never be prioritized, but it's much better to have a bug report/ticket than to casually mention this in a comment no one will ever see.
This opinion is flameworthy and stereotypes heavily: what seems to happen in FP is that the overall community is substantially math-IQ smarter than the imperative languages. Alas, that ALSO means the overall community loses social-IQ in the process.

This leads to:

1) higher barrier to entry for the general programmers, in language semantics, documentation, examples...

2) a tendency to overabstract, underdocument, and write clever code

3) write code that is obvious to the person who wrote it (at least for a few months), but being CODE is tougher for people to unpack.

4) people don't collaborate in packages, so they tend to be single-hero projects that are abandoned, and since FP code is a bit harder to parse for typical programmers, don't get adopted/unorphaned. Thus the library code beyond the standard library gradually degrades.

5) I won't say that FP is the only domain of religious zealotry in language minutae (syntax, etc), but it does seem to have a higher proportion or much louder zealots.

I've been in the industry for 30 years, and while it could just be mental ossification of age, nothing seems to have changed since the usenet days with Scheme/LISP, despite the fact the toolchains are now free and downloadable, and despite some of the smartest people in the world preferring them.

The fact that Rust is gaining some momentum with its fairly alien memory management is yet another example to me that the IQ barrier of purer FP (no infix, lots of recursion, etc) is just too high to surmount.
>Unless these emmission taxes are calibrated to the cost of climate change then this argument is missing the point.

The stated policy goal in part is to reduce emissions to met climate targets to fight climate change, so yes.

>You seem to want to argue that subsidizing a business and not taxing them on an externality is somehow morally the same thing

It is.

>but it doesn't mean that they are factually the same thing.

First of all, the meaning of words and political concepts are never factual.

But I'd still argue that at a high level they are the same, and both are subsidies. In both cases the government refuses money it would otherwise collect from different parties, thereby gifting those entities value you can put a price tag on.

Those decisions are active decisions NOT to do something (while doing something about the same thing or very similar things when it comes to other parts of the population), at least at this point.

The only distinction I'd make is between direct subsidies (the government forks over money) and indirect/implicit subsidies (the government decides not to make certain entities pay for certain things for which other entities have to pay the government).
They seem to be up there, but I think there are a lot of more toxic ones ahead of them in the line.

They may win on the "biggest nutcase" scale, though.
Senate Failed to Pass S386, Rejected by Sen David Perdue
You know you have a killer product when your customers will literally fly half way around the world just to use it.

When I started my company (since acquired) in 2012, Stripe was so game changing I flew from Australia to the US to open a bank account so we could use it. While we could incorporate in the US online, we had to turn up in person at a bank to open an account.

The only alternatives in Australia at the time were PayPal, which had outrageous fees and a terrible experience for recurring SaaS billing, or a merchant account with a bank which was going to require a $30k deposit.

It cost me $750 to incorporate a US entity, $1250 for airfares and hotel (oh to remember SF was that affordable!!). I stayed at Hotel Whitcomb, which conveniently has a Chase branch right next door, and 1 day later we had a US bank account and could turn on our Stripe integration. We didn’t look back.

I love Stripe Atlas, because I intimately relate to the problem, and wish we had it in 2012.
If you're not saying no often as either a designer or a developer then you should be concerned.
A list comprehension in python would be more comprehensible than either AND less verbose.
I've read mixed reviews about the value of the insurance, but you make a good point. Thanks!
Forget the marshmallow test; this could be the secret to kids’ future success
If you're looking for statically typed FP, honestly, start with Elm. You can do it in a weekend it's so conceptually contained. Then F# and OCaml are highly regarded. Avoid Haskell - worst bang for your buck on seeing returns on learning. It has some interesting concepts, but is a terrible language for learning statically typed functional programming.

If you're looking for dynamically typed FP (ex. LISP), go with Clojure, or lesser rec possibly Racket flavor of Scheme.
Damnit, now I have to learn Q#...I've been putting it off for more than a year but I guess I need to stay competitive.

Well, actually, maybe this would be the right audience to ask; if I wanted to do some stuff with quantum, would you recommend Q# or is there a cooler language to use now?
> I do really hate the type systems of Java and C++ because I think they're restrictive

Can you give an example of how the C++ type system restricts you? Is it just lack of some inbuilt mechanisms/syntactic sugars or is there something that you can't actually model with it?

> I think that forces strong and unnecessary coupling

How do you model/maintain invariants of a set of data in FP? That's the part that I don't understand yet.
>Not much here would be useful in resolving a dispute between two programmers, one who wants to do things one way and one who wants to do it a different way.

This is probably not what you meant, but: The last thing I want in those types of discussions is "But book X says this!"
That seems like an implementation detail. If you have an append-only log, you can always rely on each entry to never change. That's a kind of immutability. If you hold on to a reference to the log at a particular time, it will never change out from under you.
I was talking of compact ILCs specifically, that they would profit from this to become comparable with bulky 'pro' gear.
A couple of crumbs to follow:

https://en.wikipedia.org/wiki/DEET

https://www.beyondpesticides.org/programs/mosquitos-and-inse...
In India, you don’t need a Google phone to have a Google Assistant
Perhaps he means "priest" figuratively. Like how The Keepers of Lists were visually portrayed as monks.