Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vikingcaffiene
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
vikingcaffiene
5y ago
The author doesn’t mention it in the article but the pattern suggested is inversion of control (IoC) which is one of my favorites. Highly suggest looking into it if you’ve not heard of it.
32.
▲
by
vikingcaffiene
5y ago
I have a bunch of tattoos. My right arm is sleeved for instance. Not saying that to try to get coolness points here (tbh I don't think tats are even considered "cool" anymore...) but to just make the point that I've got
33.
▲
by
vikingcaffiene
5y ago
Notion has no doubt taken note that a lot of people (myself included) use them as a quick and dirty wswyg web site builder. This new feature can be used for a lot of things, but it strikes me as particularly good for that use case. In fact,
34.
▲
by
vikingcaffiene
5y ago
I made the switch back to Apple Maps a while back. It’s great. I’m not sure what specific features you want to know about.
35.
▲
by
vikingcaffiene
5y ago
Man, for a dev with as much experience as you’re claiming to have, this comment ain’t a great look. I’d argue that the more experience you get the more you write code for other people which involves adding lots of tooling, tests, etc. Even
36.
▲
by
vikingcaffiene
5y ago
This reminds me of the lie detector scene from the wire[0]. I love that show and thought this scene was clever and funny. After reading this it has me wondering if cultural touchstones like this glorify what’s actually something pretty deva
37.
▲
by
vikingcaffiene
5y ago
> “As a rule, any mention of religion on an online forum degenerates into a religious argument. Why? Why does this happen with religion and not with Javascript” I got some bad news for 2009 PG from the future…
38.
▲
by
vikingcaffiene
5y ago
> ““Zero-API” data layer lets you import server code directly into your React components instead of having to manually add API endpoints and do client-side fetching and caching.“ Sigh… I’m sure the author(s) of this framework mean well a
39.
▲
“But it’s not about testing; It’s about React.”
(twitter.com)
4 points
by
vikingcaffiene
5y ago
|
0 comments
40.
▲
by
vikingcaffiene
5y ago
I feel like you are refuting a point I didn’t make. I was just talking about how we re-discover patterns. My feelings on Java have nothing to do with it.
41.
▲
by
vikingcaffiene
5y ago
This is a Finite State Machine meaning there are a limited set of states and state transitions allowed. useReducer doesn’t have any of the state/transition validation logic which makes it an infinite state machine. Both are very useful
42.
▲
by
vikingcaffiene
5y ago
It’s interesting to me how certain design patterns get rediscovered over the years. A few years back FSM’s were a dirty word for crusty Java devs. I myself avoided them for that reason. Then one day I had a perfect use case for one and took
43.
▲
by
vikingcaffiene
5y ago
> Each ticket is one commit. If you revert one commit, you are guaranteed to have a working piece of software and you won't have a potentially not even compiling intermediate commit that was subsequently fixed up during a PR, which
44.
▲
by
vikingcaffiene
5y ago
Agree. It’s YAGNI until you YNI. ;p
45.
▲
by
vikingcaffiene
5y ago
There is no greater sin than to say something positive about Java on the orange site... IMO Java and C# and other compiled languages have the opposite problem with languages like python and JavaScript (I love all these languages btw). It’s
46.
▲
by
vikingcaffiene
6y ago
I’d flag this if it came up in PR. It’s clever and novel which is precisely why it’s a bad idea. Always bet on boring.
47.
▲
by
vikingcaffiene
6y ago
This is a thinly veiled commercial for the authors start up. There’s so real advice here save to join his new social network.
48.
▲
by
vikingcaffiene
6y ago
That’s aggravating. I do full stack dev and work at startups so that particular scenario hasn’t come up but I could see how that disconnect could create some tech debt. That said, I think it’s a planning process problem. You really should h
49.
▲
by
vikingcaffiene
6y ago
Yeah I generally think the UI should only manage stuff like that cosmetically. Stuff like form validation etc. The real work should happen on the backend and not care about UI stuff. So it just throws if the user tries to get cute. IMO that
50.
▲
by
vikingcaffiene
6y ago
People trot this one out every now and again and what they mean is “front end used to be the easy part of the stack”. If you lived in the bad old days of jquery spaghetti and in-line php templates you’d realize what a bad take this is. Yes
51.
▲
by
vikingcaffiene
6y ago
I don't know why you are getting down voted. For what its worth I appreciate the analysis. I kind of feel like this post shouldn't exist without the author taking the time to explain his POV better than a few bullet points on a sl
52.
▲
by
vikingcaffiene
6y ago
Thanks for the thoughtful reply! > I'd go so far as to say there is a current of anti-intellectualism in terms of frontend application design I try to walk a line here between relying on my experience and being open to the idea that
53.
▲
by
vikingcaffiene
6y ago
I don't know why you are replying with this like some kind of gotcha... First of all Java and the JVM are two different things. One is a language and one is a runtime. Yes Kotlin requires the JVM. So does Scala and a lot of other langu
54.
▲
by
vikingcaffiene
6y ago
I've written front end for nearly all of my 13 years in this field. I've written some absolute dumpster fires in my time and have also written some very large and complex UI's successfully. I would like to think I have some i
55.
▲
by
vikingcaffiene
6y ago
It runs on the JVM. That's one of its selling points. :)
56.
▲
by
vikingcaffiene
6y ago
I've been writing Kotlin professionally for the past 2 years. I'd highly recommend it as a worthy successor to Java. It's very powerful and thoughtfully designed. Java just feels so old and clunky after using it. I've no
57.
▲
by
vikingcaffiene
6y ago
We just started using these at my job. I like how the approach takes the conversation out of a slack thread and generates some documentation to boot. The tooling ecosystem is also excellent (adr-tools is awesome) and you can easily integrat
58.
▲
by
vikingcaffiene
6y ago
Am I missing something or is there no IE11 support? A fairly common use case for a datagrid like this is as the heart of an enterprise app. Dead in the water with no IE11 support sadly. Looks great tho!
59.
▲
by
vikingcaffiene
6y ago
This is the correct take. If it's so easy to do then there should be a button or menu option that does it.
60.
▲
by
vikingcaffiene
6y ago
If she sends ODT to her publisher or editor, they will laugh at her and throw it in the trash. There are very specific rules about this stuff and no wiggle room for interpretation. It _has_ to be in docx format or it's not getting read
More ›