Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
annnnd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
211.
▲
by
annnnd
11y ago
> ... but Fahrenheit are a bitch though. Ha, ha, couldn't agree more... :) Anyway, I looked it up just now, looks like you substract 32 from Fahrenheit and then divide by 1.8 to get Celcius: http://www.wikihow.com/Co
212.
▲
by
annnnd
11y ago
Not sure what you mean with the last sentence? Anyway, Fragments are a nightmare. I learned them, I used them, and if I have to use them today I would still need to open that tutorial I have saved somewhere. That is one ugly solution if the
213.
▲
by
annnnd
11y ago
Also, I kind of like the short versions. They are not any more difficult to remember ("Hmm, was it CopyFile of FileCopy?") and you need to search for them the first time around anyway. And it does save the effort when typing.
214.
▲
by
annnnd
11y ago
IF it works. Which it almost never does (in my experience: 3 fails out of 3 trials), unless you are using the same SOAP library on both ends.
215.
▲
by
annnnd
11y ago
> I was a big XML hater, back in the days of SOAP, but the more I see how services are defined today, the better the old rust bucket looks You really should try to use SOAP again, you will soon change your mind. I used it a few weeks ago
216.
▲
by
annnnd
11y ago
> I never knew that Rosewill was their house brand. Apparently, neither did troll. ;)
217.
▲
by
annnnd
11y ago
Good idea. But I have to ask... "just"? Really? :)
218.
▲
by
annnnd
11y ago
Thanks for the link! Looks like author added it too, it is indeed MIT: https://github.com/HunterLarco/voxel.css/blob/master/license...
219.
▲
by
annnnd
11y ago
Anyone had any luck finding the license?
220.
▲
by
annnnd
11y ago
> The bottleneck for success often is not knowledge of the tools, but lack of understanding of the customer needs. THIS! +1000! I would even leave out "often", or at least replace it with "usually".
221.
▲
by
annnnd
11y ago
...that, or "PR bots" at work. I guess I'll see by the downvotes this comment receives. ;)
222.
▲
by
annnnd
11y ago
Maybe i wasn't clear enough, I think the bug is this line: except Exception: Why would you want to catch all exceptions? ideally you should catch just those that are applicable to your case and ignore others: except Attr
223.
▲
by
annnnd
11y ago
Exactly. It shouldn't even be legal to use such EULA.
224.
▲
by
annnnd
11y ago
Maybe not in the described form, but it is still very useful if you can do ad-hoc fast calculations. It helps when talking about budgets and similar - when someone throws some numbers at you it helps immensely if you can check if they are i
225.
▲
by
annnnd
11y ago
Isn't this simply a bug? Why would hasattr() catch all exceptions instead of just AttributeError? IMHO a better title would be: "Python2 hasattr() has a bug".
226.
▲
by
annnnd
11y ago
> Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems. Great quote. However, I think regexes got a bad reputation just because of the way people use them. I
227.
▲
by
annnnd
11y ago
Great! Got one for FF too? :)
228.
▲
Bringing Jobs to Stack Overflow
(blog.stackoverflow.com)
1 points
by
annnnd
11y ago
|
0 comments
229.
▲
by
annnnd
11y ago
I agree with you about moralizing - it can be (and often is) harmful. But in this case the advice is sound. Taking care of your stuff, not discarding it just because it is a bit worn around the edges, and trying to repair it instead of just
230.
▲
by
annnnd
11y ago
In short: G<wait... wait... wait... ok done>C.
231.
▲
by
annnnd
11y ago
I said: ... is mostly going to become commodity ... Speculation of course.
232.
▲
by
annnnd
11y ago
I think this is a great deal - for Alcatel Lucent. Hardware networking equipment is mostly going to become commodity (with SDN). Some networking equipment will stay expensive, but that will be a smaller market. I don't see what Nokia s
233.
▲
by
annnnd
11y ago
Agreed. :)
234.
▲
by
annnnd
11y ago
> One of them being a request to "Send a payload with a Get request" . I spent nearly 2 months of my life convincing them this was not possible I assume you know it really is possible, right? (in URL parameters - with certain l
235.
▲
by
annnnd
11y ago
Excellent comparison! Except - no, it's like buying a smartphone and expecting it can still be used as a phone. I want both an application platform and a document reader. Too many pages obscure content by showing ads, showing annoying
236.
▲
by
annnnd
11y ago
Thanks for the clarification on downvotes, I guess you are right. As far as BT mice and keyboards goes, well, I wouldn't want to give them to my grandmother. What happens when battery goes out? Yes, she could always put it in charger,
237.
▲
by
annnnd
11y ago
Walk away and heal your wounds. You know the saying "experience is what you get when you don't get what you want"? You didn't throw away 1 year on this project, you learned valuable lessons. Just make sure you do learn t
238.
▲
by
annnnd
11y ago
A few ideas how to make it better: - include a small screen so I can still do stuff even if I don't have TV at hand - use touch screen so I can use it without mouse / keyboard too - use Android instead of Chrome OS so I ca
239.
▲
by
annnnd
11y ago
Lines 140-149... I have mixed feelings about that. On one hand, the software developer in me keeps screaming "DRY! DRY! DRY!". On the other hand I find it really concise and understandable. I mean, can you look at this code and NO
240.
▲
by
annnnd
11y ago
They don't need to trust it - the fact it is there is a good enough indicator that the machine was compromised. :P
More ›