Better HN
topnewbestaskshowjobs
Log inSign up

heresjohnny

243 karma · joined Jan 30, 2019 (7y ago) · 122 submissions

Submissions

comment 1y ago · link · parent

As someone from Europe, I had heard before about bankrupting ambulance rides, slavery in prisons, and food deserts. I did not expect to add “lunch money humiliation ritual” to that list. I’ll think of this next time I complain about my 50% income tax.

comment 1y ago · link · parent

Neat! Wonder though if you should be even offering the BYO option as a separate lite package. As a dev I would not buy this and as a non-tech person I would be confused by your pricing page.

But I do see the value! Think sales or marketing folks looking to get a bit more hands on. These will likely be your first visitor and be okay with your 50 dollar price. Then, their IT department will say “we want to hook up our own API key for that,” to which you can confidently say “sure, we can do that too.”

N=1, just my two cents. Good luck!

comment 1y ago · link · parent

Of course. The only thing that’s changed (raised) is the baseline. It’s still hard to come up with a winning idea that’s innovative, creative, and polished. It’s also much easier to go into a rabbit hole you shouldn’t have gone into, which can be quite costly during a competition.

comment 1y ago · link · parent

Looks like this is fully anonymous and that your auth doesn’t apply on this page (when I visit it with an active session, it doesn’t show as such). I think if you require people to be logged in you’ll already decrease malicious traffic by a lot. Love the idea btw!

comment 1y ago · link · parent

I miss a thorough explanation of how Plain is fundamentally different than Django + extensions. Good luck though

comment 1y ago · link · parent

The IndexedDB API [1] is fairly easy to work with. I personally use idb [2] as a wrapper, but that's optional. The hardest part is getting it neatly integrated with whatever you're using to manage state. I use a centralized Redux-like store to push events to, which then get automatically persisted to Indexed DB. Hope this helps!

[1] https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_A...

[2] https://github.com/jakearchibald/idb

comment 1y ago · link · parent

Thank you! So nice to see it's something others were looking into as well. And these are great ideas, I'll add them to the list. Could you specifically clarify on the grouping? I already show time spent by tag - anything you're missing? Thanks again :)

comment 1y ago · link · parent

Fully agree, I dislike auth walls as well. It's also great for distribution, so everybody wins.

comment 1y ago · link · parent

Good one - that sounds like great optional behavior. Having said that, I consciously built it this way. I personally use simultaneous stopwatches to track a full day of work and tagged items within that day, such as a specific meeting (each another stopwatch).

The "Personal Time" option subsequently merges the overlapping hours so that on Statistics, I'm looking at time spent in real life (as a person), while still being able to zoom in on specifically tagged items.

comment 1y ago · link · parent

Great idea, thank you! Shorthands are on my list. Would it work if you could immediately start a stopwatch + assign a tag, such as “customer care” with a single click?

I preferably don’t want to include projects/folders/tickets, this is what I found cumbersome to deal with in other trackers.

comment 1y ago · link · parent

Any reason why you think it's unreliable? Note my aim is to make it a PWA in the future, meaning it would be installed on your machine and run perfectly fine without an internet connection.

comment 1y ago · link · parent

Aah love to hear that! I think you should be able to iframe it just fine unless you're using an older Safari version.

comment 1y ago · link · parent

Yeah this took quite some weekends :) Just hang in there and you'll get a project shipped too!

I'm using Angular (yes, really!), and some date-fns utils for the time-related logic. Other than that, it's all custom except for the Catalyst UI library and Frappe charts. The hardest thing to solve was the event-driven foundation (which I'll use for sync support later).

Initially, I started out with Automerge/Yjs but figured that simple event sourcing would be good enough given there's no collaborative/concurrent use case. The benefit of that is that I can actually explain the logic. Not saying those projects lack documentation (they don't), I'm just not comfortable shipping a CRDT that I can't explain e2e. Might change once I have time to dive in properly.

comment 1y ago · link · parent

Ah - thanks for reporting. Any details on the device you're using? For me it's working fine on iPhone/Mac. In any case, I had to cut some corners with JS for the UI library I'm using. These should be CSS-only animations, period. Thanks.

15.

Show HN: TimeRetain – A browser-based personal time tracker, no sign-up needed(timeretain.com ↗)

61 points · by heresjohnny · 1y ago · 28 comments

comment 2y ago · link · parent

Nice work! Smooth and local. I like it. A tip: it doesn’t detect mobile screenshots (the frame remains in landscape, causing the image to be cut off).

comment 3y ago · link · parent

I think your best bet is an insect screen. I have one at home that pops right inside my window frame. Modern frames have standard dimensions, so it's likely trivial to find an insect screen that fits yours. Once you have this in place I don't think you'll be looking any longer for a solution from the Star Wars realm.

comment 3y ago · link · parent

I am a Jekyll user that has switched to Astro. I like it a lot, since it provides me with simple templating, bundling, out of the box TypeScript, and Tailwind support. It can do much more (like embed multiple UI frameworks) but I haven’t found the need yet. For anything simple like a landing page, this has become my go to.

comment 3y ago · link · parent

Personally I’ve always thought that specialization is what matters. I’ve tended to look up to people who know everything about a single topic. I still do, but in my professional life I’ve come to learn that generalists with a few but limited expertise “amplitudes” do even better.

A metaphor from what I personally like: If you can make fast websites, you’re a good software engineer. If you can make fast websites with great copy and a subsequent positive effect on SEO, you could be a company.

comment 3y ago · link · parent

Nice first attempt! What I would try to do is find a design system and stick with that. Someone else already commented about the size of the text and elements. If you’re not designing on a daily basis, you will overlook such and many other gotchas like consistency of padding, font weight vs. font size, and so on. A great one I can recommend is TailwindUI—just make sure to give a template your own spin to prevent looking too generic.

comment 3y ago · link · parent

Django Ninja allows you to immediately piggyback on all the Django features: the ORM, auth, admin panel, migrations, forms, and so on. If you choose FastAPI you’ll have to add these things yourself (SQLAlchemy for the ORM, Alembic for migrations, etc.). Unless every single percentage point of performance won matters to your use case, I’d go for Django Ninja.

comment 3y ago · link · parent

The one you’re already most familiar with.

comment 3y ago · link · parent

Not air tight, not truly “OpSec,” but people do call me crazy for having a separate e-mail for every service. This has caught three leaks so far–if you receive spam you immediately know which service got pwned. If that happens I delete the e-mail and move on. Takes some effort, but is worth it in my opinion.

comment 3y ago · link · parent

Firefox’s right click + Q to immediately focus on a DOM element in dev tools is such a powerful feature. I’d try to get that in your system if you’re a web dev.

comment 3y ago · link · parent

I think very few people nowadays have a job where they produce a product that lasts for more than 30 years. Perhaps if you work at Boeing or Porsche.

comment 3y ago · link · parent

You’re probably looking for a Merchant of Record like Paddle, FastSpring, and so on. Payment, privacy, and tax compliance instantly in basically every jurisdiction. At the end of each month you’ll get paid in a single transfer. Read their Terms first, though–I am still debating whether going global in a weekend outweighs the legal exposure.

comment 3y ago · link · parent

Unless efficiency is significantly improved, I don’t see how community incentives (with community resources) could train a model with that many parameters. Would love it if it happened, though. That would be true Open AI.

comment 3y ago · link · parent

Really kind–best of luck with this. :)

comment 3y ago · link · parent

It blew my mind when I gave it a TypeScript function with multiple nested awaits, all tangled up into a chain of multiple `map` calls. A comment I wrote above it was “TODO refactor this monstrosity.” It was clever enough to split it into a main function and multiple utils. And it added JSDocs. The result passed my existing tests immediately.

comment 3y ago · link · parent

Great to see yet another Tailwind version. I’m a huge fan. CSS is always a “get it over with” ordeal for me, and Tailwind allows me to finish the job in the quickest way. And Tailwind UI has been one of the best purchases I’ve made in the past year.
12345