184 karma · joined Mar 9, 2017 (9y ago) · 168 submissions
Software Engineer (MATLAB to C/C++ Compiler) at MathWorks
Disclaimer: I work for MathWorks but any opinions are mine and do not reflect the official position of the company.
comment 4y ago · link · parent
comment 4y ago · link · parent
Perhaps more capable but also more complex is clang-query:
https://devblogs.microsoft.com/cppblog/exploring-clang-tooli...
I couldn't find any direct documentation of clang-query, but it's part of clang-tools:
https://clang.llvm.org/extra/doxygen/ClangQuery_8cpp_source....
Similarly clang's LibASTMatchers (for writing matchers which can do anything from displaying a message, to actually transforming the matched code):
comment 4y ago · link · parent
comment 4y ago · link · parent
Looks like they use buildpacks, which is cool, did the first version of cloud functions use buildpacks?
comment 4y ago · link · parent
Regarding using a container for distributing static site generators, does anyone really do that? I think you may be building up a straw man here, I haven't seen anyone recommend this workflow. Could you elaborate on how this relates to the parent comment's mention of using less space when running many containers? What the parent comment mentions is, in fact, highly relevant to some of the main use-cases of containers, which is running many containers of the same service on one or many hosts. Space can be saved there with layer caching.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
This is also possible with other static site generators like Hexo and Jekyll.
comment 4y ago · link · parent
See the following from gps.gov: it can be accurate to within centimeters and with a high polling rate, but most consumer devices don't employ the necessary tricks. https://www.gps.gov/systems/gps/performance/accuracy/
comment 4y ago · link · parent
, that it must be true that utility decreases with the unconstrained-ness of a language (and thus increases with more constraint).
However, this is not true. You only have to look to the other extreme to see there must be a middle ground. A language where there is only one valid program has no more utility than one where any string is a valid program.
Because this relationship of constraint and utility is clearly not simple, we can't use those extrema to judge if C++ is less useful because it gives so much control. There might be some "local extrema" where a language fits a niche. C++ might fill that niche, or it might not, but I think it needs a bit more of a nuanced consideration than "less constraint, bad".
comment 4y ago · link · parent
- Use the app, see what is slow from a subjective UX perspective
- Profile your code, find hotspots
- Use system monitoring to determine if there are any hardware/network bottlenecks
One thing I would add on these, perhaps a bit more specific: You mention you are using NodeJS, and it is a CRUD app. What is your database? Are you using an ORM? Sometimes the choice of especially an ORM can cause some performance issues behind the nice opaque interface. I have no specific reason to believe this is causing the performance issues for you, but I've had issues myself in the past so thought it might be a helpful suggestion to look into (for example, N+1 query issues).
comment 4y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
Source: I studied EE, did not get a PE or any sort of license beyond my degree, and worked in defense, and commercial engineering jobs
comment 6y ago · link · parent
And regarding removing the bar allowing more people through, that's not true either--it's not like colleges all of a sudden have more seats available. They'll still only admit the same number of students, and they will still select for the best students.
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent