News for hackers. Stuff that matters.

v_b

It is dope, please continue on this.

I used to work with TypeORM and really missed using EntityFramework. That actually led me to switch to Mongo (Mongoose).

I'm really looking forward to this project!

When I think of "array-like," I envision using brackets [i].

But the OP isn't wrong; all the methods used to construct the query also function as instance methods of arrays in both JavaScript and TypeScript.

Re:Show HN: Defrag the Game on Monday September 02, 2024 @03:52PM (#41428280)
That was a bit intentional. I personally enjoy exploring games and figuring out how they work before developing strategies. It makes the game more fun for me. However, I do understand the feedback that if someone still doesn't get the game after one or two rounds, something might be off.

At the very least, it's great to hear that I've won one fan! I'm really grateful for the time you invested in something I created. Thank you!

Re:Show HN: Defrag the Game on Monday September 02, 2024 @09:10AM (#41425108)
I didn't mention that above, but you are correct. Kudos to your reverse engineering skills!
Re:Show HN: Defrag the Game on Monday September 02, 2024 @09:07AM (#41425092)
@user_7832 Thank you so much for your feedback! I made this just for fun in my spare time, and feedback like yours is incredibly valuable and, more importantly, motivating.

It shows that there are people who take the time to provide thoughtful feedback in return for my invested time, which goes beyond simple comments like "this is stupid because I don't understand it."

Thank you!

Re:Show HN: Defrag the Game on Monday September 02, 2024 @08:50AM (#41424969)
Actually true. Thanks, will check this one
Re:Show HN: Defrag the Game on Monday September 02, 2024 @08:21AM (#41424842)
I fixed the link in the post, there was a M missing at the end, here the correct:

https://www.youtube.com/watch?v=KR3TbL3Tl6M

Re:Show HN: Defrag the Game on Monday September 02, 2024 @08:19AM (#41424824)
Exactly this was my intetion :)

Thank you

Re:Show HN: Defrag the Game on Monday September 02, 2024 @08:16AM (#41424812)
It is. To be hones I played it now in "hard" and the peformance was absolutley fine.

I know that some browsers has still issues when it comes to pure CSS animations as they are running on the GPU and when the Hardware acceleration is disabled the CPU goes sometimes crazy.

I had the same on an animation GitHub a while ago used on their landing page.

Re:Show HN: Defrag the Game on Monday September 02, 2024 @08:13AM (#41424791)
I just updated it, it shows now:

Best Score: XXX

(Aim for a lower score)

At the end of a round. Probably not perfect but I hope OK for now.

Re:Show HN: Defrag the Game on Monday September 02, 2024 @08:11AM (#41424777)
Thanks, I have adjusted it to:

Best Score: XXX

(Aim for a lower score)

Just refresh the page

Re:Show HN: Defrag the Game on Monday September 02, 2024 @08:02AM (#41424735)
That's exactly what a software developer hopes for: users enjoying their software.

Thank you ! :)

Re:Show HN: Defrag the Game on Monday September 02, 2024 @07:51AM (#41424655)
It has an inverted score system, which means less is better :-)
Re:Show HN: Defrag the Game on Monday September 02, 2024 @07:46AM (#41424616)
Should already work today with your cloud storage I think
Re:Show HN: Defrag the Game on Monday September 02, 2024 @07:45AM (#41424607)
That's the formular I am using to calculate the score: (elapsed seconds / 4) + operations + fragmentation
Re:Show HN: Defrag the Game on Monday September 02, 2024 @07:44AM (#41424599)
May I ask how old you are? Probably not from the Windows XP era, huh? We "old folks" know exactly what to do when it comes to defragging a drive.

Seriously though, thanks for the suggestion! I'll definitely add a small link with game rules to help everyone out.

Re:Show HN: Defrag the Game on Monday September 02, 2024 @07:40AM (#41424559)
Haha, I never played in "hard" mode because it was too challenging for me. That's probably why I didn't optimize the performance as much in that mode. Thanks for the feedback!
Re:Show HN: Defrag the Game on Monday September 02, 2024 @07:31AM (#41424487)
The goal is to have as less gaps between the blocks as possible.

The High score is calculated with the following formula: (elapsed seconds / 4) + operations + fragmentation

operation: each movement = 1 fragmentation: each gap between two elements = 1

inverted score system (less is better)

Re:Show HN: Defrag the Game on Tuesday August 20, 2024 @12:24PM (#41301458)
Hi,

A while ago, I came across this https://www.youtube.com/watch?v=KR3TbL3Tl6 on YouTube showing 8 hours of defragmenting a hard drive. For some reason, it inspired me to create this small game.

Have fun :)

Show HN: To improve my design skills, I built this app

https://planning-poker.games

Hey HN!As a backend developer, I wanted to challenge myself with UI design, leading to the creation of this Planning Poker app. It’s free, no-login, and ad-free.What you'll find: - Simple, no-signup access - Playful, smooth animations (on purpose!)I aimed for a playful design to improve my skills. Excuse the vibe if it's not your style—your feedback is really appreciated.Thanks!

( Read More... | no comments | on HN )
The idea is not new but it is not that simple. A tone can be mapped to a frequency, this is basically what Tuner Apps are doing.

A Chord is built up by multiple Tones. There are a lot of techniques - some do it well others fail.

Figured out that Chord detection is not that simple as Tone detection, because one Chord are multiple tones.

So decided to learn more about Music Theorie and how such a task can be reached.

Created a Flashcard similar App to learn Chords.

Just select the chords you want to learn, the app starts listening and random choose other chords.

Any feedback is welcome

I am a freelancer and host some services there:

- my website.

- a jenkins to run some scheduled jobs for me.

- a gogs (selfhosted Git repo).

- sometimes i deploy some customer services on it to present the app to my client.

most important thing that I host there (specially because of GDPR in Europe): nextcloud Within my nextcloud I store my files (Dropbox) my Calendars and Contacts (iCloud) and use the Talk app for adhoc calls (Slack / Hangouts).

To be honest I never understood what GDPR means in terms of "storing contact informations of clients within my phone / icloud" so I decided to have an own Card/CalDav service.

Older »