Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SebastianKra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
SebastianKra
1y ago
You can... ...have a client component inside the post. For example, for each post, have a server component, that contains a <ClientDeleteButton postId={...} />. ...have a wrapper client component that takes a server components as
92.
▲
by
SebastianKra
1y ago
The contract-first design and return to REST seem like solid improvements over trpc. Lately, I’ve been thinking about what would be the simplest way to typecheck a rest api. I wonder if… - …it would make sense to define endpoints in isolati
93.
▲
by
SebastianKra
2y ago
Ads don't pay for anything. You pay for ads. The cash flow is: you -> merchant -> manufacturer -> advertising department -> google -> influencer So if ads go away, theres two scenarios: A: the influencer was worth your m
94.
▲
by
SebastianKra
2y ago
I'd expect the law to broadly define an ad as any message, where the author has a conflict of interest. This would also include down propaganda on social media. We could then work backwards to define exceptions such as politicians spea
95.
▲
by
SebastianKra
2y ago
> Likewise, advertising on its own at its core is useful: there might be something that adds value to your life that someone else is trying to provide and the only missing link is that you don't know about it. Journalists exist. The
96.
▲
by
SebastianKra
2y ago
I dislike the disingenuous discussion around it. Last time this was posted, the author called out headlessui for being too complex, and presented a half-broken, non-accessible Select component as alternative. Digging around the code, I foun
97.
▲
by
SebastianKra
2y ago
Last time I checked, Notes.app couldn't even export notes in formats other than PDF.
98.
▲
by
SebastianKra
2y ago
> Well, then you're not a very good programmer. Sorry but that's how it is. > I don’t know very much about Unity. However, it’s clear that one could not build The Witness in Unity ~ Johnathan Blow As someone in the third tri
99.
▲
by
SebastianKra
2y ago
This article is written to waste your time. TLDR: pure coding jobs are becoming rarer. Software Developers are expected to also analyze requirements, talk to stakeholders, etc...
100.
▲
by
SebastianKra
2y ago
This is probably written by someone who works with C# much more than with Typescript. There's nothing here about narrowing, (proper) type inference, union and intersection types etc... When I tried C#, coming from Typescript, I was fr
101.
▲
by
SebastianKra
2y ago
> trade-offs on discoverability, portability, maintainability, and ease of recall Good insight. Thx. I feel fairly confident in Obsidian as a portable system, since its basic concept (markdown docs with tags and links between) can be fou
102.
▲
by
SebastianKra
2y ago
I've got this app for about a year now. Previously tried Intermission and Time Out. Apps like these must be carefully designed, since they always border on annoying/stressful. LookAway is easily the most finetuned app in this spac
103.
▲
by
SebastianKra
2y ago
JS/TS has y = { ...x, change: 'b' } And Swift avoids the mutability-problem all together, by providing structs with copy-on-write and self-mutating methods: https://docs.swift.org/swift-book/docu
104.
▲
by
SebastianKra
2y ago
I'd have no issue leaving translation enabled, if the translator was an optional feature that the user must opt-in to, and that's clearly communicated as something not controlled by the developer. But I've received reports fr
105.
▲
by
SebastianKra
2y ago
The built-in ClearType Text Tuner [^1]. Fixed most of my issues with OLED rendering on Windows. However, some applications do their own subpixel-AA. Even on MacOS, where they supposedly removed all subpixel-AA, I still see the occasional sh
106.
▲
by
SebastianKra
2y ago
In my masters, I took a few courses from design degrees.The assignment of the semester was to create a generative display in Cinder. I cobbled something together based on what I thought looked good. A project partner took the task of retroa
107.
▲
by
SebastianKra
2y ago
Right click the app icon > options > Assign To > This Desktop Also noteworthy: assign to all desktops. I use this to keep my browser and messaging apps in all spaces.
108.
▲
by
SebastianKra
2y ago
We should start recommending UIs as the default way to learn Git. It would solve a third of these problems and another third wouldn't even come up. If you later decide that the CLI is faster, go ahead. But first, people need to see v
109.
▲
by
SebastianKra
2y ago
I switched from JetBrains to Cursor after multiple years, and it's nowhere near as bad as the comments here make it out to be. For most of the rough edges, I've found workarounds at this point. I miss some of the refactorings, but
110.
▲
by
SebastianKra
2y ago
This is why I find this discussion so paradoxical. People, who are tired by the rapid change in Frontend-Dev, are surprisibgly eager to jump away from the most stable and backwards-compatible framework in this space, for which all the probl
111.
▲
by
SebastianKra
2y ago
I think what the definition fails to capture is the addiction-like behavior that this specific kind of content can induce. You feel yourself getting more tired and frustrated by the minute, yet you don't stop.
112.
▲
Discontinuation of the SpaceCode Private Preview
(blog.jetbrains.com)
1 points
by
SebastianKra
2y ago
|
0 comments
113.
▲
by
SebastianKra
2y ago
I don't think visual UI builders were ever the way forward. These work well for static UIs, but once you try to express dynamic constraints, they fall apart. Figma shows this: I find it useful to absolutely position elements (and maybe
114.
▲
by
SebastianKra
2y ago
I think you're misunderstanding the billion dollar mistake. It was not statically tracking null-references. In JS, everything is dynamic so it doesn't apply, and TS does check them. > My goal was to ensure that all use of refer
115.
▲
by
SebastianKra
2y ago
As an outsider to the Ruby-World but someone who has been burnt enough times by instances unexpectedly mutating themselves, I wonder: is it still a best practice in Ruby to mutate instances when computing values? Does Ruby somehow avoid the
116.
▲
by
SebastianKra
2y ago
Yep. I have the same frustration with GitHub and GitLab which add 3km of horizontal padding on phone screens for no reason.
117.
▲
by
SebastianKra
2y ago
If you'd like to see this implemented in a practical way, check out Weather Strip. It's a master class in information density while also being intuitive and readable. https://www.weatherstrip.app/
118.
▲
by
SebastianKra
2y ago
TBF, reactivity in UI is still basically an unsolved problem with frameworks going in circles between data-binding, dependency-tracking, memoization & compilation. SwiftUI initially promoted their ReactiveX alternative.
119.
▲
by
SebastianKra
2y ago
It's not the company, it's the values being enforced. Everyone was fine with Apple getting an antitrust case and also that fight with the EU. Generally, I believe that companies should never act against the laws of a country. If C
120.
▲
by
SebastianKra
2y ago
It is ~opt-out~. EDIT: I meant opt-in.
More ›