skysight-inc/HackerNews huggingface dataset:
All I can really say is that my usual readers understand that I am pro-ML, in fact I'm probably more hung go about the potential of deep learning than many of my compatriots.

I've fallen victim of getting a Twitter bump, and assuming that people know I'm not anti-ML.

The blog post is meant to be educational, not argumentative. Since it has got wider exposure I'll do a follow up to clarify my position on imagenet.
Yep, indeed.

https://docs.microsoft.com/en-us/cpp/mfc/class-library-overv...

https://docs.microsoft.com/en-us/windows/uwp/cpp-and-winrt-a...

http://docwiki.embarcadero.com/Libraries/Rio/en/Main_Page

https://doc.qt.io/

https://docs.unrealengine.com/en-US/Programming/Introduction...

https://docs.cryengine.com/display/SDKDOC2/Home

There is the "Modern C++" described at C++ conference talks and then what everyone else uses.
Watch his YouTube videos, you'll actually learn something.
Ask HN: Companies of one, what is your tech stack?
This question has most likely been asked before, but since our industry moves fast I want to ask it still. You guys that roll your own operation, what is your business (no need to out yourselves) and what tech stack did you choose to complete it?

Also, if you don't mind, do you think the tech you chose had any effects on your success? If it did, why?
In which world replacing removing Wayland in favour of X is considered KISS? We seem to have very different understanding of KISS with those folks.
What you say is China closed market is a good action, given that they can't keep themselves save from a democratic agent?

The world is more grey then most people think, but people have short memories. Mostly because people don't really care and just want to life and provide for their loves ones.
The Taliban (who the drone strikes were targeting) are at war with Afghanistan. The US is allied with Afghanistan’s government.

Wars aren’t as simple as good guys vs bad guys fighting between their own respective countries.
Handing money to polluters helps polluters, and failing to disincentivize externalities also helps polluters, but it's OK to call one thing a subsidy and the other thing poor governance.

"Subsidy" carries a connotation of purposeful action to help something. Subsidizing a bad thing is worse than merely allowing it to happen or looking the other way. It seems like you want to re-label things in "B" by the label for "A" to make it sound worse.
Not on the libraries I usually have to touch.

I would already be happy when I am allowed to re-write some of it into C++11.
yes, they're mutually reinforcing. in a perverse way, u.s. drone strikes are good for terrorist organizations, and terrorist attacks are good for major stakeholders of military capital.

that's why you will see some perverts who will openly reminisce about the days after 9/11 and how we were all united, etc.

at some point, cooler heads should intervene, but fear is just too easy to engineer, apparently.
No-code build a newsletter out of your reading list items
Works on Xiaomi and Firefox, nothing on Samsung J5 & chrome though..

demo: https://i.imgur.com/RWGbEps.gif (FF)
My wife (who is a primary school teacher) was saying that a kid in her school was taking photos with her watch. She didn't even know watches could do that and it means they are going to have to rewrite school policies (currently phones are banned in school because of safeguarding/photos without consent)
> A wallet isn't the intent. It's almost the opposite!

But isn't that what you just described? Saving your payment details to Stripe (as opposed to just entering your card details like a standard payment processor). Stripe is now essentially a wallet where you store your payment details.

Was it a necessary change to push users out to Stripe to save their payment info? What differentiates that from what was there previously. Was it that the CC info was stored per-domain, rather than per customer across all sites?

To be clear, I think it could be an improvement for a lot of cases - just potentially not mine in particular!

> Checkout was designed to be the fastest way to accept payments, and I think it's now faster

Here's a pretty common scenario that definitely just got more complex to implement: dynamic pricing + instant fulfilment (i.e. selling digital goods online).

So that instantly rules out the "No server-side code" approach. Here's what had to be done in the old version:

1. Import checkout.js

2. User clicks pay + fills out details on Merchant site

3. Merchant js makes a call to Merchant server with Stripe token

4. Merchant server calls Stripe to charge the token

Now:

1. Import checkout.js

2. User clicks pay

3. User has to wait for loading spinner while a Stripe session is generated on the Merchant backend and passed to checkout.js

4. User is pushed out to Stripe website to pay + fills out details

5. Stripe backend calls Merchant webhook

6. Customer redirected to Merchant

7. Merchant server must check with Stripe to see if session was completed and customer has successful purchase.

Overall - that's a more complicated flow for the Merchant to implement, with more room for things to go wrong.

And it's not technically true that the flow will always be faster for users - if the customer had CC details saved in the old version, the flow would have been faster for them (less async calls + no redirect to Stripe).

For a certain segment of Merchant, I think there are definite improvements - but for the one-person operation selling software - PayPal is now the easer to implement option.
I'm always a proponent of simplicity.

Some criticism about the site: What a horrible layout. I zoomed out to 25% (the furthest you can go) and the text is still to big.
I'm a Chinese citizen now living in Shanghai,China. It is interesting to see some of the threads, and there are so many expats now living in china, althrouth these is the good, the bad, and the ugly. And lots of expats have described this on youtube, books and podcast, etc.
Anyway, the best way to know is to come here yourself, you might experience something different. Cause it's so huge with so many people, before you go , get an paid VPN.
It's all hacked in on intellij platform and reading their youtrack that their plan - each plugin bakes in WSL knowledge, where as VSCode basically launches a remote command proxy so it works the same weather WSL2 or a local vbox with ssh or a remote VPS and plugins dont need to change (or do so in a minor away). More an IntelliJ rant I guess
No one does this inside. People outside do it more.
Quietness. Slowness causing you to deliberately select what information you need enough to bother finding it.
Carbon isn’t pollution. Particulates and smog are. This is ridiculous that they end testing for pollution that can actually kill people in favor of focusing on CO2 which is necessary for life on earth to survive.
Looks like wikipedia is the source of confusion in this case. "The book laid the theoretical foundation for servomechanisms (whether electrical, mechanical or hydraulic), automatic navigation, analog computing .."

Servomechanisms existed way earlier than 1948, so did analog computers - navy ships in WWII extensively used both in gun control, to move the guns and calculate balistic trajectories, etc. Wiener merely wrote down existing knowledge, and suggested it could also be applied to humans.
That's a fair argument. Allow to counter this with: how much of this modern economy do we need ?

- high distance vs local

- high output ? (we waste 30% of food, have tons of electronic waste too)

- high frequency vs calm

I'm not trying to troll you, I'm really asking people to consider how much of this feverish economy we need.

If we cut fossil fuel for most and keep it for those with too low solar input, how would be our current society ?

It annoys me to know end when people consider the world as a fixed absolute best. Especially since there are clearly flaws.
a 1k AR-15? The Smith&Wesson M&P Sport can be had for ~500 USD
I'd agree with you if a noticable proportion of the comments so far had any discussion of the technical aspects, but they don't. (Two out of the 40 comments could maybe be considered discussing the technical aspects and yours goes into the most depth)
On the contrary, being able to tinker with absolutely everything is what makes me feel like a first-class citizen on Linux.
Honestly I don't mind it. It might even give arch some ideas who knows. Hopefully not about logos :)
They weren't for homeless people. It's more that government restrictions on funding any public service or amenity has forced councils to choose between public amenity, libraries and social care.

Doesn't change the fact that many people have weaker bladders as they age, and we're in an ageing society. Then there's various conditions and illnesses like Chrons disease, or those who have small children in tow. They may all need unscheduled bathroom breaks at no notice. Now people are expected to "just wait" until they get home or to the office.

Cities aren't really made for people any more. The people are secondary, a necessary annoyance.
That's a tough sell when (large) parts of communities are complicit, hiding, funding, supporting the individuals.

I'm unconvinced; I believe it's not a tough sell. This is based on my observations of to whom people ascribe these crimes. They blame individuals first. Even if they should ascribe more blame to the organisations behind those individuals, those individuals are recognised (rightly or wrongly) as the primary culprits.

When I see news reports of such things, it's individual people that are presented as the culprits. News articles and Wiki articles name the individuals involved. While they do have organisations and groups behind them, if you ask people "who did this" you don't get a nebulous set of organisations; you get a name.
Oh I agree, sure. Actually put that in the last paragraph. I don't blame them, business is business, and perhaps there's an argument that the growth enables the marketplace to exist at all because otherwise it wouldn't large enough to be self-sustaining. Perhaps the earlier model just wasn't, was subsidised by VC money, they realised that and just pushed on with what could work.

I've listened to a few podcasts from years ago with the founders and you can hear the excitement in their voices talking about the early vision and what it could be. And it was like that, years ago. It had its own problems, but it really was something truly great that wasn't really easily accessible before at any kind of scale.

I just imagine the founders coming with me to some of the places I've ended up staying, and imagining what they'd think, how disappointed they'd be at what it's become. How different it is from their original vision. They're probably not disappointed with how their business is doing, but for sure, the vision has evaporated along the way to enable this.
>Economic actors all acting rationally in their own best interest

>Capitalism is the root cause here.

That is not how capitalism works, it works by providing value to the greater whole of people, that's how it obtains money. If a business isn't doing something we like, we don't purchase products, services, advice, etc. or at least that's how it should work. The bigger problem is why do we value the wrong things? or why are we unable to develop better solutions?

I agree there are things we can improve about the environment (for example plastic in oceans, etc.) but saying capitalism is the root cause is foolish and unsubstantiated.
Or, you can buy a standalone alarm clock, a dead-tree book, a standalone radio receiver, etc. for a fraction of the price. Now, I love my smartphone for all the non-social features. But I kind of see how the new generation can see these things as a gateway drug to being sucked into social media and having their minds and hearts ruthlessly exploited for profit. On top of that, it's teenagers we're talking about; teenage rebellion isn't usually a paragon of restraint or rationality :).
Student Loan Debt in the Bay Area: Interactive Maps
It is certainly a factor. The other thing is that even for people that now it is very difficult to change consumer behavior. E.g. I came across a family of three on the underground train in London. One of them lamented the fact that she wouldn't be able to part in a climate change protest march the following day. The reason being that they were flying to Germany the next day. Oh...and they came from Texas ;-)
Seems like most kids today (10-20?) are not making that difference, instead the are "hooked" (I'm saying hooked like a real cynical old parent) into social apps like we never were, "manipulated" on unprecedented scale. If your theory holds, their children might turn against that.
That's ambiguous about whether demand for all AR-15s is down

Thanks to Robert Francis O’Rourke AR-15 sales overall are having another record month.
Apple has their own toolchain, don't apply FOSS variant of clang to how XCode clang actually works, only cherry picked features get upstream.
Wasn't the affluence you were born into a result of a series of good choices made by your ancestors? And wouldn't you say your wife's decision to marry you was a good decision that has set her up for life? Decisions, not luck.
Have you heard a siren? They're intended to be loud.
Was it quicker? 10,000 per year is a milestone that Tesla hit in 2013.
> Thanks to everyone here who took a chance on us in the beginning ...

Stripe is one of the few successful silicon valley companies that provided a service of real value, with enormous efficiency gains, upfront pricing, and don't screw over people as part of their business model. They may have "disrupted" the online payments market in SV parlance, but they didn't actually disrupt anything, they found a nascent but fast-growing market (online payments), and built a product targeted just for it.

Mastercard and Visa are each worth 10X as much as Stripe. Stripe is one of the few unicorn companies that's probably under-hyped.
But you are not really opposing his theory.
The terrorists are counting on this effect.
They want to trigger radicalization of the populous in their target countries.
Their idea is to stir up war, because in chaos there's a potential of drastic radical changes.
If you truly want to fight terror, you should focus on prevention and educating the masses to not get drawn to a blood thirsty revenge cycle. Because once you start thinking like a terrorist, i.e. justifying civilian bloodshed for ideology, demanding violent response, etc. they win.
Where are you seeing prices? From what I can tell from that article, StreetScooter mostly produces for internal use by their parent company.
Couldn't have said it better
actually rolling deployments are painful. it's like THE feature of k8s. and since k3s is so simple, it's alo not to painful to run it.
> when (large) parts of communities are complicit

you put parentheses around the "large" but I'm still gonna pick on this.
For my part, I have yet to hear of a major jihadist attack in the west in which the perpetrators and their supporters were not completely surrounded by police and intelligence personel. In Germany we're watching a parliamentary commission pick apart what happened in the "lone wolf" case where someone drove a truck into a christmas market in Berlin.
"You can't do anything about these things!" people exclaim. They're lone wolves after all. BS. That guy, and his supporters, were in constant contact with embedded sources around their milieu. I'm not a big friend of the police state as it is, and especially of intelligence services. And this story and others like it make it really hard to still believe in incompetence and bad coordination as the sources for all the fuck-ups that lead to him succeeding in the first place, and then the crucial witnesses being conveniently deported days after.

But my real point (sorry for digressing here for a bit) is that even in this in-depth investigation, the number of active supporters was tiny. And they were not even really organized. It was more like "I have a friend here ho will help me out, and one here, and one here." Your statement (even with parentheses) does not reflect how small these "parts" are.
Whenever it's something regarding Assange you are all very keen on getting conspiratorial.
I’m not a solo business owner, but if I had to guess, I’d say that the ones who are successful turn their weakness into a strength by using some obscure tech stack that they’re a wizard with but that no one else uses. It’s a trite thought here on HN, but if I were a one-man shop I really would try to use a Lisp dialect.
An unfortunate side-effect of laws designed to increase disabled access is that local government bodies are just selling off such facilities rather than pay for the required upgrades - most of these underground bathrooms were only accessible by stairs.
Residential 10 Gbps connections. $50/month.

That's not a typo. salt.ch/fiber
The finance's share of US GDP, as well as the number of BS administrative jobs, IS alarming to me. I am not sure how my comment implied otherwise.
Check out his LinkedIn profile - https://www.linkedin.com/in/patrickshyu - from the projects he describes there, seems like he can back it up. And what's wrong with telling people you're an "ex googler/facebook"? If that's the experience you have to share, fair enough.
And yet even in that quote Shakyamuni calls himself the ascetic Gotama. Becoming a Bhikshu or a renouncer is the entry-level to the Buddhist path. Although in other parts of Asia there were genuine Buddhist lay movements, in India Buddhism was the sangha and only the sangha. If one cannot renounce for some reason then yes it is better to do good than evil in the world but that is clearly the inferior alternative. “Right conduct” is that which brings one closer to non-doing.
> How many "error's" does the US make?

Usually it's measured in the ratio of civilian casualties to combatants, and as far as I remember, US is keeping this ratio exceptionally low in comparison to other conflicts.

That's the key point here: your criticism applies to any war at all. War is hell, everybody knows that. To be objective in your judgement about US though, you have to quantatively compare different conflicts to each other.
You forgot about COM/UWP, which has taken the role originally though for .NET on Longhorn.

The whole point of UWP was to improve COM to make it even better for language interop, increasing the kind of language features that can get exposed as COM libraries.

Also the number one reason that if Rust wants to succeed as system language on Windows it needs to have first class support for COM/UWP.
Too bad. They make beautiful rifles.

Many people, like myself, bought a cheaper mass-market AR-15 instead. I spent the money I saved on ammunition. :)
> Cake is a made up drug.

I know that I am not supposed to comment on upvotes but I wish I could upvote this more than once. The world needs more of this series.
Yup. I cringed for most of the article, but the ending does significantly change how it all sounds.

...to the point it makes me doubt how much truth there is to the story. It very much reads like a classical hero's journey - which "involves a hero [the mother] who goes on an adventure [tech-full parenting], and in a decisive crisis [lost her phone charger while finding herself in the middle of nowhere] wins a victory [has a deep moment of connection with her tech-rejecting son], and then comes home changed or transformed [see the last paragraph]."

https://en.wikipedia.org/wiki/Hero%27s_journey

(I still liked the story, though.)
I hear this a lot but is there any basis for this? Were any of the 9/11 attackers widowed/orphaned by the US? Or were they just whipped up in religious fervor and an abstract idea of a cultural war with the US?

And does it go the other way? Do you create violent anti-Islamists when Muslims commit terror attacks? Were the orphans of 9/11 more likely to sign up for the US military, or commit hate crimes against Muslims than their non-directly-affected peers?
Or imagine "Taleban drone strike kills 30 farmers in Oklahoma". There would be a reaction!
Another hint.

Speaking of breadcrumbs, if the ring buffer has fixed-size entries, a reader can come in later and start reading old entries first, say halfway back. This is helpful if you want to start a new reader and then kill an old one, and not skip any entries.

It helps if the ring has power-of-two size, and the head pointer/index is 64 bits and increases monotonically. Then the high bits are easily masked off on each use, so that arithmetic on pairs of positions is simpler.

For variable-sized entries, an array of N "breadcrumbs", past positions near 1/Nth indices, allows jumping in at earlier positions. If traffic is low enough, you might be able to buffer a whole day's traffic, and get random access starting from breadcrumbs; otherwise, you can log old entries to a sequential file, and also log the breadcrumbs, translated to file offsets, as a global index.

Downstream processes can each sequentially log an individual field of each record, with a breadcrumb index to enable full records to be reconstructed. Often these column logs can be compressed, with enormous efficiency, between breadcrumbs: 98% compression may be easy to achieve for slowly-changing or limited-alphabet values.

Lz4 and Zstd are excellent compression engines. Lz4 really shines for fast decompression. There is no excuse for zlib/gz compression anymore.
For the downvoter, it is a myth that you need bigger than 5.56 to hunt deer, looks like hunter associations are banning it just to motivate that they get to keep their even more power guns.

For example this requirement looks like it was explicitly made to forbid 5.56mm cartridges, they are not even mentioning energy:

> The cartridge must fire a bullet with a minimum diameter of .243 inches (same as 6 mm).

http://www.eregulations.com/indiana/hunting/deer/

But for example in Sweden you are allowed to hunt the same size of deers using weapons with half the power of 5.56: 800 Joule.

Only things you need bigger bullets than 5.56 are brown bear, moose and red deer which requires 2000 Joule.

And if you think it is inhumane to kill 50kg deers using 1600 joule bullets, how many joules would you require that people use on a 700kg moose?
> I thank you all at Stripe for setting an example of what real API/SDK documentation is.

It's not just their documentation, Stripe's versioning, backwards compatibility support, and fast improvements probably make it the single best API I've ever worked with.

I have new projects that use the latest and greatest Stripe API and features, but also older projects that use their 5 year old APIs, and both work without a hitch.
The Climate Issue
The "obvious" solution would have been to keep the underground facility and add one or two of those self-contained units for disabled folks between the two sets of stairs.
WSL2 works fine as an X client in my experience. If you want to run an X server on windows, vcxsrv works pretty well.
When you're saying nuclear can't keep up with the cost, are you comparing the same kwh?

For wind and solar if you install X kwh for amount A, and for nuclear Y khw for amount B, X represents a peak available capacity.. At best, what is the guaranteed available khw you get for this installed base? 0.10 * X?

For nuclear the available capacity is much closer to Y.

So if the available capacity from wind/solar was something like 0.10 X, then it means you'll have to install 10x more wind and solar than you would need nuclear. Which needs more material and more energy expenditure (more CO2?) to install.

If you compare cost, similarly, A would have to be 10x smaller than B to make wind/solar be cheaper.

Some other issues is how Solar competes in terms of surface with areas that you'd grow food in (unless you build in the desert, but then you have issues such as dust on the panels, and the need to carry the energy across large land)
The perfect responsive menu