Skip Navigation
douglasg14b douglasg14b @programming.dev

https://github.com/douglasg14b

Posts 3
Comments 73
DARPA suggests turning old C code automatically into Rust – using AI, of course
  • Too bad commenters are as bad as reading articles as LLMs are at handling complex scenarios. And are equally as confident with their comments.

    This is a pretty level headed, calculated, approach DARPA is taking (as expected from DARPA).

  • Rule
  • Am I saying you are scientifically illiterate?

    Based on the previous statements, yes. However, as a matter of fact, not necessarily insult.

    The good news is you're following up with questions and want to learn more, instead of doubling down. With curiosity you will become more literate.

    Maybe you were born with all the knowledge of the human race, but the rest of us have to learn it.

    The education system in the country you are from has failed you. Assuming you are in your mid-late teens, or older, scientific topics should have already been taught in what North America would call "middle school" (11-14 years old). That teaches you things like conservation of momentum.

    There is a reason why it's called illiteracy, because there is an expectation that the baseline level of education everyone in developed countries receives teaches them the fundamentals of how the world around them works. Without this fundamental understanding it's not possible to understand more complex topics that build upon it, stunting growth.

  • Rule
  • They're not on to anything here. As further stated by your comment.

  • Rule
  • Equal and opposite reaction.

    There's a law for this. The matter is "pushing" against the ship, it doesn't have to push against anything else.

    In fact having an atmosphere to push against actually reduces the effectiveness of thrust due to atmospheric pressure, which must be overcome. Which is why different engines are designed to run in atmosphere versus out of atmosphere.

    If you throw a baseball in space you have transferred momentum to that baseball, pushing you back. You will move in the opposite direction (likely spin because you just imparted angular momentum onto yourself since you didn't throw from center of mass)

  • Rule
  • Given how many people think that railguns have no recoil because "there is no explosion" they might actually seriously believe what they just wrote.

    Scientific illiteracy is through the roof.

    Or maybe it's the same as it it's always been it's just that people that are scientifically illiterate are given platforms to speak their illiteracy as truth.

  • Pure css charts based on html tables
  • Doesn't appear to show any charts on Chrome for mobile...

    Seems to be a responsiveness issue, because it goes away in landscape mode, and the charts show.

  • What are your experiences with mono repos?
  • They work great when you have many teams working alongside each other within the same product.

    It helps immensely with having consistent quality, structure, shared code, review practices, CI/CD....etc

    The downside is that you essentially need an entire platform engineering team just to set up and maintain the monorepo, tooling, custom scripts, custom workflows....etc that support all the additional needs a monorepo and it's users have. Something that would never be a problem on a single repository like the list of pull requests maybe something that needs custom processes and workflows for in a monorepo due to the volume of changes.

    (Ofc small mono repos don't require you to have a full team doing maintenance and platform engineering. But often you'll still find yourself dedicating an entire FTE worth of time towards it)

    It's similar to microservices in that monorepo is a solution to scaling an organizational problem, not a solution to scaling a technology problem. It will create new problems that you have to solve that you would not have had to solve before. And that solution requires additional work to be effective and ergonomic. If those ergonomic and consistency issues aren't being solved then it will just devolve over time into a mess.

  • Pelosi privately told Biden polls show he cannot win and will take down the House; Biden responded with defensiveness
  • Because your conservative funded news outlets have a very overt goal here.

  • Customers are furious with Sticker Mule’s pro-Trump mass SMS blast
  • The CEO is a right wing trump worshiper.

    Dig into the company's tweet history, and find archived tweets that were deleted for PR/white-washing reasons.

    Long history of this stuff.

  • It must a pain to make a Rich Textbox
  • Yeah, but that's not what we're talking about here.

    RTF has many more features than markdown can reasonably support, even with your personal, custom, syntaxes that no one else knows :/

    I use markdown for everything, as much as possible, but in the context of creating a RTF WYSIWYG editor with non-trivial layout & styling needs it's a no go.

  • Can't argue with that logic
  • This is what fundamental scientific illiteracy gets you.

    When you have no reference point for how the world around you works anything makes sense.

  • Signal under fire for storing encryption keys in plaintext
  • I mean... Every serious operating system already has some form of keyring feature right?

  • Signal under fire for storing encryption keys in plaintext
  • Not necessarily. There are many paths to exfiltrated data that don't require privileged access, and can be exploited through vulnerabilities in other applications.

  • Signal under fire for storing encryption keys in plaintext
  • Yeah, and electron already has a secureStorage API that handles the OS interop for you. Which signal isn't using, and a PR already exists to enable...

  • It must a pain to make a Rich Textbox
  • Probably not. Having actually played with making a WYSIWYG editor as a learning project markdown is too simplistic for the formatting needs of any non-trivial text editing, as a serialized storage format.

    You almost always end up back with your own data structure that you serialize into something like XML for storage. Or you end up supporting HTML or non-spec compliant syntax in your markdown.

    And if you care about performance, you're not actually working with XML, HTML, or Markdown in memory. You're working with a data structure that you have to serialize/deserialize from your storage format. This is where markdown becomes a bit more tedious since it's not as easy to work with in this manner, and you end up with a weird parsing layer in-between the markdown and your runtime data structures.

    The commenter that's downvoted is more correct than not IMHO (Also why are we downloading discussions??). Markdown is ill suited for "most WYSIWYG needs". It tends to get augmented with XML or custom non-spec compliant syntax. The spec poorly supports layout (columns, image & media positioning, sizing...etc) and styling (font color, size, family, backgrounds...etc)

  • It must a pain to make a Rich Textbox
  • There are markup languages for this purpose. And you store the rich text as normal text in that markup language. For the most part.

    It's typically an XML or XML-like language, or bb-codes. MS Word for example uses XML to store the markup data for the rich text.

    Simpler and more limited text needs tend to use markdown these days, like Lemmy, or most text fields on GitHub.

    There's no need to include complex technology stacks into it!

    Now the real hard part is the rendering engine for WYSIWYG. That's a nightmare.

  • Stop comparing programming languages
  • The ecosystem is really it, C# as a language isn't the best, objectively Typescript is a much more developer friendly and globally type safe (at design time) language. It's far more versatile than C# in that regard, to the point where there is almost no comparison.

    But holy hell the .Net ecosystem is light-years ahead, it's so incredibly consistent across major versions, is extremely high quality, has consistent and well considered design advancements, and is absolutely bloody fast. Tie that in with first party frameworks that cover most of all major needs, and it all works together so smoothly, at least for web dev.

  • A self hosted chores calendar?

    I'm looking for some sort of chores calendar where we can set up scheduled chores each day and assign an owner to them.

    If those chores are not done then they start to stack onto the next day.

    My spouse and I need to hold each other accountable for the chores and tasks in which we are assigned. And I think a great way to represent that is showing how uncompleted chores stack up, they don't go away, the time it takes to complete them still exists as a form of debt to our free time.

    Are there any open source projects that do this sort of thing or help with keeping up with the home, tasks, & household chores?

    13
    Garnet: A faster cache store drop in replacement for Redis
  • Holy shit that's completely wrong.

    It's for sure AI generated articles. Time to block softonic.

  • Things You Should Never Do, Part I (2000)
  • This is a weird take given that the majority of projects relevant to this article are massive projects with hundreds or thousands of developers working on them, over time periods that can measure in decades.

    Pretending those don't exist and imagining fantasy scenarios where all large projects are made up of small modular pieces (while conveniently making no mention to all of the new problems this raises in practice).

    Replace functions replace files and rewrite modules, that's expected and healthy for any project. This article is referring to the tendency for programmers to believe that an entire project should be scrapped and rewritten from scratch. Which seems to have nothing to do with your comment...?

  • Garnet: A faster cache store drop in replacement for Redis

    www.microsoft.com Garnet–open-source faster cache-store speeds up applications, services

    Garnet is a cache-store system that addresses growing demand for data storage to support interactive web applications and services. Offering several advantages over legacy cache-stores, Garnet is now available as an open-source download.

    Garnet–open-source faster cache-store speeds up applications, services

    GitHub: https://github.com/microsoft/garnet

    Just saw this today and I am pretty stoked. It's just a drop in replacement and performs > 10x faster under workloads with many client connections. Not that I found redis slow, but in Enterprise workloads that's a lot of money saved. $50k Garnet clusters handling similar workloads for $5k would be significant.

    It being essentially entirely written in C# makes it pretty easy to read, understand, contribe to, and extend. Custom functions in C# have a pretty low barrier to entry.

    I get that there's probably going to be a lot of hate just because this is released by Microsoft developers.... But in my opinion the C# ecosystem is one of the best to build on.

    5

    Mobility DB - Geospatial Trajectory Data

    github.com GitHub - MobilityDB/MobilityDB: MobilityDB is a geospatial trajectory data management & analysis platform, built on PostgreSQL and PostGIS.

    MobilityDB is a geospatial trajectory data management & analysis platform, built on PostgreSQL and PostGIS. - GitHub - MobilityDB/MobilityDB: MobilityDB is a geospatial trajectory data manageme...

    GitHub - MobilityDB/MobilityDB: MobilityDB is a geospatial trajectory data management & analysis platform, built on PostgreSQL and PostGIS.

    Found this in my feed, it's pretty neat, and at a surface level should make some of the pain points in my location based game much less difficult.

    0