Better HN
topnewbestaskshowjobs
Log inSign up

hellofunk

9,428 karma · joined Jul 10, 2015 (11y ago) · 3,276 submissions

John Bellick, Mexico City
Submissions

comment 9y ago · link · parent

This is already mentioned and discussed right here on this very page.

comment 9y ago · link · parent

I did this myself for a couple years. I soon learned it is a flawed and insecure approach. I don't recommend it for a variety of reasons.

comment 9y ago · link · parent

This is highly irresponsible advice (if your comment may be construed as advice).

If it isn't advice, then it's just a bad idea.

comment 9y ago · link · parent

At least where I live, typically the food that is served via deliveroo is not at all the same quantity or quality as what you get for the same price in the restaurant, so that further is unfair to the consumer.

comment 9y ago · link · parent

I have no doubt Deliveroo gets a percentage cut on the cost of the food, too. That can really add up all by itself.

comment 9y ago · link · parent

Huh? Where have you been for the last month or two?

comment 9y ago · link · parent

> so i think there is no threat of 1960s style of unprotected sex wave

That's your takeaway from this interesting news? I don't understand how you jumped from this article to immediately drawing some opinions about sexual responsibility and behavior. The article has nothing to do with sex behavior, and HIV is hardly the sole deterrent for reckless sex.

1448.

Chef’s move to give up Michelin stars inspires us all to resist being ranked(twitter.com ↗)

2 points · by hellofunk · 9y ago · discuss

comment 9y ago · link · parent

Well they use code files for discussions, so it's a bit different.

comment 9y ago · link · parent

If one wants to see the merits or at least the experiences of a major language from a commercial entity going open source on GitHub, where all discussions, language features, issues, and code itself is in that one place, take a look at Apple's Swift.

Edit: Looks like Swift doesn't use GH for issues any more.

comment 9y ago · link · parent

Well, Apple has done a lot of it with Swift. Language evolution discussions and the code itself is on GH.

comment 9y ago · link · parent

GitHub has always had far superior code search features. BitBucket is gradually trying to add these, but they still pale compared to GitHub. I love just going through a repo by searching for things.

comment 9y ago · link · parent

Wow, you are really embracing stereotypes.

comment 9y ago · link · parent

> Isn't the mutable borrow ended after the end of the x += 1 line?

No, see Mike's comment here.

comment 9y ago · link · parent

Thanks Mike, very clear.

comment 9y ago · link · parent

Still new to Swift but I believe & is an explicit syntax necessary to make clear in the code that the function being called is mutating the argument, and thus the variable passed into that function could be mutated. It must be used wherever an argument is in/out. It makes mutation explicit both in the function declaration and also in the function call. Which is nice!

It's good for code readability but also prevents accidentally passing a variable to a function that could mutate it when you weren't expecting that, and vice-versa.

comment 9y ago · link · parent

There is definitely a culture of contrarianism on HN; there is a tendency for some users here to play devil's advocate or just argue against the logic of any article for the sake of feeling superior or clever. I'll probably get downvoted for this comment, but doesn't change the reality. And most of us are probably guilty of blending in with that culture here occasionally, while others seem to thrive on it.

comment 9y ago · link · parent

> Note how 'counter' is read by 'foo(x:)' during an inout access of the same value

It's not clear to me in your example why reading the value of counter after mutating it is bad; why is this now prohibited?

comment 9y ago · link · parent

> Swift guarantees memory safety

But memory leaks are quite easy to do with reference counting which is why Swift has some more complex syntax to prevent strong references. But it can take skill to understand when to use those techniques; the compiler doesn't always find these problems, thus there really isn't the guarantee you mentioned.

comment 9y ago · link · parent

Well that makes; I wouldn't think it makes sense to buy a Mac only to install/use some other OS.

I've worked in several environments where the development team was equally mixed between Linux machines and Macs, and they all shared the same tools, setups, scripts, etc without issue. Which I think is why developers like Macs so much.

comment 9y ago · link · parent

You mean, installing Linux on the Mac? Most developers I know who use Mac like it because they don't have to install a Unix-friendly OS to use Unix/Linux tools, yet still get a solid and working OS to use on top of the kernel.

comment 9y ago · link · parent

> I wouldn't touch Apple hardware.

Just curious, what is your reason? Is it standard "Apple hate" on an ideological level, or is there a specific technical obstacle?

comment 9y ago · link · parent

I started coding professional on Xcode. Then I tried a couple of other IDEs until my work in lisp required I give emacs a try. I eventually went back to other languages, mostly C++ and Python, but still use emacs. It really spoils you for text/code editing forever. Once you get passed the learning curve, every other effort to edit code or text in other programs seems ironically so archaic. What? I can't split the buffer quickly and get another one? What, I can't quickly bounce back to my previous editing window configuration, then bounce forward again? What, there is no visual undo tree? The list goes on and on. I now use the Vim emulation inside emacs which has been the killer feature in emacs to further boost productivity.

And, last year I passed several rounds of technical interviews with one of the top 5 companies in SV, so perhaps I support the statistics presented here (though I did not get to use my chosen editor for the interviews, so they did not know I am an emacs user).

comment 9y ago · link · parent

Here's an interesting post about the challenges of currying syntax in new languages:

https://github.com/apple/swift-evolution/blob/master/proposa...

comment 9y ago · link · parent

Which is actually healthier than the American perspective of having dinner be the main/largest meal.

comment 9y ago · link · parent

If Japan does this, it is in reaction to what the influence of Western fast food did in the previous decades, to make this necessary.

comment 9y ago · link · parent

This makes me sad for Brazil.

I have heard, though cannot confirm myself, that Japan had one of the healthiest societies in the world until fast food expanded there a couple decades ago, causing many problems common in the States, like obesity and diabetes and blood pressure issues, to significantly increase in frequency there.

1
484950
110