Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tln
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
451.
▲
by
tln
7y ago
I've found that using the same class name for styling and attaching behaviors to be dangerous... refactor the styling and lose the functionality, or break the tests, or disable the analytics. I'm glad that backbone and jQuery apps
452.
▲
by
tln
7y ago
Actually the server side detection in [0] isn't really affected by putting tee in the middle... and neither does -x, of course. Good point about -x being fallible to an adversarial script, even a simple set +x would be enough! Where&#x
453.
▲
by
tln
7y ago
Those two files do have a low ratio of comments. However a large number of files in those code bases have quite a lot more comments... I personally don't think these two code bases have sparse comments, overall, although perhaps it
454.
▲
by
tln
7y ago
Comment the intentions and motivations for behavior.
455.
▲
by
tln
7y ago
Check out the CPython code base sometime, as an example of a top notch code base. Are the comments sparse?
456.
▲
by
tln
7y ago
FWIW docker doesn't publicize those instructions, they give: curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh And, it's the only one of the examples listed in the article that doesn't
457.
▲
by
tln
7y ago
True, you can detect it without a way to stop the damage! Or easier and more thorough, curl | bash -x
458.
▲
by
tln
7y ago
On the contrary, adding binary would have been terrible. JSON is great because it is simple! Have you tried BSON or Protobufs to solve your annoyances? How did it go?
459.
▲
by
tln
7y ago
This is worrisome, because they claiming a broad swath of the colorspace around magenta. It's hard enough to get the exact right color, without worrying that huge players will assert copyright. FWIW I found this website useful when dec
460.
▲
by
tln
7y ago
I think the compilation speed and goroutines/CSP enticed a lot of people, as well. Those are or were Go's unique selling points IMO
461.
▲
by
tln
7y ago
On chrome for Android, I am asked which account to use. On chrome desktop, I have separate profiles for work and home so nothing is intermingled.
462.
▲
by
tln
7y ago
The affinity for the author is in the last line, "Go has become the new Ruby. A language I use to get things done, and enjoy programming again." Good for him
463.
▲
by
tln
7y ago
Avoiding module side effects and making classes and modules immutable seem like two separate concerns
464.
▲
by
tln
7y ago
> We will have a window of at least three months between major (breaking) releases That seems... short
465.
▲
by
tln
7y ago
On the contrary, with so many tools have built in integrations now, my theory is that data is more easily integrated than ever before.
466.
▲
by
tln
7y ago
The editor does look cool. Maybe it should be called rxl rhymes with pixel.
467.
▲
by
tln
7y ago
The airline charge won't tell them where you are going... My banks have an online tool to inform them of travel plans.
468.
▲
by
tln
7y ago
That tweet will get attention! Finding the right person is everything...
469.
▲
by
tln
7y ago
For low light situations, the latest phones can make a big difference over a budget phone like Moto G6. Faster photo taking, better stabilization, do make a difference when taking anything moving. FWIW I used Moto's for a couple of yea
470.
▲
by
tln
7y ago
Maybe because challenging China's sovereignty is risky? Just a guess. It's a good question. With the rapid growth of global tourism, there are a lot more citizens visiting different countries. I wonder if the state dept (or equiva
471.
▲
by
tln
7y ago
At $DAYJOB, I find it easier to write the backend code, then write automated tests, then hook it up to the front end. Only at that point could I even try to manually QA the functionality, so adding tests while adding the API is just more na
472.
▲
by
tln
7y ago
This article gives some nice background. https://lwn.net/Articles/742675/ It would be interesting for the shell to open a varlink connection to commands to allow progress updates. I could also see shells command c
473.
▲
by
tln
7y ago
Yeah you have to build a three story pile of barbell weights. A sizeable fraction of that would be doable just to see what happens though. (45 lb / (225mm)^2 * pi * g) in psi = 1.8 psi 5 MPa / 1.8 psi = 403 plates * 1.25" in
474.
▲
by
tln
7y ago
"I saw him run over forty several times, and it was not unusual for him to put a string together of twenty or thirty" I wonder if thats 40 caroms in cowboy? or 5 racks of 8 ball? The caption mentions (and shows) cowboy pool: you p
475.
▲
by
tln
7y ago
I'm guessing the feature list has grown over time. Each time more features are added, 58 clients need to be checked.
476.
▲
by
tln
7y ago
My wife is constantly hunting for one of her Airpods. Just having accurate location tracking system for them would be amazing.
477.
▲
by
tln
7y ago
Hmm, that happens to me when I visit Home Depot. Employed people will lead me to the item. Interestingly I also use Home Depot's online store just to look up the aisle/section/shelf. Stores can have a locator system that doe
478.
▲
by
tln
7y ago
Or YouTube, with 1000s of hours of video uploaded per minute. FWIW an Instagram pic, 1080x1080 is around 100kb. Uber has to do a lot more processing on it's data. I'm sure there are real challenges and the OSS projects from Uber I
479.
▲
by
tln
7y ago
> None of their application is data heavy Really?? They have O(thousands) of drivers in O(hundreds) of cities with the app open, sending and receiving data approximately all day. What companies in your mind are data heavy?
480.
▲
by
tln
7y ago
Cue was discussed previously here https://news.ycombinator.com/item?id=20362951 Looks like there is a nice new web site. It seems a bit too feature laden to take off IMO.
More ›