Better HN
topnewbestaskshowjobs
Log inSign up

kschiffer

132 karma · joined Jun 3, 2016 (10y ago) · 30 submissions

Submissions

comment 2w ago · link · parent

I built a Claude Code mod that displays a dashboard linking issues/PRs to claude sessions and allowing me to organize my work more around activities, such as reviewing, working on issues, fixing PRs, developing specs and ad hoc sessions. As someone coming from a vim in tmux, keyboard only workflow, this works most naturally for me without needing to break out of the terminal.

Also it's nice that it is a self referential setup that can be easily developed and enhanced right while working on things in Claude Code.

I'm sure many of you are building similar personalized setups.

comment 2mo ago · link · parent

I did Moonbase Commander, in JS and HTML canvas. Currently building an AI opponent that doesn't suck as much as in the original.

It's amazing that this is possible. I took quite a bit of steering and was definitely not a one prompt endeavor but having a lot of fun with it.

comment 6mo ago · link · parent

Typical HN condescending bitterness at it again. Thank you for this very constructive feedback.

comment 7mo ago · link · parent

Finally all spinner verbs revealed: https://github.com/instructkr/claude-code/blob/main/src/cons...

comment 3y ago · link · parent

Protip from my side if you're crashing Airbnbs full-time: bring a knife sharpener. I've yet to see the Airbnb that actually had a usable set of knives. Typically all dishes are whatever cheapest you can get at IKEA.

6.

Developer Stress Management(thevaluable.dev ↗)

2 points · by kschiffer · 3y ago · discuss

comment 3y ago · link · parent

I would write and share more, but the HN tribunal is just too bitter and merciless to expose your weak and vulnerable self to – as the comments on this post perfectly illustrate.

comment 3y ago · link · parent

I've come up with this simple bash function for a while already: https://gist.github.com/kschiffer/912d95ca552112820d34f59ec6...

Just add it to your shell config (e.g. `.zshrc`) and use it like so: `$ killport 8080`

comment 3y ago · link · parent

Or a German speaker–or any other language speaker I guess...

comment 3y ago · link · parent

I don't even get why people wouldn't use normal GPT API (OpenAI completions) instead. Isn't it exactly the same except that ChatGPT is primed to be more conversational (which in many cases as the one in the OP is just noise anyway)?

11.

From 1 to 1M (2014)(waitbutwhy.com ↗)

1 points · by kschiffer · 3y ago · discuss

comment 3y ago · link · parent

Anyone remembers the vanilla tailwind implementation? It's called the `style` attribute.

comment 3y ago · link · parent

CUBE CSS to the rescue, I guess: https://cube.fyi/

Basically an approach that leverages the advantages of utilities and blocks and embracing the `Cascading` in CSS instead of working around it, like BEM et al. likes to do.

comment 4y ago · link · parent

I'm three months into colemak now, together with learning touch typing (and switching to vim as main editor).

I've managed to get up to around 50 wpm coming from 75 wpm with normal qwerty without touch typing (just 6 finger freestyle). I've still some time to go to get over my initial typing speed. A really cool thing about colemak for me is replacing caps lock with backspace, which in itself is getting rid of so much finger/hand-travel, but that can obviously also easily be hacked into qwerty as well.

To this point, I don't know if I would recommend switching to anyone for the following reasons:

- You will slowly use muscle memory of normal qwerty, which can become quite awkward whenever you forced to use another computer. It's not like you cannot type it anymore, but you will be quite slow and inaccurate when typing. However, these situation barely exists for me in everyday life.

- Learning the new layout is quite a feat that takes time and daily dedication. I decided early on to use the new layout in my job (frontend dev) which definitely speed up adoption for me but also slowed me down considerably for some days. Even then it will take quite some time to get back to your initial speed.

- Depending on your profession, typing speed may not at all be a bottle neck. This is true for me as a software developer, where you spend the most time thinking about how to solve problem before typing them in small chunks.

- Wrt touch-typing, I weirdly found out for myself that it can actually cause some wrist and hand strain rather than protect from it. To me it feels that by using a lot more muscles to type it also increases chance of wear-and-tear. This is especially true for the pinkies for me, which I never used much for typing before.

Good thing about colemak wrt keyboard shortcuts is that it only changes letters (no symbols, punctuation, etc.) and then as few letters as possible to still achieve the best finger travel. In practice that means that many shortcuts stay the same, e.g. the common ones as CTRL-Z/X/C/A/Q/W etc.

I sort of did the switch as a self-experiment after being intrigued by all the science behind optimized layouts, and also to challenge myself to learn a new skill for the new year. I wanted to learn touch typing after decades of freestyle typing which I increasingly noticed was very error-prone. I figured that learning a new keyboard layout at the same time is a very good opportunity.

Not sure if I will stick to colemak permanently but so far it's still fun to try to gradually improve on it.

15.

Show HN: React-to-webcomponent converts React components to custom elements(github.com ↗)

1 points · by kschiffer · 5y ago · discuss

comment 5y ago · link · parent

Guys, chill out! We're DOS'ing HN already!

comment 6y ago · link · parent

Being able to calmly and piecefully experience the many cultural heritage sites, temples and gardens of Kyoto without any foreign tourists was one of those once-in-a-lifetime experiences for me (among others).

comment 6y ago · link · parent

Terrible news. This framework needs a future!

comment 6y ago · link · parent

I guess if the original design was flawed enough to begin with, then obviously people catch up on proper redesigns a lot easier since any good UX work will naturally make them feel more understood by the product.

Win3.11 to Win95 springs to mind here.

In contrast, going from "good UX" to "better UX" is a whole different endeavor since you'll have to fight against the friction of people having to give up routines and flows that they have been sticking to for a long time. A thing which no amount of thoughtfulness and consideration of a redesign will be able to make up for – that is, initially.

comment 6y ago · link · parent

Interesting to finally see some criticism about hooks.

The biggest problem I have with Hooks is readability. IMO, functional components with hooks are harder to reason about since they obfuscate logic in a weird react-specific contract. Class components have a much simpler, contract and syntax. They also felt much more natural since they picked up on familiar concepts of JavaScript, albeit with a couple of drawbacks. I get the advantages of hooks, but in a way, at least to me it seems like they, at substantial cost, solve a problem which I barely ever encountered, even after building react apps for many years.

comment 7y ago · link · parent

Fellow (German) Kevin here. I like how this topic is frequently being brought up again in loose intervals as if it is important to remind everyone every once in a while.

I can confirm that there is indeed a stigma associated with the name. As a white young male though, being grumpy about such thing would be quite disproportionate. In that sense, it sort of makes me get an idea of what it could be like to be ridiculed for something one has no control or responsibility about.

comment 7y ago · link · parent

Nice article, though I think you should work on your blog's typography. Using a bold typeface for body copy is not pleasant to read.

comment 8y ago · link · parent

I don't know. Can't we just use common sense instead?

comment 10y ago · link · parent

Probably balsamiq.

comment 10y ago · link · parent

Been using this for a while due to student-related poorness. Gotta say it does what I want and has helped numerous times also in bigger projects. The low fidelity helps you focusing on gui structure.

comment 10y ago · link · parent

I believe in the end it all boils down to the fact that JavaScript is a language that wasn't made for the needs of modern day (web) applications, but since it is still a standard, we need to force it into a form where we can have best control over its shortcomings. That's why things like Typescript, Flow and React exist in the first place. I know this article is about mobile app development, but I think JavaScript would not have the sort of widespread use today if it wasn't for the fact that we use it for website scripting.

So I guess that developers familiarity with the language is what makes it so popular (as in often-used) and is also why we suddenly start using it for arbitrary scripting and mobile app development. The obligatory use of JavaScript in web development led to a whole range of developers growing accustomed to it and now, in spite of its limitations, trying to transfer their ideas to other fields of development.

React Native is just a neat way for JavaScript (React) developers to be able to script UIs for mobile OS's without changing their toolset. And I think for that it's perfectly fine. Obviously if you've never been big into JavaScript I can totally see how cannot make much sense of it all and yeah a lot of the things pointed out are perfectly legitimate. Yet I still think the question whether it makes the language unusable for one scenario or the other is very very opinionated.

comment 10y ago · link · parent

That is actually a neat idea. Trying it out now :)

comment 10y ago · link · parent

My general distaste for popular culture, I guess… Seriously though: there are of course exceptions, but my experience is that videos with 2+ million views aren't for me, as well as all the videos and channels featured by youtube itself, which usually fall into this category. When I see those, I won't watch them, so might as well just filter them out. Especially true for music. Just a personal preference, really.

comment 10y ago · link · parent

Very nice, love it! BTW is there any plugin that hides videos with over a certain amount of views? (I know I'm so edgy, right)