Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crgwbr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
181.
▲
by
crgwbr
10y ago
We have a fairly large react codebase with some components using inheritance. It's not the solution to every problem certainly, but sometimes an abstract base component can be useful.
182.
▲
by
crgwbr
10y ago
Despite writing ES6 with arrow functions, I find that I prefer writing `const self = this` than relying arrow-function lexical scoping. Maybe it will change over time, but for now that way seems to make he intent far clearer and less likely
183.
▲
Ask HN: Why doesn't Uber pay drivers using free market bidding?
2 points
by
crgwbr
10y ago
|
2 comments
184.
▲
by
crgwbr
10y ago
We use RSA signed JWTs for quite a few services and it's been a joy so far. Makes key rotation without downtime super easy and (obviously) doesn't have any of the dangers associated with a shared secret. https://github.
185.
▲
by
crgwbr
10y ago
Technical: predominately Typescript, beginning to dabble in Rust, and reading a lot about the architecture of Postgres. Non-technical: Vietnamese language.
186.
▲
by
crgwbr
10y ago
ReST files and Sphinx
187.
▲
by
crgwbr
10y ago
I'm going into year 4 of learning Vietnamese (75MM natives speakers vs English's ~400MM). I wouldn't say it's helped me professionally, but I do think it's benefitted me personally. If nothing else, learning a langu
188.
▲
by
crgwbr
10y ago
DNS came back for a while and just started flaking again. $ nslookup github.com ;; Got SERVFAIL reply from 8.8.8.8, trying next server Server: 10.0.0.1 Address: 10.0.0.1#53 Non-authoritative answer: Name: github.co
189.
▲
Researchers accidentally turn carbon dioxide into ethanol
(engadget.com)
30 points
by
crgwbr
10y ago
|
14 comments
190.
▲
by
crgwbr
10y ago
For me, at least, the problem is a tomato or a handful of grapes realistically isn't what I'll grab when I'm running out the door. I'm much more likely to just skip breakfast entirely or grab a bagel at a bodega. So whil
191.
▲
by
crgwbr
10y ago
That's sovable in numerous other, simpler ways than exotic DBs. For example, a project I worked on for a few years had a read-your-write issue. Our solution was to keep track of the timestamp of the last write each user made in an encr
192.
▲
by
crgwbr
10y ago
This frustrates me every day. The CodeAcadamy approach is a good start—it gets people interested and involved very quickly—but it's not enough on its own. Basics of architecture and design absolutely need to be understood to be a good
193.
▲
by
crgwbr
10y ago
> The technical reasons for this are boring and I really don’t care why; I just want to trust that my filesystem will do the right thing. Statements like this make me trust a developer significantly less. It's our job to care abou
194.
▲
Ask HN: How would you design a voting system?
1 points
by
crgwbr
10y ago
|
1 comments
195.
▲
by
crgwbr
10y ago
Realistically, you don't have to go all the way to a Lagrange point to be a stable orbit—the moon itself is in a stable orbit and isn't sittin in a Lagrange point of the Earth/Sun. You just need to get high enough that atmosp
196.
▲
by
crgwbr
10y ago
I agree that women should not have to put up with casual misogyny. However that belief alone doesn't make the problem go away. In that vain, giving advice to your daughter that is pragmatic and acknowledges a problem isn't synonym
197.
▲
by
crgwbr
10y ago
The posting guidelines to not limit NH to discussions of technology. "Anything that good hackers would find interesting. That includes more than hacking and startups. If you had to reduce it to a sentence, the answer might be: anythin
198.
▲
by
crgwbr
10y ago
Well, life insurance, by definition, means you pay more than YOU get back :P. Agreed. I'd say it's a better bet invest the same amount in index funds than life insurance.
199.
▲
by
crgwbr
10y ago
The composition method is more akin to how humans do madlibs than how we write stories, which explains the result. If anything, this video illustrates how fantastic the human mind is at finding patterns and meaning where none actually exist
200.
▲
by
crgwbr
10y ago
There's nothing dirty or secret about this. The whole point of docker is to be lighter weight than VM, because you're sharing a kernel with the host. It's no surprise, then, that you can't run a container with an OS
201.
▲
by
crgwbr
10y ago
He means that left-pad was an example of an issue with package managers, not an issue with DRY. Running a production system reliant on external services like NPM is a bad idea and is bound to fail eventually. Running an internal mirror of
202.
▲
by
crgwbr
10y ago
Again, we must repeat ourselves by creating a server-generated template in addition to the Ajax script. The button will link to the template, although Ajax will override that if the JavaScript is fully loaded and supported. This is a requi
203.
▲
by
crgwbr
10y ago
Anyone know how this similar and different from Kafka? Or why Twittered decide to build their own instead of using and contributing to Kafka?
204.
▲
Last Week Tonight with John Oliver: Mental Health
(youtube.com)
1 points
by
crgwbr
11y ago
|
0 comments
205.
▲
by
crgwbr
11y ago
Location: Brooklyn, NY Remote: Sure, but office is fine too Willing to relocate: No Technologies: Python, PHP, Javascript, full-stack large scale web development Résumé/CV: https://www.dropbox.com/
206.
▲
Breakpoints and Quality.
(crgwbr.com)
1 points
by
crgwbr
14y ago
|
0 comments
207.
▲
by
crgwbr
14y ago
When using class-based views, this is already built in. You can do something this: from django.views.generic.base import View from django.http import HttpResponse class MyView(View): def get(self, request):
208.
▲
Show HN: Flakey.js - Javascript MVC with inherently versioned models
(flakeyjs.crgwbr.com)
3 points
by
crgwbr
15y ago
|
1 comments
209.
▲
by
crgwbr
15y ago
Type the URL into Google search. NY times will let you view it as long as google.com is your referer.
210.
▲
by
crgwbr
15y ago
That's clearly not the case. Sure, other event-based web frameworks exist, but Node definitely makes it easier than ever to write event-based apps. Additionally, being able to share code between the server and client is a very interesting a
More ›