News for hackers. Stuff that matters.

filsmick

Re:Previously Downloaded OS X Installers No Longer Work on Thursday March 03, 2016 @03:58PM (#11219989)
I was bitten by this this week. Tried to reuse my installer to install OS X El Capitan on a MBP without redownloading it over my super-fast 2Mbps internet connection.

First, I try to install it by just copying the installer app - "can't be verified".

Then I make a bootable USB stick using DiskMaker X - "can't be verified". I run an integrity check on the installer - all good.

I then try running `/path/to/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/USB-STICK --applicationpath /path/to/Install\ OS\ X\ El\ Capitan.app --nointeraction` - "can't be verified".

Finally I give up and the system is installed via the App Store. The download fails once, it finally completes, and I am left clueless as to why I couldn't reuse the old installer.

An "expired certificate" error message would have saved me many hours. It's unfortunate for the user that Apple puts so little emphasis on letting them be their own tech support.

Re:PayPal CTO Resigns on Tuesday February 09, 2016 @06:22AM (#11064591)
Couldn't you automate it anyway?

Mechanize and PhantomJS can be really helpful to script things that aren't covered by a public API.

Re:Rust 1.5 on Thursday December 10, 2015 @01:59PM (#10712558)
This doesn't look like 1.4 but _1.0.0-beta.4_, so much older.
How do you make money?
Re:KeyBase on Saturday October 10, 2015 @05:22AM (#10364978)
You have invites? I'd love one, KeyBase seems awesome but I couldn't find an invite. If you don't mind, could you send me one by email at [email protected]? Thanks :)
Re:OS X El Capitan on the Mac App Store on Wednesday September 30, 2015 @03:28PM (#10306450)
What do you use instead? You navigate exclusively from your terminal?
Hacker News does.
IIRC, Nginx can use sendfile too, it's just not there by default because the transfer happens entirely in kernel space and hence you cannot apply filters like gzip on the response (correct me if I'm wrong).
Re:Writing a website in Rust on Saturday May 30, 2015 @03:08PM (#9631383)
I'd love something similar to be part of Cargo, maybe as an option in the manifest. Like the author, I've learned to guess when the codegen starts, but having this information displayed would be useful.
Re:Writing a website in Rust on Saturday May 30, 2015 @03:03PM (#9631364)
I'm glad to know there is ongoing work on a tracing GC. Rust has many strengths aside from lifetimes and ownership (algebraic data types, sane generics, strong module support, very strong type system), so a few features to make it more usable for use in contexts where performance isn't as important as expressivity would be very nice to have.
Re:Writing a website in Rust on Saturday May 30, 2015 @01:27PM (#9630883)
Rc and Arc aren't exactly GC types... they are just reference-counted pointers, Rc being akin to C++'s shared_ptr. I get that in a sense, this is garbage collection, but certainly not full-featured like the ones you find in other languages.
Re:Writing a website in Rust on Saturday May 30, 2015 @01:24PM (#9630879)
While I agree with some of your arguments, namely that "popularity and merit are not the same thing", I think saying that Mozilla is "trapped in a pseudo-C++ mindset" and that its new browser would ideally be written in Nim is plain wrong.

The fact that using Rust to write a simple website isn't very handy doesn't mean it's a bad language. Web development simply isn't its primary focus: this is a systems programming language we're talking about. The mere fact that it is being considered for writing web apps is impressive since Rust is supposed to be a better C++, not a better Ruby, Python or Node.js. Rust mainly emphasizes performance and safety. This means all the 'magic' that happens in a dynamic language is exposed to the programmer, and has a cost: the code is more verbose, and seemingly simple things are more complicated.

Re:Visual Rust 0.1 is out on Thursday May 14, 2015 @04:56PM (#9547533)
I use Racer with Sublime Text 3, it works pretty well!
Re:Amazon Dash Button on Wednesday April 01, 2015 @08:53AM (#9303149)
I think announcing a product on April 1st is a genius strategy. They can see if customers want it or think it's a joke; if nobody likes the product, they say it's for April Fools, if, on the other hand, people like it, they launch it for real.
Re:Ask HN: How do you work efficiently on remote servers? on Sunday March 29, 2015 @09:08AM (#9284679)
I meant SFTP - I never use FTP
Re:Ask HN: How do you work efficiently on remote servers? on Saturday March 28, 2015 @06:17AM (#9280970)
Oh, yes, that: http://yieldthought.com/post/12239282034/swapped-my-macbook-...

I've read it a while ago. Of course if you only use command-line editors, it's nice. But some people prefer Sublime or other graphical editors.

Re:Ask HN: How do you work efficiently on remote servers? on Friday March 27, 2015 @10:58AM (#9276645)
Since a few people mentioned Vagrant: can I use it to set up a production environment locally, with all the system dependencies, configuration files, and then pushing it to production? If so, is this the recommended approach?
Re:Ask HN: How do you work efficiently on remote servers? on Friday March 27, 2015 @10:51AM (#9276601)
So, if I get it, Vagrant is used to reproduce the production environment locally. Right? Sorry for all the questions!
Re:Ask HN: How do you work efficiently on remote servers? on Friday March 27, 2015 @10:35AM (#9276502)
I tried it, but I can't get used to navigating the filesystem with the command palette. It just looks weird IMO.
Re:Ask HN: How do you work efficiently on remote servers? on Friday March 27, 2015 @10:30AM (#9276460)
Thank you so much for showing me ExpandDrive. sshfs was slow and buggy, but this looks really nice.
Re:Ask HN: How do you work efficiently on remote servers? on Friday March 27, 2015 @09:52AM (#9276229)
Thanks for answer. I'd love to learn about what solution your Sublime coworkers use, as most people here use emacs / vim and I'm most proficient with Sublime.

Older »