Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vbsteven
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
391.
▲
by
vbsteven
8y ago
A couple weeks ago Google removed one of my apps for the same violation. I rebuilt the same application with the SMS feature removed and the Play Store Developer Console was very unclear and buggy on how to resolve the issue and get my app
392.
▲
by
vbsteven
8y ago
And just for completeness: ci' and ci" replace everything within the quotes, ca' and ca" replace everything including the quotes.
393.
▲
by
vbsteven
8y ago
Installed by default I cannot find any. But pretty much any language with a package manager has sane and easy to use libraries to bang out a small CLI app with subcommands and option parsing in minutes. For example PicoCli in Java, Thor in
394.
▲
by
vbsteven
8y ago
Same sentiment here. Most clients I work for are small companies with 0 to 5 developers and in those cases I prefer to start out with a monolith so there is only one codebase and repo to coordinate and everyone is aware how the whole thing
395.
▲
by
vbsteven
8y ago
Is there a way to use it without connecting to Twitter? I don’t have a twitter account.
396.
▲
by
vbsteven
8y ago
Parse.com shutting down is what turned me off from BaaS services and made me realize that vendor lock-in is real and that all future services I write should be as generic as possible so I can easily switch platforms when needed. Besides tha
397.
▲
by
vbsteven
8y ago
Author here, for my clients I manage multiple kubernetes clusters and I like to keep my kubeconfig files separate per project. In my Zsh config I usually write small functions to switch projects. I had some free hours yesterday and I wante
398.
▲
Kubit – CLI tool for switching between kubernetes configs
(github.com)
1 points
by
vbsteven
8y ago
|
1 comments
399.
▲
by
vbsteven
8y ago
I know Twilio has Some Whatsapp APIs that could be useful for this. (I’m not affiliated with them btw)
400.
▲
by
vbsteven
8y ago
I can see that the dependency injection annotations can be complex for people not experienced with the whole Spring/IoC/DI setup. I have some rules and general guidelines I use for keeping them in check which I can explain in abou
401.
▲
by
vbsteven
8y ago
This is pretty similar to my approach. In the context of developing an API I use integration tests more than unit tests. It is straightforward to spin up an application server against a test database with some test data. Run some example re
402.
▲
by
vbsteven
8y ago
Spring boot with Lombok has been my go to framework for a few years now. Annotation-based programming seems to get a lot of negative attention here on HN, and it definitely is not perfect but there is just no other framework that (in my opi
403.
▲
by
vbsteven
8y ago
There are a lot of good answers in the comments. One thing I always do from the beginning that I see a lot of people forget is to decouple the API classes from the Database model. For example, I use Java Spring a lot in combination with Hib
404.
▲
by
vbsteven
8y ago
I work in lots of different languages and what I do is I try to keep most of my tools consistent between languages. For example I try to stick to the Idea suite of IDE’s. I use it for java, ruby, Go, Rust, JavaScript, and some others. This
405.
▲
by
vbsteven
8y ago
4) after extended meditation
406.
▲
by
vbsteven
8y ago
A turing complete macro system is seen as a positive thing but if someone dares to mention Java’s annotation based code generation and DI everyone is complaining about “too much magic”
407.
▲
by
vbsteven
8y ago
Yes, and it took him 2 years as the developer of one of the biggest JS frameworks with thousands of users to reach that level. And even then, over 80% of his Patreon comes from 3 backers at 2000/mo and 18 backers at 500/mo. I assu
408.
▲
by
vbsteven
8y ago
Last time I checked the creator of VueJS is making some money from Patreon. But his monthly Patreon revenue is less than what a typical freelance software dev makes and he's the creator of the second most popular frontend JS framework,
409.
▲
by
vbsteven
8y ago
Yes, when your app is a highly interactive SPA it makes sense to do everything on the client and ignore server side rendering. But when you are just building simple dynamic admin/crm-style sites with some extra interactiveness sprinkle
410.
▲
by
vbsteven
8y ago
1) where is the magic in the aforementioned code? 2) the ThreeProvider example is contrived indeed. In real projects this is used to provide different implementations for loggers, or sms gateways or other things that can differ between envi
411.
▲
by
vbsteven
8y ago
Can you explain why this is so cringeworthy to non-java devs?
412.
▲
by
vbsteven
8y ago
This is a case where the specific implementation of the ThreeProvider interface/contract is wrong. It has nothing to do with DI and the calling code in the Sample class is correct. The unit tests for the specific implementation should
413.
▲
by
vbsteven
8y ago
And that was 10 years ago. We've come a long long way since then. Nowadays it would look something like this @Configuration public class ThreeConfiguration { @Bean @Profile("dev") public Thr
414.
▲
by
vbsteven
8y ago
The whole point of having an injection framework is that you should not have to understand the whole framework or the implementation to use it. In this case you want a ThreeProvider and you don't care at all how it is implemented or wh
415.
▲
by
vbsteven
8y ago
This looks really cool. Does anything similar exist for exploration on a SQL database? I would love to see some notebook like interface for a SQL database with all the context awareness of Datagrips/IntelliJ’s editor but with similar v
416.
▲
by
vbsteven
8y ago
I can definitely recommend bands like Lifelover, Psychonaut4, Totalselfhatred, Alcest, Lantlos, Bonjour Tristesse, Drawn into Descent if you want to experience some not-so-happy metal
417.
▲
by
vbsteven
8y ago
I did not mention reusable anywhere in my comment. If you are writing code to be reusable, you are writing a library and in that case you better make sure that it is a separate project or module so no caller-specific details are leaking int
418.
▲
by
vbsteven
8y ago
I feel like this comment is exactly what the article refers to as the typical straw-man argument against OOP. Yes, a lot of bad enterprisey OOP code has been written in the last 20 or so years, but that does not mean things like design patt
419.
▲
by
vbsteven
8y ago
If I read that graph correctly the number of trackers per page has gone UP 20% since April in some categories for US visitors.
420.
▲
by
vbsteven
8y ago
Adding polymorphism for easier maintenance does not mean "enterprise fizzbuzz". I'm talking about one 1 abstract class to define the interface and 1 implementation class per package manager. That's N+1 classes (N = # of
More ›