Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bcheung
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
181.
▲
by
bcheung
7y ago
Based on the findings I think it is premature to say this is ageism. There are multiple other factors going on here: 1) As senior developers become more skilled there is a diminishing return in terms of compensation. This happens regardles
182.
▲
by
bcheung
7y ago
There's nothing wrong with this kind of "indirection", I agree there are times when you might not want to do this but I would put it in terms of cognitive overload. By substituting a series of lower level concepts/tasks&
183.
▲
by
bcheung
7y ago
TLDR; of cons from various sources: - New SoC puts out more heat. Active cooling more important now. - Video playback at 4K requires H.265 - Micro-HDMI cables now needed. - Draws more power. Other than that, looks like a major performance
184.
▲
by
bcheung
7y ago
> The move largely gives states the authority to decide how far to scale back emissions, or not to do it all, and significantly reduces the federal government’s role in setting standards. > immediately drew a flurry of challenges, wit
185.
▲
by
bcheung
7y ago
So what were the ACTUAL proposals? The article seems kind of sensationalized without letting us come to our own conclusions by reading the actual proposals.
186.
▲
by
bcheung
7y ago
Sure. The more things the programmer needs to worry about and explicitly state, then there more pathways there are for error. Using assembly language vs a higher level language illustrates this. There are certain classes of errors that ar
187.
▲
by
bcheung
7y ago
I'm evaluating Purescript now. I have concerns about developer ramp up time but other than that I like it. Reason is more popular but it lacks the category theory centric rigor. The syntax also is not as nice as the Haskell style. I
188.
▲
by
bcheung
7y ago
I'm facing the same dilemma, do I go with what junior developers are going to be more familiar with or do I think of it from a 1st principles perspective and build in a way that makes the most sense from a pure engineering perspective.
189.
▲
by
bcheung
7y ago
Yes, Promises are similar to monads but they don't obey all the monadic laws; as a result they don't compose as well. This means that you're always "stuck in the weeds" of promises and can't write code that abs
190.
▲
by
bcheung
7y ago
I've had good success using the Ramda library. It provides a lot of functional style programming helper functions but still feels good in native JS.
191.
▲
by
bcheung
7y ago
JavaScript does not make it easy. I'm having the same issue as I move towards more functional code in a large React codebase. I'm wanting to adopt more of these patterns but the JS language makes it difficult. Specifically, Java
192.
▲
by
bcheung
7y ago
Requiring functions to be "total" functions is another way to look at it. I like languages with pattern matching that will generate a compiler error if you don't handle all possible paths.
193.
▲
by
bcheung
7y ago
That works well for simple programs, but if you write at scale, that style of programming is very error prone and tedious. It introduces a lot of noise into the program and makes it harder to follow the logic. If you don't lift yoursel
194.
▲
by
bcheung
7y ago
Are these just PDF's? Why do I need Steam and Windows?
195.
▲
by
bcheung
7y ago
What about traffic? Adding this many new homes without an increase in transportation infrastructure is going to make things much worse for people already living in the bay area.
196.
▲
by
bcheung
7y ago
I think this is spot on. The problem lies in the incompatible interfaces. I've been studying category theory recently and it is amazing how well things compose when interfaces follow monoidal / monad design patterns. They are so
197.
▲
by
bcheung
7y ago
We are doing this for simple data where we can but unfortunately having state in multiple locations (backend, memory, localStorage) means lots of cache complexity. How do you refresh and invalidate when the data are in so many places? We&
198.
▲
by
bcheung
7y ago
I've had similar thoughts after learning category theory. I'm trying to develop a conceptual model where each different category (JSX, data layer, data fetching, validation, 2-way binding) cleanly composes. With arcane nature of
199.
▲
by
bcheung
7y ago
I'd be curious to hear stories of how people are integrating multiple different frameworks and build processes together. The article doesn't mention any details in that regard. Anyone have experience with combining legacy Angular
200.
▲
by
bcheung
7y ago
With the revamped networking is there a way to exclude OPTIONS requests by default like the "disable cache" checkbox that gets remembered? It's really annoying having to type in "-method:OPTIONS" all the time.
201.
▲
by
bcheung
7y ago
The JS community is adopting more and more concepts but a lot of it has to do with the syntax. If the syntax is too verbose people just won't use it. FP is much easier when working with a language based off the lambda calculus (Haske
202.
▲
by
bcheung
7y ago
Elm requires the use of the Elm architecture. PS does not. PureScript can work server-side. Elm is pretty much browser only. PS has a richer type system. Elm's type system is extremely limited and makes it much harder to model domai
203.
▲
by
bcheung
7y ago
There's a concept known as linguistic relativity ( https://en.wikipedia.org/wiki/Linguistic_relativity ) that states that the language affects what thoughts you are capable of having. We don't program in assemb
204.
▲
by
bcheung
7y ago
I had this exact same question and couldn't find much out there. Based on what I have seen ReasonML is being pushed more within the React community and has more of a JS syntax so there is less of an abrupt change in terms of language.
205.
▲
by
bcheung
7y ago
Labor is only one of many sources of value. Some other sources are technology, machinery, relationships, capital, education, experience, reputation, and efficient organization of resources. A business, by necessity, brings much more to ta
206.
▲
by
bcheung
7y ago
You mean the right-click radial context menus? Yes, those are really nice. They require much less of a feedback loop and often don't require any visual processing at all. They are also more gesture based not buttons. The affordance
207.
▲
by
bcheung
7y ago
Looks very inefficient. Pressing a key on a keyboard works better than using spatial input from a pointer device for those cases. To click a button/icon there is a feedback loop that requires vision processing, correction, anticipatio
208.
▲
by
bcheung
7y ago
I generally agree. I like keyboard interfaces for non-spatial input over a mouse because fingers require less effort to move than arms and wrists. They can also move faster. These problems are made worse in 3D. I see 3D being useful in 2
209.
▲
by
bcheung
7y ago
Ah yes, real engineers anticipate the side channel attack that can happen when someone releases a butterfly at precisely the right location and precisely the right time so that it flaps its wings that affects the climate 10 years later that
210.
▲
by
bcheung
7y ago
It is incredibly obvious to people with the knowledge and skills. They can look at code and just by glancing at it can have a gut reaction that triggers red flags. Sometimes it can even be an emotional disgust. It's just not common
More ›