Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DanWaterworth
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
DanWaterworth
8y ago
Is there a way to apply without going through the angel.co website?
2.
▲
by
DanWaterworth
8y ago
You obviously have reasons to be angry, but vitriolic comments don't produce constructive discourse.
3.
▲
by
DanWaterworth
8y ago
> I only mean it's visibly more obvious, you have an indented block... Haskell is more similar than you realise, it's the difference between this: withSomeResource $ \resource -> do someFunctionOn resource and
4.
▲
by
DanWaterworth
8y ago
I can see why you might think that, being built into the language, using 'with' in Python in a broken way would be easier to spot. However, having used both languages extensively, I can tell you that, at least for me, there's
5.
▲
by
DanWaterworth
8y ago
If you are consuming an API that provides an object with a destructor, you are correct, you can determine when destructors will be called. The issue is when you produce an API that contains objects with destructors. Since you are handing th
6.
▲
by
DanWaterworth
8y ago
Python's "with" construct is analogous to the bracket pattern in Haskell that the article is talking about. It also works in the nested case in the presence of exceptions. Furthermore, the issue that Michael has with the brac
7.
▲
by
DanWaterworth
8y ago
> The thing is that, in Haskell, even when you attach a function to run during destruction, the runtime doesn't guarantee that the function will be called promptly, or even at all. However, this is different than the bracket pattern
8.
▲
by
DanWaterworth
8y ago
Sad to see you being downvoted when you are correct, see [1] > forget is not marked as unsafe, because Rust's safety guarantees do not include a guarantee that destructors will always run. This was a problem in Rust when scoped thre
9.
▲
by
DanWaterworth
8y ago
SQLite
10.
▲
by
DanWaterworth
8y ago
You're right to complain that conquistadog's comment was irrelevant to your main point. It's frustrating when people miss what you are saying and get so hooked on trivialities. Incidentally, your nitpicking about my use of th
11.
▲
by
DanWaterworth
8y ago
Off topic, and IANAL, but I believe this website breaks European law by refusing to serve the article to european residents who block cookies. Under the ePrivacy legislation (and GDPR's redefinition of consent), you must obtain "f
12.
▲
by
DanWaterworth
8y ago
You may prefer this link: https://arxiv.org/abs/1606.03490
13.
▲
by
DanWaterworth
8y ago
I agree with you for the most part here. For the things that I typically use computers for, I would prefer to have both hardware and software protected sandboxes. There's a reason that browsers are switching to using multiple processes
14.
▲
by
DanWaterworth
8y ago
The rule of thumb for restaurants is the poorer the website, the better the food. Restaurants with Flash-only pages that haven't been updated for 15 years are the best. Also, the cleaner the bathrooms, the cleaner the kitchen.
15.
▲
by
DanWaterworth
8y ago
There's a good reason that the pictures look similar. Both architectures produce somewhat blurry images. The problem, in BEGAN's case, is that when your idea of similarity is based of mean squared error, high frequency details are
16.
▲
by
DanWaterworth
9y ago
I have experience using each of these languages professionally, working in a team. Each of them have their own foibles that you'll be constantly railing against: Python: Large Python projects require discipline. To make it work, you&
17.
▲
by
DanWaterworth
9y ago
Disinterested means impartial, you are uninterested.
18.
▲
The Risk Economy
(danielwaterworth.com)
1 points
by
DanWaterworth
9y ago
|
0 comments
19.
▲
by
DanWaterworth
9y ago
Also in the medium term, artificially increasing the price of fuel incentivizes research and development of alternatives.
20.
▲
by
DanWaterworth
9y ago
If you don't mind me asking, why do you want to do this?
21.
▲
by
DanWaterworth
9y ago
I think a better way to handle this would be to use subresource integrity [1]. Then, if the browser's cached version matches the hash, it can be sure that it doesn't need to do any requests. [1] https://developer.mozill
22.
▲
by
DanWaterworth
9y ago
Comments like this are why I still read hacker news.
23.
▲
by
DanWaterworth
9y ago
You're not alone: https://www.johndcook.com/blog/2013/02/04/four-hours-of-conc...
24.
▲
by
DanWaterworth
9y ago
What happens is: treatments are evaluated and declared either cost effective or not. They don't refuse people treatment because they've used more than their 'fair share' of some allowance.
25.
▲
by
DanWaterworth
9y ago
> One story I heard is that for example in the UK they won't pay for dialysis after a certain age. So public health insurance is not an automatic solution to every problem. A quick Google search reveals this claim is spurious, so ma
26.
▲
by
DanWaterworth
9y ago
You always have to make assumptions in any formal system able to express arithmetic as proved by Gödel.
27.
▲
by
DanWaterworth
9y ago
> This has been another episode of the Hacker News Joke Explainer™ Tune in again next time and remember, if you we have to explain you, you just aren't funny.
28.
▲
by
DanWaterworth
9y ago
On the lower end of the spectrum, sound type systems prevent a class of vulnerabilities including buffer overflows. On the upper end, https://sel4.systems/ , a formally verified microkernel, is used in security-critical syst
29.
▲
by
DanWaterworth
9y ago
> A method to reliably produce vulnerability-free software is not invented yet. I beg to differ. We have formal methods, ranging from type systems to full blown verification. This isn't a technical problem, it's an economic one
30.
▲
by
DanWaterworth
9y ago
You could potentially go via C. https://github.com/draperlaboratory/llvm-cbe
More ›