HNHacker News
TopNewBestAskShowJobs

hjnilsson

678 karma · joined September 10, 2013

Building https://dealight.com , a proposal focused CRM, built for a specific workflow, rather than trying to be customizable to no end.
submissionscomments
hjnilsson··on The Illegal Map of Swedish Art
That is the same argument that typing "Avengers 3 torrent" in Google Search gives download links, so Google are liable for copyright infringement the same way Pirate Bay is. While technically true, there is a diference in intent here that needs to be taken into consideration.
hjnilsson··on The Illegal Map of Swedish Art
The law allows photos of artwork as long as the photos are not part of a catalogue of art. And Street View is obviously not an art catalogue.
hjnilsson··on The Illegal Map of Swedish Art
No. Street View does not offer a list of all artwork, and a way to find the images of them. Thus it would not fall under the "database of artwork" umbrella mentioned in the law. There is no metadata such as author of the work etc. that would make it a database of artwork.
hjnilsson··on The Illegal Map of Swedish Art
Actually, it is the reverse. It is the database (ie. the map) that was found to be illegal. The photos contained within are not. And if they were not assembled into a database, they would all be perfectly legal. This is even explicitly mentioned in the court decision (in swedish): http://www.hogstadomstolen.se/Mer-om-Hogsta-domstolen/Nyhete...
hjnilsson··on The Illegal Map of Swedish Art
No. The law in question explicitly allows depictions of building, they are seen as separate from artwork.
hjnilsson··on The Illegal Map of Swedish Art
Buildings are explicitly from the law banning databases of depictions. So Street View for example would not be affected (or any photo of a unique building).
hjnilsson··on The Illegal Map of Swedish Art
This court decision is a result of the change of law that in part was motivated to happened to get piracy back in 2005. When it was amended there were many, many more restrictions placed on digital distribution than before. The law in question explicitly say "Artwork can be depicted if contained in a collection or catalogue, but not in digital form". So a book detailing famous art is allowed, but a website doing the same is not.

This also means it is not illegal to post Facebook photos with a statue. Since clearly that is not a database, just a random photo.

The paragraph in question: https://lagen.nu/1960:729#P24S1]

And the full law: http://rinfo.stage.lagrummet.se//publ/sfs/2005:359/pdf,sv

(This law - 2005:359 - is also the law that added the "data tax" in Sweden of 0,4 kronor per MB.)

hjnilsson··on Why not just a simple spreadsheet of salaries?
To be fair to European salaries, you need to convert them to pre-tax numbers. There is a 33% employer's tax that is not counted in the numbers shown here. So 50% should be added to the salaries in the spreadsheet for Scandinavia at least to more accurately reflect the pre-tax numbers.
hjnilsson··on Ask HN: How do you manage Facebook/Whats App/Twitter/Email/Etc addiction?
I heartily recommend the same, I have notifications turned of for all social apps, and for email/messages I only have the badge icon. Almost everything on social platforms don't require your attention right away. It's okay, people can wait.
hjnilsson··on How Can We Achieve Age Diversity in Silicon Valley?
Don't know if this is the case in the US. But generally, mid-60s people are shied away from being hired because they will retire shortly. Investing in an employee that will be gone very soon is a thing few companies would do, and not unique to IT by any measure. The exception being when they have a need for her exact talent.
hjnilsson··on Thunderbolt 3 embraces USB Type-C connector, doubles bandwidth to 40Gbps
And finally, the future has arrived. If the iPhone 7 (doubt the 6S) sports USB-C as well, there will be a truly universal connector. Imagine screens, laptops, TVs, phones, mp3 players, docks, hard drives and toasters all using the same plug (well, maybe not the last one). There will be a painful time of transition until we are there, but hopefully it will be the last one.

(Conveniently this also saves Apple on the new MPBs, they can now have both USB A and USB C ports without it being weird)

hjnilsson··on Tarsnap performance issues in late March, most of April
That will be a number between 1 and 10 ($RANDOM only goes to 32767), sleep $[RANDOM/10] would be better. :)

This might be platform dependent though, I can't find any standard RAND_MAX in bash so it's difficult to make this work everywhere.

hjnilsson··on Apple – OS X – Photos
Well, Photos is a photo management & editing solution in addition to being a photo backup. While Carousel is only a photo backup solution (no albums, no editing controls). So it's not really comparable.
hjnilsson··on The new MacBook
The VGA / HDMI adapters include both USB & charging ports as well. So you could use it perfectly well in clamshell on your desk. And now you don't need a separate charging / thunderbolt cable as well.

http://store.apple.com/us/product/MJ1L2AM/A/usb-c-vga-multip...

hjnilsson··on Apple has lost the functional high ground
Not to mention that the colors change if you move the disk to another mac.
hjnilsson··on Git client vulnerability announced
The issue here is not case-insensitive filesystems, they are a huge benefit to novice users. But that the type system does not distinguish between paths and strings. A path is distinctly different from a string, and should never be compared as one. The type system should always enforce this and never allow you to mistakingly do the comparison you propose, for exactly the reasons you state. Modern filesystem libraries (for type-safe languages) do this, the problem is (as is becoming more and more common lately) the abundance of old tools that were not designed with security in mind.
hjnilsson··on Show HN: C# 6.0 Functional Language Extensions
I feel like throwing a NullReferenceException would be the more appropriate way to deal with it. Either treat Some(null) as a valid value, or treat it as an error. Silently coercing it will lead to problems down the line, like with the Some(Some(null)) case mentioned.
hjnilsson··on How I reverse-engineered Google Docs to play back any document's keystrokes
Amazing fun, browsed through my master thesis revision history and found some interesting tidbits!

A suggestion for further evolution would be an option to color text by the author that wrote it (for collaborated documents).

hjnilsson··on Career planning: Where do old devs go to?
You forgot:

3) People with 10+ years experience generally don't go out looking for work and applying for interviews. By then you have enough connections that if you want to change job, you'll find it through old colleagues. Not by shopping around like younger devs. This applies to most all professional occupations, not just Software Engineering. If you look at people applying for positions in economics / law you'll see a similar graph.

hjnilsson··on Collaborative international cost-of-living index
While actual salary might not be interesting, how much taxes will affect your gross income is. Tax rules are often very convulted. If you collected gross salary and received salary after taxes numbers, that'd be a great resource. I've moved abroad and all you get usually is vague statements about tax pressure (ie. asking a range of people you get wildly different answers). Often this is related to your income level in non-obvious ways as well. A table for each city with mapping from gross income -> income after tax would be very helpful.
hjnilsson··on Metal – Apple’s new graphics API
Indeed, it also explains why they put the A7 in all their devices (instead of recycling the A6 as they did previous years). An Apple TV with A7 and Metal will be competitive with Xbox360 / PS3 / Wii U spec-wise. And without a fan!
hjnilsson··on Europe's top court: people have right to be forgotten on Internet
Indeed, a judge will make this decision. There is a tendency for people (especially online) that laws sould be absolute and binary in their arbitrations, this is not the case. It's humans that decide how the law should apply in each case, and a human has considerably less difficulty in distinguishing the difference between Britney Sears applying for censorship and John Doe doing the same thing.
hjnilsson··on Visualisation of the expansion of IKEA
Ingvar Kamprad (the founder) is of German descent (his grandparents were german) so it is quite natural for him to expand to that market after Scandinavia, also being the largest economy of Europe doesn't hurt.
hjnilsson··on Sweden: The New Laboratory for a Six-Hour Work Day
Well, I think the benefits of the 6-hour day would disappear then. IIRC correctly research shows that productivity falls steeply after 5 hours at work, with hour 6-8 being at 75% producitity, and after that 50% (approximately). So having 3x10 days would kill the benefit of increased producitivity during the time you are at work, while still costing as much.
hjnilsson··on Stop commenting your code just to say you did
Working as a contractor, there are often deals that mandate "100% of functions documented" or other silly stuff (I would never strike such a deal, but have inherited projects with this). Since the client actually never checks the code (only metrics) and will never pay what it would cost to create amazing documentation (which only makes sense for public APIs) we just end up with tools that automatically adds comments to functions, which means the codebase ends up with useless javadoc-like clutter.

It's the same with "100% test coverage", which is similarly abused, programmer's are a lazy bunch, and smarter than any tool that measures the quality of what they do. So forcing them doesn't work out great.

hjnilsson··on Virtual Reality is going to change the world
The first walkman cost 700$ in 2014 dollars (199$ in 1979). VR sets are not gonna be expensive forever, in 5-10 years your smartphone could probably power it and the device would not be larger than a a pair of sunglasses.
hjnilsson··on Facebook acquires Oculus VR
It's in one way sad how the stupendous amount of money available to the giants in this business makes them able to acquire any potential competitors. The only ones not being acquired are those who have the ambition to be giants themselves (Dropbox, Snapchat), it seems this was not the goal of Oculus. So now it'll just become another tentacle of the Facebook Empire.

Although I guess this is how most other businesses operate too. Finding a hit product allows you to become a multi-millionaire, but if you want to become a billionaire you have to have conviction as well. (Which has considerable risk as you might be killed. I can certainly imagine myself selling out when a billion-dollar deal is on the table, so I'm not saying it's a bad move to sell out, it's just sort of sad)

hjnilsson··on Government Announces Steps to Restore Confidence on Encryption Standards
Indeed, it would not be long before the press makes the case that 0% tax for media would be awesome for everybody. "There would be no commercials!", "Think of the children, we can make quality programs with more cash!" etc. etc.

Direct democracy is not a solution. The solution is the thing we're doing now. The system works in the sense that we're righting it by having this kerfuffle about the secrecy. And something will change, and then the issue will be forgotten for awhile and the story will repeat.

hjnilsson··on Apple Unveils The iPhone 5S
They'll grow back eventually. So cutting off is the only option.
← PreviousPage 6 of 6