Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sametmax
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
90 ms
·
901.
▲
by
sametmax
8y ago
It's a good practice to have a way to compare objects anyway, and it should be standardized, like __hash__ in Python or hashCode in Java. Even a basic comparison between two nested arrays is work in JS, so we need articles like this fo
902.
▲
by
sametmax
8y ago
Thanks a lot for the raw honesty.
903.
▲
by
sametmax
8y ago
I have two conflicting stereotypes: on one hand I assumed people spending that much on mobile games would be uneducated, on the other hand I also assume people on HN are more educated than average. Thanks for making me coming out of it. So,
904.
▲
by
sametmax
8y ago
We can't know how many, but we know it's possible. For e-vote, i'm not sure it's possible. Hell, i can't tell with certainty my own laptop is clean.
905.
▲
by
sametmax
8y ago
I would actually pay for that.
906.
▲
by
sametmax
8y ago
> I did not make a statement about the typescript compiler/transpiler nor mypy, I made a statement about the typing module which was brought about by PEP 484 (proposed in 2014) and accepted in 2015 a full 3 years after the typescrip
907.
▲
by
sametmax
8y ago
In your example it worked: a volunteer pointed it out. The volunteer probably would not have been able to with e-vote. Who has the skill to be able to assess such a system ? And among those, who has the time ? I've been a programmer fo
908.
▲
by
sametmax
8y ago
I believe the most amazing feature of JS is the ability to make their devs think they got it all figured out. > Python relatively recently added typing[0] The typescript compiler and the mypy type checker both appeared in 2012. Function
909.
▲
by
sametmax
8y ago
Cooperative multi-tasking if terrible is you don't have control over what the others are doing, but in your program you generally do. It also have the benefit of making concurrent access much easier to reason about without having to re
910.
▲
by
sametmax
8y ago
I agree, and the docs got better too. In 3.7, asyncio is usable for people that don't understand it very well. Before that, you had to learn the whole thing brick by brick before being able to do something serious. Yet, there is a miss
911.
▲
by
sametmax
8y ago
Ah the stuff used for the password ? I would be more of a fan of something like marshmallow, checking the whole thing.
912.
▲
by
sametmax
8y ago
> There is already a mechanism to validate the settings.py file inside django. It's not exposed, but it's very limited. > The different context stuff can be handled by using env vars, and a nice python wrapper, like python-d
913.
▲
by
sametmax
8y ago
What does it look like ?
914.
▲
by
sametmax
8y ago
Now that you say it, it's true I didn't have problems with too much power. I never had an untrusted party editing my config, nor did I use data from any. Also, you can make the same mistakes in the setting file that in any code fi
915.
▲
by
sametmax
8y ago
Nobody lives in a vacuum, and there are many reasons for not being able to choose the techs you will have to work with. In fact, the main reason is that there is no current other client side web language than Javascript. We don't use J
916.
▲
by
sametmax
8y ago
Actually, I think settings.py is not a bad idea, but it's half backed. There should have a schema checking the setting file. There should have a better way to extend settings, and make different settings according to context, such as p
917.
▲
by
sametmax
8y ago
It made google honestly. Morality and justice are a pretty important topic among geeks, and geeks were the best salesmen of Google at the begining. We needed it. Internet was going to be this incredible place were we would all share and lea
918.
▲
by
sametmax
8y ago
I find it amazing we have to repeat this again and again. People act like this never happened. I'm really wondering what's the cognitive mechanism that allows people to just discard enormous informations like this one.
919.
▲
by
sametmax
8y ago
There are several possible situations: - the django like situation: the configuration is pure code, and it's a mistake. It was not necessary, it brought plenty of problems. I wish they went with a templated toml file. - the ansible lik
920.
▲
by
sametmax
8y ago
Mobx. It's not small, but it is easier than redux.
921.
▲
by
sametmax
8y ago
Fuzzing is effective for more than finding memory related bugs. Parsing related crashed, code injection, unexpected state machine path can all also be revealed. Beside, as much I agree with the benefits of a memory safe language, and I do b
922.
▲
by
sametmax
8y ago
It was done 2 years ago, with the 3.6 release that triggered the migration for many major libs and shops. Today tools start dropping python 3 versions... like latest numpy and django don't support 3.4
923.
▲
by
sametmax
8y ago
Maturing is good. Marketting beta products as solutions to the problems you have right now isn't. This problem doesn't exist in the PHP, Python or Ruby communities. We get incremental improvements, sometimes a few innovative conte
924.
▲
by
sametmax
8y ago
Agreed. Or vue. All in all, reactive programming is easier, because it doesn't require you to make all the plumping to get running water.
925.
▲
by
sametmax
8y ago
> Redux, made for very large scale applications. Most companies shouldn't use redux at all, just as Dan Abramov said several times that you probably don't need it. As per my own comments, I agree strongly. > For unknown reas
926.
▲
by
sametmax
8y ago
A few on the top of my head: - Clear best pratices provided with tools. Do you know how to code a react project ? The person next to you has a different answer. - Reference implementations. We heard about the Flux pattern and the idea of st
927.
▲
by
sametmax
8y ago
We agree on the fact it's a hard problem and i don't label react as a bad product. Plus, it's a necessary one given the way the internet is evolving.
928.
▲
by
sametmax
8y ago
Of course not. It's not a binary choice.
929.
▲
by
sametmax
8y ago
Here it is, the angry JS dev saying I don't see things clearly and that the current situation in fine. Hello my friend. We meet again, today. We'll meet again tomorrow. Then next year. Rince and repeat, I said.
930.
▲
by
sametmax
8y ago
No, I compare language ecosystems, and cultures.
More ›