Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bb88
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
901.
▲
by
bb88
3y ago
Drew DeVault called it an "internet" language back in 2021. And to that I more or less agree. Read footnote 1 for context. https://drewdevault.com/2021/04/02/Go-is-a-great-language.ht...
902.
▲
by
bb88
3y ago
But don't those exist primarily for unit testing? That was my understanding of why interfaces were there. If you wanted a mock, you needed an interface, even if there would ever only be one implementation of it in production.
903.
▲
by
bb88
3y ago
And it continues to this day!
904.
▲
by
bb88
3y ago
"Who are you scared of and who are you angry at?" If you're angry at someone for using/possessing IV drugs, why lock them up in prison with the violent offenders, e.g, the people we're scared of? If you inject peopl
905.
▲
by
bb88
3y ago
I use MG chemicals safety wash in the US -- particularly formulated to be safe on plastics and electronics.
906.
▲
by
bb88
3y ago
This is the setup I was looking for, the ECC support is really a requirement for a NAS.
907.
▲
by
bb88
3y ago
> effort to build increasingly complex applications in proprietary low code languages executable in a closed ecosystem (and commercial terms) of a specific vendor. That's the definition of vendor lock-in. Once the vendor has it
908.
▲
by
bb88
3y ago
No.. Go did a half-assed version of reference counting on resources. Memory yes. File descriptors, no so much. Edited to add: What's the point of continuing to discuss this if all you understand is .NET and not actually tried to man
909.
▲
by
bb88
3y ago
What's the point of continuing discussion if all you understand is .NET?
910.
▲
by
bb88
3y ago
You've clearly never coded in C/C++ where it's your job as the coder to manage memory and other resources.
911.
▲
by
bb88
3y ago
A file descriptor is nothing but a pointer. It's really just an int. Usually maintained by the OS. Instead of sharing the file descriptor across a goroutine (bro, like WTF), let one go routine manage the file descriptor itself.
912.
▲
by
bb88
3y ago
Python/C++ has finally: blocks as well. They're not nearly as good as the `with` statement (or context handler) in python.
913.
▲
by
bb88
3y ago
I presume you're the one who downvoted my comment. C++ leaves OS level resource handling to the user. It's not C++'s job to figure out if the user wanted to close this unused resource. It's the programmer's job to
914.
▲
by
bb88
3y ago
> (If they did, the unwinding would close the file handle and the other coroutine might then return to that stack frame, only to find the file handle already closed.) The programming language is not supposed to keep state of OS level res
915.
▲
by
bb88
3y ago
All programming languages are some sort of abstraction to the underlying machine language. Low code is just "one more abstraction to machine language". Previous art in this area would be Lotus Notes (1990's), Hypercard (1980
916.
▲
by
bb88
3y ago
Well, from one grey beard to another, thank you. Some poor soul is going to have to figure out the code I wrote these last 10 years. I would say, algebra is the easiest. Python is the next easiest. I remember being taught applesoft basic
917.
▲
by
bb88
3y ago
Webflow does seem to at least dogfood their own product. https://webflow.com/blog/webflow-at-webflow But the big issue seems to be that they're not marketing anything to the developers. They're marketing eve
918.
▲
by
bb88
3y ago
> * the workflows are poorly if at all documented. Ideally it would be easier to understand if there's less code involved. Things should be more declarative, or the low-code solutions would generate good descriptions for what is ac
919.
▲
by
bb88
3y ago
Not necessarily. It's possible the device could automatically call the paramedics/coroner who would move your body to the funeral home.
920.
▲
by
bb88
3y ago
That assumes that Li-Fi doesn't leak RF still.
921.
▲
by
bb88
3y ago
There are some very creative solutions for getting around license restrictions. The LAME mp3 encoder originally was a series of patches that could be applied to the Fraunhaufer ISO dist10 release.
922.
▲
by
bb88
3y ago
This page just makes me miss manpages in general. Not every manpage was great, but many were, and many could also be formatted, printed out, and placed into a binder for easier reading. What I enjoyed most about manpages is that the people
923.
▲
by
bb88
3y ago
3b1b uses a python library for creating those videos. https://github.com/3b1b/manim As far as a math educator/communicator, one of my favorite videos of his is the video on the monster. https://www.yout
924.
▲
by
bb88
3y ago
And DRF still gives you that.
925.
▲
by
bb88
3y ago
The key there is 'IMO' isn't it? If the DB is your schema, great, DRF is awesome. But if the DB is not your schema, no problem, DRF still can handle it. And with DRF you get CRUD by default. And if you don't want CRUD,
926.
▲
by
bb88
3y ago
Bro, Way to prove her point!
927.
▲
by
bb88
3y ago
> The author sounds like a very common type of software developer who takes security issues in their code like a personal attack. She herself is a cyber security expert, so congratulations on attacking the messenger I guess?
928.
▲
by
bb88
3y ago
I think the big issue is that everyone like pydantic and are willing to put it in places it may not really see a big benefit, over say, DRF. OTOH, if you're a big fan of NoSQL databases, then pydantic is a godsend.
929.
▲
by
bb88
3y ago
If the API is tightly coupled to the data, just use the ORM, Luke. Django, DRF, Django-Filters, DRF-Spectacular. DRF has gotten more things right than wrong. What DRF and Django get right is that the DB is the utimate schema. Why be afra
930.
▲
by
bb88
3y ago
Mods, add Opinion to the title.
More ›