I am building a "sausage machine" to commercialise Australian univerity technology and create American companies. It is a one-stop-shop for Aussie companies to enter the USA market. I have a Tech Center in Maryland ( http://www.autechcenter.com ) which offers lots of free services to Australian startups and we ticket clip any capital to make money. Current projects are: * NASA award winning Wound Healding tech https:…
Ask HN: What interesting problems are you working on?
531–540 of 633 posts
Re: Ask HN: What interesting problems are you working on?
#532I am on the journey of learning computer science and programming on my own from awesome books and resources available out there.
I came across this article by Peter Norvig: https://norvig.com/21-days.html after I read his code of a spell checker: https://norvig.com/spell-correct.html. I was mesmerized by the code itself. It is so clean as if it is speaking to me. No series of spaghetti statements making me cringe just at the sight of it. I want to be able to achieve that skill. That is my project/problem if you can say so. In college I was studying electrical engineering when I was taught programming in C using a very bad book and I hated coding after that. Now, I am gradually beginning to see the beauty in it. It is just prose. Prose can be bad and excellent. I was taught bad prose that's why I dislike it.
I hope to become an elegant and useful programmer one day and build things that are useful to people.
If you have any particular resource in mind that can help me in my journey, don't forget to suggest some in the replies.
Re: Ask HN: What interesting problems are you working on?
#533A keyboard based IDE for a keyboard based GUI for PCs. Common PC GUIs are WIMP based (Windows, Icons, Menus, Pointers). They require the usage of a mouse and are pretty complicated. I find the usage of the mouse in a PC GUI "unnatural". So I set out designing a keyboard-input only based GUI. It turned out, that wasn't as difficult as I initially thought. Then I started writing an IDE for designing apps using this new…
Well, Emacs already did it. I kinda hate after moving to IDEA (as IDE it's just better, still prefer Emacs as an editor tho) I had to use mouse more.
Re: Ask HN: What interesting problems are you working on?
#534I'm currently working on a file indexer for my pet project tonehub[1] (an audio API like navidrome or audiobookshelf). I thought this is gonna be an easy task, but after running into a lot of problems it turned out that this is indeed an interesting problem to solve. Just to name a few problems I ran into: - Performance: How to scan files as fast as possible? - Tag-Storage: How to store audio tags as generic as possi…
Many filesystems try to solve the same problem (eg: customize the appearance of files in a particular folder [1]). One solution is adding extended file attributes [2], however this might not be supported on all operating systems.
[1] https://en.wikipedia.org/wiki/.DS_Store
[2] https://en.wikipedia.org/wiki/Extended_file_attributes
A slower but more portable solution might be content-addressable storage. Basically, create a directory containing just metadata files for each song. Name each file as the SHA256 sum of the associated music file, and put metadata into it in a binary format like flatbuffers [3] or Cap'n Proto [4] or a plaintext format like TOML [5] if you prefer to make the system human-editable at the cost of lower performance. Even after moving a file to another location, the SHA256 sum of the file should not change.
Note that if you have duplicated files, then there might be hash collisions where you'll have to reconcile metadata differences (or you can just merge the metadata together, keeping attributes with the later timestamp). There are various solutions to this as well like building a parallel directory structure which mirrors your music filesystem, but that can get complicated.
[3] https://google.github.io/flatbuffers/
- File-Watchers: How to prevent fully indexing the filesystem over and over again and only react to changes?
When first loading a directory of music into the program, build a merkle tree [6] of the files' hashes and save them to the content-addressable storage directory described above if they do not already exist. Once indexing is complete, serialize the merkle trees for each directory as well, this way the next time the program starts, you can just load these up and check for consistency of the files in the background. Then set up FileSystemWatcher [7] to notify you when the contents of a directory changes, and update the metadata files and merkle trees accordingly.
[6] https://en.wikipedia.org/wiki/Merkle_tree
[7] https://stackoverflow.com/questions/721714/notification-when...
Re: Ask HN: What interesting problems are you working on?
#535A few examples:
1. Dialtone using dual-tone multi-frequency signaling and 56K dial-up modem connection: https://www.youtube.com/watch?v=FomWraKuDFg&list=PLn67ccdhCs...
2. Deluxe Multitone Car Alarm: https://www.youtube.com/watch?v=A4uKcvZL7HM&list=PLn67ccdhCs...
3. Composition using only sounds from Windows 98 and XP https://www.youtube.com/watch?v=6lT-jr9sS6Y&list=PLn67ccdhCs...
4. Piano Music (Ballade Pour Adeline): https://www.youtube.com/watch?v=RnAfrEk429w&list=PLn67ccdhCs...
5. Electronic Music Demo: https://www.youtube.com/watch?v=MllJLIX1glg&list=PLn67ccdhCs...
Re: Ask HN: What interesting problems are you working on?
#536My sister works as a veterinarian and is experiencing some serious burnout from her current practice (a subsidiary of a larger corporation). I guess it's pretty common practice for corporations or private equity to snatch up smaller independent practices and then run them like a sweat shop. Her current CEO's resume is a list of Starbucks, Walmart, and a few other corporate roles that are totally unrelated to the medi…
Vets have crazy high margins, and thus salaries, so from an outsider perspective perhaps the market is ready for some more competition.
Also curious on what your source is for their high margins since you mentioned you're an outsider?
Re: Ask HN: What interesting problems are you working on?
#537The most prevalent type of security vulnerability in all of software is XSS. (If you count CVEs, which is admittedly a bit problematic). I’m collaborating on an attempt to shift the responsibility for XSS from the developers and towards the browser. The current stage focuses on getting the use case "insert HTML but without any scripts" right. There’s a public specification and prototype implementations in Firefox and…
This is fantastic work! One thing I've been trying to accomplish on my own site is embedding others' HTML fragments along with CSS and/or fonts. I reckon there would be sanitization concerns for those technologies as well? I understand that might be outside the scope of your project, but I'd love to hear your thoughts on it.
Re: Ask HN: What interesting problems are you working on?
#538The most prevalent type of security vulnerability in all of software is XSS. (If you count CVEs, which is admittedly a bit problematic). I’m collaborating on an attempt to shift the responsibility for XSS from the developers and towards the browser. The current stage focuses on getting the use case "insert HTML but without any scripts" right. There’s a public specification and prototype implementations in Firefox and…
Am I right that this makes the tradeoff of removing the possibility for vulnerabilities in specific web applications, but creates the (admittedly slimmer) chance for Universal-ish XSS in browsers?
Browsers have a track record of being able to ship security bugs for severe issues within a day or two. Compare that to patching every individual website.
Re: Ask HN: What interesting problems are you working on?
#539The most prevalent type of security vulnerability in all of software is XSS. (If you count CVEs, which is admittedly a bit problematic). I’m collaborating on an attempt to shift the responsibility for XSS from the developers and towards the browser. The current stage focuses on getting the use case "insert HTML but without any scripts" right. There’s a public specification and prototype implementations in Firefox and…
This sounds potentially useful, but I'm not sure about the practicality. It's usually pretty easy to not write XSS vulnerabilities, as long as you know they are a thing you need to think about. Given that people don't bother to avoid writing XSS bugs right now, why do you think they will bother to use your tool to avoid writing XSS bugs in the future?
The hope is to also cater to frontend frameworks enough that they will adopt it. There are already some conversations.
Re: Ask HN: What interesting problems are you working on?
#540A couple of years ago I realized that there weren't any good open source software packages for designing DNA so I wrote one. https://github.com/TimothyStiles/poly Goal is to have a suite of packages and databases that can be used to design entirely novel proteins, metabolic pathways, and DNA constructs at scale because right now that software ecosystem just doesn't exist.