News for hackers. Stuff that matters.

puls

Re:Tram Trains on Wednesday July 23, 2025 @12:45PM (#44661226)
It doesn't because it doesn't use any mainline rail track. Imagine if the T-Third went onto the Caltrain tracks at Bayshore and continued down the peninsula instead of terminating at Sunnydale; that would be a tram-train.

It would also be more or less impossible under current US regulations, but there's always hoping that that could be fixed.

Re:93% of Paint Splatters Are Valid Perl Programs on Thursday April 04, 2019 @04:39PM (#19576872)
I love this footnote so much:

> This feature does enable a neat quine: the Perl program “Illegal division by zero at /tmp/quine.pl line 1.”, when saved in the appropriate location, outputs “Illegal division by zero at /tmp/quine.pl line 1.” The reason for this behavior is left as an exercise for the reader.

This article lost me at "Most homes are not wired to handle 120kW chargers, which are likely not cheap to set up."

If the author had done any research, he'd realize that there's no such thing as a 120 kW home charger. (The weasel word "likely" only confirms the lack of research.)

Re:Ask HN: Would You Upgrade to the New MacBook Pro? on Thursday October 27, 2016 @04:55PM (#12810022)
According to Apple's support site (https://support.apple.com/en-us/HT206587), the range of computers that support 4K at 60 Hz is a bit bigger:

- MacBook Pro (Retina, 13-inch, Early 2015)

- MacBook Pro (Retina, 15-inch, Mid 2014)

- Mac Pro (Late 2013)

- iMac (27-inch, Late 2013) and later

- MacBook Air (Early 2015)

Re:Ask HN: Would You Upgrade to the New MacBook Pro? on Thursday October 27, 2016 @04:52PM (#12809985)
I have the same machine you do and I ordered the new machine as soon as I could. Two external 5K displays is a huge unlock for more productivity.
All airlines do this, all run by the same vendor: http://www.rewardsnetwork.com/earn/
Re:Facebook Paying Employees to Move Closer to Work on Friday December 18, 2015 @02:03PM (#10760239)
Precedent: Facebook paid Caltrain a bunch of money to clean up those tracks a few months back.

http://www.caltrain.com/projectsplans/Projects/Caltrain_Capi...

Re:Babel 6.0 Released on Thursday October 29, 2015 @04:49PM (#10474172)
What was the downside to doing the same thing as before by default?
Re:Babel 6.0 Released on Thursday October 29, 2015 @03:45PM (#10473752)
When I read

> This means when you install Babel it will no longer transpile your ES2015 code by default.

what I really see is "This means that Babel no longer works out of the box and is now harder to use."

Was any thought given to how much additional complexity this adds to what was previously (https://babeljs.io/docs/setup/#babel_cli) a very simple way to get started?

Re:OnHub on Tuesday August 18, 2015 @06:45PM (#10082703)
Comcast does this under the "xfinitywifi" network name as a default setup for anybody who uses the standard cable modem/router-in-one box, with thousands and thousands of access points: http://wifi.xfinity.com/
Re:Hexagen: True coroutines for Swift on Wednesday March 11, 2015 @06:20PM (#9187812)
Re:In Defense of the Midwest on Sunday March 08, 2015 @11:52PM (#9168935)
Carnegie Mellon is absolutely in the midwest.

Pennsylvania is a big state.

Re:Computational Complexity of Air Travel Planning (2003) [pdf] on Thursday January 22, 2015 @12:56PM (#8930561)
The website they built is called ITA Matrix (http://matrix.itasoftware.com) and it's still available today even after Google acquired them. It's the most powerful flight search engine out there.
Re:A better pull request on Thursday January 22, 2015 @11:23AM (#8929961)
This is so telling: GitHub had a blog post yesterday[1] about pull requests and now Atlassian does today with a very similar title. The one from GitHub was about social dynamics and how to work together better, while the one from Atlassian is about technical minutiae.

Having used both GitHub and Stash, the difference in focus between the two companies comes across plainly, and these two blog posts only back it up.

[1]: https://github.com/blog/1943-how-to-write-the-perfect-pull-r...

Re:Ask HN: Is Swift ready for production yet? on Wednesday January 14, 2015 @01:38PM (#8888105)
I've been coding full-time in Swift for the last three months and at this point our source base is about 10K lines of code. Given this experience, if I had to do it all over again, I'd probably choose Swift again.

The good:

- Swift is a far better language than Objective-C. It's much safer, the type system is great, and the functional features are a joy to use.

- Everything largely works as advertised; even for a super new language, the amount of total brokenness is minimal.

The bad:

- The current compiler's error messages are frequently bad to the point of being useless. Try to mutate an immutable dictionary? You get a type mismatch when you could get an error about immutability.

- The compiler is a lot slower than I think they mean for it to be.

- The debugger takes several seconds to evaluate an expression compared to almost instantaneous evaluation in Objective-C.

- 8 MB of standard library in your app binary.

The ugly:

- "SourceKitService crashed" messages in Xcode flashing on the screen at 30 hertz.

But at the end of the day, if you're hiring an outside company to do this, why does it matter to you what language it's written in? Shouldn't they be able to use their best tools?

Re:Ask HN: Where do you see web and desktop apps in 5 years? on Monday October 27, 2014 @12:00AM (#8513733)
Same place we were five years ago: nobody cares what API you're programming to as long as your apps are good.

No, seriously. The iPhone SDK came out in 2008. Google Maps came out in 2005, ushering in the modern era of web apps. Mac OS X came out in 2001 and .NET came out in 2002, representing the major desktop platforms we know today.

The web as a platform is no different than any other platform in that it's just another platform with its own strengths and weaknesses. It just moves a whole lot slower than the rest, which is why we're still asking this question after this many years.

APIs and platforms come and go. Developers always have had and always will have choices about which ones to pick for developing their apps against. These choices have some impact on how easy it is to build various types of apps, but at the end of the day, the only thing that matters is how well your app serves the needs of those using it.

Re:Google Inbox on Wednesday October 22, 2014 @02:05PM (#8494094)
Check out plus addressing! Not part of any standard, but supported by Gmail and many other email providers.

http://gmailblog.blogspot.com/2008/03/2-hidden-ways-to-get-m...

Re:How Japan Plans to Build an Orbital Solar Farm on Thursday April 24, 2014 @02:37PM (#7642045)
I can't believe nobody has mentioned this yet: exactly this was one of the standard disasters in SimCity 2000, where "microwave" was one of the power plant types.
You can control this with the HISTCONTROL and HISTIGNORE environment variables: http://askubuntu.com/questions/15926/how-to-avoid-duplicate-...
Re:CarWoo is shutting down on Tuesday January 21, 2014 @05:22PM (#7098992)
I bought a car a couple months ago, and as soon as the sales manager saw a TrueCar page open on my phone, the negotiation ended and I paid the price on the phone. Pretty amazing how easy it was.
The Square Stand actually includes a USB hub to plug the printer, cash drawer, and barcode scanner in via USB. It's much simpler than setting up everything to talk on the network.
"Runs the same tests as Xcode.app."

If this works, it's huge. Mad excited about this.

Re:Vim After 11 Years on Tuesday February 19, 2013 @11:46AM (#5245269)
Why do people keep suggesting iTerm2? The built-in terminal app on the Mac does Unicode and 256 colors just fine.
Re:Xcode 4.4 adds support for Obj-C literals on Saturday August 18, 2012 @12:59PM (#4401595)
The implementation already exists in iOS 5, you just need to make the compiler happy; a header that declares them is sufficient.
Upvoted for the hidden Wacky Waving Inflatable Arm-Flailing Tubeman link.
I would have gone guru, ninja, rockstar and put them in increasing order of annoying, but that's just me.

Older »