News for hackers. Stuff that matters.

4nof

Ask HN: What's a good current distributed DB I can use on AWS EC2?

I'm trying to get a database together for a general database for an app I'm writing. - I'm going for low-cost prioritized over easy setup. - I looked into making a sqlite db for each user stored in s3, but that is generally only readonly unless I want to pickup and drop on s3 every read/write, then there's write collisions, in which I would need a queue for transaction to place on the db in...

( Read More... | 2 comments | on HN )

Ask HN: How do I apply for Y Combinator well?

I have 8 years of software developer experience. I took the founders course and was going to do a submission of some past work for YC2022 just to see what would happen. However I stopped short of that because it doesn't seem to be my best work, it doesn't have a large user problem, and it is just a "broken toy" thing.I would like to figure out what I can do to find a problem first, but I'm not...

( Read More... | no comments | on HN )
Re:Make Your Back End Layer as Thin as Possible on Sunday November 15, 2020 @05:41PM (#25105667)
The main issue seems to be improper communication and process between the frontend/backend devs. The informal solution is to agree on something like a swagger doc. The proposed solution is to expose all the fields. I'd be careful on this as unwanted fields could be unecessarily exposed. A workaround addition to this is to make a blacklist filter of fields to not expose before sending and send everything else as a passthrough.

Show HN: AtomicNote. A language for MIDI that uses decimal numbers as basis

I was having trouble making a non-chromatic scale with the current midi due to all the halfstep calculations. Why should the programmer have to worry about those things? Instead of 24,26,28,29,31,33,35,36 for a c scale, I made it so you can do 1 2 3 4 5 6 7 8 and set the scale, major, minor, offset, in the numbers - I find that easier to program.Current implementation...

( Read More... | no comments | on HN )
I found there is a docker container of pihole which means it can run on anything including Windows! I tried it and it works in a docker container on windows just fine! pihole docker steps: (prereq: install docker https://www.docker.com/products/docker-desktop)

1.setup your docker-compose.yml file with the one listed on pihole page https://hub.docker.com/r/pihole/pihole/ (starts with version: '3').

2. save and do "docker-compose up -d"

3. do "docker ps" and ensure your pihole is running.

4. Go to network settings and set your DNS to 127.0.0.1 and ::1 like this: https://mayakron.altervista.org/wikibase/show.php?id=Acrylic...

5. if the docker container is ever stopped, you will need to reverse the setup step 4 to get back internet.

Hope that helps all you windows users who want a DNS blocker pihole on your machines!

I don't think this is relevant to what I created.

Rosetty: A YAML/JS/Node/Python Dual Language View Tutorial Template

https://github.com/fornof/rosettyMy goal was to create a dual language viewer as a tool to use at a meetup - basically a lesson plan that people can take home and study if they like. I used the Rosetta Stone as a basis for this simple template. I only have python and javascript side by side, but the section.yaml can easily be added on to add more languages and more sections to each...

( Read More... | 1 comment | 2 points | on HN )
I made a heroku app to start this: https://hexnote.herokuapp.com/public/
As a musician and a programmer, I'm looking for ways to produce music without a staff on paper or in a text message, and produce music programatically with easy I/O to a synthesizer or to other functions in code. ABC notation comes close to what I want - it can be done in a text message, but I/O requires parsing and storing into objects to do anything with it. basic HexnoteG9 can be read in as little as 1 case statement viewing the last place.

I used LMMS and have taken a look at AbletonLive - both require heavy use of the mouse to get anything setup for music generation. My plan is to start at the bottom of the stack - sending notes through hex , and build on that so an artist could go in and edit the hex notes if they really wanted to, that it would be more readable than midi, and then the changes would show up in the layer above the hexnotes with buttons, sliders, a staff, and general UI.

MIDI has short messages that requires a translator for storing information into the format or an extreme familiarity with the signals and bits. It does not hold quarter notes/beats but rather ppq or parts per quarter note in ticks. It is complex. I cannot write MIDI on pen and paper and understand it later without a very large table of what each byte does. HexNoteG9 requires a much smaller table, and it is human readable, 9-f being notes.

LilyPond as well as ABC notation cannot be stored in an int array, which makes moving things back and forth more difficult.

GUIDO looks cool and looks similar to an earlier format I tried using strings to store data. It looks fully featured, but it is not hex.

MusicXML takes a bunch of time writing tags. If I were to write it out by hand, it would require more tags and more lines than hex.

RTTTL : I'm not sure how to do dotted quarter notes, tied 8th to a dotted triplet. It seems similar to a text2Midi solution I created earlier, except my solution accounts for those edge cases.

I took your suggestion on getting started and put it into a github readme: https://github.com/fornof/hexNoteG9/blob/master/README.md

Ask HN: How do I standardize my music specification so people can use it?

I have a music notation I am making called HexNoteG9, where 0-9 are modifiers and a-f are notes, 9 is the note g.This is Twinkle Twinkle Little Star: 24 | this sets default note to a 2^2 quarter note24 c c g g a a 1g f f e e d d 1c g g f f e e 1d g g f f e e 1d c c g g a a 1g f f e e d d 1cnow , just replace all g's with 9's and you have hex. The 1's are 1/2^1 = 1/2 notesI have an example of...

( Read More... | 6 comments | 5 points | on HN )
Re:Relationships Are More Important Than Ambition (2013) on Thursday April 23, 2015 @12:47PM (#9428002)
I had a Chinese Algorithms/Computer Graphics professor tell me something that has stuck with me for awhile. He said, "lower your expectations, and you will be happier" I have been ambitious for a long time , and this makes sense. Like saya-jin stated,

>>" For them, life is never-ending race, at the finish line of one goal run for next one already begun"

Life's short, ambition is a tiring habit.

I'm 24, B.S. comp sci degree, cg enthusiast, musician, and Jack of all trades - I'm headed out to SF California for a few weeks. I'm mostly doing it because I've wanted to see if I can look for VR development or at least see how they do it out there. What stories do I want to tell my kids and grandkids? What am I building for their generations? If I focus on always building and never investing in relationships, I won't see grandkids due to putting off life until the job gets done. If I focus on relationships and communities , there's a chance that I might never build anything "great" (or expensive/popular) for the world. There's a balance. I'm realizing now that if there was a black and white choice, I'd much rather have grandkids in a supportive community and build a love of computer graphics & community wherever I'm at.

Re:Ask HN: Who wants to be hired? (April 2015) on Thursday April 02, 2015 @11:54PM (#9314347)
Location: Mississippi

Remote: No

Willing to relocate: Yes, to San Francisco/ Bay area

Technologies: C#/.NET, SQL, Ruby on Rails, Python, Java, Blender, UE4

Résumé/CV: www.linkedin.com/in/robertfornof

Email: [email protected]

I'm a graphics enthusiast eager to exercise that computer science degree.