HNHacker News
TopNewBestAskShowJobs

saltvedt

248 karma · joined July 17, 2013

Software developer located in Bergen, Norway.

Current project: http://servicemonitor.io Blog: http://saltvedt.net

submissionscomments
saltvedt··on OpenAI technical goals
"AI: A Modern Approach (...) authors, Stuart Russell and Peter Norvig, devote significant space to AI dangers and Friendly AI in section 26.3, “The Ethics and Risks of Developing Artificial Intelligence.”

https://intelligence.org/2013/10/19/russell-and-norvig-on-fr...

In addition, there is the AI Open Letter, which is signed by many "who actually works or has done serious research in ML", including Demis Hassabis and Yann LeCun. From the letter:

"We recommend expanded research aimed at ensuring that increasingly capable AI systems are robust and beneficial: our AI systems must do what we want them to do. "

http://futureoflife.org/ai-open-letter/

Are the experts concerned about a "Skynet scenario"? No. But there is certainly genuine concern from the experts.

saltvedt··on ‘Laws’ of Software Development
Brooks' Law: "Adding manpower to a late software project makes it later."

https://en.wikipedia.org/wiki/Brooks%E2%80%99_law

saltvedt··on The apt command: Combining apt-get and apt-cache and adds a progress bar (2014)
https://wiki.debian.org/UnattendedUpgrades
saltvedt··on You hear a voice in your head when you're reading, right?
If you think this is interesting, definitely read "Generalizing From One Example" at Less Wrong [1].

Turns out that people have varying degrees of ability to mentally imagine things, where the range seems to be from "purely abstract" to "number of stripes on a tiger".

Also; Feynman noted that people keep track of time in very different ways[2], either visual (imagining a clock) or symbolic (counting by talking to yourself inside your head).

And that whole internal monologue thing? Turns out that some people report not having that...

If anyone has more examples, please add them. This stuff is endlessly fascinating :)

[1]http://lesswrong.com/lw/dr/generalizing_from_one_example/

[2]http://generallythinking.com/richard-feynman-on-thinking-pro...

saltvedt··on Adblock via /etc/hosts
Probably anti-virus software preventing malware from hijacking google analytics.
saltvedt··on CIA planned rendition operation to kidnap Edward Snowden
The documents released were in response to Peter Kofod's request for information about the airplane itself.

"Justitsministeriet kan ikke oplyse, hvorvidt ministeriet er i besiddelse af materiale omfattet af den del af din anmodning om aktindsigt, der angår korrespondance mellem danske og amerikanske myndigheder vedrørende Edward Snowden."

Translated: "The Department of Justice can not say whether the Ministry is in possession of material of your request for access to documents relating to correspondence between Danish and US authorities regarding Edward Snowden."

https://www.denfri.dk/wp-content/uploads/2016/01/begrundelse...

saltvedt··on CIA planned rendition operation to kidnap Edward Snowden
There is no "firm evidence" in the documents as this article claims. There is no reference to Snowden there.
saltvedt··on What to do when coding an MVP is too expensive and no dev wants to be cofounder?
Raise money from investors.

Code the MVP yourself.

saltvedt··on Ask HN: Which technology are you learning or are you planning to learn?
Haskell and Yesod. Currently I'm a Rails developer, and I want to see if the grass is greener on the other side of the fence. It certainly feels that way.

ES6 and React. I haven't really done any JavaScript development since I used CoffeeScript and Backbone two years ago. Hopefully ES6 and React will have a relatively longer shelf life.

saltvedt··on Ask HN: Can the brain create something it doesn't have?
Yes, check out the Nocebo effect[0] (Placebos evil twin) and related phenomena like Voodoo death.[1]

From Wikipedia: "Voodoo death, a term coined by Walter Cannon in 1942 also known as psychogenic death or psychosomatic death, is the phenomenon of sudden death as brought about by a strong emotional shock, such as fear."

[0] https://en.wikipedia.org/wiki/Nocebo

[1] https://en.wikipedia.org/wiki/Voodoo_death

saltvedt··on 100% Burnt Out
You're not required to set yourself on fire to keep others warm.

There is such an incredibly huge gap between what is considered good software craftmanship and what is actually happening in practice in the industry. Nobody really talks that loudly about the ugly parts - it's embarrassing and just reflects badly on your employer (or worse - client). But judging from my own experience, and what my friends working at other places tell me, and how much articles like "Programming Sucks"[0] resonate with people, you are very likely to run into the same problem at your next job if you decide to quit.

It sounds like you're doing a good job, so instead of quitting, consider caring less about the company, the project and your own reputation. Let deadlines slip. Don't do patch releases. Go home at 5.

You might catch some extra flak at the start since you've been doing this stuff so far, but at worst you will be as ineffective as your coworkers. The company is probably better off with you working normally than quitting.

[0]http://www.stilldrinking.org/programming-sucks

saltvedt··on Ask HN: Online community for solopreneurs/bootstrappers?
http://discuss.bootstrapped.fm/
saltvedt··on The Relationship Between Creativity and Mental Illness
http://www.sciencedirect.com/science/article/pii/S0160289606...
saltvedt··on IBM announces $3B research initiative
It doesn't seem to be important now.

http://en.wikipedia.org/wiki/Wirth's_law

saltvedt··on Wikipedia redesign
I agree strongly with this message. There is a lot more to web design than making a page "pretty".

Wikipedias design is good; and certainly too good to justify a complete design overhaul.

The biggest problem I have with it is the unclear visual hierarchy: there are links which are context dependent (changes depending on which article you're viewing) next to links which always link to the same page.

And the list of languages the article is available in would benefit from listing the most viewed (or last used) versions before the full alphabetical listing.

saltvedt··on PostgreSQL: Jsonb has committed
Slightly off-topic, does anyone know if there is progress being made on the proposed HTTP API for PostgreSQL?(http://wiki.postgresql.org/wiki/HTTP_API)
saltvedt··on Coding Horror: The Magpie Developer (2008)
There really is more than a dozen front-end frameworks to chose between. Check out http://todomvc.com/ for examples.
saltvedt··on Web Framework Benchmarks - Round 8
Whats up with the number of Rails errors?
saltvedt··on How to Pretend You Know UX When You Don't
Perhaps even more infuriating than this is the notion that by virtue of being a user of a system, the user knows how the UX should be.

It's often repeated that "developers don't know UX", but some has taken that to mean that UX/UI decisions should be taken by anyone other programmers.

saltvedt··on Bad Indian Programmers
Some anecdotes from Bad Indian Programmers at a larger Indian outsouring company:

When implementing a touch version of a website (to be hosted on touch.example.com) one programmer copied the entire project, changed the relevant views/templates and deployed it, effectively creating a new, separate codebase. This was never checked into version control anywhere, I discovered it when I was looking into some unrelated issues with the server.

One programmer was struggling with an image being "corrupted" after being uploaded to a server. He struggled with this for hours, attempting to upload the image in different formats and zipping/extracting the image with no luck before asking for help. When trying to access the image on the webserver the server responded with a 401. After pointing out that this was an issue with permissions, the programmer resolved the issue by running the command "sudo chmod 777 -Rf logo.png". ("chmod 655 logo.png" would have sufficed.)

Needing to get the number of models in a backbone collection, one programmer placed a script-tag inside a javascript template used by backbone. This was one line of jQuery which counted the number of elements in the element used by the backbone view. The number of elements was then stored as elements in the DOM, adjacent to the elements in the template. So when backbone rendered a collection with N models, the javascript in the template would run N time times, storing the number of models in N different elements. The number of models in the collection were then fetched using jQuery and the :last-child selector. This whole mess was replaced by a simple call to collection.fetch().

I've got dozen of experiences like this (although these are the most memorable), and I'd like to reiterate that these programmers worked at a larger Indian company who specialized in outsourcing. It's what I think of when I hear about "Bad Indian Programmers".

>"Could it be it wasn't 'those Indian guys' who caused your project to fail?"

The project could have failed with good programmers. Bad Indian Programmers virtually guarantee it.

>"Everybody else's code sucks."

There is bad code, and then there is really, really, really bad god-awful code which no amount of "change in requirements" or "failure of communication" can explain. It really is terrifying how much technical debt can be incurred by Bad Indian Programmers.

>"Stop having crazy expectations."

I don't think anyone hires $20/hr programmers and expect $200/hr quality work. The expect some value to be created. Instead, Bad Indian Programmers create negative value when the work they do is worthless and has to be done over (often by a more expensive programmer).

saltvedt··on Cover your PHP legacy code with 1000 unit tests in just few lines of code
This look really cool! :)

How does it handle that time has passed since the recording of the test?

saltvedt··on Algorithmic Interviewing – Optimizing to Hire the Wrong Developer
"Programming Challenges"[0] by Skiena maybe? "Practical application" of algorithms and data structure knowledge is mostly about recognizing which type of problem you're dealing with, and then implementing the simplest algorithm that solves it fast enough for your specific problem.

[0]http://www.amazon.com/exec/obidos/ASIN/0387001638/ref=nosim/...

saltvedt··on Artificial Intelligence and What Computers Still Don't Understand
Won't work. Assuming that the right answer is a word in the question, the computer can just brute force the answer in a couple of guesses.
saltvedt··on Show HN: Vraple - a wrapper around search engines
I've written about my motivation for creating Vraple on my blog: http://saltvedt.github.io/2013/08/06/searching-and-retrievin...
saltvedt··on Sweden Runs Out of Garbage With Waste-to-Energy
My home municipality on the west coast of Norway sends their waste to Sweden to be burned. Before we did that, all households had to sort the waste into separate bins for plastic and organic waste. The organic waste were turned into compost locally. It changed because Miljøverndepartementet (Ministry of Environmental Protection) changed the regulations for depositing plastic waste. So many municipalities have trucks going "over the mountain" with waste to Sweden to be burned. And we actually have the ability to burn waste for energy here on the west coast of Norway, but I guess simply sending it to Sweden is cheaper. And it actually isn't quite as bad as it sounds like because many trucks also deliver manufactured goods from Sweden and would have return empty.

I have no idea what the net environmental benefit is (or if it even is positive (or if anyone really knows)).

← PreviousPage 2 of 2