Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
javcasas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
421.
▲
by
javcasas
5y ago
useEffect(() => { console.log(`hello ${user.name}`) }, [user.name]) There OP, fixed that for you.
422.
▲
by
javcasas
5y ago
You have a bunch of functions in a list. You choose one of these functions via some criteria, and run it with some provided parameters. Why it is so different to having a bunch of numbers in a list and choosing one of these numbers via some
423.
▲
by
javcasas
5y ago
Do we have a special name for storing numbers in data structures? Do we have special names for storing strings in data structures? Do we have special names for storing lists in data structures? Do we have special names for storing source co
424.
▲
by
javcasas
5y ago
To be honest, I am in a similar situation to you, and I deal with the lack of stability by creating instability. I keep interviewing all the time, looking for better opportunities. I also learn and improve my skills. But,at this point, I&#x
425.
▲
by
javcasas
5y ago
Parent comment has a point: given a power plant and a hostile attacker/incompetent crew, it's preferable it becoming a blackout and 1 square km of rubble over a blackout, 1 square kilometer of radioactive rubble and 2600 square ki
426.
▲
by
javcasas
5y ago
More children's TV level of astrophysics: so you keep adding energy to your particles, they approach 1c, they gain and gain mass... until they collapse into nanoscopic black holes and immediately evaporate into hawkins radiation, right
427.
▲
by
javcasas
5y ago
What's the advantage of: t = TemplateBuilder() .withFoo(foo) .withBar(bar) .excludeBaz() .build() over: t = Template(foo=foo, bar=bar, baz=none)
428.
▲
by
javcasas
5y ago
Yup, all environments can be navigated with notepad, but some environments are easier to navigate than others. For example, Yaml vs unindented Json. They represent the same, yet in one I can see what's going on with the indentation, an
429.
▲
by
javcasas
5y ago
We were using the Express edition, and I don't think a database needs 4GB of RAM for serving 600MB of data in a glorified CRUD and filter application that receives 1 update every 2 seconds, and serves a bunch of queries every 5 minutes
430.
▲
by
javcasas
5y ago
You seriously want me to tell you how async, promises, callbacks, coroutines, closures+continuations, call/cc, and copies of the stack are actually points of view in the same concept? If I'm a junior, 99% of the professional progr
431.
▲
by
javcasas
5y ago
Scrap all the factories. The class name is also a function and a constructor. Just pass it around as parameter, and bypass all the factory stuff. Use named parameters and bypass the builder pattern. Store operations in objects/lists. B
432.
▲
by
javcasas
5y ago
It depends on the language expresiveness, not on it being static/dynamic types. Dynamic languages tend to have less limitations to expresiveness (no typechecker in the middle) and then you have programming languages with static types a
433.
▲
by
javcasas
5y ago
Most of the design patterns exist because of limitations in programming languages, especially java/c++/c#. The strategy pattern disappears when you can store functions in data structures. The abstract factory pattern disappears wh
434.
▲
by
javcasas
5y ago
So the problem is that I'm using Microsoft's recommendations (Sql Server, repository pattern, LINQ) for a Microsoft product, and the difference between an inexperienced team and an experienced team is that the experienced team kno
435.
▲
by
javcasas
5y ago
We also tried hiring. After checking 100+ resumes, and interviewing the best 10 candidates, we hired the best we could find, who turned out to be average. My ego is not unfounded, I have had to do this successfully in other projects, but I
436.
▲
by
javcasas
5y ago
I commisioned another house. I have been building houses for the last 5 years. During these years I have seen that the bricklayers tend to take around 20% less time than the painters, furniture-installers and decorators. Somehow, in this pr
437.
▲
by
javcasas
5y ago
Yup, because we devs switch databases every week. That's the real reason why all projects are late: we are so busy switching databases all the time we don't have time for writing code!
438.
▲
by
javcasas
5y ago
I'm following what says at the official Microsoft documentation. https://docs.microsoft.com/en-us/sql/sql-server/install/hard... Am I unwise for following the official Microsoft documentation for a
439.
▲
by
javcasas
5y ago
Curiously, I haven't had these problems in Python/cherrypy/django/flask, Haskell/snap/yesod, NodeJS/express/nextjs, so, maybe it's something beyond lack of .net experience.
440.
▲
by
javcasas
5y ago
I initially directed (as organise stories, unblock people, do some devops & code review), but eventually I had to jump into the backend, because, as the most senior developer, I'm expected to jump into whatever part is having troub
441.
▲
by
javcasas
5y ago
To all the people so eager to downvote me, tell me this never happened. https://bytes.com/topic/c-sharp/answers/230230-visual-c-net-... > 3.4 Benchmark Testing. The Software may contain the Microsoft .NET
442.
▲
by
javcasas
5y ago
Some time ago I had the misfortune to direct a C#/ASP.net web project, and that project turned out to be the first web project where the backend was singnificantly later than the frontend. Even though the backend had 2 senior developer
443.
▲
by
javcasas
5y ago
Do you remember in the early 2000s where Microsoft added to the .net runtime licence that you weren't allowed to perform or publish performance benchmarks? Since then, I think It's fair to consider performance benchmarks coming fo
444.
▲
by
javcasas
5y ago
Not sure about you, but I prefer environments that can be navigated without IDEs so that when I add IDEs and tools I become an overpowered developer; instead of having to add the best tools available just to become an average developer.
445.
▲
by
javcasas
5y ago
Is there a 8051-based microcontroller with the usual FLASH memory and with tools to program it like a PLC? Hardware should be programmed like PLCs, we are just overcomplicating most hardware stuff by throwing OO & FP at it.
446.
▲
by
javcasas
5y ago
There are languages and environments that are more prone to requiring IDEs. For example, when I write React and I use the Foo component, either it is defined on the same file or it is in one of the imports. On the other hand, with Angular,
447.
▲
by
javcasas
5y ago
Every time that I see a builder pattern, I see a failure in adopting modern programming languages. Use named parameters, for f*cks sake! const frobnitz = new Frobnitz({pixieDust: true, mayonnaise: true, target: worstTweetEver});
448.
▲
by
javcasas
6y ago
Or you use -XOverloadedStrings and then you also have in Haskell multiple representations that follow a single polymorphic interface.
449.
▲
by
javcasas
6y ago
> came to the conclusion the UK has the worst software engineering salaries in the developed world You should check Spain. I'm paying more to the hires in latin america than I got offered while trying to work in Spain
450.
▲
by
javcasas
6y ago
Well, as a scrum master, some days I feel like a scum master, which may not be that far from the truth.
More ›