News for hackers. Stuff that matters.

ucarion

Re:The Amorality of Self-Driving Cars on Saturday May 21, 2016 @05:44PM (#11746324)
People who worry about the moral decision-making of a car are pointing out that there's a sort of ethics reduction (in the math sense of the word) here: deciding on the ideal driverless car is about as hard as deciding on what the ideal moral framework is. The car must have some routine to deal with trolley problems somewhere.
Re:Swift Functors, Applicatives, and Monads in Pictures on Tuesday July 14, 2015 @07:51PM (#9888887)
To add to chongli's suggestion, I learned Haskell (and had a great time doing it) from "Learn You a Haskell": http://learnyouahaskell.com/
Re:C for Rubyists on Tuesday September 30, 2014 @01:33PM (#8389585)
In fact, such a book has been written before already: http://patshaughnessy.net/ruby-under-a-microscope
Re:Teenage Haskell on Saturday June 28, 2014 @12:28AM (#7957415)
The current AP standards focus a lot on OOP.

Here's the latest course description: http://media.collegeboard.com/digitalServices/pdf/ap/ap-comp...

Re:Commencement address by Bill and Melinda Gates on Saturday June 28, 2014 @12:13AM (#7957384)
Let's say you somehow "chose" to be hardworking. Since not everyone is hardworking, it seems that not everyone makes the right choice. Did you "choose" to choose to be hardworking? It's turtles all the way down.

Whether you're born rich, smart, hardworking, or adaptable is all luck. In the end, your brain is a mesh of deterministic neurons -- "choices" are impossible.

Re:Commencement address by Bill and Melinda Gates on Friday June 27, 2014 @06:55PM (#7956645)
We can go further, though. Intelligence and tenacity are also things that were given to us. You don't choose to be smart, nor do you choose to be hardworking.
Re:Show HN: Cryptris, a video game on cryptography on Monday June 16, 2014 @02:36PM (#7900675)
This game is quite confusing even if you speak French.

Somehow playing a variant of tetris explains public key crypto.

Re:DuckDuckGo Goodies on Sunday May 11, 2014 @04:59PM (#7729979)
Sounds like that still requires that we trust DDG to be actually using the code in its git repo.
Re:First life with 'alien' DNA on Thursday May 08, 2014 @03:00PM (#7716992)
I think the main breakthrough here is that these nucleotides are not only unnatural but that the host can actually duplicate them; the E coli in this experiment passed the new nucleotides to 24 child cells.
Re:Brendan Eich Steps Down as Mozilla CEO on Thursday April 03, 2014 @03:23PM (#7525465)
There are beliefs in this world that you cannot publicly hold and still expect to be taken seriously. If Eich were arguing against interracial marriage there would be very little debate about this issue; believing that humans cannot marry between races is not a belief modern society continues to respect.

I think this controversy is an indication that -- to the tech community at least -- believing that discrimination based on sexual orientation is one of those illegitimate beliefs.

Re:Google Maps now lets you find and catch wild Pokémon on Monday March 31, 2014 @02:50PM (#7503372)
I think they're hard-coded to appear in places that are the real-life locations of Pokemon games, and they tossed in the Googleplex for fun.

For instance, the latest Pokemon iteration is quite obviously based on France [1], so that's why Google put creatures there.

[1]: A map of the Pokemon X / Y world: http://img.gawkerassets.com/img/194c63lohgnayjpg/original.jp...

Re:What You Can't Say (2004) on Friday March 21, 2014 @07:05PM (#7445550)
I totally agree with you, and I think everyone commenting on this thread should stop and read Sam Harris's "Letter to a Christian Nation". It pretty much covers all the questions being asked here.
Re:What You Can't Say (2004) on Friday March 21, 2014 @06:05PM (#7445250)
I agree with you about most of those phobias, but I strongly disagree about Islamophobia.

I think future societies will be surprised by how much human suffering we permit in the name of being "tolerant". Religions are not all created equal, and no intellectually honest person will claim that Islam and Jainism are equally valid moral frameworks (this is why few people fret about Jainophobia). We know that Islam and its adherents are generous contributors to the surplus of misery in the world. People concerned about the quality of human life will recognize that we were right to be extremely suspicious of Islam.

(Note that I'm defining Islamophobia as "deep suspicion of Islam / thoughts informed by Islamic beliefs", especially when it comes to questions of morality and ethics.)

Re:Popcorn-app on Sunday March 16, 2014 @06:06PM (#7411599)
I think the idea is that those films are all public-domain.
There is a difference between an unsatisfactory enforcement of the Constitution, and its outright failure. Saying that "the first, fourth and seventh have all been forgotten about" sounds like the latter, but the reality is closer to the former.
Re:College Board SAT Partnership on Wednesday March 05, 2014 @06:16PM (#7350693)
You've expressed my point of view better than I ever could have. I tried to make it clear that this program will not change much for those who are 2+ standard deviations to the right of average. For the majority, this is a great deal.
Re:College Board SAT Partnership on Wednesday March 05, 2014 @04:26PM (#7350060)
I should have emphasized that full-length tests is what I think is valuable here.

College Board has been offering daily SAT questions by email for awhile now (and there's no lack of individual test questions online either), but what's useful is a full test, with questions of varying difficulty and a time limit enforced. Taking it on paper is important too; your score when you take the test in front a screen versus when you have paper, pencil, and a calculator won't be the same. There needs to be dozens of these tests -- I found myself getting better each time, but re-taking tests isn't helpful because I simply remembered my mistakes rather than improving my capacity to anticipate mistakes.

This is not at all to downplay the amazing work Khan Academy has been doing! I think this will be a big deal for a majority of high schoolers.

Re:College Board SAT Partnership on Wednesday March 05, 2014 @04:02PM (#7349884)
By this I mean being familiar with the types of problems the SAT asks, and being aware of gotchas / features of these problems. Familiarity with the test makes it easier to take the test effectively to save time for the few genuinely challenging questions in each section.

The material on the SAT is super easy. It's about knowing how to read and analyze simple text and being able to do basic high school math. Despite this, kids taking advanced (or college-level) courses in math and the humanities don't do terribly well on the SAT on the first try. SAT prep is about mastering the esoteric parts of the SAT, not its basic subject-matter.

EDIT: I was taking college-level courses before the SAT, and I got a 1700-1900 on the first few tries. After a summer taking a dozen tests, I got to a 2280. The only new genuine "knowledge" I picked up was the meaning of some arcane words. The rest was familiarity.

Re:College Board SAT Partnership on Wednesday March 05, 2014 @03:40PM (#7349718)
For students trying to achieve high scores (which are a prerequisite to getting into most "good" schools), this won't help.

Two summers ago I took courses at Summa [1], an SAT prep course in the San Diego area. The valuable material wasn't the classes reviewing geometry or speed-reading -- it's taking and reviewing the SAT repeatedly. Organizations like Summa can produce SAT-like practice tests, because the highly-prepared kids have probably taken all of the example tests the College Board provides.

The SAT is an easy test; no individual question is really that hard. Getting a high score is about knowing how to take the test, and this is learned by taking it many times. Unless the College Board releases many more practice tests (with answer keys and explanations), I don't think this program will mean much.

Note that I'm talking about getting very high scores -- the SAT is a completely different game when your goal is to get into ultra-competitive schools. For the average person who might not really understand what to study for, this program will be great.

[1]: http://www.summaeducation.com/cms/

Re:Atom on Wednesday February 26, 2014 @06:41PM (#7309122)
If you're looking for an invite, there are lots of people offering and requesting invites on IRC:

http://webchat.freenode.net/?channels=##atom

Re:LXC 1.0 Released on Sunday February 23, 2014 @02:19AM (#7285217)
Hopefully a Docker 1.0 will follow soon too!
Re:Why not inherit from List? on Sunday February 16, 2014 @03:06AM (#7247020)
I think this could be boiled down as: List<T> is a data structure. Anything that inherits from List<T> should be a data structure too. So LinkedList<T> could reasonably extend List<T>, but Team should not.
Re:Girls and Software on Sunday February 09, 2014 @08:16PM (#7208477)
I disagree. As a high schooler, I know many intelligent and creative young women who don't want to do robotics or programming because of the people in those fields.

High school boys in tech are much more likely to be misogynistic and socially inept than other high schoolers are. They make girls uncomfortable (they make me uncomfortable too, and I'm not event the subject of their creepiness), and this discourages girls from trying to program or build things.

There are women who can handle this quite well (the author of the piece is an example), but there are also many women who don't deal with this so easily. Those who can deal with the male-dominated environment will always be free to join mixed-gender events and groups, but girls' robotics classes target those who could gain a lot from having friends of the same gender who share similar interests.

Women aren't self-selecting themselves into tech, but there's no reason they couldn't. Women-in-tech events aren't fighting sexism with sexism, they're providing counterexamples to the misconception that programming is only for men.

Re:Drone and Docker, Open Source CI on Friday February 07, 2014 @01:31PM (#7197846)
So is Docker really a safe alternative to VMs? I was under the impression that you can't run untrusted code in a Docker container yet.
Re:Scala turns 10 on Monday January 20, 2014 @12:44PM (#7090720)
It appears they've changed the look of the scala-lang website to celebrate this:

http://www.scala-lang.org/

(This is what it looked like yesterday: https://web.archive.org/web/20140119030617/http://www.scala-... )

A "fork me on GitHub" banner is always nice. :)
Re:Docker 0.7.3 is out on Saturday January 04, 2014 @01:01AM (#7010173)
https://twitter.com/solomonstre/status/419250795247177728

(note: the link there is the actual build.)

Re:Programming Interview Question: Eight Queens on Tuesday December 31, 2013 @05:07PM (#6993098)
Not sure if you're aware of this, but the technique of representing a chess board as a 64-bit bitmap is in fact the method used by pretty much all chess engines these days. These 64-bit unsigned long longs are known as "bitboards".

https://chessprogramming.wikispaces.com/Bitboards

Re:Chicago makes Computer Science a core subject on Thursday December 26, 2013 @07:51PM (#6968865)
I took AP Computer Science A two years ago as a sophomore.

Most of the questions have to do with understanding how scopes, assignment, loops, and conditionals work. There isn't very much about data structures -- arrays (both the native and ArrayList kind) were the only structures ever covered. Most of the focus is on OOP and using the API for an app called GridWorld, which is pretty neat.

Here's the College Board site about AP CS:

http://apcentral.collegeboard.com/apc/public/courses/teacher...

Re:Google streetview world coverage on Saturday December 21, 2013 @05:59PM (#6948449)
In case anyone is curious, Henderson Island (http://en.wikipedia.org/wiki/Henderson_Island_(Pitcairn_Isla...) is perhaps best known as the remote island where some of the survivors of the whaleship Essex arrived after their boat was rammed by a sperm whale. The story of the Essex is the inspiration for Melville's Moby-Dick.

Older »