5,433 karma · joined Aug 23, 2017 (9y ago) · 2,457 submissions
https://github.com/benwinding
https://benwinding.com
[ my public key: https://keybase.io/benwinding; my proof: https://keybase.io/benwinding/sigs/bVV_JyagfOPTVOiqOf50YZB4rhM0EIDgUvumlGAA6mY ]
182.
Ask HN: Why can't I search my favourited posts on HN?
1 points · by gitgud · 3y ago · discuss
comment 3y ago · link · parent
Anyway, not sure if it's "guaranteed" to be worse than using a computer. Yes, you'll definitely get less help with pen and paper. But you'll probably end up understanding the problem better, without relying on GPT completion of code etc...
comment 3y ago · link · parent
Its weird to compare this to tailwind and say it’s a simpler abstraction though. This requires JS on the client, whereas tailwind does not. This modifies the css styles you write at runtime, tailwind does not.
> Tailwind verbosity goes up with more child elements
True, but in component-driven design this does not happen in source code at least. The tailwind classes are only defined in each component, not the usages.
> No chance of deprecations. 16 lines is infinitely maintainable.
Ridiculous claim, sorry. Those 16 lines aren’t trivial, aren’t tested, aren’t formatted (would be more like 30-40 lines I would think)
Anyway, I’m impressed with the idea and concept behind it. Good work on implementing it!
comment 3y ago · link · parent
They call these types of programs [1] “configurators” and they’re pretty fun to play with, great for clients to see what they want, especially with workshop drawings as output!
It also reminds me a little bit of [2] Matthias Wandel‘s “wooden gear generator”, which I think has been somewhat profitable.
Maybe it would be good to highlight the parts of the model that are changing with the parameters. I know it shows the dimension that’s changing, but it would be even clearer to highlight the model itself I think
comment 3y ago · link · parent
Looks great, the UI is snappy and impressively fast.
One thing I would suggest is defaulting to the “Mean annual depth” background, as I’m viewing a rainfall specific website and would expect to see that.
You could also update the URL with the map state, like [1] Windy does on their site (and google maps)
[1] https://www.windy.com/-Rain-accumulation-rainAccu?rainAccu,n...
comment 3y ago · link · parent
Although if Adobe did charge “per use” for locally run tools like brushes and filters… I’d hope they’d at least they’d make the billing completely “usage based” with no minimum monthly cost.
But this is insane and evil, I’ll stick with Gimp and Inkscape
comment 3y ago · link · parent
There’s a really low barrier to entry for creating and sharing JS packages. Basically, you can just create a free account on npm and run “npm publish” to make a library available globally for free. Updates are just as easy, and using packages is even easier.
It’s this super low-friction of JS development that drives the ecosystem to constantly iterate. And it even allows solo developers - like ^ this one - to publish and share a new framework.
I haven’t tried to publish packages for Java, Go, Python etc… but I would be very surprised if it’s as easy and unrestricted as npm…
comment 3y ago · link · parent
comment 3y ago · link · parent
from onprem import LLM
url = 'https://huggingface.co/TheBloke/CodeUp-Llama.....'
llm = LLM(url, n_gpu_layers=43) # see below for GPU information
Anyway looks like a great little project, nice work!comment 3y ago · link · parent
I bet they implemented the login anticipating misuse… and like all other startups, there’s only a tiny chance the product would be misused, but a large chance that many people won’t use it due to the login wall.
comment 3y ago · link · parent
The first is the business problem, most important.
The second is the problem of maintaining and iterating on the solution to 1…
Without solving the first problem, the business dies and you don’t even need to care about the second problem… however the second problem can also kill the business if not solved eventually…
comment 3y ago · link · parent
You could say the same about any api not being immediately obvious.
> And using shorthands for singular properties feels like reinvented CSS
It’s quite a nice way to describe css in my experience. The shorthand classes actually teaches you css too. As they’re basically a 1-1 mapping, but you can write them much faster than manually writing the styles
It also scales well, as you don’t get crazy css class hierarchy’s that are hard to modify.
> you can’t even refactor mb-5 { margin-bottom: 6α }. If you can’t use it to refactor, what’s its point?
Not impossible, I mean you can easily edit the tailwind.config to be different for mb-5. Or search all relevant instances of mb-5 and replace them with mb-6 for example.
I think it’s best for component-driven development, where you want to encapsulate styles with components and not have them dependent on the context that their in. It does make the HTML more verbose, but development much easier and faster
comment 3y ago · link · parent
mb-5 = margin-bottom: 5x (something)
There’s a use for utility css, it’s becoming standardised in a way, and I predict it will continue to be used and understood in another 5 yearscomment 3y ago · link · parent
This is a double edged sword. Removing is generally dangerous and can cause things to break, while adding is generally safer… which might explain growing complexity in most software systems
I suppose engineers need to be brave and ruthless to remove code and fight growing complexity…
comment 3y ago · link · parent
There's several segmentation models listed there, do you plan to support "Segment Anything" at some point? I remember reading it was a pretty good model... but I'm not an expert
comment 3y ago · link · parent
In this case the community is volunteering time/resources to the project. In my experience it takes a lot of management to pull this off, with PR reviews, discussions, design road maps… etc
> ”But a very high number of FOSS libraries/packages DO NOT have a community. How do you believe such projects must be sustained?”
Without a community to volunteer effort, the creators need to donate.
Either they have a commercial product that funds the FOSS project. Or more commonly, a highly paid software engineer gives back to the community as philanthropy