Readit News logoReadit News
creatornator commented on Hyundai and Kia settle lawsuit worth $200M over vehicle theft due to TikTok   theguardian.com/us-news/2... · Posted by u/sandebert
rasz · 3 years ago
Was user forced to buy car without immobilizer?
creatornator · 3 years ago
A user might not know to look for that sort of thing. That's why we rely on regulators, safety standards, etc.

I didn't even know what "immobilizer" meant in this context before hearing about the issue with Kia and Hyundai a while ago.

Deleted Comment

creatornator commented on Ask HN: How to invest savings?    · Posted by u/hansaw
brudgers · 4 years ago
Investing is not saving.

If tomorrow a distant relative handed you $70k they’d stuck in a mattress in 1986, you wouldn’t think about inflation or its lack of work over the years.

Saving is being your own distant relative.

Investing is a bet on being smarter than people with enough money to move markets.

It is a bet on beating people whose full time job considers making your $70k theirs a legitimate business practice.

Anyone who has never been skunked by the economy has either been lucky or hasn’t been in very long.

Or to put it another way, looking at returns on each “safe strategy” you list during the Great Recession might be a useful research exercise.

creatornator · 4 years ago
No, it's day trading and picking stocks which is betting against wall street firms, obviously that's not the way to go. But that's not all of investing. If you are diversified and tune a portfolio for risk, it's more like a bet that the long term trend will be for the global economy to become more productive as time goes on. And this is usually true, besides the transitory periods of recession.
creatornator commented on weggli – fast and robust semantic search tool for C and C++ codebases   github.com/googleprojectz... · Posted by u/pabs3
creatornator · 4 years ago
I've played a bit with weggli, it's pretty useful for "grepping" an entire codebase for patterns (for example, to search for antipatterns in a codebase)

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):

https://clang.llvm.org/docs/LibASTMatchers.html

creatornator commented on What does every Software Engineer want to ask their CEO?   linkedin.com/posts/commit... · Posted by u/dyadigs
dyadigs · 4 years ago
I think that is natural to be in your head about the problem at hand, especially if you are busy at work it is hard to think about the bigger picture!

Curious, do you have any thoughts what senior leadership can do better to ensure we have that outlook? The only thing I have ever seen at previous companies was quarterly Town Halls where we discuss the company outlook but I never feel that is enough!

creatornator · 4 years ago
Yeah it's definitely a balance--the big company-wide meetings can be good for context but could also be too broad in scope. On a couple occasions I've enjoyed medium-sized informal get-togethers with my team, and I can sort of pick people's brains. Just having that social environment means I can sometimes talk one-on-one with folks I would rarely interact directly with otherwise.
creatornator commented on Google Announces Second Generation Cloud Functions   infoq.com/news/2022/03/go... · Posted by u/rbanffy
creatornator · 4 years ago
Google's own blog post is here, linked to from the article: https://cloud.google.com/blog/products/serverless/introducin...

Looks like they use buildpacks, which is cool, did the first version of cloud functions use buildpacks?

creatornator commented on Single binary executable packages   notes.volution.ro/v1/2022... · Posted by u/feross
ciprian_craciun · 4 years ago
> The author doesn't seem to understand linux containers. > Docker doesn't run a "vm" image and it definitely doesn't run another kernel [...]

Yes I do understand them!

In fact, in a former life (i.e. during the long forgotten time when Linux containers were just a novelty and LXC was seen as the "future") I was a big proponent of containers.

What I was not a big supporter of is containers, that instead of being as you well say "more closer to chrooted processes", instead they are almost stand-alone VM images lacking a kernel. In fact Fly.io does exactly this -- they take a Docker container, add a Linux kernel, and run everything in a Firecracker "micro" VM.

----

> that certainly won't lose any data when you purge it by mistake > If you don't understand what you are doing, you can "purge data by mistake" doing other things as well.

Yes, butter-fingers are a thing... But with Docker it's so easy to delete a container by mistake (that although shouldn't have state it does); on the other side, if you are about to issue `rm -R -f .` and you are inside `/var/lib/mysql` you do have quite a few opportunities that perhaps you are doing something stupid (you have to explicitly write `rm`, add `-R` and manually type `/var/lib/mysql`)...

----

> The download size may be bigger than a statically linked single executable... but if you are running a lot of different processes in docker, they may share the underlying layers which may mean that you end up using less disk space overall.

OK, say that for "server applications" (that happen to use tens of micro-services) this makes sense.

But how about a "tool application", say a static-site builder; does it now make sense to use Docker to run this tool?

creatornator · 4 years ago
I would think if you depend on data stored in a container being persistent, it's an indication you really should be mounting a volume to the container and persisting the data there. Then container restarts won't matter. Best practices are generally for containers to be "cattle" instead of "pets", and data persistence usually has a different solution.

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.

creatornator commented on What does every Software Engineer want to ask their CEO?   linkedin.com/posts/commit... · Posted by u/dyadigs
creatornator · 4 years ago
I completely agree--in my day-to-day, I'm very much in my head about the problem at hand. I respect folks who can keep the long-term vision in their sights while applying that to short-term decisions which will help in the future. Some of the more valuable things I could learn from the higher-ups at my work, I feel, are related to big goals, changing landscape, rising opportunities and problems in the industry.
creatornator commented on GNU Guix package and system manager   guix.gnu.org/... · Posted by u/simonpure
laerus · 4 years ago
I use guix as a package manager in a Debian based distro and it works fine with systemd.
creatornator · 4 years ago
Pretty sure they meant Guix the OS not the package manager. The OS uses GNU Shepherd. Of course if you install the package manager on another OS, you get whatever that OS chose for an init system.
creatornator commented on Ask HN: Why are you programming your hobby projects in a niche language?    · Posted by u/Decabytes
transfire · 4 years ago
That’s just sad.
creatornator · 4 years ago
Which part of it is sad?

u/creatornator

KarmaCake day184March 9, 2017
About
MS, BS in Electrical and Computer Engineering (Northeastern University 2020), concentration in Communications, Control, and Signal Processing

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.

View Original