Better HN
topnewbestaskshowjobs
Log inSign up

AsyncAwait

7,526 karma · joined Apr 12, 2015 (11y ago) · 2,298 submissions

Submissions

comment 10y ago · link · parent

Between sending out the blog post draft and Apple speaking to the press? Can you link me to that please, just curious.

comment 10y ago · link · parent

I get that you don't want developers to learn the bad habit of believing that Rust means they no longer need to pay any attention to security themselves, but that doesn't negate the fact that Rust does indeed increase some aspects of your program's security as compared to C.

The security provided by Rust shouldn't be overestimated, but I think it's unfair to underestimate the benefits of the memory safety as well.

comment 10y ago · link · parent

Rust's if let is indeed inspired by that of Swift and behaves practically the same way.

comment 10y ago · link · parent

I don't get what you're saying here.

- Without Rust you program to protect users assets without guaranteed memory safety.

- With Rust you program to protect users assets, with the addition of guaranteed memory safety.

Sounds like a win win to me.

comment 10y ago · link · parent

They're putting components from Servo inside Firefox. Servo is not yet at the point where it can full sale replace Gecko, but it's getting there.

comment 10y ago · link · parent

It's because it uses Electron (HTML/CSS/JS) that the OP mentioned it, I'd imagine.

comment 10y ago · link · parent

> have been waiting for MS to acquire Resharper or Jet brains :P;

Please don't. They make way too many awesome tools outside of Microsoft's area of interest, like CLion, Kotlin, RubyMine etc.

comment 10y ago · link · parent

Aren't you limited then to C datatypes?

comment 10y ago · link · parent

> You can reject patches and give feedback without being an asshole about it.

He does give feedback, if you take a look at LKML he's only "rude" to the repeating offenders, not those who make a one-time honest mistake, but rather to those who got too comfy to actually review the code they're sending to Linus as "reviewed".

I am not saying Linus is always right, but if you actually follow his reasoning, it makes a great amount of sense.

comment 10y ago · link · parent

This may be an unpopular opinion, but I WANT Linus to be "rude" to SENIOR devs who should know better, because it's better to be rude than to ship code that results in critical infrastructure getting pwned, or worse, somebody to die.

I actually fear the day, when somebody more polite gets in and lets it known, (unintentionally, of course), that shitty, rookie code is now fine, that being lazy and not treating the trust that has been placed upon you by being a subsystem maintainer for the most important software project of the 21st century - if you don't consider that an important enough responsibility and are willing to embarrass Linus, who put his trust in you, then yeah, I don't mind him being rude.

I would mind if he was rude to first time contributors fixing a typo, that's not who he's rude at.

He can't fire these people as such, many of them work for sponsors who pay his salary and he has no direct control over them, so being rude is one of his last resorts - especially since it's hard to express just how hardly displeased over email WITHOUT being "rude".

comment 10y ago · link · parent

Nope, it's an offline API docs browser.

comment 10y ago · link · parent

> That is not an excuse. I can understand why Apple went forward,

Mind explaining it to us, I don't understand Apple's reasoning here after they said to him to send them the blog post.

comment 10y ago · link · parent

If you work with more than one language, going to all the sites constantly may be a problem.

Also, dash let you search for i.e. the class and then within the class public interface with just a spacebar.

Plus, it is a native app that you can launch quickly without having to search for the particular browser tab where you current docs is open.

comment 10y ago · link · parent

> Who are we as programmers to decide what works best for our users?

The problem is, say you're an iOS developer, you get no choice; you HAVE to run a Mac and be at Apple's mercy.

Other programs usually have decent alternatives or you can customise them to suit you,

comment 10y ago · link · parent

Something like the DELL XPS line or the Clevo P650RE may serve you well, the Clevo can fit up to 64G DDR4 RAM, GTX 1070 and a 4K screen.

The only thing it doesn't have is the battery life of the MBP, but if you want raw power, you may be plugged in most of the time anyway.

comment 10y ago · link · parent

I run a home Arch server and wanted to install Sandstorm on it a couple of weeks ago to use GitLab, Etherpad etc. but ended up on a VPS because it wasn't supported.

Now it is!

Thanks a lot for the work, sandstorm.io team!

comment 10y ago · link · parent

> compared to C it is safer. I never saw a segmentation fault

Well, yeah, it has a GC so it kind of gets that "automatically", I was thinking more about the type system side of things. And compared to C almost anything is indeed safer.

> I prefer go to python or javascipt. It's far too easy to make errors in them.

That's fair, but these are both dynamic languages, so almost anything with any level of static typing beats them in this regard, I was interested if Go does anything beyond that.

Not to say these are not fair points, but nothing a whole host of other languages haven't provided before Go.

comment 10y ago · link · parent

> strikes the right balance for me between productivity and safety.

Would be curious to hear what "safety" you're referring to, is it just that it has a basic static type system, (which is constantly being undermined by interface{} and reflection), or is there more to it?

Genuinely curious.

comment 10y ago · link · parent

> it's usually for some tree-like structure, but the cases where I need a high-performance tree structure and can't take the performance hit of `interface{}` are few and far between.

The problem with interface{} is that it makes it pretty much worthless to have a type system at all.

comment 10y ago · link · parent

> Arch that is known to be broken on each update

Arch has been rock solid for me for 5 years. You just seem to repeat stereotypes.

> Because it is just words without any customer review or experience.

The words have been written from experience.../head against wall/

> still no Products.

WTF is with this "products" - every Linux distro is a "product", even the kernel is a "product" if you will. I told you if you want professional support pay Canonical or RedHat, but you shouldn't need it if you have basic comprehension skills.

> Curious if you really use this Arch and selected hw by its wiki, or you just googled for me, writing from ubuntu on 10-year old thinkpad.

I indeed run it on VERY modern HW and am typing this from [this baby][1] and even run my home server on Arch, because it's been super stable for me, (on [2] if you're interested...)

[1] - https://www.obsidian-pc.com/en/portatil-clevo-p751dm2-g [2] - http://www.intel.co.uk/content/www/uk/en/nuc/nuc-kit-nuc6i7k...

> Locals can't really tell what to buy, because virtually everyone except those having ancient thinkpads have at least one issue.

Buy any Clevo or a Dell Dev Edition or even a modern HP laptop and you'll be fine.

> others just bought macbook and have no problems trolling linuxoids from osx.

As someone who has to use a MBP for iOS dev, I'll be very careful with the trolling, since there was no release of macOS since 10.6 without major issues, including Sierra. Not even talking 10.7, which was worse than Vista.

> I can spend some money on recent notebook (but don't get that 'serious' and 'pro' arguments, because we talk about regular user and regular hw)

You do what you will - we're talking about a pro here, because this is a post in context of people being disappointed with the newest MBP not being Pro enough for the "Pros".

> what an idiot will I feel myself when it will lose wifi too often or fail to sleep on close.

You have NO IDEA of the irony of this - my 2015 MBP randomly looses WiFi every second day or so, google, "macbook pro loses wifi", it as I am far from alone.

> arguing for linux on desktop is hard

It is in some ways, but I don't care what OS you run and have no desire to "convert you ", I just want to disprove the perceptions that were true a decade ago and have long since been resolved.

Just to give an example of how frustrating this is, i.e. "I tried PulseAudio in 2005 and it sucked, PulseAudio suckzzz!", yeah, it's 2016 and it no longer sucks, in fact it's pretty awesome.

comment 10y ago · link · parent

> Must confess that 10 years ago I lost around 5 years in deep linux setup & programming, and I know all that you say.

I am afraid you'll find the Linux of today is much different than a decade ago.

In regards to known working laptops, you mean something like this[1], this[2], this[3] or this[4] ?

Also you can just buy from [5] or [6] and have Linux preinstalled with all the correct drivers.

[1] - https://wiki.archlinux.org/index.php/Category:Laptops [2] - https://wiki.archlinux.org/index.php/Dell_XPS_13_(2016)#XPS_... [3] - https://wiki.archlinux.org/index.php/HP_Spectre_x360_ap012dx [4] - https://wiki.archlinux.org/index.php/MacBook [5] - https://system76.com/laptops [6] - https://www.entroware.com/store/laptops

And honestly you can just ask the community on Reddit/IRC/Distroo forums etc. about their experience with the model you want to buy, is that really a problem if you're a "Pro" user spending serious money on the machine?

It honestly just looks like you're too lazy to look. Or maybe you just made up your mind and refuse to budge even when provided evidence to the contrary - I honestly do not understand why you engage in a discussion then, you've already made up your mind.

comment 10y ago · link · parent

> Why doesn't Linux track actual hardware proved to be compatible.

Sure it does [1]. The "bit of research" involves finding out if your desired machine has one of the many chips known to work flawlessly, which shouldn't be a problem, unless you don't mind what you spend your money on and just buy impulsively.

There are also chipset manufactures which are known to be more friendly than others, for example almost any modern Intel Wireless chip will work just fine.

Even for generally unfriendly OEMs, you can find amazingly clear documentation [2].

> Oh, wait, Linux does not

Again, you just asserted stuff without any evidence, see above.

> because it isn't a Product

Not sure by what definition of "product" you're going by, (if any), but you can absolutely get commercial support from a number of companies i.e. Canonical, RedHat, SuSE and even Oracle if you so desire.

[1] - https://help.ubuntu.com/community/WifiDocs/WirelessCardsSupp... [2] - https://wiki.archlinux.org/index.php/broadcom_wireless

comment 10y ago · link · parent

> Unfortunately, it turns out this usage pattern is terrible for the battery.

If you let it sufficiently (not fully!) discharge at least once a month, I don't see why it would be particularly terrible for the battery, what am I missing?

comment 10y ago · link · parent

> It encourages people to chase the corporate ladder, not find meaningful jobs.

From my (arguably limited) experience, if you want a truly meaningful job, nothing beats your own business as in a corporation you'll always be subject to office politics, wishes and desires of your superiors, corporate deciding to change course etc., that's at least what I am planning to do in order for my work to be truly "meaningful".

The trouble is, you'll usually have to take a pay cut for the first couple of years and it's a greater risk than most people are willing to take.

comment 10y ago · link · parent

Not sure about Ubuntu, but https://antergos.com works very well on my 15" MBP out of the box.

comment 10y ago · link · parent

> Nothing works right, on any of them. Copy/paste, batteries, wireless networking, drag and drop, high-res displays, multilingual input, even like fucking word processing and email and image editors and terminal programs...

Can you be more specific? i.e. - copy paste with a highlight+middle mouse button is frankly awesome in GNOME.

- Batteries - yeah, Windows laptops usually don't have amazing battery life and it can even be slightly worse under Linux, however if you're working in a mode where you laptop is 99% plugged in and you just need occasionally a couple of hours from it, it's quite doable, which I'd imagine is the use-case for most "workstation" usage scenarios.

- wireless networking - works great if you're willing to do a bit of research before buying, instead of just dropping Linux on any garbage PC and expecting it to work flawlessly, (why won't you try that with macOS and report back?)

- drag and drop - that seems... highly unlikely, unless you're dragging/dropping from/to some weird, wrapped wine port that doesn't communicate with your desktop

- high-res displays - not as good as macOS, but works quite well in GNOME 3 and improving all the time, (far better than Windows)

- multilingual input, even like fucking word processing and email and image editors and terminal programs - things like multilingual input work well, word processing works well, but certainly there's no MS Office, (which isn't that great on a Mac either), there's no Photoshop, but I find it strange that Krita, GIMP etc. won't suffice you for many tasks, mail works well and terminal programs work amazingly well as well. In addition gaming on Linux is now miles better than on macOS, in addition to the far superior customisability and superior package management, not to mention not being under the will of a single company that does whatever it feels like that day, which matters to some.

comment 10y ago · link · parent

Upon second reading, you're correct, I don't know; the comment sounded off to me, but it shouldn't have and I apologise. (with an upvote at least :-)

comment 10y ago · link · parent

But is the desktop Mac app market still profitable? i.e. are you able to sustain yourself with this app?

comment 10y ago · link · parent

> The problem is perhaps the lack of regulations in the web-app domain.

There are and perhaps should be more regulations about safeguarding personal information, which for websites would mean salting passwords etc., but I am glad there are no regulations regarding who can and cannot program as that would seriously hurt innovation.

Maybe Linus wouldn't be able to program Linux? or Zuckerberg Facebook?

comment 10y ago · link · parent

> Then I'm very thankful for the NHTSA we have in America. I don't want a bunch of half-ass, poorly-engineered self-driving cars on our roads. I use those roads, and so do my family members.

That sounds like you think that other countries would allow "a bunch of half-ass, poorly-engineered self-driving cars on our roads"?

As an EU citizen, I can assure you that this is widely off the mark.

1
717273
77