News for hackers. Stuff that matters.

yamadapc

Re:Harmonics Explorer on Tuesday January 30, 2024 @12:05AM (#39186566)
Interesting! Any plans to release rust audio-unit hosting source-code?
Re:I fucking hate Jira on Monday June 20, 2022 @04:35PM (#31815574)
This is the experience team-managed projects should have out of the box in Cloud if using kanban.

You create a kanban team-managed project and it'll pretty much be a Trello board. If you want sprints or a backlog or reports you can go into the project features page and flip a switch.

Re:I fucking hate Jira on Monday June 20, 2022 @04:32PM (#31815522)
Jira/Confluence Cloud use the same markup and editor.
Re:How JUCE Components Work on Tuesday May 24, 2022 @05:50PM (#31497909)
Nice post, thanks
Re:Continuous Looper on Sunday April 17, 2022 @02:00AM (#31058850)
Thanks for sharing lukastyrychtr
Re:LibreOffice running natively in the browser via WebAssembly on Wednesday February 16, 2022 @03:38AM (#30357627)
It's completely frozen for me (after downloading), but it's very cool for sure
Re:Duf: Disk Usage/Free Utility on Sunday September 27, 2020 @06:29PM (#24610693)
I’ll plug my own fast OSX scanner, though “storage management” got better recently (or I hadn’t noticed when using it initially).

https://beijaflor.io/blog/06-2020/filesaver-freeing-up-space...

I’m not a C++ developer so the code can need improvements
Re:Agile Lite: Agile without all the burnout on Thursday April 04, 2019 @09:59AM (#19572344)
TL;DL

Ignore all existing literature and experts' previous experience.

Simple.

You can just wrap `fetch` with something that knows where your server is. In `Este.js` there's something like:

    function ensureServerUrl(url) {
      // parse and replace with your server url
      // in Este you read from a SERVER_URL environment variable
    }

    function fetch(url, options) {
      url = ensureServerUrl(url);
      return fetch(url, options);
    }
Re:The advantages of static typing, simply stated on Friday September 16, 2016 @10:57AM (#12514419)
You can also generate the types and parsers from a data sample.
Re:The advantages of static typing, simply stated on Friday September 16, 2016 @10:54AM (#12514388)
In Haskell you can generate a parser to a typed structure using library combinators and code generation:

    data DataMessage = DataMessage { company :: Text
                                   }
      deriving (Show)
    $(deriveJSON defaultOptions ''DataMessage)

    data DataList = DataList { _data :: [DataMessage]
                             }
      deriving (Show)
    $(deriveJSON defaultOptions { fieldLabelModifier = drop 1 } ''DataList)

Which will fail properly when the data is malformed and in the real-world is even shorter, because you can set your data-type to protocol naming conventions and share them throughout.

Then there isn't much bloat. You wrote your types and generated your way to parse them.

You could test with:

    main = do
        print (encode (DataMessage "some-company"))
        print (decode "{\"company\":\"some-company\"}" :: Maybe DataMessage)

        print (encode (DataList [DataMessage "c1", DataMessage "c2", DataMessage "c3"]))
        print (decode "{\"data\":[{\"company\":\"c1\"},{\"company\":\"c2\"}]}" :: Maybe DataList)

https://gist.github.com/b30f6f09a737dcc980e052b0f3d2a39e
Re:Crystal: Fast as C, Slick as Ruby on Thursday August 04, 2016 @03:32AM (#12224011)
The D Language (http://dlang.org/) has a @nogc pragma (https://dlang.org/spec/attribute.html#nogc).

You just annotate functions that you don't want to use the GC in with it and it'll assert that they don't use it.

Re:SQL vs. NoSQL Databases: What’s the Difference? on Thursday May 12, 2016 @12:07PM (#11684420)
SQL...?
Re:Who Needs Git When You Got ZFS? (2013) on Wednesday June 11, 2014 @10:58AM (#7878310)
As the article seems to be down, here's the text-only (google) cached version:

http://webcache.googleusercontent.com/search?q=cache:CTMc7ZQ...