skysight-inc/HackerNews huggingface dataset:
Ask HN: Should front end developer run API locally or use shared staging env?
We have cleanly split projects where a React SPA communicates with a PHP API.

The React developers need to be able to connect to an instance of the API in order to test their work.

Would you prefer running the API locally, or using a shared staging instance?

The backend is already containerised so developers could spin it up with Docker reasonably easily (there are usually multiple environment variables which would need to be set). My concern with asking frontend devs to run the API locally is it will increase friction when changes to the backend are made. The frontend team would need to be instructed to "pull the changes"/"spin up new image". In addition, changes to the database schema would need to be communicated, and it would be hard to provide a unified set of test data.

A shared staging environment ("dev.project.company.com") alleviates these concerns. The backend team deploys to staging, updates the database schema on the staging DB, and seeds any useful test data. The frontend team doesn't need to do anything to "receive" these changes. However, they're now dependent on having an internet connection (developers work remotely). It also removes the ability for frontend devs to work against in-development API branches - unless it's merged into staging, it's not accessible.

There's tradeoffs on both sides. I'm leaning towards requiring frontend devs to run the API locally, but am conscious this will increase onboarding time and potentially introduce friction as developers will need to remember to pull changes and apply schema migrations/seeds to a local database instance.

I've tried to find case studies from other small teams but there seems to be very little writing on how this problem is usually solved, to my surprise. Thoughts welcome.
> Also 25 minute commute means 50 minutes out of the day, every workday.

Yes, that sums up to over 4 hours per week, i.e. half a working day.
Funnily enough Monkey Island was already redeuced actions, Maniac Mansion and Zak Mckracken had even more.
latex is also great for this.It is fully Turing complete and I have used it extensively for building programmatic templates.
An issue with doing that kind of programming in C++ is ownership. Basically if you have goroutines/threads and channels, then GC is helpful.

So the Go language is really giving you 2 things together that C++ doesn't have that makes concurrent programming easier. But arguably they could have just given you threads and channels and GC, and not goroutines. That is, leaving out M:N threading. (I thought gccgo did that a long time ago or still does?)

You can use threads and channels (which are just thread-safe queues) in C++, and follow a convention where you NULL out pointers after passing them across a channel. So basically you have single ownership.

That is all a manual process, which is OK sometimes, but when you add in threads and the possibility of nondeterministic bugs, then maybe it's easier to see why that style of programming is not super popular. Though I have done it for small programs and it works well.
>“This article has some substance to it that is worth discussion”

Thank you, I appreciate that.

>“sheer amount of ad hominem in it.”

I wouldn't say sheer, but admittedly yes, I couldn't help myself since that's part of the reason I opted out. I just don't like to invest in things associated with shady people. And if calling Saylor shady is an ad hominem, then I'll live with that. Rebuke accepted.

>“The USD is also owned by terrible people, and is used to fund terrible things.”

This is whataboutism which I mention in the article as well.

>“but to project their own case of that on all Bitcoin enthusiasts is completely unfair.”

I'm not doing that, or at least it wasn't my intention. That's why I opened with “Realizing the extent”. By using “extent” I mean a lot, not everyone. That why I also added: “So, governments are not without faults, but likewise not the evil bogeymen as many people make them out to be, and neither are bitcoin enthusiasts.” I am definitely aware that not everyone is toxic. Although I could've given it some more weight throughout the article. But I stand by my observation that cryptocurrencies really are the most toxic communities I've ever encountered, on par with religious fanatics. Anyway, I'll look where I can add some extra nuance.

>“Some of the smartest engineers I know work on Bitcoin”

Anyone can say about anyone that they're the smartest people they know. It carries zero validity. I'll just copy-paste my reaction to an identical comment, https://news.ycombinator.com/item?id=26448833:

«“you'll see some of the smartest engineers of our generation working real hard”

“I've been reading those cheap empty words way too much lately. Unless they are the likes of John von Neumann I'll just assume they're people of average intelligence working on things that look incredibly intimidating to outsiders.”

Also, an excerpt from Marcus Aurelius - Meditations: “How corrupt and two-faced is one who claims, 'I intend to be fair and honest in my dealings with you.' What are you up to, my friend? There is really no need for this preamble. The matter will soon become plain. It should be written on your face,* it should ring out immediately in your voice, and shine out at once in your eyes, as the loved one at once knows everything about his lovers from the manner of their glance. In short, a good and honest person should resemble one who smells like a goat in this respect, that anyone who comes near him is immediately aware of it whether he wishes it or not. But the mere pretence of simplicity is like an open blade. There is nothing more odious than the friendship of the wolf for the lamb; avoid this above all. A good, straightforward, and kindly person reveals these qualities in his eyes, and they will not escape you.”»

That being said, I appreciate your civility. Have a great one.
> It's the same reason we have gyms for exercise, yoga studios for yoga, art studios for painting

No. We have gyms for exercise because there is an economy of scale. Who wants to buy a rowing machine, weight machines, stair machines, etc.

Yoga studios are because people go there to have a class led by an instructor. And most artists don’t “go” to a studio, they have a place in their house.

For typing on a computer, there’s really not much requirement for an external place unless your house is such that you don’t have a desk in which to work.
I don’t know if you have started working on a potential solution (I am assuming not based off your verbiage), but I’d love to hear more.

I find tremendous purpose and joy in enabling more productive and efficient work by developing digital tools & applications, especially for intelligent individuals such as your mother and other lawyers.

If interested in sharing more, whether you want to have nothing to do with a potential venture or not, I have my public email on my profile. Cheers!
They get world-class insurance. They do pay for it, but I never said it was free.

Incentives matter. If Senators & Congress people were given only medicare and not their ACA Gold plan + perks, medicare would probably be a lot better off.
> If the candidate is using a tech you’re unfamiliar with why are you interviewing them?

did you read the article? Did you see the comment I was replying to? The gist is that a candidate may know other things that I don't and still successfully answers the technical question. Just because it wasn't using the tech I would have used to solve the problem doesn't mean they're unqualified. Not saying that's what you're saying, I'm just repeating explicitly what I only implied earlier.
Right and there's nothing wrong with genuine questions - however each question is asking for the commenters time to satisfy your own curiosity and there is a threshold where asking a bunch of loosely defined open ended questions no longer contributes value to a conversation (because they become rhetorical, unanswerable, or the commenter has moved on and doesn't want to commit to a full answer), etc.

In short it gets to a point where it seems like you're only asking questions to prove someone else incorrect or even inferior - versus to actually further a conversation by contributing concrete evidence. This may not have been your intention, or I could be misinterpreting it, but in your shoes I would want someone to tell me they had this impression so I could consider it going forward.
Which itself was entirely faked.
What used cars tell us about the risk of too much inflation hitting the economy
Yeah this only works if you have more than one circuit.
Can you elaborate on how web components are ‘not a web standard so much as it is a Google standard’?

Every major browser supports web components at this point. Purportedly it’s a ‘Google’ standard & Mozilla & Microsoft are only supporting it because it serves them as mega corps?

Why do you consider it ‘not good for humans or the existing web’?

Anyone and everyone who wants to can write web components, and they will work in all major browsers. No dependencies, No libraries, no 3rd party APIs. Just vanilla HTML, JS & CSS.

To me that seems like a great advance for regular humans. We can develop ‘complex’ JS components with existing web tech. No build step, no learning 3rd party libraries.
I have been WFH since early August. These have easily been the most productive months of my life. I am switching to 50% WFH soon and it's not going to be easy at all.
> the conspiracy theory makes weak predictions about upcoming observations, so it loses probability mass very slowly as a whole

That may be the case for conspiracy theories, but I'd expect the theory that dogs are dangerous to make much stronger predictions. On the other hand, maybe people who're afraid of dogs don't expect them to behave differently, they just think that everything dogs do is scary (which is true, since they're scared by everything dogs do.)
I use Aegis, that has backup to (encrypted) file, thus you can use own infra.
I would recommend reading about ETH 2.0. There are a few aspects to it that increase scalability and drive down gas prices. Unless I'm mistaken proof of stake will contribute to this as the "work" is done away with.

Eth 2.0 has been slow and a long time coming, but it's the future and inevitable IMHO.
Too soon. Someday perhaps a Game Developers Conference paper/talk. I was considering one, but live GDC has been cancelled for 2021. My real interest in this is how do we build a big, seamless metaverse that goes fast. I'm far enough along to see that it's possible, but not far enough along that people can use the client.

Rust is good for this sort of thing. It's overkill for most web back end stuff. That's where Go is more useful. Go has all those well-used libraries for web back end tasks. Parallelism in web back ends tends to be about waiting for network events, not juggling heavy compute loads of coordinated disparate tasks. Hence all the interest in "async" for web servers. As I've said before, use the right tool for the job.
Can who's who's used this share their experiences with this? Sounds interesting, but it's going to be a hard sell for collaboration work with airtable already.. on the table.
I think you're reading that implication in, when it wasn't there. Nobody can know with certainty what's really true or false, and the author isn't claiming to know either or judge people for disagreeing. We can only work on improving our processes for deciding what's true, and noticing that sometimes we can end up in a situation where our beliefs will become immune to contrary evidence is an important part of that. When that happens it doesn't mean those beliefs are certainly mistaken, but it does mean your fate is, more or less, sealed.

If your faith in a flat earth is strong enough that you'll come up with new theories of optics to justify continuing to believe in it even after you're launched into orbit to see it firsthand, your belief is unshakable. But that doesn't guarantee that you're wrong, maybe you're a genius who just revolutionized cosmology and optics. But you're probably wrong.
The documentation is excellent.
It’s so rare to see such well written documentation with just the right learning curve.
We did a process like this at a job once; it came back with an "estimate" of 240 developer-weeks, so the next question from management was "so we can have the feature in six months if we put ten people on it?"
grim can write the image to stdout. GUI like [1] can read images from stdin. You can make a script that pipes one to the other and bind that in your compositor.

[1]: https://github.com/jtheoof/swappy
Same here. Playing a bit with CLAHE, microcontrast and sharpening gives visually the same if not even better results.
They seem to have been lost over a century ago. There was no interest in preserving them, as they were assumed to be forgeries.
You probably want go with 0.1+0.2 != 0.3
Agnosticism about particular partisan issues is very appropriate when discussing general patterns of thinking and failure modes. And I think he would agree with your last paragraph to the extent of thinking it too obvious to say out loud. His own politics are clear enough from his other writing.
One idea I liked was ...

You have an authoritive world simulation server, as usual.

You then have several servers whose chief job is to keep clients in sync with the authoritive server.

Most network games combine these two roles, but there is a lot of processing and network traffic required to keep clients in sync. For massive multiplayer there is a benefit to scale the "client-interaction" servers.
It's a neuromyth being applied to political domains so that the believers of political narratives don't have to feel accountable for anything.
I use the Brita Maxtra+, and have confirmed with test strips and en electric meter that it reduces my 400ppm to 150ppm or so. Not zero, but significantly increases the interval between rescaling and results in a more pleasant cup of tea. Not sure about the others, but the Maxtra+ is advertised specifically to soften water.

However the filters do not last as long as they claim. I have to replace the filter maybe 2/3 through it’s rated life or I start to get limescale and tea scum.

I don’t drink the Brita water though. I much prefer the taste of hard water.
For sure, but the title is quite an overstatement and reads like it's from someone who haven't really been paying attention to the many existing open source super resolution offerings.
I don't think that's the reason. Barrie has a ton of farmland and it's just a hop away from Toronto. It's just that there's nobody incentivizing companies to put down headquarters in these smaller municipalities.

Several decades ago, north of Steeles was prairies and farmlands. The IBM headquarters was moved to that area in the 80s. CGI headquartered in Markham as well. Nowadays there are condos going up all over the place along the 407 and hwy 7.

If more companies did this instead of coveting to be as near union Station as possible, I believe the metropolitan area could still expand horizontally a great deal more before ever coming anywhere near permafrost.

It doesn't even take that much willpower either. Milton, for example, could easily attract companies by offering tax breaks. A lot of talent already commutes from there.
> Isn’t it possible that there actually are some powerful political groups who have honest and good intentions and others which do not?

There are people who have bad values, and want things that are bad, yes. (Though generally they don't want them because they think they are bad.)

> Isn’t that possible even if most people have a tendency to believe that their own groups are the good ones, and that belief is just as strong for each group?

yes.

> Is it impossible for me to believe my group’s intentions are honest and good, and you believe just as strongly that your group’s intentions are honest and good, but that only one of us is correct?

I'm not sure what precisely you mean by intentions being "honest and good". If I believe that my intent is honest -- well, I suppose I could be fooling myself, thinking that some behavior of mine is "honest" by twisting the meaning of the word "honest" in my mind, while still intending to cause others to have a belief which I believe to be false.
Also, by intentions being "good", do you mean that the things one intends are actually good things, or that the one intending them thinks them good for those they impact, and intends them for that reason?

> Is knowledge nothing more than a feeling of certainty? Or is knowledge simply impossible?

Knowledge is more than a feeling of certainty, yes. And, either knowledge, or something very similar to knowledge, is possible.

For example, both of the beliefs quoted, are false. There may be related claims which are true, but neither of the claims, as stated, are. (I don't see the no true Scotsman aspect of either though?)

The point isn't that different sides are equally correct. The point is demonstrating a kind of error that can be made, and giving an example on multiple sides makes it easier to understand. If one only gave examples of a type of error being made by the side the reader agrees with, there would be a danger of this being interpreted as simply an attack on the side the reader agrees with, and so the reader would be less likely to appreciate the point. On the other hand, if one only gave examples of the type of error being made by the side the reader disagrees with, while the reader may take a more positive view of what is being written, they are less likely to internalize the point as a kind of error that they, or others on their side, are prone to.

For something to be a general type of error, the type of error should be one that can be made in multiple contexts/directions/ways.

Then, to demonstrate that something is a general type of error, why not demonstrate that, by showing that it can be made in multiple contexts/directions/ways ?

The point isn't nihilism or relativism. The point is vigilance.
There's no silver bullet that would solve error handling in such cases purely by the means of the programming language. Just like it's possible to have memory leaks in Java, it is possible to write broken code with Either<Result, Error> - imagine accidentally ignoring an error from sensor that results in overheating and fire. If you want to absolutely make sure, that this won't happen, then you build your system in a way, where prevention of the exceptional situations is implied by design, rather than requires an additional effort from developer.
Big Sur grey menu items disabled?
What is more worrying, they didn't even click on the acknowledgement link at the bottom of the story.

Though the prose is not at the level of Aphyr, the Cthulhu abominations in it are still admirably terrifying.
This “guessing” is nice for the sake of artistry, but we’ve got to be careful when knowing what actually was there is important—like when photos are submitted as evidence in court cases, or when determining the identity of a person from a photo as part of an investigation.
Eurovision Song Contest – Cross-Border Song Competition
You left Alan Turing off that list
It is easy to understand, why. Graphical adventure games were direct successors of text adventure games, where players interacted with the world via text commands, and you could have dozens of them without cluttering the interface.
Ask HN: Do have a horror story of not using (or using) version control?
With the popularity of data analysis through programming, there are perhaps more people writing code than ever. But coding best practices are often lagging in teams that have a background different than the tipical computer science professional.

Do you have any stories you can share where things whent horribly wrong becuase you and / or your team were not using some form of version control? Or perhaps you were using version control but not in the right way (git can be complex in the beginning).

If you have any horror stories to share that would be great. I would like to use them to illustrate a talk about the importance of version control in data science.
How would you know to trust the platform you are running on without some sort of hardware key and attestation? You need to be able to determine from your guest that you are running in this confidential environment rather than in some emulation, and I don’t know of any other way to do this than attestation.

Additionally we are not talking about separate TPMs today much of the time, rather there will be some environment on the same package or the same die as your AP providing this TEE so you cannot trivially intercept that bus.
https://openaccess.thecvf.com/content_cvpr_2018/papers/Yu_Su...

stuff like this - assuming it's a GAN under the hood it just tries to guess a 'plausible' possible interpolation, but if you're giving it very little information about what's in the original image, there will be a wide range of plausible images it could have arisen from, so the output can be very far from the truth.
The unsurety purportedly felt by these newly minted rich techies reminds me of the moment Brian Chesky (Airbnb co-founder) first learned that the Airbnb IPO was opening at $139, double what it was priced it was priced at ($68) [0]. His shock is pretty tangible.

[0]: https://youtu.be/Yh4okQ7d3Qk?t=134
Shutter is the only screenshot tool for Linux that meets my needs.

But no Wayland support.
If you do not understand that "embarrassingly parallel" is a technical term and that it's generally understood that most programs are not easily parallelizable, there is not a discussion we can have here.
It’s too bad that neither this paper, nor the previous detailed survey one have a breakdown of “reasons for reduced productivity by industry”. They report 80% productivity for IT, much less for retail, but it would be nice to see the “top reasons” tables by industry, to tease out “is the IT industry problem mostly bad internet and family distractions?” while Banking / Finance is mostly regulatory?

I do appreciate that they allowed people to enter values above 100 for “more productive”. I suspect very few did though. Some box plots would could be illuminating.

[1] https://www.rieti.go.jp/en/publications/summary/20090004.htm...
I don't doubt that anti-Semitism had a role, but Shapiro had been caught selling forgeries before, so it was not suspicion based entirely on him being Jewish.
I think Confidential Computing undersells the idea of "Attested Computing". For example, when users send data into the cloud, remote attestation can give them some confidence that data will be used according to the terms of consent.
Messages like these are so sad to read. The world will never realize how many people are working tirelessly behind the scenes to keep society moving forward.

Cheers to all of the silent (and sometimes not so silent) people that continue to give of themselves to make this world a more wonderful place in their own little way. You all are awesome and we literally couldn't go on with our way of life without you.
With Shopify, Small Businesses Strike Back at Amazon
"And in a 2018 scholarly article, he used similar approach to advance a startling claim: that an earlier version of Leviticus, rather than forbidding sex between men, had actually permitted it."

I'm a poor scholar of the ancient Jewish faith, but explicit permission of male on male sexual intercourse in the five books seems a bit of a stretch.

While I'd like to judge the merits of this man's claims, this has echos of the whole "Jesus wife" fiasco of seeking attention by being edgy.