News for hackers. Stuff that matters.

jasoncabot

Show HN: Generate Version 7 UUID's for a Timestamp

https://uuidv7.org/

I use UUIDv7's in multiple places as an efficient index in Postgres. When querying this data I usually need to be able to query between a time range so wanted to have a quick way to generate a reference ID that I could use in a BETWEEN query.All the simple, fast tools I found online were focused on generating bulk ids or converting from an ID to a timestamp rather than the other way around, so...

( Read More... | 3 comments | 18 points | on HN )

Show HN: Linkagram a Daily Word Game

https://linkagram.jasoncabot.me/

I made this game years ago (originally for PocketPC) but have recently updated it for the web.The goal is to find all the words on a 4x4 grid of letters. Shamelessly ripping off wordle with a new board each day…The hardest part was actually getting a decent word list that made it not too challenging to find all the words. In the end I went with ~ 3000 of the most common English words....

( Read More... | no comments | on HN )
Re:Dear sir, you have built a compiler on Thursday January 13, 2022 @10:48AM (#29921985)
This reminds me of a great post about the typical software evolution going from hard coded values, through configuration and rules engines to a DSL, only to be back where you started.

I have seen it happen on multiple projects, it’s hard to spot it at the time as all the changes seem sensible but hindsight is a wonderful thing

http://mikehadlow.blogspot.com/2012/05/configuration-complex...

Re:Principles of Green Software Engineering on Wednesday September 22, 2021 @09:06AM (#28615847)
https://lowimpact.organicbasics.com/eur

Is an example website that I enjoyed that shows you how much carbon you’re effectively saving by viewing their low impact version for each request.

(disclaimer MS employee but nothing to do with this product)

You could check out the Azure Forms Recognizer. It's designed to do exactly this and make even training a custom model pretty easy. It's also pretty cheap (free up to 500 pages) so you can always do a quick experiment and see if it does what you need it to

https://docs.microsoft.com/en-us/azure/cognitive-services/fo...

Re:The Fallacy of Move Fast and Break Things on Monday March 23, 2020 @12:22PM (#22665491)
What are LEST metrics? I couldn't seem to find anything from Google and now it feels like I'm missing some major concept
Re:CivJS: A JavaScript 4X Game (2015) on Wednesday August 29, 2018 @03:01PM (#17870743)
That sounds like an awesome game - do you have any interesting links for how to structure TBS games? It's something I've always played around with but never feel I managed to get a decent design
This is really great, got it all set up with Alamofire in a few minutes and already it's been helpful in identifying some slow network requests!
Re:Show HN: Apple TV Quiz App (+ Promo Codes) on Thursday November 05, 2015 @02:30AM (#10512101)
http://imgur.com/a/VqNuw

I've tried to keep a simple and clean design and just use subtle animations for events

Show HN: Apple TV Quiz App (+ Promo Codes)

Anyone who has a new Apple TV - I've built a simple trivia/quiz app and am looking to get some feedback so I can figure out what needs improving.I built it in my spare time and tried to cut it down to the most simple idea that was still really fun but I'd like to get some more opinions from actual users.I'm still not 100% happy with the controls on the remote so if anyone has any suggestions...

( Read More... | 2 comments | on HN )
Re:Apple TV “Top App” Numbers on Tuesday November 03, 2015 @04:19AM (#10498382)
It's really interesting to see the kinds of numbers you need to get to the top of the paid lists.

I really wasn't sure what to expect from the Apple TV and despite being initially disappointed with the lack of app discovery - it seems that people are actually finding and installing app which is a start

I made a general knowledge trivia app - 60 second quiz - and seem to be getting a couple of downloads a day. It's nice to know that hard work and a few downloads a day can mean you end up as #3 in the top charts!!

Re:Ask HN: How do you promote your apps? on Monday November 02, 2015 @04:03AM (#10490783)
So that seems unethical (and against Apple's terms and conditions!)

I was wondering more about how you get people to know your app exists on the store. Does advertising actually work?

Ask HN: How do you promote your apps?

So I've made a pretty simple app for the new Apple TV and as I'm sure most people who've built apps know - the discoverability is awful on the App Store, with the Apple TV being even worse!It seems to be the usual - if you get featured in an Apple list then great, otherwise notHow do you go about getting people to know about and try your apps?

( Read More... | 2 comments | 3 points | on HN )
Amazon has a set of leadership principles that apply to everyone at the company, whether you are technical or not.

http://www.amazon.com/Values-Careers-Homepage/b?ie=UTF8&node...

It's being a leader in what you do, which isn't necessarily the same as leading a group of other people.