Either the package does or the developers do. And only one of them has compilation checks.
HN user
joesb
And what does DOS attacker want you to do? Not crashing the whole service to deny others of the service?
When a process is used to serve multiple requests, I don't think you need to let the whole process terminate just because there is a bug dealing with a single request. Just because we can not reason about the current request does not mean the only way to get to the clean state for other requests is to terminate the whole process.
I'm lost on how should I integrate all these "languages" of Racket into a single application. Like, I can see there are `typed/racket`, `racket/gui` and `scribble/base` languages. But how do I write a GUI application that create PDF while also having all the code be typed? I tried following Racket tutorial multiple times but I'm still lost on how to tied each unrelated "languages" together.
IMO, each chapter of the tutorial just talk about unrelated "language" and then never once show how they all work together. One chapter will talk about web server but not class system, then another chapter will talk about another "language" that support class but then never write web server in it.
The game doesn't have to be started from scratch.
For example, get him to write game on top of Roblox. Or any other game that allow simple mod.
If you want to get more hands on, there are plenty of game engines that is simple to write, many are in Python.
If you have an iPad, there are lots of Game coding app, like Swift Playground.
It's not completely about handling unplanned failure, but handling alternative path when the condition for one path is not met. For example, when you perform `withdrawMoney()` it can fail because there's not enough money in the account. This has nothing to do with your coding failure.
If you have if/else in your code, you don't think "If one path fail, so can the other path, so I never handle the other path".
If my code works out of the box in an unmodified browser, then it is Vanilla JS. If I have to load a framework for it to work, then it isn't, period.
Minor nitpick, third party library and framework does not modify your browser. They all still run on unmodified browsers.
What is this article's obsession with things being "processed" food? Is "processed" the new "chemical"?
It's like the article trying to keep repeating the words "processed", "ultra-processed", "hyper-processed" as if it's some scary boogey man.
Which is fine if your company and teams use React a lot.
Why introduce inconsistency in everyone's workflow just because this specific page is a simple contact form?
The fact that it is just a simple contact form is exactly why you should use the same tools and workflow that everyone in your team has already been using.
Write what other people knows so you don't have to be the one maintaining it.
Why not? At that size, it takes less than your client can blink to load it.
Why is it relevant? The point is you are not the one needing to remember.
One day React could change from using Virtual Dom to the Svelte way and most user of library wouldn't notice.
The point of the article is that React remember where to make the modification for you.
I think OP was just saying that even if the article were true, it didn't mean that someone who claim to be one of those people actually were.
And that's a problem because?
But our low-level motor actions and perceptions, coordinated by the brain, require a lot of precise computation.
But we don't actually do that precise computation though. try repeating any action exactly and you will see some inaccuracy.
(1) I have no leaks and (2) I don't know how to create them -- These don't really square with each other.
If he runs his service for a long time and the memory usage doesn't keep growing, no resource exhaustion problem occurs, then he can reasonably say he has no leaks. At least, he has no significant leaks.
I don't have to know how to create nuclear bomb to know I don't have one.
I don't think anyone is argue for one instead of the other.
Why not a little bit of both? Can we not think about system and data driven improvement while also at the same time apologize for our mistake?
While I agree with not "blaming" people for the mistake as if it's their fault as a person. I disagree with all of his reasoning and the action he choose not to do in this case.
I also take the position of "criticizing the idea/code, not the people" when it comes to other people's work. I rarely have a problem with criticizing myself.
Especially when it comes to "your" own code. You should be able to apologize for your mistake.
It reinforces the idea that any one person or piece of code can be blamed for a given failure. Short of malice, this is never the case.
You can be attributed to your action. If you can be attributed to the good things in your work, then you can be attributed to bugs. Unless you are claiming that you have no control what so ever about how your code turns out, at which point, what are the different from you and a typewriter?
The thing is, you can be attributed for an instance of error. You can be blamed for the error you did. But you should never be categories as "the error".
It gives the impression that, when you wrote the code, you should have written it better. This is a counterfactual that rarely holds up to examination.
Yes. There are instances that I could have written it better.
It positions shame as the correct emotion to feel about bugs in your code: if you were a better engineer – a better teammate – the bug wouldn’t exist.
If you’re a more senior engineer on your team, the effects of these anti-patterns are magnified: people see you apologizing for bugs, so they think that they should be striving to write bug-free code. They may feel ashamed if their code has bugs.
I take the approach and culture of "be strict with yourself but be kind to others". When I talks about other people's bug I always criticize the bugs itself and talks about problem and process in general without tying it to them. But when I talked about my code, I will also express what I could have done better or what is the pros and cons of my coding decision.
The thing is there's different between people striving to better themselves, and people blaming others for not being better.
You should strive to be better, while at the same times not being a snob or looking down on other for not being perfect.
In every day's life there's no permanently good people or bad people. There's bad action that people do. You should still be able to attribute a certain instance of event to a person. You just don't have to hold grudge and judge them forever based on it.
I am probably reaching it here, but I feel that the author is the kind of person that can't take criticism of his idea well because he feel that his idea is himself.
Your idea and action is yours. But your idea and action is not who you are. If you think it is yourself, then you become blindly defensive and either never acknowledge that you did it, like the author did, or never change.
Unless you've invented a mind-reading device I'm pretty sure you're talking out of your ass.
You may feel that. But you can't know what other smokers feel, either.
You can use HTTP client to contact any HTTP compatible service. You can only use Kafka client to connect to Kafka.
That sounds like a tautology but it's practical. There is way higher chance that you can make any of your future service response speak HTTP, than all of them speaking Kafka. If you add HTTP client libs today, there's higher chance of reuse than adding Kafka libs.
That reminds me of the villian robot in I, Robot movie. They don't want to harm human, they just want to keep them in the house, so that there is less crime, and less people die.
It may take away freedom. But freedom should not be a reason to trade lives.
Some may say the playground is about happiness, some may say it's about the freedom to experience.
Honestly I don't care that much about such case. The system is not there to babysit you. In other transportation system if you get on the wrong car/bus, it's your problem.
So you should check your flight and gate number for your own benefit.
Not to mention the chance would be very low, you have to go the wrong flight and the system have to have false positive at you.
Why are people assuming that they don't use feature detection just because they have a warning based on UA-sniffing?
Saying that an unknown browser is "unsupported browser" is not the same as saying that "it will break. we will deliberately disable the feature". All it means is "We don't know what this browser is. We have never tested on it. we will not pay as much attention is this unknown browser break".
Just because a browser passes features detection doesn't mean they don't have bugs or weird behaviors.
Why do people assume that Google doesn't both, using feature detection to enable features and also display warning if the user is user some browser they don't know and can't guarantee that they ever test on it.
Way to kill businesses that relying on subcontracting and surviving on small margin.
But more honest language ("What does this line mean?") would erase the veneer of objectivity; hermeneutical questions do not have "right" answers
"When you say it honestly, it looks bad. So don't say it that way".
Not targeting at you, obviously you are explaining the thought process of the exam maker, but that kinda shows the issue with them.
They looked at the question and realize that there's no right answer for these kind of question to be made in to a multiple choice question. But instead of changing the test to something else, or making it a free text answer, they choose to play with wording of the question to hide the problem with it.
On the other hand, if the static optimizer can figure out that a certain call will always work at compile time, it can remove the runtime check for that part.
As if only evil CEO can remember things differently.
"This CEO rewrites history! My friend's memory is more trustworthy!"
It depends on if the library will sue you for trying to make a copy of those law so that not everyone has to comes to the library in the future.
New species will arise. That's how evolution works.
Lots and lots, I might even say majority, of people who bought iPhones don't have Mac or any other Apple device but iPhones.
It's also only recently that the Apple ecosystem is relevant with Continuity stuffs. Before that, iPods, iPhones and iPads are all very isolated and don't require Apple ecosystem much.
Did they lie, though.
Providing homes as in places to stays during disasters does not neccessary means "permanent" homes.