Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dgb23
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
721.
▲
by
dgb23
3y ago
This is actually a good point. I can’t avoid billboards. But I can trivially avoid FB/Google/YT etc. I can also use things like uBlock. The internet is open and inherently client focused. That’s a huge feature. We’re ultimately in
722.
▲
by
dgb23
3y ago
Upgrading JS dependencies is a nightmare. That includes build/dev dependencies. Part of my job is to maintain more than 50 web projects. That includes streamlining, refactoring, upgrading, optimization etc. Some of them are a decade ol
723.
▲
by
dgb23
3y ago
That’s the indie version. The big corporation version is: “We own the rights to w/e you made, going to make bank with it and perhaps mention your gamertag in some blog post.”
724.
▲
by
dgb23
3y ago
I think not being able to reach true sustainability might be a core concept here. Don’t forget, we’re playing the Bad Guy here, who tirelessly exploits a foreign ecosystem and kills its inhabitants en masse. We quickly lose sight of the ini
725.
▲
by
dgb23
3y ago
No Man’s Sky is a redemption story.
726.
▲
by
dgb23
3y ago
Read code of something you use or are generally interested in! The runtime/std lib of the PL of your choice. Your text editor or a plugin that you use etc.
727.
▲
by
dgb23
3y ago
Efficient immutable data structures are more important for FP than most of the features you listed. What is Java providing there?
728.
▲
by
dgb23
3y ago
> There was an unbelievable discussion on whether they should allow Palantir to continue to work with them because they Do Bad Things (TM). Well, since it's community driven, this makes perfect sense. Freedom of association and all.
729.
▲
by
dgb23
3y ago
I like the typo “cashing”! It’s like we’re “cashing” in on REST being inherently cache friendly.
730.
▲
by
dgb23
3y ago
If I understood you correctly, then we’re exactly on the same page. That is, web components being a standalone thing that you render “as is” on the server. Their point is to extend interaction on the client and not to be a templating langua
731.
▲
by
dgb23
3y ago
My preference in web dev is to lean into standards. Web components give us a way to structure and re-use dynamic (client side) rendering and event handling. However two things are bad about them: 1. They break the otherwise consistent dynam
732.
▲
by
dgb23
3y ago
That's fair. If you're on job search, prepare for the interview at hand! I'm not saying people shouldn't learn about paradigms, frameworks and tools. Or that they should overly focus on understanding their internals. But
733.
▲
by
dgb23
3y ago
I saw an argument online about whether web development beginners should focus on learning a framework (like say React) or focus more (and longer) on browser and web technologies (HTTP, HTML, CSS, JS etc.) Anyone who's been around for l
734.
▲
by
dgb23
3y ago
The rationale: > With many structured logging packages to choose from, large programs will often end up including more than one through their dependencies. The main program might have to configure each of these logging packages so that t
735.
▲
by
dgb23
3y ago
There’s more general concept of perception here that is worth thinking about. Users can get awfully confused by generic, misleading or overly technical error messages. So they call/write you and confuse you even more. “There is somethi
736.
▲
by
dgb23
3y ago
Different languages deal with the constraint you describe in interesting ways. PHP has the “use” keyword, which captures variables explicitly. You can’t capture anything in the outer frame otherwise. I wonder now if this has any performance
737.
▲
by
dgb23
3y ago
> Once you reach the Microsoft of the 1990's era level size (or Oracle, or SAP) you can ignore some of the truisms from the leaner days and do different things that would have killed a younger version of your company. I think there
738.
▲
by
dgb23
3y ago
There are very different notions of OS and what its responsibilities and capabilities should be. In the world of Lisp and Smalltalk, you have a holistic view of what computation means. In Unix, complexity is pushed outward. Web browsers, la
739.
▲
by
dgb23
3y ago
Composable systems have a very clear property: uniform interfaces. CLI flags are typically arbitrary. What if they weren’t? How would they look like?
740.
▲
by
dgb23
3y ago
One thing I wonder is this: There are companies that are very successful and have split their service architecture into domain entities, called microservices. Are they successful because or despite this decision? Is both true in some sense?
741.
▲
by
dgb23
3y ago
None of those things require you to introduce network calls.
742.
▲
by
dgb23
3y ago
In Go, you can attach methods to functions (and any type really, even "unboxed" primitives). One of the canonical examples would be a net/http: A handler can both be a struct (or any other type really) that implements a serve
743.
▲
by
dgb23
3y ago
Perfect! What you’re describing are great examples of data oriented or relational problems. In these cases you really don’t think (or can’t) in terms of objects and interfaces, but in terms of relational (or equivalent) data that you see, c
744.
▲
by
dgb23
3y ago
I really like this this perspective but I think it’s more multi dimensional. Often data only needs to be read so new data can be produced. There’s no need for encapsulation here. If you want to ensure that you’re dealing with data that has
745.
▲
by
dgb23
3y ago
Thank you for sharing this one! Also there are interesting talks published on YT where he discusses data/functional programming, OOP etc. Multiparadigm (including plain old procedural) seems to be the most pragmatic approach to me, bec
746.
▲
by
dgb23
3y ago
Generally people have a work ethic and want to do good work that gets recognized as such. So it's somewhere _between_ "just to get paid" and "align with company goals". It absolutely sucks if you want to do good wor
747.
▲
by
dgb23
3y ago
This annoyed me a bit but it's not a big deal. You make two skeleton templates: One for full documents, one that has nothing in it except the parts that change (say, the meta > title, the body > main and the body > header >
748.
▲
by
dgb23
3y ago
So really it’s a prototype. Nothing wrong with that.
749.
▲
by
dgb23
3y ago
> Cross-site request forgery. Example: Accepting requests with an Origin header from a different domain English is not my first language and I’m not a security expert, but this description seems a bit misleading. The “Origin header” part
750.
▲
by
dgb23
3y ago
Security is of adversarial nature. Us vs them. But the reason I find your comment interesting is that it turns that towards the inside. Trivially the ones to blame are the attackers. But the responsibility for protecting against them is tre
More ›