Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
trebor
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
trebor
10y ago
I disagree. Namespaces help hugely, as do Traits, etc. It used to be difficult back in the pre 5.4 days, but we have come a long way since then. Older projects will suffer till they're brought up to spec, true.
92.
▲
by
trebor
10y ago
Right, and who's paying me to work with one of those alternatives? No one. My reference for what you quoted was a Rails project written by a Python dev who thought he needed to make Ruby more like Python. The resulting code was so horr
93.
▲
by
trebor
10y ago
I started freelancing in my area doing Ruby on Rails, and found it far harder to maintain a project. I also found it harder to acquire clients in my area for new RoR development. More work was available locally with PHP. Clients were more w
94.
▲
by
trebor
10y ago
I'm not sure. The `dscacheutil -flushcache` command he lists for Snow Leopard still works for me (OS X Yosemite here).
95.
▲
by
trebor
10y ago
Sure. If you have a ton of potentially layout-thrashing changes, just clone your page's highest wrapper node. Then make your changes and replace the node. I haven't needed it, or tested it for performance, but it's clearly do
96.
▲
by
trebor
10y ago
> [...] I remember being surprised that there was no way for me to group DOM manipulations into SQL-like transactions [...] There is a way to group DOM manipulations: a DocumentFragment[0]. If you have a wrapper, you can easily use
97.
▲
by
trebor
10y ago
The only thing I would add to patio11's advice is to go back to the employee and let her know what's about to happen. If you do it without any warning, then yes she might feel that it was a breach of trust. But, if you tell her be
98.
▲
by
trebor
11y ago
I think this rating category is overdue. It isn't as essential as crash test safety is, but there are many vehicles that cause blinding glare. Or, they just don't illuminate enough. I hope the vehicle manufacturers pay attention.
99.
▲
by
trebor
11y ago
My only request would be to make the highlighted parts of speech configurable. For me it's too active with 11 different colors/things demanding attention. But it would be awesome to be able to hover my mouse over a "palette&q
100.
▲
by
trebor
11y ago
I think you're right. But I also think it has a USB3 adapter on the drive itself (straight connection to the Pi USB) and an altered form factor to fit the Pi. The latter is hard to tell from the description/photos, though.
101.
▲
by
trebor
11y ago
I suggest retitling this in accordance with the article title: "Should we use a coding standard?"
102.
▲
by
trebor
11y ago
Here's irony for you: basic text messaging is almost free to the carriers, because it actually happens on the cellular protocol's control channel. [1] Your phone maintains that connection persistently (I think), so fitting SMS mes
103.
▲
by
trebor
11y ago
I think it's because they're aiming for anything they can innovate on. With custom silicon, you can optimize the hardware pathways digitally and by hand. I've heard that the gains can be worth the effort, but it's a bi
104.
▲
by
trebor
11y ago
I would suggest reading this article (and the others listed in this series) as a good comparison of various tradeoffs in object-oriented design. The conclusion of where OO/Functional is open/close is intriguing.
105.
▲
by
trebor
11y ago
I think your definition of productivity is off a bit. You need to account for "effective" productivity. My hours might be 40+ but how many of those are truly focused and productive? Hence, working less time with (theoretically) be
106.
▲
by
trebor
11y ago
Paywall detected. Alternative source?
107.
▲
by
trebor
11y ago
To any of the SpiderOak team: thank you. It's more than just the tracking cookie, though. It's also about Google aggregating all its website data into a unified profile. The data they have on everyone is frightening—all because of
108.
▲
by
trebor
11y ago
Not to mention, if they namespaced all math functions it'd break backward compatibility badly. Given that no core PHP functions are namespaced, I don't see why they should start now. Also, with the functions in the global namesp
109.
▲
by
trebor
11y ago
In a court case for hacking, Zappos tried to invoke their browse wrap ToS clause for arbitration, which the court struck down. It was unenforceable for these reasons: • Zappos placed a link to its Terms of Use between the middle and bottom
110.
▲
by
trebor
11y ago
Just a moment, is the argument stating that an implicit contract (that is, the Terms of Service) which I was not required to accept to browse the website, can make using an Ad Blocker illegal? What about: malware distributed through ad ne
111.
▲
by
trebor
11y ago
Combine your techniques with adblocker software, and anyone's pretty much set. I do have systems with mic/speakers, but I block ads. And I don't own a smart TV, just a cheapo dumb one w/o an internet connection.
112.
▲
by
trebor
11y ago
I'm hitting a paywall. Any other source?
113.
▲
by
trebor
11y ago
Well, one trick would be to have "starting location" assets as a tag so you could always hop directly to a save, then begin streaming the rest of the surrounding area. I foresee a lot of smaller games without this concern having g
114.
▲
by
trebor
11y ago
Their idea is to "tag" assets so that you can transition the assets in the game. So the tutorial assets may be part of the "initial download" tag that tvOS will automatically fetch, but once you're done with the tut
115.
▲
by
trebor
11y ago
Interesting. I've seen the few articles that discusses this happening to women, but this is the first I've seen applying to a man. Though, it does make sense that it could happen to either gender.
116.
▲
by
trebor
11y ago
This would have very negative effects though, as the brain dumps waste during sleep. If industry/military regularly would force people to be awake, who knows what would happen to their health? Mental illness rates for Alzheimer's,
117.
▲
by
trebor
11y ago
Very few details on that site, the original article (cited by electronics-lab.com) at eetimes.com has a lot more detail. http://www.eetimes.com/document.asp?doc_id=1327819
118.
▲
by
trebor
11y ago
> The basic Linode is $10 per month, and presents a VPS with vastly more capabilities than your basic Bluehost plan. Which works great if you have an in-house sysadmin to keep those servers in working order. Otherwise, going with managed
119.
▲
by
trebor
11y ago
While true, there are quite a few programmers who can. I'd go for a core library + PSR, so that the average developer can still use the core library. That way advanced developers can use something PSR compatible, and libraries that dep
120.
▲
by
trebor
11y ago
This is a decent review of recent/past happenings in PHP cryptography, and where things are going in the future. I agree that we need a PSR for cryptography primitives—it'd prevent quite a few problems.
More ›