The link to at the bottom update post should probably point here https://ochagavia.nl/blog/solving-the-jit-calculator-challen... instead of back to the article
But now every function that reads from stdin needs to pass around an offset of where to read from which is very unergonomical. It also isn't really pure since offset is now state that is changing whenever a function is…
What happens if you do: x = read_guess(); y = io.read_int("what's your name: "); z = read_guess(); How would your system ensure x and z are the same?
This is an interesting approach but it has some issues with more more advanced effects. For example if you have a function that uses mutable state you would need to have the state both as an input and an output (for the…
You're approaching this from a PL design standpoint where the distinction is important, but from a user perspective it doesn't matter if it's just "syntax sugar" or if it's a super complicated to implement all that…
> the situation is, in the worst case, as good as when types are mandatory The worst case is actually worse than when types are mandatory, since you can get an error in the wrong place. For example, if a function has…
I'm assuming `timeout_return_value` would be a user provided value that serves as the default. But most effect systems also support a `return` effect that lets change the return type of a function [1]. So you could make…
If you replace the ternary with an if then it's easy to understand for anyone who knows what ... means (which imo every JS developer should know) const count = (amount: number) => { if (amount > 0) { return…
With JSX you can do const todo = <DoMoreStuff args={...}><DoEvenMoreStuff args={...}/></DoMoreStuff>; <DoStuff args={...}>{todo}</DoStuff>
> With any financial innovation, there's often a cycle: initial excitement, over-extension, contraction, and then matured understanding I'm a little more cynical, I think the cycle is: a new financial invention comes…
> Who is doing that today? So many people. Look no further than the activists who are continuing to protest against Cop City in Atlanta despite the fact that the cops have already murdered one person [1] and arrested…
Under this interpretation nothing can ever be revolutionary. There is absolutely and ideology that is dominant in society at large and trying to say that the ideology that runs 95% of world powers and one that opposes…
They hopefully won't but the threat of arrest, even if they won't be indicted, is definitely enough to have a dampening effect on people exercising their rights. At the same time I wouldn't be confident in the courts…
I don't think that's what causes police killings unless you consider walking out of your friend's house with a cellphone in your hand making "10 of the worst decisions of your life in a row"[1] [1]…
You're right I meant to say hate crimes not hate speech. Although in the Utah case her actions where pretty clearly speech [1] [1] https://www.npr.org/2021/07/15/1016431004/a-woman-is-facing-...
> in that the policies in question aren't controversial and are already enforced These policies aren't enforced > Change management practices, so officer abuses are punished "Less than 10% of officers in most police…
A gun isn't going to protect you from police violence, it's just going to give them a reason to become even more militarized and an excuse after they shoot you
> If you really believe that, I recommend going outside and stepping off 25 feet and then trying some smartphone recordings. I recommend you trying that in a high stress situation involving an number of people in close…
> The former. People have been over-charged for destroying the property of others, in the example given. But my point was comparative. This is a inaccurate comparison. She didn't destroy any else's property
> But by god, there are a load of good ones, and some of them spend all day, dealing with people at their absolute worst, taking crap you or I wouldn't be able to handle for 5 minutes. There are plenty of other…
The issue is also the distance, because it makes it harder to get accurate footage of what's going on
> Most people respect and want cops 89% of Americans think that changes need to made to make policing better and 50% of Americans think that major changes need to be made [1]. > People whining about cops being mean to…
This isn't a problem with hate crimes this is a problem with the level of immunity cops are given. If hate crimes had never been "made up" (whatever that means) they would have just found another way to make it illegal…
> Why wouldn't police officers be subject to the same kinds of protections from microagressions afforded to others? These are special protections afforded only to police officers. Normal people are protected from hate…
>25 feet isn't very far. In the other states mentioned I believe it's 10 feet, which is reasonable The 25 ft buffer means that while people aren't prevented from recording an arrest, they are prevented from making a…
The link to at the bottom update post should probably point here https://ochagavia.nl/blog/solving-the-jit-calculator-challen... instead of back to the article
But now every function that reads from stdin needs to pass around an offset of where to read from which is very unergonomical. It also isn't really pure since offset is now state that is changing whenever a function is…
What happens if you do: x = read_guess(); y = io.read_int("what's your name: "); z = read_guess(); How would your system ensure x and z are the same?
This is an interesting approach but it has some issues with more more advanced effects. For example if you have a function that uses mutable state you would need to have the state both as an input and an output (for the…
You're approaching this from a PL design standpoint where the distinction is important, but from a user perspective it doesn't matter if it's just "syntax sugar" or if it's a super complicated to implement all that…
> the situation is, in the worst case, as good as when types are mandatory The worst case is actually worse than when types are mandatory, since you can get an error in the wrong place. For example, if a function has…
I'm assuming `timeout_return_value` would be a user provided value that serves as the default. But most effect systems also support a `return` effect that lets change the return type of a function [1]. So you could make…
If you replace the ternary with an if then it's easy to understand for anyone who knows what ... means (which imo every JS developer should know) const count = (amount: number) => { if (amount > 0) { return…
With JSX you can do const todo = <DoMoreStuff args={...}><DoEvenMoreStuff args={...}/></DoMoreStuff>; <DoStuff args={...}>{todo}</DoStuff>
> With any financial innovation, there's often a cycle: initial excitement, over-extension, contraction, and then matured understanding I'm a little more cynical, I think the cycle is: a new financial invention comes…
> Who is doing that today? So many people. Look no further than the activists who are continuing to protest against Cop City in Atlanta despite the fact that the cops have already murdered one person [1] and arrested…
Under this interpretation nothing can ever be revolutionary. There is absolutely and ideology that is dominant in society at large and trying to say that the ideology that runs 95% of world powers and one that opposes…
They hopefully won't but the threat of arrest, even if they won't be indicted, is definitely enough to have a dampening effect on people exercising their rights. At the same time I wouldn't be confident in the courts…
I don't think that's what causes police killings unless you consider walking out of your friend's house with a cellphone in your hand making "10 of the worst decisions of your life in a row"[1] [1]…
You're right I meant to say hate crimes not hate speech. Although in the Utah case her actions where pretty clearly speech [1] [1] https://www.npr.org/2021/07/15/1016431004/a-woman-is-facing-...
> in that the policies in question aren't controversial and are already enforced These policies aren't enforced > Change management practices, so officer abuses are punished "Less than 10% of officers in most police…
A gun isn't going to protect you from police violence, it's just going to give them a reason to become even more militarized and an excuse after they shoot you
> If you really believe that, I recommend going outside and stepping off 25 feet and then trying some smartphone recordings. I recommend you trying that in a high stress situation involving an number of people in close…
> The former. People have been over-charged for destroying the property of others, in the example given. But my point was comparative. This is a inaccurate comparison. She didn't destroy any else's property
> But by god, there are a load of good ones, and some of them spend all day, dealing with people at their absolute worst, taking crap you or I wouldn't be able to handle for 5 minutes. There are plenty of other…
The issue is also the distance, because it makes it harder to get accurate footage of what's going on
> Most people respect and want cops 89% of Americans think that changes need to made to make policing better and 50% of Americans think that major changes need to be made [1]. > People whining about cops being mean to…
This isn't a problem with hate crimes this is a problem with the level of immunity cops are given. If hate crimes had never been "made up" (whatever that means) they would have just found another way to make it illegal…
> Why wouldn't police officers be subject to the same kinds of protections from microagressions afforded to others? These are special protections afforded only to police officers. Normal people are protected from hate…
>25 feet isn't very far. In the other states mentioned I believe it's 10 feet, which is reasonable The 25 ft buffer means that while people aren't prevented from recording an arrest, they are prevented from making a…