Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
geophile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
64 ms
·
721.
▲
by
geophile
9y ago
How will a refurb 6s help with speed? I assume the infamous slowdown-on-new-OS is due to the new OS being optimized for new hardware, not an old phone "wearing out".
722.
▲
by
geophile
9y ago
My iphone 6 is probably on its last legs. The X phone is too expensive and not available anyway. The 8 isn't that much of an improvement on the 7, so if I don't want an X, I'll probably save money and go with a 7. Sluggish sa
723.
▲
by
geophile
9y ago
Bravo.
724.
▲
by
geophile
9y ago
Outsourcing is another example. I was at a really stupid company in 2000-2003, and they were sure they wanted to outsource. The reasons kept changing, but they were sure they wanted it because all the cool kids were doing it.
725.
▲
by
geophile
9y ago
... or XML or TDD or Java or Hadoop or AOP or Perl or Structured Programming or ... Software quality -- quality of anything -- is a function of how many intelligent, creative, experienced, capable people get involved. Such people are in e
726.
▲
by
geophile
9y ago
Uhh, dude. Don't reinvent Newton iteration badly. from math import log EPSILON = 0.0001 def f(x): return x * log(x) + x - 6000 def iterate(x): return x - f(x) / (log(x) + 2) def report(
727.
▲
by
geophile
9y ago
That only works if the code you are testing does everything in auto-commit mode. Which is often a terrible idea. If your code uses transactions, then no, the framework cannot rely on rollback to do setup and teardown.
728.
▲
by
geophile
9y ago
Not sure what you mean by mocking data. Do you mean creating test data? If I can crank out tests by just tweaking test data, that's actually a good thing. That means that my test spec is as compact as possible. Mocking the database sys
729.
▲
by
geophile
9y ago
I think the problem is that you have an incomplete understanding of what it means to be productive. Your programming course seems to be discussing an extreme and possibly excessive version of TDD. I have written a lot of code, and I like TD
730.
▲
by
geophile
9y ago
I wrote this about AirPort Time Capsule a few months ago. Seems apropos here: https://pastebin.com/hF3K779Z
731.
▲
by
geophile
9y ago
Maybe a warning not to invest in moronic products? Maybe a warning to VC companies that their partners should not be imbecile lemmings?
732.
▲
by
geophile
9y ago
Yes, exactly. OO is about encapsulation and associating behavior with state. FP is about working with immutable state. I have never understood why they are viewed as opposing. This discussion I participated in goes into that a little: See m
733.
▲
by
geophile
9y ago
This article says that the training set was small. And presumably the misclassified images were unlike images in the training set. If the training set includes images intended to mislead, then wouldn't the classifier then be more toler
734.
▲
by
geophile
9y ago
There is a difference between banning something, which is imposed; and shutting down, which involves no 3rd party. Boxing: Not banned, but a lot less popular in the USA than it used to be. Maybe this is due to better understanding of the ph
735.
▲
by
geophile
9y ago
Yes, the NFL should shut down. Yes, it is worse than the 3rd world child labor scenario. The kid in the 3rd world probably has no other choices, and along with his peers, may actually be improving things for his society. Nicholas Kristof (o
736.
▲
by
geophile
9y ago
This is incredibly cool and impressive. I liked the video enough to forgive the western reporter's humblebragging that he speaks Chinese. All his contributions to the conversation are totally unnecessary. E.g., talking about the bridge
737.
▲
by
geophile
9y ago
Check out osh: https://github.com/geophile/osh
738.
▲
by
geophile
9y ago
I have no complaints about speed. When are they going to improve the keyboards? You know, keys that travel, and Esc and Fn keys.
739.
▲
by
geophile
9y ago
I am fortunate enough to have retired at 56. I am 60 now. My working life was mostly in startups, which is intense and all-consuming, and honestly, I let my work substitute for many other things in my life. I have a wonderful family, and I
740.
▲
by
geophile
10y ago
I've been out of it for a while, but the wikipedia page on z-order is probably a good place to start. https://en.wikipedia.org/wiki/Z-order_curve . This discusses the basic idea of using a space-filling curve to ma
741.
▲
by
geophile
10y ago
Wow, spatial indexing day on HN. Why not use a space-filling curve, and any convenient 1-d search structure that parallelizes easily?
742.
▲
by
geophile
10y ago
Quadtrees are fine. Just don't approximate the polygon to the limit of resolution of the space. I wrote a paper many years ago on a related problem. The conclusion was that a very small number of quads would be optimal. Too many is obv
743.
▲
by
geophile
10y ago
This discussion is incomplete without mentioning space-filling curves. These curves map the data into a 1-d space and then you can use any conventional search structure -- sorted array with binary search, balanced tree, skiplist, b-tree,
744.
▲
by
geophile
10y ago
Juicero is perhaps the most comically ridiculous product since cuecat. https://en.wikipedia.org/wiki/CueCat
745.
▲
by
geophile
10y ago
The trainers at my gym are exceptionally watchful and careful. Due to the two problems I mentioned, I'm using extremely light weights. So while I may be slowly getting more flexible, I'm not getting any kind of a workout.
746.
▲
by
geophile
10y ago
I am a tall, skinny 60-year old, who recently started crossfit, which emphasizes squats, deadlifts, and other barbell exercises. (Previously I did HIIT for several years.) Crossfit just isn't working for me. At all. I can't squat
747.
▲
by
geophile
10y ago
The Founder is a movie that tells the story of the birth and growth of McDonald's ( https://www.rottentomatoes.com/m/the_founder/ ), and it covers much of the ground covered in this article. In addition to bein
748.
▲
by
geophile
10y ago
Of course, I will put a lock on my door. I was just trying to understand how many windows I had wide open.
749.
▲
by
geophile
10y ago
But "what [I] do on the internet" is available to anyone snooping the internet between the VPN and whatever website I'm going to. HTTP request headers carry a lot of information, e.g. https://bits.blogs.nytimes.com
750.
▲
What privacy does a VPN actually provide?
2 points
by
geophile
10y ago
|
5 comments
More ›