News for hackers. Stuff that matters.

MrHus

Re:My Gripes with Next.js on Friday September 05, 2025 @10:33AM (#45139078)
I've been working / upgrading a Next.js application this week, and decided to list my gripes I have with its API.

Show HN: uiloos a Headless Component Library

https://www.uiloos.dev/

Hi my name is Maarten Hus and today I'm releasing my commercial headless component library.It can be used to create carousels, tabs, accordions, sortables, image galleries, typewriter animations both single and multi cursor, notification centers, modals, flash messages, date pickers, date range pickers and calendars.My story is that I've been a web developer since 2007 and during this time...

( Read More... | no comments | 2 points | on HN )
Re:A bug which is only a bug five days out of the year on Wednesday January 31, 2024 @08:43AM (#39203662)
I was just browsing HN because I'm procrastinating solving a date based bug. It is literally this bug! Who said surfing HN is not productive!
Re:A Tetris Clone in TypeScript on Tuesday October 03, 2023 @09:37AM (#37751730)
Author here, I wrote this post whilst thinking about how difficult I found it to wrote a Tetris (and failed) when I learned how to program. I hope to inspire novice programmers a little.
Re:The Invention of the Function Keyword on Thursday January 26, 2023 @08:03AM (#34531133)
I have a pet peeve: I find it annoying when someone uses "const lambda" to define named functions instead of using the "function" keyword.

I thought I'd air my grievances to the world.

Re:Show HN: Made a e-4917 emulator with a short tutorial on Sunday December 26, 2021 @03:06AM (#29690615)
Years ago through HN I got introduced to Richard Buckland's course at UNSW on YouTube. It featured a microprocessor called the e-4917 which has always captivated me.

The reason is because I'm from a generation that learned programming in Java / Python and PHP. Which are higher languages that do not require knowledge about the way the "metal" works.

I've always been jealous of people who got to get their start in assembly, they seem to have a deeper understanding of the computer itself. Whereas I only barely understand the "higher" software parts of the computer.

So when I came across Buckland's videos's it was like this part of the computer was finally revealed to me. Seeing the CPU's interact with the memory taught me a valuable lesson:

That at the lowest level what is in a memory "cell" can be both an instructions to a program or the data used in a program.

I hope that with this post I can reach someone how used to be like me, and get them to a lower level.

PS: I also wrote a part two explaining how I programmed the emulator using React and TypeScript:

https://www.maartenhus.nl/blog/fantasy-cpu-emulator-part-2

Re:Story of the Flash Fill Feature in Excel on Saturday September 18, 2021 @01:30AM (#28573906)
If you do not know what flash fill is, like me, this page shows a video of the feature:

https://support.microsoft.com/en-us/office/save-time-with-fl...

Re:Man can change his pupil size on command on Wednesday September 01, 2021 @09:29AM (#28379542)
"The researchers can't say for sure that D.W. was directly controlling his pupils, but from their many tests, they did not find any evidence that he was using indirect strategies."

By reading this paragraph it states that they cannot know for sure. This makes the article's title very "clickbaity" to me.

Re:Lodash's Chain vs. Native Methods on Friday August 27, 2021 @02:54AM (#28325061)
This is very true, and what I mostly use lodash for these days. I also like the string utilities such as capitalize, and the utilities for dealing / getting random values.
Re:What it's Really Like Working with Steve Jobs on Wednesday January 23, 2013 @02:36AM (#5102001)
Everyone knows but it's nice to be reminded sometimes that Apple's level of polish is not the work of gods, and that it can be attained by hard work. The media likes to portray Apple as a magical force and deify's Jobs as the grand Wizard, it nice to see he's just a guy behind the curtains.
Re:iOS 6: Do Not Disturb mode stays on after scheduled time on Thursday January 03, 2013 @12:58PM (#5003559)
In my case I had a date that I needed to parse from JSON. It was in this format: 2012-01-21. I parsed it using YYYY-MM-dd. It should have been yyyy-MM-dd for the reasons above.

It is not technically a bug but it real easy to get wrong. Perhaps they should have picked sometimg other than YYYY for week years.

Re:iOS 6: Do Not Disturb mode stays on after scheduled time on Wednesday January 02, 2013 @05:07PM (#4999611)
I fixed the same bug today, it happens when using YYYY instead of yyyy as a dateformat. YYYY is the year of the week the day falls in.
I think its a great idea I'm especially interested in the custom UI code. I could learn a thing or two.