Hacker Newsnew | past | comments | ask | show | jobs | submit | raphar's commentslogin

It's the first computer I ever programmed, I was twelve years old then. <3


Android keyboards will make you return to iOS in less than a week


Why the plutocrats believe that the entity emerging from the singularity will side with them? Really curious


Please show the game list in random order, or starting in a random position. Just to promote the discovery of the games later in the alphabet. (Or end up with games called ______11_roguexxx, lol)


Indeed. This is precisely what we did for the HN Personal Websites Directory at <https://hnpwd.github.io/>. The website info cards are shown in random order, with the ordering reshuffled every hour.

I am not a professional web developer but I have been using JavaScript since 2001 or so. It is only this month that I realised JavaScript does not have a way to seed the pseudorandom number generator (PRNG). So there was no way to do something like:

  srand(Math.floor(Date.now() / 1000 / 3600))
As a result, I had to implement a linear congruential generator (LCG) based on the Knuth parameters: <https://github.com/hnpwd/hnpwd/blob/1e513b1/web/script.js>. When I first came across the LCG algorithm (in K&R with different parameters) in the early 2000s, I felt it was neat but assumed I would never need it, since almost every mainstream language comes with a reasonable PRNG. Little did I know back then that the most ubiquitous language on the web would make that old knowledge useful again, some 25 years later.


Fixed :) Like I mentioned elsewhere this was a project born out of my desire to try a new documentation framework (docusaurus)... however the sorting of the docs is not super convenient.

Ive added a randomisation to the list, so hopefully it makes it fairer. If this maintains some traction perhaps Ill beef up the site and make it much more fairer/customizable :)


I strongly disagree with that. It's so irritating as a user when sites have a random ordering to things. I can envision a "random" button being useful, but not having a random order to the list.


I got bored with articles trying to make some controvertial points just to grab some attention / traffic. (he says so in the article).

The OP doest't even deserve your sincere and just to the point response.


Thanks, you just addressed just the points I was curious about the most.

- How will they survive?

- What happens with all those unsolved problems, those that AIs haven't found a source with the solution to scrape from?


I posted this link, some days ago:

Coding Trance Music from Scratch (Again) [video]: https://www.youtube.com/watch?v=iu5rnQkfO6M

It´s a well done programming and music performance


A slightly older Switch Angel trance video is how I learned about Strudel/TidalCycles: https://www.youtube.com/watch?v=GWXCCBsOMSg. Her narration over top makes it the perfect trance track. "More chaos brings more power. More power brings more control." I desperately want a clean sample of that.


Exact same here. I watched that video about ten times in a row.

I learned it's more important to know how the big sound pieces fit together and what you can do by tweaking them. Have many, many different versions of the big pieces doesn't really matter.

I also came away wishing that Bitwig had a strudel mode. Every time anyone does anything in the grid, they'd be better off with a strudel equivalent. I think.


Yea I have been asking around for such a feature on their subreddit


+1 Switch Angels performances


Increase the duck attack!


"The key... the key... it has to be... G... (minor)."


this is awesome. The only code instruction video instructions that I have watched that doubled as a song. At first I thought it was the Euro dance hall lyrics and then I realized it was actually the code instructions.


Tangent, but...is that her real/natural voice? It's like studio-level female vocals for Hardstyle without even trying. I am mesmerized.

Edit: it looks like she has a filter on. I'm an audio noob so I can't tell.


Connie Mitchell has an OG EDM voice: https://www.youtube.com/watch?v=sHlnXrZk-T8

https://youtu.be/iJUNznsc4JI?t=168

She did a lot of live EDM parties during the peak Mallorca et al party island times.


This is an excellent example. It also highlights how if I tried this it would sound terrible as I lack have vocabulary to describe what I want, and how that relates to the code.


Yeah, thanks for both posts. I love the narration with the live coding (like a conversation with voice and code). If I can get to that level, I'll die a happy man.


Is this real library/editor/programming-language ?? I don’t see anything on how it’s made?


Yes, it's Strudel.

https://strudel.cc/


It is!

She is using https://strudel.cc/


Every time I watch one of her performances, I smile when she says "... with the scope."


Both programming and music in the same (awesome) performance. BTW, she is using https://strudel.cc/. (not affiliated with them)


I won't log in to a site i don't know or trust


I found out about slither.io here at hn. Also found out about the similar one agar.io.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: