News for hackers. Stuff that matters.

Madeindjs

Re:Ask HN: Determine sound quality of a file, objectively? on Monday August 19, 2024 @06:30PM (#41295113)
I found a tool named [Lossless Audio Checker](https://losslessaudiochecker.com) : "A utility to check whether a WAVE or FLAC file is truly lossless or not".

I was so sad that this project is not open-source but their Research papers give some interesting clues about detecting bad quality files.

On my side, I used it through a [Bash script](https://gist.github.com/madeindjs/d5e3949313b141f2e5eea62b98...) to detect bad files in my library. The tool produces a lot of false positives since it triggered on some High Res audio musics I bought on Qobuz.

Re:mpv a free, open-source, and cross-platform media player on Saturday August 17, 2024 @04:43PM (#41277800)
I personally use MPV to play my music libraries containing mainly FLAC file and I wrote a plugin [1] using JS to send my listens to listenbrainz.org . It's damn simple, but it worked for the past few months!

[1]: https://gist.github.com/madeindjs/f33225cf4d8fdc9f61e0fe3ebe...

Re:Improving Node.js Loader Performance on Thursday December 14, 2023 @06:14PM (#38648751)
If I got it right, naming all our files with the extension `.mjs` solves the issue as well, right ?
I'm a Ntfy user and I really love this tool! Thank you so much for your work
Re:Parquet: More than just “Turbo CSV” on Tuesday April 04, 2023 @04:40PM (#35445594)
Why should not use a simple database instead ?
Re:Planning and Notes Using Markdown in (Neo)Vim on Sunday November 13, 2022 @04:15PM (#33587409)
Re:Show HN: Everybody should create a practice repo on Saturday November 12, 2022 @05:10PM (#33577650)
Re:MVP.css – Minimalist stylesheet for HTML elements on Monday September 12, 2022 @03:42PM (#32815756)
I see an horizontal scroll because of a code block containing a non wrapped URL
Re:Show HN: Create tiny and beautiful CVs with ease on Wednesday September 07, 2022 @04:48PM (#32756616)
Impressive design. Bravo
Re:The Dhall Configuration Language on Friday July 15, 2022 @04:14AM (#32105931)
I thought the same thing. As a Node.js dev, I can quickly create a .mjs file and use a `module.export` to return a JavaScript object who contains the configuration. Thus, i can use template string and/or function to do what I want. I can even load JSON files natively
Re:Ask HN: What do you automate in your workflow? on Saturday June 11, 2022 @04:11PM (#31707868)
I made basics bash scripts to do some simple stuffs. Scripts I use more often are:

1. A script who help me to make conventional commits name (ex: `feat(xyz): add some stuff. JIRA-ID`). It add Jira Id at the end using git branch, get scope using path of the folder and ask me the rest

2. Create a markdown file for the day as worklog. An another script create markdown file for the Jira issue that I work on and add a wikilink on the worklog

3. Read scripts in package.json and ask me what I want to execute using fzf

I try to do more and more since it's really useful and I had some fun to made them.

Re:Plain text, with lines on Monday June 06, 2022 @04:58PM (#31646167)
I use this VSCode plugin yo do that and it works well https://marketplace.visualstudio.com/items?itemName=mushan.v...
Re:The Texas electric grid can barely keep the lights on on Saturday May 14, 2022 @05:46PM (#31382894)
But I imagine that you want to sit at 25°C all day long during the winter...
Re:JavaScript's Dependency Problem on Tuesday May 03, 2022 @05:02PM (#31253543)
As a developer, I love JavaScript ecosystem for some of theses drawback of this package manager.

I'm be able to quickly publish a library on NPM and this is great IMO. Few years ago, I tried to do it for Maven in Java and it was a nightmare.

> We don't need two million packages. We probably don't even need two thousand.

I don't think so. There are many tools, frameworks and libraries in JS and I love that. I learn from all of them and this is exciting. I don't want an ecosystem with only JQuery to do all I want. Sometimes I may use Vue.js, sometimes Angular or React... and that's great.

This is a really great resource. All of theses tips are implemented in Nest.js framework. I can't recommend enough to give it a try, it'll force you yo have best practices.
Re:Plaintext Productivity on Sunday March 20, 2022 @05:58PM (#30747109)
With plaintext you can do what you need. For example, with todo.txt context are just prefixed by `@`. You can also add special tag with `key:value`. So for example you can add `location:paris` and retrieve it with whatever search tool.
Re:Write plain text files on Thursday March 03, 2022 @02:43AM (#30538261)
[Markor](https://github.com/gsantner/markor), free, open source and available on F-Droid.
Re:Speeding up VSCode extensions in 2022 on Friday January 28, 2022 @04:39PM (#30120724)
JavaScript now include workers and with Node.js have Worker threads. I am pretty sure that MS guys use it into VSC.
I thought that author of Faker don't ask a new maintainer, he just ask for money. So I think this point is valid.

A maintainer role could be to just accept some occasional pull request if he don't want to make it a bigger project.

Re:Scroll: Extensible Alternative to Markdown on Saturday November 13, 2021 @05:20PM (#29213667)
URL syntax you described is exactly one used by Asciidoctor ( https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-re... )
I use it since many years and I could not use anything else. I installed it on my girlfriend's phone (non techie person) and she also loves it.
Re:JSFuck (2012) on Sunday September 26, 2021 @09:51AM (#28660885)
Did you give a try of Deno. This is a JavaScript runtime but it produce a single binary. This would make sense in your case because it can be harder to inspect it.
Re:Show HN: EvalRSS – A Social RSS Aggregator on Friday September 03, 2021 @01:44AM (#28400795)
I had a black page with JavaScript disabled. You should at least display a message "please enable JavaScript".
Re:Code-First vs. Product-First on Sunday August 29, 2021 @01:40PM (#28348779)
I not totally agree with this. Architecture is really important because it can make new feature less expensive in term of development. If you judge a work only in terms of final product UX, you miss this point.
Re:I switched from macOS to Linux after 15 years of Apple on Thursday August 26, 2021 @05:17PM (#28320931)
Is it equivalent to initialize Git repository in $HOME ?
Re:Markdown vs. ReStructuredText for Teaching Materials on Tuesday August 17, 2021 @05:00PM (#28214803)
You totally miss point of this article: Markdown, even if not so powerful, have many more tools and support than other markup language (including org-mode)
Re:100 Things You Should Know as a Software Engineer on Sunday August 15, 2021 @04:42PM (#28192340)
I not agree for all theses points but some of those are very good advices. IMO best of those are

> (25) If you have decided to rewrite a component/service always rethink your decision. It is harder to read code than to write it, that's why "I should rewrite it!" is very common in software development.

Re:The Light Phone: Minimal Smartphone on Sunday August 15, 2021 @12:34PM (#28190140)
So maybe come back to old BlackBerry with physical QWERTY keyboard?
It works until you try using a library not available with Sprocket...
Re:Deno 1.13 Release on Tuesday August 10, 2021 @04:24PM (#28133911)
Why did you choose Demo over Node.js? Is this making performances improvements?

Older »