HNHacker News
TopNewBestAskShowJobs

jurip

519 karma · joined October 15, 2013

submissionscomments
jurip··on What's wrong with the default build tool for Scala
It's possible that back in 2008 Gradle did not seem like an obvious choice (assuming it is now; I have no experience with it.) And after a community has effectively standardised on a tool, switching to something else isn't done lightly.
jurip··on Students learn more effectively from print textbooks than screens, study says
"Better" is highly subjective but I just thought that I should note that if you're using here "on my computer" as opposed to iPad, you can do that on the iPad too if you're browsing the web on it.

Open web page, switch to readability mode, select print from the share sheet, unpinch on the page thumbnails to zoom them to full screen, open share sheet again and save the PDF in another app.

It's probably the best hidden feature in iOS.

jurip··on Possibility of explosion at Arkema chemical plant near Houston
The thing with terrorists is that they tend to announce it when they do something, otherwise it's a bit pointless.
jurip··on Swift is like Kotlin
You can argue if it's useful or not on its own, but it makes sense when you consider that Swift is compatible with Objective-C. In Objective-C, that function would be a method like

    -(void) greetWith:(NSString *)greeting to:(NSString *)personName
and you'd call it like

    [self greetWith:@"Hello" to:@"Bob"]
Swift's external/internal parameters are built to allow the same style as was used with Objective-C and easy bridging. Swift's APIs tend to be terser than Objective-C ones, though.
jurip··on Iosevka – A Typeface for Code, from Code
I like the way it looks, but I discovered that while I can use SF Mono at 11 points, I have to bump up the size of Iosevka to 12 to avoid eye strain. The result was that while I could squeeze longer lines on screen with Iosevka, I get more lines with SF Mono. Back to SF Mono.
jurip··on Amazon Deforestation, Once Tamed, Comes Roaring Back
And it's important to note that most soy is used to feed cattle etc: http://wwf.panda.org/what_we_do/footprint/agriculture/soy/co...
jurip··on Whither Swift?
Seems to me like the Server APIs group (https://swift.org/server-apis/) is pretty much about running Swift on non-iOS/macOS platforms.
jurip··on To Slow Global Warming, We Need Nuclear Power (Op-Ed)
There's one ongoing nuclear power plant construction project in Finland, and the current estimate is at around €8.5 billion.

https://en.wikipedia.org/wiki/Olkiluoto_Nuclear_Power_Plant#...

jurip··on Pipfile for Python
One common reason is avoiding defining hard dependencies to versions of your transitive dependencies. In my current Django project I have 19 declared dependencies and 26 transitive dependencies. We have one file for the declared one and then another we generate with pip freeze. This way the transitive dependencies can evolve on their own without us having to keep track of them.

Pipfile looks like a definite improvement over the pip install, pip freeze workflow.

jurip··on NewLisp
Paul Graham on newLISP, 12 years ago: http://lambda-the-ultimate.org/node/257#comment-1889

With hindsight, turns out that none of newLISP, Goo or Arc set the world on fire.

jurip··on Replacement Samsung Galaxy Note 7 phone catches fire on Southwest plane
Dunno about Australia, but this was about washing machines in the US: http://money.cnn.com/2016/09/28/news/samsung-cpsc-washing-ma...
jurip··on Tom Wolfe tries to take down Darwin and Chomsky
Attacking a 87 year old who is an active author and well capable of intellectual self defence. I found the whole setup really remarkable.
jurip··on Eskil – a GUI front end to diff
Just to be sure: you're aware of FileMerge/opendiff? It's installed by default. It's not the greatest, but it's there.
jurip··on Superblocks: how Barcelona is taking city streets back from cars
I'd expect the total automobile traffic to be reduced, rather than all of it concentrating on the through streets. Making driving less convenient will push people who don't have to drive to leave their cars at home and go with public transport, bike or foot instead.
jurip··on Thoughts on the future of Python and graphical interfaces
I tend to stay away from command line tools if they're written in Python or Ruby and have to be invoked frequently. The delay isn't big but it starts to grate. You can avoid the startup penalty with a server solution like chg does for Mercurial, but it's yet another complication.

It's not the same in GUIs where the startup time doesn't usually dominate, but it's easier to keep the main loop spinning at 60 Hz to avoid dropping frames with a language implementation that is faster and not encumbered with a GIL.

jurip··on Show HN: BitKeeper – Enterprise-ready version control, now open-source
> So even today, the "branch" concept in hg is only useful for a small number of cases, and the "bookmarks" concept is what most people want, but they're separate things with names that don't align with expectations.

And it doesn't help that the primary hosted repository system is Bitbucket and Bitbucket didn't support pull requests from bookmarks last time I checked.

jurip··on String types in Rust
> The idea that reference counting is somehow not GC is as far as I can tell a recent one (popularized, I think, by Cocoa and iOS?)

I remember seeing lots of "but Python doesn't have REAL GC" arguments years ago. But Cocoa's foray into GC, subsequent retreat back to manual ref counting and then ARC probably have affected this too, yeah.

jurip··on Commuters Don't Stop Driving to Work Unless You Take Away Free Parking
I'd guess that in most places, unless there's road tolls, driving is going to be cheaper than public transit if you already have a car. The nice thing about cities is you can make not having a car a viable option.
jurip··on Microsoft Acquires Xamarin
The HockeyApp acquisition hasn't caused any pain so far.
jurip··on Too many people have peed in the pool
There's a heavily moderated and busy Facebook group focused on urbanism in Helsinki, "Lisää kaupunkia Helsinkiin". Irony and sarcasm are prohibited; they don't get you banned, at least not right away, but you do get called out for them. It really helps keep the discourse focused.
jurip··on Unsafe Lead Levels in Tap Water Not Limited to Flint
A pretty good rule of thumb I've heard is that if there's huge multi-liter water bottles available in every supermarket, it's probably a good idea to not drink tap water. The smaller and fewer the water bottles, the better the tap water is.
jurip··on An End to Parking?
> Nowadays almost everyone in the world have a car

In Helsinki, less than half of households have cars. In many areas of central Helsinki, more than 60% are carless. I'd be surprised if car ownership was significantly more popular in other European cities. If there's good public transit and the city is walkable, a car is a waste of money for most people.

jurip··on Atom 1.2
I left Emacs for Sublime a few years ago, after almost 20 years of Emacs. Sublime isn't the greatest in feeling native to the platform, but it does better than Emacs. I prefer to spend my time on my projects instead of the editor itself.
jurip··on Cartography: Declarative Auto Layout in Swift
Also worth checking out is NSLayoutAnchor in iOS 9 and OS X 10.11. It looks like it might lessen the need for libraries like this.
jurip··on Cartography: Declarative Auto Layout in Swift
We've been using Masonry (https://github.com/SnapKit/Masonry), the predecessor to SnapKit, on a pretty large Objective-C project for the last year and a half. We do have some constraints in XIBs but lots in code, too. It's been great and I'd absolutely, without hesitation, recommend it to anyone.
jurip··on Get rid of boolean function parameters
Yeah, and Objective-C and now Swift inherited that same convention.

Objective-C:

    [self frob:param1 withObject:param2];
Swift:

    self.frob(param1, withObject:param2)
jurip··on Mercurial: Onward and upward
I've come to the conclusion that git got branches right. The idea of permanent metadata for branches is appealing, but repository-wide single namespace is bit of a PITA in some circumstance. Mercurial's bookmarks are the same as git's branches, but Bitbucket support is lacking.

The other big thing git has is startup speed. Python is slow. Something like chg helps, but it's a workaround.

jurip··on Chrome for Mac 64-bit Support
At the moment, the only thing keeping 32 bit frameworks resident on my Mac is Dropbox. I'm sure there's plenty of legacy apps out there, but it looks to me like it's not that common anymore.
jurip··on Julia 0.3 released
It's been an obvious shortcoming for over 20 years, though. Maybe it'll get better some day, but at this point it's probably best not to count on it.
jurip··on AFNetworking alternative: STHTTPRequest
That page doesn't mention blocks at all, though. Apple themselves use the (id value, NSError *error) completion block style with NSURLSession: https://developer.apple.com/library/ios/documentation/Founda...

It makes sense with blocks where you have actual multiple values you can pass in without futzing with pointers to pointers.

← PreviousPage 6 of 7Next →