Better HN
topnewbestaskshowjobs
Log inSign up

panic

29,749 karma · joined Sep 16, 2009 (17y ago) · 3,593 submissions

Submissions

comment 10y ago · link · parent

Most nations today would be richer if they had long ago just submitted wholesale to a rich nation, allowing that rich nation to change their laws, customs, etc., and just do everything their way. But this idea greatly offends national and cultural pride. So nations stay poor.

I'm sure the people of these nations would love to watch their culture be erased as they become an underclass in the territory of a powerful nation. Just ask the Native Americans!

When firms and managers from rich places try to transplant rich practices to poor places, giving poor place workers exactly the same equipment, materials, procedures, etc., one of the main things that goes wrong is that poor place workers just refuse to do what they are told. They won’t show up for work reliably on time, have many problematic superstitions, hate direct orders, won’t accept tasks and roles that that deviate from their non-work relative status with co-workers, and won’t accept being told to do tasks differently than they had done them before, especially when new ways seem harder.

"Many problematic superstitions?" What? Who is this guy even talking about? This sounds like a caricature, not an actual description of reality.

The farming mode required humans to swallow many changes that didn’t feel nice or natural to foragers. While foragers are fiercely egalitarian, farmers are dominated by kings and generals, and have unequal property and classes. Farmers work more hours at less mentally challenging tasks, and get less variety via travel. Huge new cultural pressures, such as religions with moralizing gods, were needed to turn foragers into farmers.

Again, how does he know this? Is he just making up stories, or is this based on some sort of evidence?

comment 10y ago · link · parent

This is really interesting stuff! One of the potential applications they call out is long-term data storage. How do you know that the stored data will actually last hundreds of years?

comment 10y ago · link · parent

Yeah, I think this is an appropriate way to do profiling. The declined transaction was explicitly tied to something you did, so you understood why it happened. The bank also provided an easy way out.

Where profiling becomes dangerous is when it's tied to something you are or something you did in the past: it can be harder to identify why you're being profiled in these cases. Most of these cases aren't resolved through a single text, either. Profiling is a useful tool, but we have to be careful to do it in a humane way.

comment 10y ago · link · parent

I'm talking about a traditional sort of model, where each project hosts its own issue tracker, code review, etc. Unless you're working across multiple projects, you'd only care about downtime for your own server, not other people's (except perhaps for dependencies, which should be cached locally anyway).

comment 10y ago · link · parent

The concept of programming by string substitution really needs to die, and operating systems need to stop enabling it with functions like system(). Any time you have to think about "sanitizing" strings, terrible mistakes are going to happen.

comment 10y ago · link · parent

You could have separate centralized servers for each project, though, instead of one big point of failure for all the projects.

comment 10y ago · link · parent

It seems like more of an indicator of whether the project was involved in some sort of controversy. I don't think you can say anything about a "balance of abuse" just based on the number of users banned.

comment 10y ago · link · parent

What if you're communicating with the SSD via DMA? Don't you have to make sure that the writes aren't speculatively executed?

comment 10y ago · link · parent

The CPU won't speculatively execute past certain instructions. AFAIK it's up to (e.g.) the SSD driver to prevent the CPU from speculatively sending commands to the drive.

comment 10y ago · link · parent

What does this have to do with climate change?

comment 10y ago · link · parent

Dupe of: https://news.ycombinator.com/item?id=11372455

comment 10y ago · link · parent

Chrome doesn't use vendor prefixes for new features: http://www.chromium.org/blink#vendor-prefixes

2863.

Direct Manipulation: A Step Beyond Programming Languages (1983) [pdf](csc.kth.se ↗)

65 points · by panic · 10y ago · 7 comments

comment 10y ago · link · parent

For others who are curious about this: according to Wikipedia, the game in question is http://www.candyswipe.com. While it has the same theme, the core mechanic of the game is very different (swipe a path through candies of the same color vs swap candies to form lines of three). Candy Crush isn't a rip off of this game.

comment 10y ago · link · parent

Nobody is advocating that Microsoft should be thrown in jail or taken to court. This isn't about the legal protection of free speech.

comment 10y ago · link · parent

Well, just to give you a taste, here's an excerpt from "Revision Control with Arch: Introduction to Arch" in Linux Journal (http://www.linuxjournal.com/article/7671):

In Arch, a changeset is represented as a directory tree full of bookkeeping files, patches, new files and removed files. The best contribution technique is to create a changeset directory and then tar it up for delivery:

    $ tla changes -o ,,new-robot-comment
    $ tar czvf my-changes.tar.gz ,,new-robot-comment/
Arch ignores files beginning with two commas, an equal sign and a few other special characters. By using a ,, at the start of our changeset directory name, we avoid the annoyance of Arch complaining that our new directory doesn't exist in the archive. It is probably good practice to use your e-mail address or some other identifier in the tarball filename and changeset directory name.

comment 10y ago · link · parent

Distributed version control wasn't Linus's idea. BitKeeper, Arch, Monotone and darcs did it first, and in some ways better. But they all had problems: BitKeeper was proprietary, Arch was baroque and difficult to use, and Monotone and darcs had poor performance (darcs egregiously so, with an unfortunately-easy-to-hit exponential-time edge case in their merging algorithm). Using Git was a vote against these systems. But there's also not as much of a DVCS monoculture: Bazaar and Mercurial are also used quite often, and could be adopted quickly if git were to implode for some reason.

comment 10y ago · link · parent

It's not too hard to find five fun mobile games. Here are a few: Super Hexagon, Downwell, Threes, Kero Blaster, Canabalt.

comment 10y ago · link · parent

Functions are too small to make into a package and dependency. Pure functions don’t have cohesion; they are random snippets of code and nothing more. Who really wants a “cosine” dependency? We’d all really like a “trigonometry” dependency instead which encompasses many “tricky” functions that we don’t want to have to write ourselves.

This is a pretty weak argument. What is "cohesion" and why do we care that modules have it? Joe Armstrong, one of the creators of Erlang, has argued the opposite (http://erlang.org/pipermail/erlang-questions/2011-May/058768): that lots of small, individual-function modules are better than a "misc" module that grows endlessly and may overlap with other people's "misc" modules.

Calling a function instead of writing the code yourself doesn't mean you've forgotten how to program! The real problem here is the cost and risks associated with dependencies in general (both of which are actually lower for single-function modules), and the broken package removal policies of npm.

2870.

Jonathan Blow on Software Quality(youtube.com ↗)

17 points · by panic · 10y ago · 1 comment

comment 10y ago · link · parent

To be fair, Congress seems to be on Apple's side here. It's just our ever-more-overreaching executive branch that's the issue.

comment 10y ago · link · parent

Here's the Myungwan Kim commentary around that same move: https://www.youtube.com/watch?v=SMqjGNqfU6I&t=1h33m. He had been looking with Hajin Lee at variations involving the move beforehand (https://www.youtube.com/watch?v=SMqjGNqfU6I&t=1h28m1s), so he immediately noticed that AlphaGo made a possible error in its response.

comment 10y ago · link · parent

Does management understand the benefits of a healthy code review culture? Managers often support code review in the abstract, but when faced with an actual decision between respecting code review or shipping a feature faster, they'll choose to ship faster. Your colleagues are probably just responding to this.

comment 10y ago · link · parent

The neural net guides the search for the right move, but the program ultimately considers many possible sequences and picks the one it thinks is best. The program could justify its choice in the same way human players do: by playing out alternative choices and showing how those choices would have put it into a worse position.

comment 10y ago · link · parent

It's totally impressive! I'm excited for the future of DeepMind and to see what other kinds of things we can build from neural networks. I'm just saying that we have to be careful with what kind of intelligence we ascribe to an algorithm like this. An AI is not going to take over the world by impressing us with its game-playing skills.

comment 10y ago · link · parent

I'd say both characterizations are accurate. Neither the tree search nor the neural net could have accomplished this on their own. But the essential interface to the algorithm is the tree search: it's picking the best move from a set of legal moves determined by formal game rules. The real world doesn't follow formal game rules. I find it difficult to see the progression from this victory to some kind of real-world AI takeover.

comment 10y ago · link · parent

Regardless of how good the deep learning network is on its own, the algorithm described in the DeepMind paper is an improved tree search.

comment 10y ago · link · parent

It'll be interesting to see what new things we learn about Go itself from DeepMind. The game is very deep, and apparently we haven't found the bottom yet!

comment 10y ago · link · parent

DeepMind is an algorithm which clearly improves a lot on traditional tree search. But how will a better tree search algorithm lead to AI taking over? Why does winning at Go mean AI is closer to taking over the world than when it won at Chess?
1
959697
120