skysight-inc/HackerNews huggingface dataset:
The military has one overriding priority: that when an officer says "charge" the men charge. If that doesn't happen you don't have an army, just a bunch of people holding guns. Everything is subservient to that one priority. Justice, fairness, honour, life, all are irrelevant except to the extent that they serve that priority.

Slovik's death was one part of maintaining that discipline. Everyone in the army had to know that if they walked away they would be shot, and shooting Slovik showed that the army was serious about it.

But once a retreat turns into a rout that is no longer the case; assuming the general manages to rally the army and re-establish discipline there is no point in shooting half the remaining troops. Maybe he shoots a few of ones who left early, just to make the point, but mostly he has to carry on with what he has got.
Unfortunately even if 100% of firefox users became tor users, I think websites would still decide to block access from known tor endpoints and simply give the finger to any firefox user. It's evident that many have stopped testing their websites in firefox already.
Bruce Sterling has consistently been 5-15 years ahead of his time in terms of the direction of popular culture since the late 70s. That is a very good run. He's not hyper-technical, but if you want to know what people will care about & how people will think in a decade, listen to what Bruce is saying now.
Hooks are absolutely fantastic. However, there are still a few pain points:

- useState with an array is bad news if more than 1 component is consuming or setting the state.The clunky alternative is to keep it in a ref & call a forceUpdate whenever you would normally call your setter

- useCallback doesn't scratch the itch for things like document event listeners since everything inside the callback will be stale. The clunky alternative is a custom useEventCallback that keeps your callback function in a ref. (and that might not work in the upcoming sync mode)

- linter rules can be too strict & the --fix flag can actually cause a break in your app by adding things to the dependency list. Sometimes a useEffect depends on the current value of a ref, but linter says that's a no-no. 2 useCallbacks can be co-dependent, but there's no way to write that co-dependence in the dependency list. Sometimes I want to return null before a hook. The clunky alternative for all these is a bunch of eslint-ignore comments.
Let's say the bill is amended with a 10-hour or less "side hustle" carve-out. Do app-based taxi companies start gaming the system?

For example in the Bay Area Uber could start five shell companies for the East Bay, SF, Peninsula, South Bay and North Bay. Then each driver is restricted or algorithmically encouraged to work in a different zone for each 10-hour segment.

The TNCs already (or at least used to) operate different companies for different markets. This scenario doesn't seem to far fetched.
Does anyone know how similar this is to Brex? Related: what make Brex so special as a credit card for startups?
Tend to agree but I don't think a card is that big of a deal as in this case it's less Stripe owned as it's a Visa card so pretty sure you'd have some additional protection there.
Fine, so take Japan who also has negative yields on short term bonds and can print their own currency.

And the US Treasury can print money, but it's got it's own issues with a congress who occasionally has members who grandstand and threaten to default on debts. Meanwhile, Germany runs a surplus budget. I'm not saying that US Bonds aren't extremely safe, but it's hard to know if German bonds are really less safe. The market seems to consider them extremely safe. The biggest risk with German bonds for a buyer who transacts in dollars is currency fluctuation

But I agree with your sentiment with regard to the original comment you responded to (which seems to have been edited now).
But by the time "you would've collected / curated your own personal tools/libraries", you could have learned how Rails works.
Please refrain promoting deforestation
I got into ICQ when it was really new so I had an ICQ number in the 15,000s. I changed my password once and it broke.

I reached out to ICQ support and they sent me an email saying "Thanks for reaching out, your current password is:

Have a nice day!"

Gave up after that. lol.
You vote, I vote, we all vote, and whatever policy wins becomes the law. And it looks like this is going to become law. The people have spoken.

If one takes issue, plenty of other states to choose from to better experience one’s personal idea of “freedom”.
two things:

1) Equating Uber and Lyft to taxis in the sense of employment rights isn't a fair comparison.

2) All that's going to happen is that Lyft and Uber are going to increase their prices to cover the cost of the overhead. The market will determine if the increased cost is worth the convenience.
> 1. If Mozilla email is used to support Firefox in part, then it will be overpriced.

That's true only if a typical commercial email provider has no profit margin, which I don't believe to be the case.
Forget the Fuss
I am a european that just got married to an American citizen. We live in Europe now.

Is it true that if I apply for the green card, then I have to "use" it, meaning I need to actually move to the US? That is what I have heard.
The Enlightenment Kids
Does American law really fall for that sort of cheap scheme? In most other places that would be an additional law broken.
>Just because not everyone agrees with you (or even each other) doesn't mean the topic isn't worth discussing, or that the comments are uncivil.

Maybe you haven't been paying attention, but these discussions usually do tend to devolve to incivility. Whether the topic is worth discussing is another matter; this site doesn't like uncivil discussion and tends to quickly ban people when this happens, so it makes sense that it would simply avoid these discussions altogether. These days, if you want civil political discussion, you either need to keep out people with very different opinions (so more like-minded people can discuss finer policy points instead of constantly arguing over extremely fundamental differences of worldview), or you need to have an extremely involved and active full-time moderation team to keep things civil.
My guess for a) is, a Twitter employee found his blog post on HackerNews.
Brex differentiated itself by using your bank history to determine your credit limit, meaning that founders didn't need to personally guarantee their corporate cards early on in a company's life. It seems like Stripe is doing something similar.
> we could say the same about the ballerina pictured being a woman is driving man out of the ballerina industry

Maybe it is, I've got no problem if someone wants to make that argument. I don't know much about the Ballet world, so it's not something I'm going to raise myself.

On the other hand I've got personal experience of talking to a young girl who was trying to understand gender roles and if it was acceptable for a girl to be interested in space or computers because of things people had said to her at school. If she'd been looking at webpages with these kinds of pictures, I'm sure they would have had an effect.

> Stop being oversensitive about such minor things

At some point the regress of people getting annoyed about other people getting annoyed becomes ridiculous. I'm not spending time in a state of rage about this, and you don't need to be in a state of rage about my opinions about this either.

> I want to live in a society where there is no outcry over a chosen photo

And I want to live in a society where people understand that communication involves two sides, and that if your speech / picture selection makes a significant number of people think you're sexist and you aren't then maybe you should improve how you communicate.
This is a very big problem that makes us think. thank you
Interchange fees are capped to 0.2-0.3% in the EU by regulation. Merchants pay less (to the issuer, ultimately) for the benefit of accepting credit cards, so there is less fees to hand out as cash back (from the issuer to the card owner).
It costs $125 per weight, with a limit of 12500 page views per month. For all weights and up to 1 million page views a month, it costs $10k.
And it worked brilliantly
>It is worth noting that the WeWork business model has been tried in real estate before, with calamitous results. As Sam Zell, a billionaire with deep roots in real estate, noted on CNBC, on September 4, 2019, not only did he lose money investing in a business model like this one in 1956, but every company in the office space subletting space that existed then went out of business.

I love reading things like this that always drive the point home that very little to nothing is new under the sun. The only new things are new dumb money investors that haven’t seen it before.
Wouldn't it be possible to build the next generation of technology to be much less hackable? Right now we're all pretty dumb about cybersecurity, but if plays a major hand in shaping human events even stodgy Pentagon types might start taking things like air gaps and not writing your passwords out on a sticky note more seriously.
I also had a 7 digit ICQ number, were the lower ones actually (relatively speaking) valuable in this regard?

I had a <1M Twitter UserID# and lost the account after self-suspending it and someone squatted the name.
Say I use Uber to take advantage of HOV lanes going to and from work

Slugging might be an option.[1] Doesn't help with additional income, or work very well for suburb-to-suburb commutes, but at least in DC, it's a very popular option, especially coming from the south on the I-95 corridor.

1 - https://en.wikipedia.org/wiki/Slugging
One major point of the author is complaining that the dependency array in an effect is only compared by reference for objects and arrays.

To me this is a feature rather than a shortcomming: I use immutable data structures all the time (with array and object spread operators it is really easy to do so) and the effect will only update when it really needs to - thus only triggering a re-render (or rather reconciliation) when something has actually changed. This is in contrast to .setState() which triggered reconciliation regardless if a value actually changed.
Great post. I've also been ranty about hooks lately but am admittedly also just learning more ins/outs of things as I go.

That disclaimer aside, my biggest gripe is that I think hooks _could_ have been done in a "works from both OO and FP components" manner, so that all of these new (legitimately) "amazing to use b/c they're not HOC" APIs like the apollo hooks/etc. could be used by both types of components.

Instead, because hooks are they only non-terrible way of using libraries (again say apollo), users/codebases are basically forced to convert their OO components over to FP.

Specifically, to me the primary innovation of hooks is not "reinventing OO back into FP", it's "the ability for reusable code to attach itself to the component lifecycle".

I.e. a hook can know when componentDidMount/componentDidUpdate/etc. happened, and do the right thing. That's the primary innovation of hooks, IMO.

That would be extremely useful for OO components too, and also very doable, like just expose a component.addComponentDidMountCallback(...) type methods (or component.addEffect(...) or frankly even useEffect could do this b/c React implicitly know which component is being invoked right now).

With something like this, I think all of the "currently-FP-only" hook libraries could have "OO-based" equivalents, that are just as pleasant to use, and users could choose which paradigm they preferred on their own.

BUT, the biggest annoyance is that libraries would have to maintain both "FP hook" and "OO hook" versions, b/c current/FP-only hooks API didn't consider OO components a constituent in the design process.

(Specifically the only deal-breaker/breaking-API-change to use FP hooks from OO (if React wanted to allow this) AFAICT is that useState returns a tuple of [value, setter] instead of a State interface with getter/setter methods. If it returned a State getter/setter, then the useState could be invoked outside of the OO render() method, but then inside of render state.get() would return the current value. AFAICT all of the other hook APIs are already "OO-compatible".)
Did you actually read the article, or are you just kneejerking to the title? Because it's quite-anti-deforestation in there.
I've been very pleased with Google Domains.

They probably won't be the cheapest (most .com's are $12 a year), but they don't try to upsell much if at all, the pricing is really consistent and there are no surprises (no bullshit like the first year is $1 and the next year is $40 unless you remember to go do something), and their management UI is really nice.

I only have about 6 domains with them, so keep that in mind, but I've been extremely happy with the whole thing.
European interchange fees are capped at 0.3%, so unless you are making money hand over fist from other means, giving back more than 0.5% cashback rarely makes financial sense.

Amex own-branded cards are excluded from this as they avoid the three-party relationship that falls under these rules, but some (e.g. airline amex cards) are capped at 0.3% interchange fees. See this article for more info https://www.headforpoints.com/2018/02/08/american-express-eu...
I went on an archeological dig in the area in June (as a tourist) and can answer part of this. Part of the answer is writing materials; in Jerusalem a variety of different things were used to make the writing materials, whereas the Dead Sea region, used a specific type of charcoal that was significantly softer than the charcoal found in the Jerusalem region.
On top of the more normal percentage cash back, the partner benefits (like 5% off DigitalOcean) make this really appealing.

Potentially interesting wrinkle: you're not allowed to carry a balance (from https://stripe.com/docs/corporate-card/faqs).
Have you considered Cloudflare? They also provide domain registration services [1] in addition to DNS hosting.

[1] https://www.cloudflare.com/en-ca/products/registrar/
But this relies on the startup's Stripe history, right? This is more a benefit for existing Stripe customers than it is a broadside at the entire corporate card industry.
Credit card transaction fees are way higher in the US than in the UK. This allows the companies budget for much higher cashback earning, mileage programs, etc.

Here is a great post that explains the economics of credit card rewards: https://www.reddit.com/r/churning/comments/5oucdq/the_econom...
Phonetic Reverser
I didn't say we pay only a little more than Europeans. I said that, accounting for employer-paid healthcare, we pay only a little more on average out of pocket. That means that the average voter whose employer already provides health insurance is facing significant uncertainty if private health insurance was replaced with public health insurance. Their taxes would go up a lot, and their out-of-pocket expenses would not go down that much.
OMG! The horror! Don't come to my state where nearly 100% of the vehicles in the pickup line at my son's Elementary school are, <gasp> SUVs! If it's not an SUV it is definitely a mini-van. Know why? Because it snows here--a lot. These kinds of vehicles are important for getting around in the winter months. There have been zero accidents at the school or anywhere else the kids congregate.
You are right that would be an example of a bond/bill with a 0% coupon rate. There are still weird negative interest rate conditions where it makes sense to buy an IOU for more than you get back (not that I understand those conditions :) )
Let’s say you have an issue because stripe suddenly you’re business is fraudulent (read: you got great coverage on HN and suddenly have 1000 extra customers)
Stripe flags you and blocks your account. Done. Now your income and money to spend depends on their customer service.

Many people have had the same with PayPal, and some with regular banks.

So yes, take the card, but also take 5 other cards.
The article does not promote deforestation.

> Losing the Amazon, beyond representing a planetary historic tragedy beyond measure, would also make meeting the ambitious climate goals of the Paris Agreement all but impossible.

It discusses a misconception that has been propogated lately.

> The Amazon is a vast, ineffable, vital, living wonder. It does not, however, supply the planet with 20 percent of its oxygen.

> As the biochemist Nick Lane wrote in his 2003 book Oxygen, “Even the most foolhardy destruction of world forests could hardly dint our oxygen supply, though in other respects such short-sighted idiocy is an unspeakable tragedy.”
Would the money be taken directly from the Stripe balance or the linked bank account?
The Latest: UK govt formally suspends Parliament for 5 weeks
Previous HN thread (386 comments)
https://news.ycombinator.com/item?id=7141532
I just prepend `about:reader?url=` to any TechCrunch URL and never have to deal with their dreadful UI
> however if you’d like me to recommend a more secure registrar i recommend: NameCheap

Please don't. NameCheap is horrible at security of your account and at customer support in general; I personally had a battle with my ex (who just happened to know my name and DOB, very easy to find online anyways) and she was able to start transfer of all my domains. I was able to get involved but it was he say / she say battle for days during which all my domains were suspended so no traffic and no sales online (loss of about $80,000). The big problem was to cut cost NameCheap hires cheap helpers from Eastern European block (just login to their chat you can quickly see by name of CS) and each helper was telling me (and her) different story. Eventually it got "solved" after about five days where my ex just agreed to cancel the transfer altogether. This was circa 2016, unsure if anything changed, but I gradually moved out most of my domains (I prefer NameSilo and DynaDot these days - much more robust verification process)

Edit: to clarify: the domains have stayed with my ex and that was final decision of NameCheap since she was the one to answer security questions correctly. As I indicated, what solved the issue is she eventually decided to drop it and return them to me. A change of heart if you will.
In this case websites would see traffic coming from the Firefox Private Network, which uses Cloudflare.
We could call this historical period a great dis-integration where the consensus that formed the equilibrium of the last 60 years has been disrupted by tech, and we're looking at a period of volatility before reaching a new equilibrium.

I've argued before that U.S. critical infrastructure vulnerability will prevent it from intervening in Taiwan and Hong Kong. Its lack of a strong homeland defensive posture on infrastructure has emboldened regional powers like China, Russia, and Iran to assert themselves over local NATO allies without fear of US retaliation. e.g. The US isn't going to risk a dam flooding or a long term grid failure over a distant minor ally. Arguably, NATO made sense when partners could defend their infrastructure, but the mutual aid commitment becomes a suicide pact when your cities can be turned into tribal warzones by depriving them of power, payments, and fuel. Nobody wants to get drawn into that by a minor ally.

That's the weakness that creates the power vacuum into which warring parties pile in. We do indeed live in interesting times.
Where are you from that you only have access to those few hosters? I think there are hundreds of hosters in Germany, at least somewhat like a dozen big ones which all do a pretty good job. Wonder why everybody seems to stick to GoDaddy, also in the tech scene.

For Germany, just for reference, there is Webhostlist [0], which gives me over 400 different hosting packages (obviously not 400 hosters) available with at least one domain and an included SSL certificate. Starting at 0.38 € per month (.de domain included) with a one-time setup of 0.99 €.

[0]: https://www.webhostlist.de
I'd identify which states change often and group them into their own context(s).
Many of their competitors have survived recessions just fine. You just have to either be diversified or have enough cash reserves. The issue is mostly that WeWork has too high costs and a too high valuation.
“Does the Amazon provide 20% of our oxygen?” discussion from a couple weeks ago:

https://news.ycombinator.com/item?id=20789771
Domain registration: Gandi.net

DNS: CloudFlare
Large SUVs used to be an upper-middle class distinction factor in Europe, but now everyone of every age seems to want SUVs (which eventually became cheaper). It's not a class thing anymore, you can get SUVs that cost as much as other types of car.

Honestly there are no reasons to buy one other than being part of the trend. I wish there were taxes on the volume of cars here in Europe. We're already cluttered with cars, we really don't need bigger ones.
That "god forsaken war" was both started by, and ended, white fascism in Europe. I can name you plenty of examples of "bullshit wars." The Allies' effort in WW2 was a noble fight.
Do you pay for this job?
(Amber from Stripe here.) We're definitely planning to expand to other countries—this is just the start.
This headline could easily have been written, “California Labor Bill, Near Passage, is Boon to Drivers.” It’s worth contemplating why it wasn’t written that way.
He and I both have similar free open source websites with donate buttons. They are rarely clicked. Ad revenue over a month for me has been ~$400 while donations over two years have totaled $20. There are about 80,000 unique visitors per month.

It is nice to think donation platforms can fund high traffic open source projects, but this is simply not the case.

In any regard, I fear the potential of this ruling limiting developers’ ability to protect their servers and making us all roll over to the big players with their hefty scrapers taking all of our data for resale.
As I understand it usual US de-regulation means card issuers get to charge the merchant more or less whatever they want. So if they charge your grocery store $4 for the transaction when a rival does it for $1 then giving you $2 "cash back" is very affordable for them.
Sure. The app I'd been working on had previously been using the original 'render prop' style of accessing context in functional components and using the this.contextType accessor for class-based components. Both approaches had their downsides:

- 'render props' are fairly awkward to write, and add a lot of noise to a component that's working with data from multiple contexts.

- this.contextType can only give a component access to one context. This is a pretty big problem.

With Hooks, useContext lets you reference and destructure contexts in a really elegant way. Say you want to show a user's name if they're logged in, with the render prop approach it's something like:

<AuthContext.Consumer>
{({ isLoggedIn } => {
return (<div> {isLoggedIn && <span>i'm logged in</span>} </div>)
})}
</AuthContext.Consumer>

with useContext, you can do

const { isLoggedIn } = useContext(AuthContext);

and then use

{isLoggedIn && ...}

to condtionally render anywhere in the body of your component without all the Context.Consumer business.
Here's another example...Uber/Lyft was originally invented in the 1910s: https://psmag.com/environment/uber-lyft-sidecar-jitney-cars-...