Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
swdunlop
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
swdunlop
14y ago
Wrecking things with a default build is still an option with binary blobs and sneaky variant hardware. Our dev team standardized on the x120e's a while back; the first one or two were great, but the second batch had a serious flaw in about
152.
▲
by
swdunlop
14y ago
I use Go very heavily for "duct tape" in production, combining processes like machine vision, VNC clients, and video transcoding into a uniform internal API. It has been conceptually a lot easier to work with than my native Python since it
153.
▲
by
swdunlop
14y ago
https is quite straightforwards in Go; the most direct means [1] essentially adds two parameters to http.ListenAndServe to supply paths to your cert and key file. The more flexible indirect ones involve either providing a TLS config [2] or
154.
▲
by
swdunlop
14y ago
No idea. Seems like HN rolls out a gender dispute on a slow news day like Congress rolls out flag burning when they need to avoid a decision.
155.
▲
by
swdunlop
14y ago
I find appalling the number of comments about how horrible this man must be to layout his expectations for employees. Obviously, he should just tell people to "do stuff" and pay them out of sheer gratitude that they might. In my very merce
156.
▲
by
swdunlop
14y ago
This actually points to a risk that Barnes and Nobles, Amazon and other content stores are susceptible to: users who assume that they edit their content like a traditional publisher would or should. This was a 99c purchase of a public domai
157.
▲
by
swdunlop
14y ago
Or just embrace the tao of the tuple: def f(L=()): ...
158.
▲
by
swdunlop
14y ago
Beat me to my equivalent answer: "java programmers."
159.
▲
by
swdunlop
14y ago
Python offers filtering expressions in its generator syntax. I find Python's "lambda" hurts readability for most uses, which pains me as a Lisp geek. Your example, as a generator: halve_evens_only = (i / 2) for i in nums if (i%2 ==
160.
▲
by
swdunlop
14y ago
"If, for instance, you are behind a cyclist and approaching a stop, passing the cyclist likely will gain you nothing. In fact, you may end up passing the cyclist twice: once before the intersection, a second time after. Which, let’s face it
161.
▲
by
swdunlop
15y ago
This is a common problem in industrial firmware; Allen Bradley PLC's and frequency drives had a well known backdoor for years prior to the Rockwell acquisition. (And for some time after, since AB can't retire an old product.)
162.
▲
by
swdunlop
15y ago
"Binary distribution for Linux x64 is available. (v0.0.2, 170MB)" 170MB to emulate and compile targeting a 128kb virtual machine. Funny how things have bloated.
163.
▲
by
swdunlop
15y ago
SWF as a DRM measure doesn't work terribly well -- it is easy to carve the data out of the SWF file. The JFIF headers (and equivalent for PNG and GIF) stick out like a sore thumb to forensic file carvers. Even encoding or encrypting the da
164.
▲
by
swdunlop
15y ago
Nono.. It means many different people are solely responsible. ;)
165.
▲
by
swdunlop
15y ago
I use ipython's "ipdb" or plain old Python "pdb" for the same functionality, and a bit more -- people don't seem to realize that ipdb gives them a full-on REPL within the calling context. I usually wrap it into our error logging functions,
166.
▲
by
swdunlop
15y ago
While the article itself is just a rant, what makes it interesting is that it is Jean-Louis Gassée's rant. JLG is memorable for me as one of the founders of BeOS -- and was with Be right up until Palm acquired their IP in a firesale. Perha
167.
▲
by
swdunlop
15y ago
Incoherent enough that I glanced around for signs of being fed through Google Translate or a woodchipper.
168.
▲
by
swdunlop
15y ago
Probably invade Afghanistan again?
169.
▲
by
swdunlop
15y ago
Because Siemens didn't build it? ;)
170.
▲
by
swdunlop
15y ago
The WP is a much more responsible and accurate article than Wired's sensational summary -- the salient points there are "Video is unencrypted", "Pentagon has tolerated this for years" and "Predator." Getting back to the actual focus of my c
171.
▲
by
swdunlop
15y ago
Which was strictly the video feed from the first generation predator drones. If you look into the linked USAF docs, you'll see the actual telemetry and control channels are encrypted. Wired is about as reliable about security reporting as
172.
▲
by
swdunlop
15y ago
"Even if that control signal is encrypted pattern recognition during many flights over four years would have given them enough information to break the code." That was an interesting speculative leap. And about where my suspension of deris
173.
▲
by
swdunlop
15y ago
I upvoted, because I thought about this very issue yesterday -- my primary project is a very large Python2 project that started after the declaration of 2.7.x as the end of the line. All of our dependencies were Python2, and many of them w
174.
▲
by
swdunlop
15y ago
Python 3 has one really significant problem for me -- many of my dependencies don't support Python 3 well or at all. That keeps me and my own modules locked in Python 2. Python used to be the language that bragged about coming with "batte
175.
▲
by
swdunlop
15y ago
I had a similar response, reading the article. Cue Inigo Montoya voice: "You keep using that word. I do not think it means what you think it means." http://www.youtube.com/watch?v=G2y8Sx4B2Sk
176.
▲
by
swdunlop
15y ago
"Once is an accident. Twice is coincidence. Three times is an enemy action." Paypal has had a number of these gaffes reach a high level of public interest in the last year. Whether the customer was "in the wrong" is not a material issue -
177.
▲
by
swdunlop
15y ago
That's a safe position to take for the readership of the Washington Post: "kids don't need all that education -- we're doing fine, despite forgetting basic operations and failing reading comprehension."
178.
▲
by
swdunlop
15y ago
There's no mystery, here. No great conspiracy -- the article has a screenshot of the smoking gun. http://www.loper-os.org/wp-content/hypercard-calc/hc12.jpg The scripting language had a verbosity and ambiguity that only a lawyer could lo
179.
▲
by
swdunlop
15y ago
There is zero risk to a regulator in maintaining a pointless yet harmless regulation. There is nonzero risk to a regulator in revoking a regulation that may be blamed in the future by a crash investigator. Even if the risk is absolutely 0.
180.
▲
by
swdunlop
15y ago
It appears that CM's intent with the F18A core is to create an extremely low power processor that scales the number of cores to the complexity of the problem being addressed -- look at the reference sheets about what the requirements are to
More ›