Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
inlined
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
241.
▲
by
inlined
7y ago
It’s good your feature flags have the necessary...features. The same word is often used for global bools; I wish there was a better word (eg “experiment” or “experiment flags”) or documentation to brag that you’re doing more than simple fla
242.
▲
by
inlined
7y ago
One question/unsolicited advice: the articles frequently mention “feature flags,” but these will cause simultaneous rollout in prod without any real testing or canary. It seems like an experiment framework (eg whitelisted customers or
243.
▲
by
inlined
7y ago
Or do you use micro service architectures where some of your services (eg ML training) runs on dedicated/specialized hardware and traditional event/request based business logic can be written more quickly and only moved to Dark in
244.
▲
by
inlined
7y ago
Thanks for the clarification. I’ve seen a shift to BaaSes that have a core of open source and self-hostable architecture that are wrapped in vendor-specific hosting that can improve performance, reliability, simplification/integration,
245.
▲
by
inlined
7y ago
RE pauses, that’s only due to the system-injected calls to autoReleaseReturnValue and retainReturnValue which work in tandem to do assembly call stack analysis and set an extra register to keep return values out of the release pool. This al
246.
▲
by
inlined
7y ago
I’ll do it for only 50 million dollars. Remove it with repeated regexes like s/^wec//g (remove all word prefixes for element counts). Of course, you’ll need another convention for all the collisions that Hungarian notation fi
247.
▲
by
inlined
7y ago
Yeah. I was amazed to find out it was designed so flexibly to inject C++ backed JS objects (eg write a request function which added requests to a queue after certain lengths based on multi-tenant fairness). Clients couldn’t circumvent becau
248.
▲
by
inlined
7y ago
I liked some Objective-C codebases that adhered to the muffin-man principle: - (BOOL) doYouKnowTheMuffinMan:(TheMuffinMan *)theMuffinMan; Also, lots of the Objective-C runtime code was clear enough to explain concepts like ARC hacks well en
249.
▲
by
inlined
7y ago
Yup. I saw a lot of codebases with things like: // EnqueueEvent ... func (q *Queue)EnqueueEvent(event Event)
250.
▲
by
inlined
7y ago
> Unfortunately, I've found that almost all developers are incapable of objectively judging the quality of code until they actually have to start working with it and then after a few months they can start to appreciate or despise th
251.
▲
by
inlined
7y ago
Also the whole point of COM was interface composition which led to the diamond problem (multiple inheritance) in any real C++ object that implemented two interfaces (which each had to inherit IUnknown if all implementations were to be COM c
252.
▲
by
inlined
7y ago
I’ll save you with an upvote. Hungarian notation also helps avoid collisions that lead to confusingly similar names: pArray (array pointer) ecArray (element count of array) bcArray (byte count of the full array)
253.
▲
by
inlined
7y ago
I worked on Windows for 3.5 years and hated most the code I touched: 1. I think I counted 5 string implementations in active use and code at the boundary had to convert between them all. 2. The SUCCEEDED macro is a mask against HRESULT but
254.
▲
by
inlined
7y ago
IMO good code needs to be readable at the call site much more than the function definition. That’s why I believe in the Google C/Go style rule that all mutable parameters must be passed by pointer. A call site with &arg communicate
255.
▲
by
inlined
7y ago
Per another article, the editor doesn’t even allow syntax errors. Seems like they have a tight pipeline built around AST manipulation, which is actually novel. I’m not sure I understand why that took a new language though. Disallowing some
256.
▲
by
inlined
7y ago
I’m admittedly biased (early Parse employee, but not there by shutdown). Which part was a “fiasco”? As far as turndowns go I thought it was pretty damned fair: one year notice, a live data migration pipeline to self-hosted mongo, and an ope
257.
▲
by
inlined
7y ago
If you ever need someone to talk to, the national suicide hotline is 800-273-8255. It’s free and open 24x7. As someone who struggle(s|d) with ideation, I realized that I too was on that path. If I kept idealizing suicide then I’d eventually
258.
▲
by
inlined
7y ago
My therapist also tries to explain the difference between a “depressing” thought and a “depressive” thought. The first is just sad: “my ex started dating my roommate and that makes me feel uncomfortable”. The latter snowballs into morbid or
259.
▲
by
inlined
7y ago
The default operators are very cool, but I assume that many codebases would ban them. Imagine, for example, an engineer decided to reorder members in a struct to make it pack better. Now the semantics of default <=> have changed! Also
260.
▲
by
inlined
7y ago
If you’re in CA you could try to start a referendum.
261.
▲
by
inlined
7y ago
While I’m not disputing your facts, I’m curious how that lines up with the fact that (IIRC) gift cards are considered loans. That was the crux of how RadioShack argued that filing bankruptcy allowed them to invalidate outstanding gift cards
262.
▲
by
inlined
7y ago
The argument that vertical integration harms consumers typically follows that vertical integration lowers competition and choice by either coercive means (e.g. block pricing by Hollywood studios) or by undercutting competitors only until th
263.
▲
by
inlined
7y ago
This argument against vertical integration sounds a lot like United States v Paramount Pictures, inc [0], which forced Hollywood to end the vertical integration of the “studio system” [1]. Honestly, I’ve wondered if Apple has deferred manuf
264.
▲
by
inlined
7y ago
Yes. the volume narrowed the potential customer list greatly. I wonder if I would have guessed correctly had I not been on the need to know list.
265.
▲
by
inlined
7y ago
> Apple’s suppliers are forbidden from referring to Apple by name or its project code names anywhere in buildings. In which buildings? Surely (at least vendor specific) codenames are necessary for basic communication. I was affected when
266.
▲
by
inlined
7y ago
> Why is Google still making denials and statements after settling the action? This is standard in any settlement, which is typically a release of liability. Part of the boilerplate in these contracts is that both parties are compromisin
267.
▲
by
inlined
7y ago
> there’s simply no way you can reach expert level with such a diversified codebases. What are you talking about? I’ve checked in production code in 4 languages in a day. Once you learn your first few languages you should be able to lear
268.
▲
by
inlined
7y ago
It could be that they’re fighting for tangible progress that would let them repropose something like ARM that now has a cheaper marginal cost.
269.
▲
by
inlined
7y ago
What is the benefit of this over ZIP with extensions? That the headers are encrypted rather than falsified?
270.
▲
by
inlined
7y ago
Also, current AP doesn’t support stopping at lights. The best it does is blare alarms if it thinks you are going to blow one. So unless the driver has some beta software, I can’t imagine AP being blamed.
More ›