Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
batiste
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
batiste
8y ago
I don't think the blockchain provides any value at all because you cannot verify if a transaction is valid without having a list of authorized voter... And that can only be the Gvt. If you have already a list of public keys for each vo
32.
▲
by
batiste
8y ago
> It's hard to turn a monolith architecture into a architecture with micro-services The other way around is 10 times harder... So think twice and make sure you need it before doing it.
33.
▲
by
batiste
8y ago
A syntax error should never make it production if you have even half decent infrastructure... In a monolith or a micro service. And if your microservice get to production with a syntax error do you really think the whole ecosystem is someho
34.
▲
by
batiste
8y ago
> Often it is better to cut/paste Micro service surely put the dream of code sharing to REST. Not sure it is a good thing.
35.
▲
by
batiste
8y ago
All true about monitoring and logging. Is is a huge cost and overhead. Consider it the other way around: micro-service to monolith. It seems to me it is as difficult, if not more difficult. Potentially different language or different build
36.
▲
by
batiste
8y ago
I think what he meant is that Rails as a Framework doesn't push you to implement modularity internally. The convention chosen to organize your files pretty much guarantee a monolith.
37.
▲
by
batiste
8y ago
And after 1 year running like this you have 50 micro-services by engineer. All of them undocumented, poorly named with unclear responsibilities using the bus to communicate with god knows who... I might be old fashioned by I would take a mo
38.
▲
by
batiste
8y ago
Granted you know Ruby well and like coding in it. The amount you need to learn if you don't know RoR or Ruby is huge... You might get some stuff running fast copy pasting some example but claiming that it is all super easy to do anythi
39.
▲
The Death of Microservice Madness in 2018
(dwmkerr.com)
2 points
by
batiste
9y ago
|
0 comments
40.
▲
by
batiste
9y ago
I have used those 2 frameworks in the past. Could you point me to the documentation about ViewModel in Vue.js I wasn't able to find anything relevant other than: > Although not strictly associated with the MVVM pattern, Vue’s desig
41.
▲
by
batiste
9y ago
I think you are comparing Apple with oranges here. React doesn't have a ViewModel notion that would binds data with Component. The binding is happening in the templates themselves so in the Component themselves and there is no in-betwe
42.
▲
by
batiste
9y ago
I didn't have to go very far inside ItemsControl to see the example of the "presentation logic" you say doesn't exist. E.g. https://msdn.microsoft.com/en-us/library/system.windows.cont... What
43.
▲
by
batiste
9y ago
> So for you using a map with a ternary operator over a list of objects in JSX is perfectly fine and you can't see what is wrong I don't really know JSX much and without a specific example this is pointless to discuss. But basi
44.
▲
by
batiste
9y ago
He is right taught. You are allowed to have all the logic you want in your presentation layer. As long as it is presentation logic this perfect. If it is "Business logic" then this is wrong. Have you realised than having a if stat
45.
▲
by
batiste
9y ago
> the ecological harms of massive monoculture enabled by GM What is "monoculture" and why is it GM that enabled it? Didn't monoculture exist before GM? Could you describe to me a field where non-monoculture is used.
46.
▲
by
batiste
10y ago
Then I have a little quiz for you: According to this documentation: http://ruby-doc.org/core-2.1.2/Float.html#method-i-round How do you explain? 2.1.2 :011 > 15.round(-1) => 20
47.
▲
by
batiste
11y ago
Actually it defeat both the convenience and the security, because people will forget to switch it off. This is terrible.
48.
▲
by
batiste
11y ago
Also to be fair Switzerland is a very compact country although quite mountainous. The length of the train rides, even with very fast trains would have an hard time competing against airplanes in the US. In Switzerland a 3h hour direct, comf
49.
▲
by
batiste
11y ago
I know there is many gems but I have still yet to see them used in the wild. My colleagues seems to avoid using them for some reasons and discouraged me to even try them. Maybe the strength of Django is having the admin by default so most D
50.
▲
by
batiste
11y ago
I think his example is just very badly chosen then. In Python having something like "exit" execute program ending code is extremely surprising if you know a bit the language.
51.
▲
by
batiste
11y ago
> pedantically instructs the programmer how to properly do what’s requested, even though it obviously know what is meant (since it’s displaying the error message). As others explained exit is an object and just typing it's name is
52.
▲
by
batiste
11y ago
Exactly. I know Django and Rails... The Django admin is still a huge selling point for me even today. I can get some class of application ready and running in no time with Django. With Rails, with no built in supported admin app it would ta
53.
▲
by
batiste
11y ago
Care to develop what he labeled and how Django is making does it worse than Rails? I have a hard time to see it knowing both Frameworks.
54.
▲
by
batiste
11y ago
There is great stuff to say Ruby and RoR. But I have yet not experienced the "smile" that DHH is describing. Especially when I have to read and understand the code written by colleagues (or myself mind you). To do my job I had fi
55.
▲
by
batiste
11y ago
The label is unregulated. And for example my definition of natural is : appears in nature, without human intervention. By this definition, there is very few items items in a grocery shop that are natural... Any farming is unnatural for exam
56.
▲
by
batiste
11y ago
"Natural" has pretty much 0 value as a label. What is natural and not natural would vary depending on which person you ask the question on the street... This is just marketing.
57.
▲
by
batiste
11y ago
Very similar in concept to what I have done with CokeScript. https://github.com/batiste/CokeScript
58.
▲
by
batiste
11y ago
Hey you have the right to downvote but an explanation would be welcome.
59.
▲
by
batiste
11y ago
Am I wrong to think that this new Ruby feature is just an inferior, more confusing version of what is found in Python since forever?
60.
▲
by
batiste
12y ago
I would just have used a position hash map and be done with the problem in 30 seconds. His solution is definitely heavily on the over-engineered side of things. If somebody would pull something like the author in a interview, I would surely
More ›