DARPA suggests turning old C code automatically into Rust – using AI, of course
  • douglasg14b douglasg14b Now 83%

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

    4
  • Rule
  • douglasg14b douglasg14b Now 100%

    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.

    13
  • Rule
  • douglasg14b douglasg14b Now 100%

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

    10
  • Rule
  • douglasg14b douglasg14b Now 100%

    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)

    15
  • Rule
  • douglasg14b douglasg14b Now 100%

    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.

    30
  • Pure css charts based on html tables
  • douglasg14b douglasg14b Now 100%

    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.

    1
  • What are your experiences with mono repos?
  • douglasg14b douglasg14b Now 100%

    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.

    6
  • Pelosi privately told Biden polls show he cannot win and will take down the House; Biden responded with defensiveness
  • douglasg14b douglasg14b Now 73%

    Because your conservative funded news outlets have a very overt goal here.

    12
  • Customers are furious with Sticker Mule’s pro-Trump mass SMS blast
  • douglasg14b douglasg14b Now 100%

    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.

    39
  • It must a pain to make a Rich Textbox
  • douglasg14b douglasg14b Now 100%

    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.

    2
  • Can't argue with that logic
  • douglasg14b douglasg14b Now 100%

    This is what fundamental scientific illiteracy gets you.

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

    52
  • Signal under fire for storing encryption keys in plaintext
  • douglasg14b douglasg14b Now 100%

    I mean... Every serious operating system already has some form of keyring feature right?

    2
  • Signal under fire for storing encryption keys in plaintext
  • douglasg14b douglasg14b Now 100%

    Not necessarily. There are many paths to exfiltrated data that don't require privileged access, and can be exploited through vulnerabilities in other applications.

    2
  • Signal under fire for storing encryption keys in plaintext
  • douglasg14b douglasg14b Now 100%

    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...

    4
  • It must a pain to make a Rich Textbox
  • douglasg14b douglasg14b Now 100%

    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)

    4
  • It must a pain to make a Rich Textbox
  • douglasg14b douglasg14b Now 100%

    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.

    20
  • Stop comparing programming languages
  • douglasg14b douglasg14b Now 100%

    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.

    1
  • 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?

    42
    9
    Garnet: A faster cache store drop in replacement for Redis
  • douglasg14b douglasg14b Now 100%

    Holy shit that's completely wrong.

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

    1
  • Things You Should Never Do, Part I (2000)
  • douglasg14b douglasg14b Now 100%

    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...?

    7
  • www.microsoft.com

    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.

    43
    7
    github.com

    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.

    5
    0
    douglasg14b Now
    3 72

    douglasg14b

    programming.dev