Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pknopf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
pknopf
7y ago
Are you advocating that I put a bunch of magic strings in my codebase? That would be a maintenance nightmare. Unless you think I'm suggesting that no devs should ever write SQL at all in their career? Which isn't the case.
122.
▲
by
pknopf
7y ago
I see. Sorry. high five
123.
▲
by
pknopf
7y ago
> But Micro-ORMs are ORMs. Not in the traditional sense. > And yes, they do remove a lot of boilerplate. Here is all the "boiler plate" you'd need to use something like OrmLite with C#. https://pastebin.com&#
124.
▲
by
pknopf
7y ago
Take a look at these issues: https://github.com/aspnet/EntityFrameworkCore/issues How many of these are a result of of features that have nothing to do with getting data in and out of the database. Get bare metal.
125.
▲
by
pknopf
7y ago
> A sensible approach blends use of an ORM with handwritten SQL where needed. In fact most ORMs will allow you to do things like build collections of objects from custom SQL anyway, so there's really no need to shy away from it. Thi
126.
▲
by
pknopf
7y ago
There is a middle ground. Everyone should know sql, but choose an ORM (micro-ORM) that doesn't have any abstractions, and gets data in and out. There are many solutions that offer you this without needing to write any SQL. https:&#x
127.
▲
by
pknopf
7y ago
Your "toy project" doesn't have 10+ team members, ranging in experience.
128.
▲
by
pknopf
7y ago
Just not true. And regardless, why should we develop things that only "experienced devs" can work with without blowing a hole in their face? Junior and intermediate devs are often in larger projects.
129.
▲
by
pknopf
7y ago
Just use a Micro ORM from the get-go. It's the perfect type-safe abstraction on top of raw SQL. https://github.com/ServiceStack/ServiceStack.OrmLite https://github.com/CollaboratingPlatypus/Pe
130.
▲
by
pknopf
7y ago
I really don't get why people feel like non-ORMs cause boilerplate. I write the same amount of code using Micro ORMS. Type safe. No SQL. Very happy.
131.
▲
by
pknopf
7y ago
There's a middle ground. Micro ORMs.
132.
▲
by
pknopf
7y ago
When you grow older, do always keep your attraction within your age? Is it only moral for an older 70+ year-old-man to be attracted to an equally aged woman? Of course not. Then, where is the line? If not 18, then, 25? 30? I get why it woul
133.
▲
by
pknopf
7y ago
RefCell has an internal semaphore. It's used specifically for multi threaded scenarios. If someone is writing a multi threaded C app, they will likely be using semaphores as well. At least, they should be. Rust just enforces it. So, I
134.
▲
by
pknopf
7y ago
That isn't "type checking", that is just a guard to prevent simultaneous writes to the same data.
135.
▲
by
pknopf
7y ago
Don't forget Qml.Net. https://github.com/qmlnet/qmlnet
136.
▲
by
pknopf
7y ago
Yeah. Thinking about it, the appeal really to me is that I don't have to give a shit about fonts/colors/etc. I only care about the data. I'd live my entire life this way, if I could.
137.
▲
by
pknopf
7y ago
I build complicated GUI apps for a living. I still prefer the simplicity of a TUI.
138.
▲
by
pknopf
7y ago
It's also easier to develop and deploy than a traditional GUI app. I actually prefer TUIs, unless a GUI is absolutely required.
139.
▲
by
pknopf
7y ago
Sounds like it's on life support. Nobody should be using Flow.
140.
▲
by
pknopf
7y ago
I have immutability with Ubuntu. https://godarch.com/ https://github.com/pauldotknopf/darch-recipes
141.
▲
by
pknopf
7y ago
I agree. Gatsby is one of the worst products I have ever worked with. The code itself isn't bad, but the tech stack and UX is horrible. It's the epitome of hipster JavaScript. I'm amazed that they got funding for it...
142.
▲
by
pknopf
7y ago
I wrote my own one-off static site generator. It is freeing. Anything is possible, and nothing is in your way. It really doesn't take that much time. https://github.com/pauldotknopf/pauldotknopf.github.io/blob
143.
▲
by
pknopf
7y ago
And Qml.Net https://github.com/qmlnet/qmlnet
144.
▲
by
pknopf
7y ago
The founding fathers did not predict that a few states would become hyper-partisan and stop giving EC votes proportionally. The few states, early on, did this because they were decidedly red/blue and wanted a bigger say in who is presi
145.
▲
by
pknopf
7y ago
Not if you make the votes proportional. There are a huge number of Republicans in California that would have just as much of a say than Florida/Ohio/etc.
146.
▲
by
pknopf
7y ago
Lesson learned. Keep vulnerabilities to your self.
147.
▲
by
pknopf
7y ago
I'm convinced the community with never reach majority consensus on a solution. Maybe people just suck at communicating?
148.
▲
by
pknopf
7y ago
Don't leave Ubuntu. Boot your Ubuntu Docker images bare metal. https://godarch.com/ https://github.com/pauldotknopf/darch-recipes
149.
▲
by
pknopf
7y ago
Sure, they won't be the same, but they will be damn close. We aren't looking for the same md5 checksums. That goal isn't worth it.
150.
▲
by
pknopf
7y ago
I wrote a tool that I've been using for the last few years now. It uses similar concepts used in Docker (even sharing tech). https://godarch.com/ https://pknopf.com/post/2018-11-09-give-ubuntu-darc
More ›