skysight-inc/HackerNews huggingface dataset:
I often wonder what problem is being solved by Poetry, that pip with virtualenv(+wrappers) doesn't solve perfectly well. requirements.txt ensures you have the right version of everything in production, and virtualenv lets you explore various versions of libraries without risking any destabilization of your development environment.

I struggle to see what spending time looking at Poetry will yield in terms of any actual benefit, though I would love to be informed/educated otherwise.
I agree with most of this, but: Microsoft was hated 10x as much in the 90s and they're doing just fine today. MS's business model is much more stable, to be sure, but it's not like a $70 billion-per year company is easy to unseat.
> censorship, propaganda, surveillance, and manipulation --- have one common root: monopoly

> Not entirely original, though I'm unaware of anyone who's put all four together.

Looks like Cory Doctorow beat you by a mere couple of months :

https://onezero.medium.com/how-to-destroy-surveillance-capit...

(Well, as I remember it, I don't really have time to re-read this whole book now. And it's great to have a synthetic post about the same issue !)

I'm very surprised that nobody seems to have linked that in those discussions, especially you !
Feature selection, dependency overriding, worspaces, to name a few.
I hope lots of people die of coronavirus
How to hire UI/UX designers: marketplace or agencies?
Sweden Covid-19 Update
If you don't need c or c++ dependencies it's ok. If you do, it's very very painful. To be fair, most of the DS libraries can be handled by conda, but if you need both conda and pip, then you're going to have a bad time. (Source: this is my life right now).
Code not codes
Thanks, appreciated. I notice that the post title has been updated to clarify that as well (wasn't me, but glad someone did!).

Mod thread on title change here: https://news.ycombinator.com/item?id=25073970
is the Subscription API (https://stripe.com/docs/api/subscriptions) part of Stripe Billing and thus subject to the additional fee?
I'm thinking a trebuchet could be built onsite, straddling the carcass and facing the ocean. Then schoolchildren could use buckets to fill the counterweight box with wet sand. Seems like a nice STEM activity.
Would this thread have become #1 with this title?

The title used to read something like 'Stripe charges 0.5% more for subscriptions'.

edit: I would understand if this was actually the title of the page. But it isn't either.
It may depend on your AD admins, to be fair. But still, it should be heavily discouraged, if not impossible.
I don't think the problem is senior folks believing answering questions about bubble sort beneath them (I'm sure some do but I doubt it's the norm), I think the problem is that 99.99% of developers at all levels don't need to know how bubble sort works to do their jobs well.
> It could very well be that they have a lot of buyers because of a very low profit margin and this actually has a notable impact on the company's finances.

This is the real problem.

From the sidelines, it's easy to dismiss an additional 0.5% overhead as trivial. After all, that's less than 1%, right?

But it's not so simple. That 0.5% comes out of the profit margin. If a company has 50% profit margins, losing that extra 0.5% isn't a big deal. However, if a company is operating on 10% margins, that 0.5% suddenly becomes an extra 5% overhead.
That's not how they pitched it to us - and I asked for clarification multiple times because of how absurd the proposal was for a well established eCommerce site. Sending customers off-domain for a payment is not something we were willing to do for a normal credit card checkout flow.

Even "hosted fields" is absurd (and by that I assume you mean an iFrame you embed), and would require redesigning significant portions of the checkout process.

That, coupled with their refusal to even match our existing rates, was really off-putting. The sales people made little effort to understand our business and pain points - they just wanted to talk about how great Stripe is and all the AI stuff they do.
I think this is good advice or at least seriously worth considering it.

I remember DHH from Basecamp mentioning this once a few years ago. I forgot if I asked him on Twitter or if someone else did, but it came down to asking why Basecamp doesn't use Stripe's subscription API.

He said it didn't exist at the time but he also said it wasn't a ton of work to get it all working using the basic single charge API. Details are spotty since it was a random tweet from a while ago but the overall feeling of it was it's very doable.

I feel like the topic came up in one of those YouTube videos where DHH walked through real life code in Basecamp.

Even today it might be worth it. I mean if you try to integrate an abstraction on top let's say Stripe and Braintree, there's quite a lot of differences between the 2 for subscriptions. How much more work would it be to write your own subscription logic once and use it anywhere vs writing a really good abstraction.
Son of a... thanks.
The causation runs in the other direction. The Breitbarts made the voters immune to facts. The party followed them, and they elected a leader who matched.

There's a feedback loop as well: Breitbart found fertile ground because of decades of partisan separation from the facts, including a TV news network run by former political operative for the party. There's positive feedback between manipulation and profit motive. That primed people for a tenous connection to reality, waiting to be broken by fake news sites, and then to vote for candidates who rely on it.
There's also "The Big Bad NLP Database", a much larger resource.

https://datasets.quantumstat.com/
It's called dumping, and has a long enough history that many countries have anti-dumping policies
OMG! I was wondering you might be proposing this. You should not be using "new" keyword anywhere in your code. If you have hard coded implementations like that in your code then how will you mock them in unit tests? I hope you'll not reply-with saying "don't write unit tests".
Product Managers and the common philosophies this title seems to have adopted at those sorts of places.
325 billions
Yea, do you?
Go to reddit if you want to make average IQ humor.
How do you not get there? There’s no point in the “core gameplay loop” of browsing the web where you are encouraged to close a tab. They just disappear among the other ones and you don’t really have a reason to stop and think about whether you’re done with them. At some point there are hundreds.
Ironically, the "trinkets in exchange for land" thing happened to the American natives 400 years ago. I think, most people would agree that it didn't pan out as a big win for them.

Now a similar thing is happening to the middle class and I don't think enough people will see it this way before it's too late.
Or, it's a surprisingly relevant comparison (on the topic of the article) using pop culture references? Augmented humanity vs. the best AI they can create.

When it comes to titles for articles, this is both memorable and far less click-baity as is normal these days.
At O(million), the problem wrangling it has more to do with how well its architected and written than it being Python. Python is at least easy to read. Its major deficiency is the lack of annotation of parameters, and that's something that could now be fixed... but it isn't going to be fixed in that much historical code.

It you are trying to get performance out of it (which doesn't really hinge on whether it's a million lines of code), then Python might be the wrong choice. But you can always write it in Rust or C and give Python an API to the functionality.

I agree that packaging is a mess. Fixing that mess with modularization in Java took a long time, and most other languages have that problem, too.
1.3 billion doses @ $19/dose = $23.4 billion.
I got a number through https://jmp.chat/ to solve this. Instead of using my real phone number, I use the VOIP number which is accessible over XMPP. Unlike most VOIP nubmers it works with short code numbers. Most services will use the number a couple are dumb and refuse to send messages to it.
VP9 videos run smoothly on Safari—no fans.
This is the same as asking for typed JS and getting Rust recommended just because the syntax is similar.

They are totally different, the core paradigm of programming is totally changed and most of the points of JS are not in Rust (meta-programming, garbage collection, community)
You still are not forced to use it. The documentation will heavily emphasize it, but you can still manually new things up to your heart's content if you want.
Don’t get Scammed this Holiday Season
It happens with the data science/scientific programming stack a lot, at least twice in the last month I've pulled in a small dependency that changed my numpy version which broke everything.
So how do you measure performance or success of an engineering department within a bigger corp?
Not to evaluate salaries or budgets, but to know, are we moving in the right direction? Are we improving or are we getting worse?

From what I see most metrics on an individual or team level can/will be gamed leading to worse outcomes.

Metrics on higher levels like on the level of the product or even revenue of the company/product depends on many other players outside of the control of the engineering team (product management, operations, QA, regulatory, marketing, sales, etc). This of course it's due to the fact that delivering value to customers is a team effort.

But how can you know/show your department is on the right track?
> I wrote a lot of C# and a lot of Go. C# has so much more ceremony that it is more verbose and it shows even in the code we're discussing. You just have to be willing to look.

The Go mandelbrot program you looked at is a little larger than one of the C# mandlebrot programs.

816 C# .NET #9 program

894 Go #3 program

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
> I remember it being said in a few places that exercise doesn't actually affect all cause mortality until about 10 years after beginning a regimen.

Huh. I would really like to see some sources on that, more than "I remember it being said..."
Nobody specified whose life.
Curious to know what issues you have with deploying Python codebases. Out of all of the minor and major gripes I have with Python, deployment is not one of them.
Confetti in Messages? Branded guides in Maps? This is for a .. (checks notes) “OS upgrade”? I guess updating Misson Control is good but other than that (and the M1 chip itself of course which seems quite impressive) who really gets excited about stuff like this?

No thanks. Don’t want it, don’t need it. Given all the pain that was involved with Catalina I’m holding off for a bit.
genshin impact basically sealed the deal for me

no point buying a nintendo switch much less a proper mac.

I can get by with non-apple silicon arm Chromebooks like the wonderful lenovo duet
The article is four years old.
Not one that can block youtube ads though.
Bedrock Edition was based on the C++ rewrite for Pocket Edition and has better performance and crossplay.
What is protection/affection from one perspective can be captivity from another.
One report shows Apple as having about 14% of the world smart phone market share in 2020, so I don't think that's a fair comparison. Apple's control over their App Store doesn't prevent Android users from using the Google Play Store, whereas the New York Central Railroad's ownership of freight terminals and rail lines prevents other people from building their own (because there are only so many places you can put a freight terminal or a rail line).
Some people use tabs the same way others use bookmarks

My wife does this on her phone. I find it maddening, and tell her to just bookmark her sites. But that's just not how her brain works.

Fortunately, even between iOS updates, Safari remembers all of her old tabs.
>> This paper, “Cyllage City COVID-19 outbreak linked to Zubat consumption,” blames a fictional creature for an outbreak in a fictional city, cites fictional references (including one from author Bruce Wayne in Gotham Forensics Quarterly on using bats to fight crime), and is cowritten by fictional authors such as Pokémon’s Nurse Joy and House, MD.

Dammit, now I want to read the Gotham Forensics Quarterly paper.
In a lot of cases, reporters do not have access to AUM or want to extrapolate from potentially misleading sources in order to construct a percentage return that does not exist publicly. You don't see reporters attempt to extrapolate dollar returns from percentage ones when percentage ones are all that are available; even if dollar returns might make a better headline like you claim. A headline with an extrapolated percentage return would have to be phrased in an awkward manner like "could be down as much as" and an editor is not going to greenlight that. This isn't even broaching the subject of gross vs net percentage returns which isn't possible to succinctly address in a mere headline.
Thanks for your comment.

It hasn't held me back at all (the exact opposite, in fact), but it's important to note that this advice should be taken with a grain of salt -- it's not for everybody, as I said at the beginning of the article.

There are (at least) two approaches to managing tenure length as a developer. One of them is the "stay put in one place (usually at a FAANG) for thirty years and retire", and the other is the "take lots of short contracts, with optional breaks".

As long as you behave in a manner consistent with the approach you're taking, you'll be fine. The issue comes when you try to take one approach while believing you are taking the other.

If you change jobs frequently while looking for long-term employment, you'll substantially decrease your chances of being perceived as generating return on investment by potential employers. This is due to the dynamics of long-term employment which result in expensive onboarding costs that can take a while to recoup.

However, as a contractor, the onboarding and sourcing expenditures are typically lower (and budgeted differently): the ROI looks much different. It's acceptable and common to accept find and make short-term roles.

So it just depends what you're going for. I value the flexibility in shorter term employment which has been, in my experience, harder to find with the longer tenure track. It also seems easier to make sure you are being paid what you're worth.
Lol like the freedom to get fairly compensated for the value of one's work?
Right. However, you should do the opposite. Embrace their innovation and offer it on-perm (for example, on Kubernetes).
By far the biggest challenge for the Python ecosystem at the moment is how difficult it is for new users to get started, and how difficult it is for non-programmers to install tools written in Python.

I'd be thrilled if Guido and Microsoft could help make this better!
3/4 of car owners could get by with a moped.

Can and "should do so despite being able to afford otherwise" are very different things.
> The OP was dramatically wrong about Go being more verbose than C# when the exact opposite is true.

Sorry, I missed the proof - can you point me to it?

What you presented as "more verbose code" isn't actually a proof - i.e. yes, SIMD code is obviously more verbose than a normal one. And faster.

> Go has support for assembly and supports SIMD intrinsics just fine.

But wait, in this sense any language has support for assembly and SIMD. Bundled assembler is not the same as language-level support for SIMD - and even in https://benchmarksgame-team.pages.debian.net/benchmarksgame/... a large portion of SIMD code is actually cross-platform (what uses Vector<double>), and I am pretty sure sticking to just cross-platform SIMD APIs would be enough to beat Go.

> You wouldn't compare a C# code optimized with SIMD intrinsics with Go code that doesn't use SIMD intrinsics.

You use what's not against the rules, and it's not against the rules on CLBG. You're free to submit your own version of the same benchmark on Go relying on SIMD or whatever you prefer.

> It compares implementation of the benchmark code, not the quality of the compilers on the code that you'll actually write in real life.

Yes, any benchmark is somewhat biased. But honestly, comparing real-life benchmarks is even harder - they involve much more components, so whoever isn't happy with the results can always claim it's a comparison of frameworks, not the actual programs, etc., etc.
I was really excited about Opal a few years ago and the burst of activity it enjoyed for a while, but as time has passed I've become convinced that frontend code should be frugal and opt-in as much as possible. I don't want a giant wad of isomorphic code shipped to the browser.

But writing frontend (and Webpack-friendly!) code in Ruby is still fun, which is why the modest ambitions of the Ruby2JS project excite me and I'm happy to contribute to that project nowadays.
Do you mean DI (dependencies being added through the constructor abstracted by an interface) or DI Containers (magic code that magically creates objects for you)?
Tourists are buying fake Covid-19 test results on the black market to travel
https://archive.vn/Yro2Q
Although these results are not exactly impressive or compelling (they don't make me want to change my exercise habits), it's reassuring to see researchers go through with publishing underwhelming results, rather than cherry-picking only the interesting results and sitting on the rest, which is a major contributing factor to the crisis of confidence/replication in the social sciences.

- https://en.wikipedia.org/wiki/Cherry_picking

- https://www.nature.com/news/scientific-method-statistical-er...

- https://fivethirtyeight.com/features/science-isnt-broken/

- etc...
We process a significant amount of charges through Stripe and this is hitting us hard. We’re basically being told that you’d like to keep some of our money for yourself. We were never told that we should expect such a fee increase. This smells a lot like bait and switch.
The Distributed Nature of Git and Bitcoin
Native vs. Hybrid vs. PWA: Pros and Cons
Qwant: The Search Engine That Respects Your Privacy
> The thing is, at Microsoft & co. you don't just do this in an interview. You do it at your job too.

Oh so that's why the Azure Portal UI is such garbage. Their frontend developers are just busy solving knapsack problems...
Show HN: Interactive deep breathing and posture tracking apps for wellbeing
With iOS, you have to be an Apple developer paying $99/yr to do ad-hoc signing, I'm guessing it's the same now for MacOS..
If ARM servers take over, then running ARM docker natively on M1 could be helpful ...

... but for the current state where ARM-compatible images make up roughly 1% of Docker Hub, I don't even see the point of wanting to use Docker on M1.
Spectacle is no longer maintained (it may matter with Big Sur release). Rectangle is based on Spectacle and is actively developed: https://github.com/rxhanson/Rectangle
We think charging a separate fee for our Billing product is fair, given comparable products in the market (say, Recurly or Chargebee) charge something similar.

Copying what other people in the market are doing is the antithesis of what made Stripe so important when it first launched.
Adding information - warnings - would help:

- Distracted drivers, bringing their attention back to the hazards on the road.

- Fatigued drivers, by alerting them to a hazard they missed.

- Drunk... yeah, probably won't help much here. Hopefully we can get to the point where you can't start such cars while impaired by alcohol.

- Speeding - again, improving knowledge of hazards, such as corners they can't navigate at the current speed, or vehicles which are at drastically slower/faster speeds.

Don't be quick to dismiss how technology can augment humans. Anything a car can learn to eventually handle on its own, it can notify a human about on a much faster time scale (as in it won't be the perpetual 3 years away, it could be now, since we don't have to perfect the reaction, just the detection).

And, perhaps most importantly for you, this doesn't preclude the development and deployment of fully automatic driving systems when they're actually at level 4/5. In the mean time, we can make a meaningful and broad drop in the vehicle accident statistics.

EDIT: Since this may not be clear - I expect this information and these warnings to be coming 4-5 seconds before an incident would occur, giving the driver classes you've pointed out sufficient time to react.
Another worst thing about android is giving carte blanche to apps for accessing messages. Most of apps these days use OTP to validate phone number. To read OTP message automatically, they ask permission to access text-messages. I knew few of such apps who keep polling user's text-messages to server daily without user's knowledge.
This was posted in another thread, but I'd never seen it before. French-made.

Results seem just as good as Google, PutLocker searchers work, and it's as privacy-respecting as DDG. I've been using it all day and I'm happy with the results, so I thought I'd share.
yes, as we found out through the email. Even if you send invoices, they will also take a 0.5% of those!
That is the very purpose of an analogy, to compare two unalike things.
Am I the only person here that finds this somewhat terrifying?
Unfortunately many of them look similar to a swastika with 3 sides instead of 4.
Slow iteration speed and pace of learning, I think. If I were going full-time on my side projects I'd make mistakes (and learn from them) much more quickly.

As it is, any mistake takes a while to be realized and cuts into my momentum and energy significantly, because I get more emotionally attached the longer I stay with a project.
for the express[ed] purpose

This doesn't mean what you think it means. What you wrote means that web sites put text on their pages stating, "We're proxying our ads so you can't block them, nanny nanny boo boo!"

You probably mean "specific" purpose.

More to the point, this isn't new. We were doing this on web sites at least as far back as the early 2000's.
It may depend on you experience with each language. I have much more experience with Python than Go (almost none with Rust) and therefore I have much better time with python packaging tools (I don't remember a single issue, that I didn't find a satisfactory solution -- as much as possible in the packaging world with myriad conflicting use-cases)

For example, my experience with `cargo` (that I mostly use to install command-line utilities such as rg, fd, dust): it is great when it works as written in the instructions
but sometimes it doesn't (running `cargo` may involve a lot of compiling -- in contrast to `pip` which can use wheels transparently and avoid compiling even for modules with C extensions -- I guess there might be a way to do something similar with `cargo` though not by default).
I did that, 10.5 IIRC. For some reason, I could only install on my Intel iMac, but I wanted to resurrect a PPC mini that had died.

Oddly, the imac is long gone, but the mini can still run ubuntu, and is still (somewhat) useful for testing bigendian bugs. It's slower than a raspberry pi of a few years back.
I think a big part of the problem is even if Takeout is using standard formats, none of their competing services or software platforms are set up to ingest those formats.

Like mbox is fine for opening in a desktop client, but if you move from Gmail to Fastmail or Outlook or whatever, mbox might as well be a ClarisWorks spreadsheet file.
Did your country allow opening schools?
Genuinely curious, why do you find it maddening? Is it just the feeling that it’s somehow messy? Wouldn’t bookmarking every page be a lot worse?
I think you can still use docker x86 images on virtualization mode
The KATU video seems to be limited to 360p max for me. The YouTube link is the remastered quality that the article seems to be describing.