skysight-inc/HackerNews huggingface dataset:
>- You can trust a server. Privacy is part of this, but there's other concerns as well - as an example, I would never trust a client to tell me how much an item costs on a purchase flow without double checking on the backend, because generally speaking I have less control over the front end and there's not much stopping someone from sending faulty data.

The price of a product would go into "storage" which means it's a server side calculation. Client side calculations that don't touch storage can stay on that side. So essentially thing of it this way... If something needs IO back to the server it means it needs to go into storage so that piece of data is a backend computation. If the data does not need to be rerouted to storage, the entire computation can live on the front end.

>- The server is a guranteed environment. You know what's on your server, what its capabilities are. If something works in your tests, it's more likely to work in production. On the client, you're dealing with different browsers, capabilities, etc. Sometimes this doesn't matter much, sometimes it does.

For computations it doesn't matter. Incompatibility issues are usually html/css related.

>- The server can scale in ways that clients can't. You can add more servers, you can add background workers, etc. Some of these analogues exist on the client, but you're fundamentally performance bound if your user is on an ancient phone or something, you can hardly spin up another phone and have it do calculations in the background.

The client side can scale in ways that the server can't. That's why you need to offload as much as possible to client side. If you have 1000 connections to one server, that's 1000 computers available for compute.

>- If you have different clients (mobile devices, APIs, etc.) you need to duplicate those calculations if they are being done on your client - which is a cost both in terms of duplicating the logic in the first place, and a potential avenue for issues if those calculations drift apart from each other.

Client side computation costs are essentially free. These are computers being hit by thousands of connections where every piece of processing power counts. You can offload stuff to the client side that can never be put in a web app.

>- Generally speaking, it's easier (but by no means trivial!) to deal with race conditions and concurrency issues if the work is being done on your server (if only because you can be aware that that work is happening).

I'd say it's easier on the front end. JS gets rid of a lot of issues related to concurrency due to it's concurrency model (lockless and single threaded). Additionally, concurrency issues arise mostly from shared state and shared State is more of a back end thing. Even in most web apps concurrency issues are delegated to the database where it's mostly only deadlocks that can leak over to the web app.
> If the Moderna one had been released in March 2020 and injected in millions of people and then they all got sick anyway, it would have been a disaster.

Why would that be a disaster? If a bunch of people get injected with a placebo, it's at worse neutral. Arguably it's better, because we'll collect data faster and move on to better vaccines.
Switzerland also gets to do stuff the EU way or the highway. They're just not part of the EEA because they don't want uncontrolled immigration.

https://blogs.lse.ac.uk/brexit/2020/07/21/the-choice-britain...
Why would you ever prioritize your users over yourself? They have no idea who you are and they don't care. Don't you have your own goals to worry about?
Oh yes I also forgot to add sexual favours to the key criteria!
> It'd be nice if I can choose what I want to see.

Have I got news for you?! You can choose exactly what you want to see.

There's a very cool "App Store" on your iPhone right now. Somebody in marketing named it "Safari" -- IKR! pfft; -- Safari is one of the best App Stores out there. It has this neat interface called "URLs" where you "search" for Apps and apparently they run on this HTML5 voodoo magic; which is a set of open standards, run by the open committees (W3C); and here's the best part -- JavaScript! Yes! No more pesky Xcode tooling and Objective C and Swift and C++. Bleh!
Honest question from an eng working the last few decades at a FAANG and finding themselves burnt out to the point of panic attacks some mornings (e.g. "can I keep going at this pressure"; which has me laughing at least a little about the "FAANG is easy" sentiment elsewhere in the thread)

Where? How do I find jobs like this?

I get what the sister comment points out about long-term stagnation, but at the same time, I could desperately use a few years without a resume gap, but without a perpetual dagger hanging over my head.
>If it were actually part of your compensation, then you'd be taxed on it.

Which is a somewhat contentious topic. Not an accountant, but seems to be one of those perks that's right at the very edge of IRS rules.

https://www.shrm.org/resourcesandtools/hr-topics/benefits/pa...
A literal monopoly is not required for something to be illegally anti competitive.

All that has to happen is that a company has significant market power.

And courts have held that 50% of a given geographic area can fall under anti trust laws.
The iOS default Mail app too.

AFAIK, Gmail does as well.
Bridge, yes.

Tunnel, no. It’s very feasible and practical from a civil-engineering perspective, but the economic value of a road connection between NI and Scotland has not been demonstrated to outweigh the economic cost of its construction.
the LotR quote "One ring to rule them all" has never been more appropriate!
>“spoken language” is actually not something inherent and instinctual to humans

I agree, as you say until you reach the point where newborns are already surrounded by it.

>It’s just a technology that’s rather simple to learn, if you have the right underlying hardware acceleration (e.g. a cerebral cortex)—and, crucially, a teacher.

No teacher needed whatsoever quite often, but maybe so usually, so I can not say crucial.

>And I hypothesize that that is what happened (pre)historically: at some point, there were several memetic “waves” spreading increasingly-technologically-advanced (e.g. syntactic, expressive) forms of language across human populations with brains already structurally amenable to them. Of course, each wave would only be a struggle to the generation that pioneered it; the next generation, being immersed in that new, more-complex language form from birth, would find it similarly intuitive.

The evolution of more expressive vocalizations might have been required along these lines for us to reach where we always thought modern man was to begin with.
I get pretty tired of this back and forth arguing in circles over who is more entitled than whom, who has more of a right to complain, who is the most aggrieved, who has the biggest disadvantage to brag about.

Really nobody has a right to ask for anything, ever, because there's always someone who has it worse, right? The only legitimate rung of the ladder is the bottom one, and we just keep finding lower rungs to use to shame anyone higher?

Sure, there are people who live charmed lives and just don't understand what the big deal is because nothing has ever gone wrong for them. They sure as heck aren't me. But let's all just stop with the tone policing. It's 100% unproductive, and won't change anything about anybody's situation, good or bad.
It's a weak-man's deontological ethics. A serious philosophical debate would be about the ethics of taking 10k random people and forcibly or unknowingly injecting them with an experimental vaccine that, if successful, might save millions. This is about the ethics of allowing volunteers who know the risks to do it. I don't think any sensible person, deontological or otherwise, seriously advocates an ethical system that would disallow that.
OK then go ahead, what's your vastly more efficient solution?
Thanks

> When you run git subtree push, it will recreate all commits for this subtree. It has to do that, as their SHA depends on the previous commit and needs those SHAs to be able to link the new commits to the old ones. It could cache that, but it doesn’t.

> I guess this is the price you pay for using subtree vs. submodules. Subtree is very stateless in your repository, which is nice on the hand but causes this long computation on the other hand. Submodules store all their information, which requires you to manage it but also makes stuff like this a lot faster.
Stratchery did a nice piece on this: https://stratechery.com/2018/the-end-of-windows/
Rockefeller did this with Standard Oil. They would routinely hire critics. It silences the critic and causes distrust of them going forward. People never trusted those critics ever again.
In a company the size of Microsoft, reprioritizing projects correctly is how you create a turnaround. He made Azure and Office 365 the central focus of the company just as software revenue growth was shifting to cloud hosting and SaaS, he stopped lighting money on fire trying to resurrect Windows Phone, he pushed Linux and OSS compatibility/development, and he put Phil Spencer in charge of Xbox which has saved the gaming division. He's also made some really nice acquisitions, IMO.
I see my comment above is going down well...

Just for reference, the FOI already provides for the following exemptions:

22A Information obtained in the course of, or derived from, a programme of research.

24 Information for the purpose of safeguarding national security.

26 Information that would, or would be likely to, prejudice defence of the realm.

29 Information that would, or would be likely to, prejudice the economic or financial interests of the United Kingdom or of any part of it.

43 Information that constitutes a trade secret or would, or would be likely to, prejudice commercial interests.

I think that pretty much 100% of that new agency's work will fall within one of these exemptions so IMHO it makes sense to exempt it altogether and avoid having to deal with FOI requests in the first place. The agency along with the government will then have full discretion to make research and results public as they deemed useful and that will also allow them to work with private companies to license/commercialise stuff.

(Note that a lot of DARPA's work is also secret.)
well apple cannot pay tax to a group of institutions that don’t have any business collecting taxes.

and this is because taxes are national matters. the EU can try some legal ways of forcing some countries to take more or less tax, but all of those tries are not only being litigated, but also pushed against by the national governments.
I agree that's where the metaphor falls short... I wanted to talk about how these big changes in regulations, affecting how mostly everybody had been doing business until that moment, tend to be strongly rejected by affected parties, but they tend to be worth it on the long term, and people end up getting comfortable again under the new rules.

But you're right that in this case the problem is that most websites have been "cheating" by supporting themselves on shady stuff, and now that rules and laws are being reviewed to cut this possibility out, here comes the crying.
That would suggest that you perhaps don't completely understand that people are different. :)
Really nice project! This could be very useful for technical / programming blogs. Are you planning to offer a REST API?
What's a car yard? I assume based on the context a dealer?

And yes I would love to go to a mall with all the different cars available. Would make it easier to see all available options and pick the best one for me (rather then pick the best one from Ford for me).
> How is it different to simply a unique image href url for each client

This is exactly how it works. The image itself doesn't need to be different. Normally it's a 1x1 transparent gif.
Negation works both ways, so it's not that one is a special case of the other; instead, they're simply equivalent.
Carbon is awesome, works offline, and can be integrated with any decent editor, so you can just select code and press a keybind to get the image on your clipboard.
Microsoft starts new program to help make more accessible games
Neither do I, really, but I would be concerned about newsletter hosts being able to build a profile of my interests based on what I'm subscribed to.

If I can just use Atom/RSS over HTTP instead I can avoid that easily.
It's true that if we just put a tax on CO2, then either the price of BTC would go up, or the work factor would go down.

However, that seems to be less politically feasible than banning BTC.
I used to use thunderbird to read RSS. The problem though is that if you don’t poll often enough (and for some feeds, that’s every few hours) you’ll miss articles and updates — and my laptop is sometimes off for a couple of days.

I’ve switched to NewsBlur a few years ago. Happy paying customer. (But bot affiliated). The bonus is synchronized phone/laptop/desktop reading status.
Mobile ad companies form alliance to prepare for Apple privacy changes
See: https://stratechery.com/2018/the-end-of-windows/

I think that article gets most of it. There's some MSFT narrative that comes up here a lot where people say Ballmer was doing great and Nadella just continued his plans, I don't buy it.

MSFT had a lot of strategic failures as well as product failures under Ballmer. Nadella shifted strategy and made them a serious competitor again.
ESP is a surprisingly cheap to research, I bet both thought "Why not? just in case".
Great one! We want to add a share on Twitter function and then the sizes matter. For now we went with the simple approach but definitely up for improvements.
Is there a font file I can download
Echoing many others here, this is a perfect example of an incredibly toxic manager. Notice how all things lead back to them and their success, trying to guilt you into not working harder for them. And if you don’t? You get fired right away.

Also, this post completely destroyed my desire to use Waze, and makes me question if they are really good stewards of our location data given how much time was spent complaining about policies.
I don't understand what you mean by transition from the litigious nature of US to "political correctness". I think the convention definition of litigious nature is to be "quick to litigate/sue people in court".

I don't see what that has to do with political correctness. Political correctness was a term invented in the late 80s early 90s, but I think America was litigious before that and continues to be litigious today.

And if you disagree with that, I'll see you in court.
Trying to get an input to autofocus with any reliability in browsers is the third hardest problem in computer science.
Anyone can compare the "externals" in SVN with "submodules" in git? I'm curious since I'm used to externals in SVN and they're ok but as always you have to keep some things in mind
Humans are designed to limit energy expenditure. Its hard wired in us from our hunter-gatherer days. That's not the root cause but it is a trait we all share. Add to that a poor diet, one that makes you feel sluggish and makes you crave more food and drink. Throw in economies of scale to make the food super cheap and accessible. Pack people inside, throw a TV in front of them or any sort of thing that will give them an environment of relaxation and you've got yourself the makings of an obesity problem.

The truth is, humans are lazy and will, by in large, only do work that they have to do.
Website currently not responding.

https://web.archive.org/web/20210217174411/http://forthworks...
> Uber broke the back of your local city's taxi medallion scheme.

Posted it in an other thread [0] but do we really want to go back to the medallion system? Pre-Uber, either the driver rented the car to a middleman who rented the medallion from a rich owner, or said owner was selling and financing (most banks won't touch these medallions!) a medallion at a ridiculous interest rate to a driver that planned to use it as his retirement savings (an extremely volatile asset and not very liquid).

The more I spoke to cab drivers the more it seemed their industry was a pyramid scheme aimed at helping established rent-seeker take advantage of often poor new immigrants. Uber brought a breeze of fresh air: Someone could simply buy a car, calculate the depreciation and it's value on the market (since unlike medallions cars are relatively liquid assets!) do rideshare and calculate their profits or loss. They can get out of the game at anytime, and they know exactly how much they are going to get for the car they have should they sell it.

And I'm not even touching the usual pain points and often discriminatory practices of medallion drivers (refusing card payments, refusing rides to non-white passengers and to non-white neighborhoods...).

[0] https://news.ycombinator.com/item?id=24225648
Yeah, we wanted to add an API at some point and also provide a deeper integration with Raycast. What would you like to build with the API?
I said the same about the wheel. We were perfectly ok with Oxen
You can even hit the share button then 'add to home screen' if you want easy access to the site without the URL bar (at least for PWAs; regular sites will just open a safari tab).
If only Apple could, say, permit payments outside of the Apple store for apps installed from the store...

This was the real problem. Apple has to get a cut if you run the app on an Apple-made device and either sell the software or charge money for digital goods at all.

There is only upside for Apple with these restrictions, so I see them continuing to fight this fight with the excuse being "Customer experience, security concerns," etc, where the reality is maintaining the wall and gate in their garden.
I think I remember first getting déjà vu from websites with this style about two years ago. Fun that it is getting so overused now that more people are starting to notice. Below is a good article going into a bit more backstory on the style.

https://eyeondesign.aiga.org/dont-worry-these-gangley-armed-...
> If you can't sideload things

Ok, and if you simply had a setting that you could turn on, that make it so your phone couldn't side load, then you still get what you want.

Everyone wins, by simply giving you the option to turn off side loading, but letting others choose to do so if they want to.
Bilinear down/upsampling, aligning pixels, and infamous GPU half pixel offset
Ideas that I haven't tested:

- Once you leave office, you get a big salary for life, but can't have another job. No working for a bank, or happening into consultancy. No speaking fees, though you are of course free to give speeches to whomever you like. Yeah it's draconian, but there's plenty of people who want the role.

- Make all the government's accounts visible to everyone. All the money, wherever it goes, is tied to some contract. Website where you can find out who they paid to do the plumbing in number 10, with a full paper trail.

- You have to certify that you're not mates with anyone who is offering the contract for the new bridge. Someone finds out you went to school with him. You go to jail together (more likely a fine), lose the contract, he loses his job. Yes, it's a bummer if you're competent and you happen to know the PM, who needs you for something. But again, there's a lot of competent people.
Say you had the choice between:

1. Buy game X from Apple's app store for $39.00.

2. Buy game X from X's own app store for $30.00.

Would you install X's app store then? Would you at least want the option of choosing that path?
No, not necessarily. People donate kidneys all the time, which is a serious procedure with non-negligible chances of short- and long-term complications. And non-medically, people risk their lives to help others all the time. The difference between ethical medical research and the Tuskegee experiments is informed consent.
Except that Google was known for all these perks, 20% time (I wonder what this guy would think about someone wasting ONE DAY A WEEK for something not on his project?!), good food, etc. pretty much since inception.

Isn't that why so many people flocked there to work in the first place?
Superuser: 'Why does Windows think that my wireless keyboard is a toaster?'
Such as? Every time I heard a Limbaugh quote that sounded absolutely outrageous, then listened to the audio in context, it was as bad if not worse than the summary.
Then why are women so attracted to muscular men?
MSFT "irrelevant" ... ah, ok, so you're just measuring capturing zeitgeist vs. sustainability of the business model ... ok

MSFT revenue has NEVER stopped growing: https://www.macrotrends.net/stocks/charts/MSFT/microsoft/rev...
Easier to develop for but in terms of raw computation costs and speed, client side wins.

If you want the maximum tradeoff for ease of development then having all of the UI rendered on the server is the ultimate solution in terms of ease of development.
You and I must have different definitions of parasitic. Apple is providing services to developers and, in exchange is receiving payment for that. Developers shouldn't be able to take advantage of the benefits of the platform without paying for it.

Everything else you said is irrelevant.
I do it for a living so that's not really an option. That's also where my perspective is written from, as an industry full stack dev turned contractor, commenting on the past. I wasn't trying to say one way is better than the other, it has just been a surprising outcome that's all.

I think it's also worth remembering the context of old web tech. Computers were slow, javascript wasn't performant and backward compatability was still a huge issue. We did our best to use as little JS as possible.

When phones came along, computers got faster, and flash et al were earmarked for deprecation, there was a void of opportunity for javascript powered frontend frameworks, and the web industry started to build and embrace UI tooling albeit with a new lexicon.
Because Epic Games is in the title, and they already have a store on Mac+Windows.
> they’ll be able to swing performance to an even average

Ok, but then they're just average, not bad. Hence, no need to fire them.
>It's not localization that's stopping European companies from taking over the entire EU market

It very much is about localization - both language and to some extent also culture. Both are notable problems with b2c, and there are no "good enough" automated solutions.

My point of reference is the success of Polish domestic "Allegro" ecommerce platform, which was able to out-fox EBay, and later on Amazon, and still maintains dominant position on the local market. There were no significant technological advantages, nor any notable political connections. The platform won purely on being local.

In spite all the local success the platform could not expand to the west of Poland due to localization (language and partly culture). It did expand a little bit to Ukraine and Czech Republic. And while it's possible to browse foreign offers, it's rather rare to do so - due to the language barrier.
Never has so much been written to say so little. I am sure all four reasons
are at play, but that's obvious, and no explanatory regression can or needs to
be run. Then again, it's just a dime-a-dozen MSc thesis.
> Accepting that it is extremely difficult to achieve complete memory safety with the performance level suitable for production deployment

I don't think this is true anymore even for system code. As Rust demonstrates, fat pointers and apropriate compile time restrictions ensure memory and type safety with marginal performance overhead.

It's simply not a problem to bother with anymore in the 21st century, if not for the immense legacy of unsafe C/C++ code and the inertia of the industry and people.