skysight-inc/HackerNews huggingface dataset:
You can just use a dummy node and track the previous entry. Then you don't have to ever pass back the front of the list, or treat the front of the list as special at all.

It's more elegant then the double level pointer, imho.
> because their former CEO is a huge shareholder and is demanding that they consider it.

Who the fuck is this guy? Patrick Bateman?
Last week's bug is unrelated. Last week's bug was in ActiveRecord dynamic finders. This bug is in parameter and request input parsing.
I was surprised to hear this, but it's true: http://blog.raynes.me/blog/2012/12/13/moving-away-from-noir/
One of the reasons avoiding state is promoted is to make it easier to write robust software. State is too often the enemy of robustness.
If you want to edit your macros, (e.g., the default register q) do "qp, edit, visual select and do "qy.
Huh? That still means giving a personal account access to the org. (We use an org.) And also means that notifications etc would go to a personal email account, not a work one.

We use Google accounts for work and Trello. That means that disabling the Google account is sufficient to prevent logging in to Trello, which is a good thing.

It also means that none of us can practically use Trello for personal stuff.
Or maybe some issues are overblown, while others are not.

Also, the message was not "overblown". It was "don't panic, but still upgrade ASAP".
"immorality "

That is a strange moral system you have in the US. In other countries, it is morally acceptable to take from the rich and redistribute to the poor.

The reason is that in those countries, wealth and lack of wealth is thought to be a great part influenced by factor outside your control (chance). That is even backed by studies, if you are born in a poor families, you will have less opportunities than a rich kid in a rich family.

Taxing the rich to help poor people in those circumstances is not to punish hard work to reward lazyness(=immoral), it is perceived as balancing unfairness in nature.

On the other hand, there are other reason why a poor could be against taxing the rich that have nothing to do with some fluid concept like morality. It could be, for example, that they agree with the numbers and the theories presented by the party disagreeing with the taxes. After all, trickle down economic could work as described, why not, it is supported by important AND qualified people.

What is missing in US politics (and generally in politic) is a scientific approach to the proposition. The level of proof required to submit political proposition as important as tax level is much lower than what you need to convince your wife to let you buy an XBox. That is the problem, voters are provided with vague theories with nothing to back them.
I thought the "changing underneath" in the title was referring to "hot" VM migration too (i.e. no downtime, but different physical hardware, like http://wiki.xen.org/wiki/Migration) but I think it's a bit picky to object to the way it's used in this blog post, even if it's slightly confusing... What other short phrase would you use?
if you build this.. i'll be a member!
A few things I learned from redesigning and redeveloping siteInspire
I don't know if AWS does it, but I remember going to a VMWare-sponsored industry day several years ago, and they described that for enterprise systems, the hardware was pooled and an abstraction layer sat between them and the guests. Guests could be migrated between machines while they were running and active. It allowed a system where in quiet times you could move your guest load to only part of your hardware group and put the rest into low-power mode (to save on power, it seems).

The best part of that day was a guy from the government who gave a great talk on his experiences virtualising from running separate physical servers. While he was very much in favour of it, he mentioned a few drawbacks that the vendor talks obviously played down, but probably the best thing he said was "when doing something major with infrastructure like this, get your boss at the top on board early, because everyone above you will try to scuttle it to CYA if it goes wrong."
It appears to me that Google is simply sponsoring the deployment, and did not build and will not actively manage the installation. According to the coverage map [1], technical support is provided by Sky Packets, a company that plans, builds, and maintains wifi networks in municipalities. Also, the Chelsea Improvement Company's webpage [2] says: "Google's sponsorship paid for the capital cost of the network."

[1] http://www.chelseaimprovement.com/static/pdfs/wifi/CIC_Free_...

[2] http://www.chelseaimprovement.com/neighborhood/free_wifi.htm...
The double-pointer trick makes for a more concise code, but it doesn't always lead to the code that is faster.

That said, it's actually an excellent C interview question. Combined with "write a binary tree iterator" it reliably measures one's exposure to thoughtful C programming.
Instagram like filters for C#
you never considered to check the uptime, dmesg?
Not a C programmer , but if I was asked to implement this I would be more comfortable doing something like the first. The second took me a few moments to figure out.

Perhaps this is a result of many people learning in languages like Java where the idea of double indirection isn't quite so explicit so this style feels somewhat unnatural?

I could easily imagine introducing very weird bugs by mixing up my pointers and pointers-to-pointers. To mentally visualise a linked list I find it easier to just imagine a stack of boxes attached by string and work on the basis of cutting and reattaching the string to different points, this is more difficult under the 2nd approach.
Yes I would like to see something like this.
True, but that can only work if it happens naturally.

If you force me to be happy, I will be very sad.
Container
Container
http://umzugsmanagement.at/category/Container/
Container , Container wien
Resources for Getting Started With Functional Programming and Scala
Having moved here from Nashville, TN due to the opportunities, the comparable salary buying power chart really hit home. Fuck. Kind of upset now. At least this explains why I feel less well off even though I make so much more.
As a person with a basic understanding of taxes and their methods, I think the meaning was clear. Stop nitpicking.
HTC Desire Z here... they never updated past 2.3.
Might be as simple as a scraper for "Show HN" posts.
Erpal: ERP system being built on Drupal
It's meant to partially break YAML deserialization :) My apps do care about YAML, so I've an interest in cleaning this up. Is there some unintended consequence? You can still instantiate some Ruby classes (Regexp, Symbol etc.) in the YAML loader, or you can go through @@tagged_classes and pick out any other types you don't want.

But by taking out Object, YAML is only left with a whitelist of types that are safe, anything else will get turned into a YAML::DomainType.
Unless I really need the performance, I avoid being "clever" when coding. The simple non-2 star example is going to be a lot faster for someone to understand, maintain and debug in the future.

"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." --Brian Kernighan
How is it more elegant if it effectively doubles the number of pointer dereferences?
Not entirely sure what the last comment is talking about…
Whenever I think of a possible new hardware device, (which inevitably involves it being connected to the internet!) my first thought is: how will the UI of connecting to wifi work? Most often with a lot of devices, "setup" == "connecting to wifi", so having an easy way to do this using a standard smartphone based UI is a very interesting idea.

Allowing faceless connections to wifi networks could allow for a new range of small, screenless devices, or at least devices with smaller screens and reduced interaction.
Reminds me of the very funny description of a Three Star Programmer over at http://c2.com/cgi/wiki?ThreeStarProgrammer

EDIT: I see it's also linked in the article.
How doesn't it?

irb(main):001:0> YAML::parse("!ruby/object:File 123").transform
=> #<File:0x7f2427848e68>
irb(main):002:0> module YAML; @@tagged_classes.delete('tag:ruby.yaml.org,2002:object'); end
=> Object
irb(main):003:0> YAML::parse("!ruby/object:File 123").transform
=> #<YAML::DomainType:0x7f242783a840 @domain="ruby.yaml.org,2002", @type_id="object:File", @value="123">

That's neutered what it'll do without causing the parser to blow up.
There was just last week a big upheaval in Belgium about a collection of facebook pages where pictures, including names and classes and ... of the girls involved in them were being spread on a number of facebook pages.

Most of them were closed with the help of the police, and the case seems closed now. But in reality it just caused them to hide themselves a bit better, and there's one still open that doesn't hide it at all.

A few weeks before there was a suicide not far from where I live which the guy involved blamed on facebook. There was a similar case in Britain.

(dutch link) http://www.standaard.be/artikel/detail.aspx?artikelid=DMF201...
(english link) http://www.mirror.co.uk/news/world-news/amanda-todd-suicide-...

So yes, I'd say it does happen in Europe.
Interesting how little money designers are paid in comparison to the developers. I would have thought that this changed in the last few years.
We shouldn't have to force ourselves to adopt different ways of talking when we are anonymous. We should analyze the places where this variance exists, regularly compile information on the most probable ways of writing, and then programmatically alter our words, using the previous established probabilities, keeping them updated as time goes on.

Alternatively, we can analyze our speech for those elements that are significantly different from others to allow identification, and alter just those.
Focus on what's important: the Eisenhower Matrix
Why, if we ignore it on the server, would it be increasing suddenly?

Nothing's changed. Only node.js is new.
Superb. I went on to read the sample chapter, which was equally amusing and interesting. I think I'm going to order the book, despite the fact I can't really think of any practical applications for Lisp in my day job - although who knows.
Yeah, don't do that. As a scala/maven guy it kills me to see all these package managers making the same mistakes we already solved, over and over again.
I wouldn't call that unethical - even free users would benefit from such a system, in the same way that non-users would also benefit, but paying users would benefit even more.

The system actually requires itself to be ethical. The ability to make things better for the paying users is dependant on the system having a lot of free users. Those free users have to be getting some utility out of the site, otherwise they won't use it. And without large numbers of free users, the paying services can't be offered!
And robustness is often the static plastic bubble that hides in itself, never accomplishing much in the real world.

State is too often the real world.

Mind you, I like robustness. It's like the cinder blocks I use to build my house, each robust and contained in itself. I just can't disregard state when stacking my cinder blocks on top of each other; the flexing and distribution of load is an emergent state that I have to consider when building each cinder block.
Best part is the source is in a SHAR..

Wow that brought back memories.

I doubt most people here even know what a SHAR is.

The other day in a group of engineers at my work I made a joke about SHAR and NOBODY even knew what a SHAR was.

It's like making a joke at a party that "Dates you".. :)
Code Coverage for PHP testing framework Codeception announced
for sure, what folks complain about the most (syntax) is where it's power is.

I've been getting Guile recently and find the very tight integration with C to quite nice. It's like the best of both worlds
Nice code, but I think a more robust method would be using the return codes from ping:

while (true) do ping -c1 -w3 google.com && say "ping" && sleep 3; done
Is this really so amazing? I "invented" this long ago when I first implemented a binary tree. First you code the ugly version, and then in your mind or on paper you execute it and you see that there's nothing special about the root node, yet it is handled by a special case. Then you remove the special case, that's all. So keep in mind that contrary to what several people here are saying, it does not cause extra pointer dereferences.
The 1956 musical My Fair Lady [1] features a professor with the same claim. Nothing new under the sun I guess :-)

[1] http://en.wikipedia.org/wiki/My_Fair_Lady
Add a delay so say can keep up:

ping -i 5 8.8.8.8 | perl -ne '/time=(.*)/ && system("say", $1)'
Certified BitTorrent Box Brings uTorrent to Your TV
It's worth noting that buying power != standard of living.

For example, it is quite possible to have a high standard of living with little money in Manhattan.

This is because:

* the subway runs 24 hours

* there are numerous inexpensive restaurants

* there are many free cultural and social activities

* if you seek it out, there are many opportunities to have liquor brands pour free alcohol into your glass. (NYC is considered a city of taste-makers.)

This, of course, assumes that you enjoy the tradeoffs you make. Some people enjoy a large-city no-car lifestyle, whereas some think that's less valuable.

So you might find that you enjoy SF on your salary more than Nashville on your salary. Chacun a son gout
In the paragraph below, it says that "A person earning the average tech salart in Silicon Valley would save $42,919 in just five years living in a state like Florida where there is no income tax."

The median salary from the chart is $90,000, so I suspect the calculation they did was along the lines of 90000 * 9.3/100 * 5 = $41,850. (Perhaps they used a different average than the chart.)

So, I don't think they know how marginal tax works either.
I attended TechMesh 2012 in London. The creators of Haskell were there, and there was a number of other Haskell talks. They were almost all about how to model state, I/O, etc. One of the Haskell creators also created Quickcheck, a generative testing tool where tests are written in Haskell. He talked about how he found state related bugs in Riak. Rich Hickey, author of Clojure, was there, he keynoted about state. I'd argue that the whole point of Clojure is to manage state. Specifically, have a model for how to work with the passing of time.

In other words: functional programming and Lisp does not translate to ignoring state.
Watch How a 4chan Raid Happens
The success of bottled water is the result of a, eh, educational campaign. Namely, that tap water is full of yucky stuff.

Without this market conditioning, I don't think many people would have been interested. So they are selling something valuable to a lot of people: water that won't make you sick, which is much different than the alternative.
Could it be that some words do not get translated and appear in the original language? These would be very distinctive features in the later steps.
When I first learned Lisp, I quickly got to the point where I "don't even see the parenthesis". Shortly after that I learned to love them, and see them (and Lisp's simple syntax as a great strength).

Now extraneous syntax, even in a half-Lisp like Clojure, seems ugly to me. It's a real pity more people don't appreciate the elegant simplicity of Lisp (and especially Scheme).
Diaplay made out of thin air
It likely is faster because it avoids more branching altogether, thus branch mis-predictions.
I think of Wikipedia as a jumping off point. By starting out searching Wikipedia to learn a few terms about a topic, I can go out to the wider web or a library to research in more depth quicker and more efficiently. It's a "Cliff's Notes" for everything. In that regard, Wikipedia isn't broken.

If you want Wikipedia to be a canonical, verifiable source of all human knowledge then I don't think it could ever work. It'd be impossible to corral all the experts to working on the same platform (even assuming one platform could work for everything).
One of my favorite parts of developing is seeing my code get used. I suspect it's a bit like the pleasure a chef has when he watches someone enjoy his cooking.
The other annoying thing is that he is assuming every DNS request comes from a browser. Imagine the cock-ups when you are writing a web tool and you are relying on valid DNS msgs for your app's logic path.
I don't see how Linus' version is better or more readable. By adding an indirection you have the equivalent of a dummy node, both ways are textbook examples of singly linked list deletion.

Note that you save no memory by not naming the implicit (in this implementation) dummy node. A pointer to a pointer remains a pointer to a pointer whether you name the intermediate pointer or not. Personally I think it's more readable to name it. Also, I prefer curr != NULL to simply putting *curr in a condition context. The compiler is going to do exactly the same.

I don't favour Linus' version because it's not readable. Most people who haven't seen this before will need to take some time to check this code. Out of the three basic ways of doing this I'd place this one dead last.
So to be clear here I assume you are talking about mutable state. Even if that is the case, it is not about avoiding state at all. It is about managing it explicitly.
Like Germany. The one country where there is no general speed limit on highways.

Actually, everytime I visit countries with billboards on highway, it seems really bizarre and stupid to place ads next to highways.
Ruby DATA
You're only meant to use the downloads if you already own CS2, but as CS2 is seven years old at this point, this is just enforced with an honesty system.
Yup, potential performance issues were the first things that came to my mind on seeing that code too. Plus, it's just silly to say that someone that just wrote a linked list doesn't understand pointers - pretty much by definition they do understand pointers, otherwise their linked list isn't going to work.

My personal rule of thumb concerning pointers is that two-stars should never be seen except in the case where you want a function to be able to modify a pointer that was passed in as a parameter. That's it. If I get handled a module that has two-stars in it under any other circumstance, I refactor it. I do this because:

a) lots of people find it difficult to thing about pointers to pointers (although I've never understood why empirically I note that this is the case).

b) Having to dereference two pointers to get to the information that you want is not just slow because of extra work needing to be done, but also because you've just increased the need for doing a page change in memory, which on some architectures can be surprisingly expensive.
Consider a two-lane highway that splits into two directions, a very popular direction and an unpopular direction.

Heh, years ago I wrote a comment here about a situation like that, but with three lanes (and one more for the exit), that I suffered.

Then, as if they were reading, in a few weeks the output was changed as I wanted: two lanes in each direction. The results were excellent, no more jams in that exit.
The Answer to Life the Universe and Everything
I actually don't mind Google Ads because I rather often see ads for obscure products that I find interesting and wouldn't have otherwise come across - that's almost the textbook definition of what advertising is supposed to do.

But then there are the obnoxious, foul, impolite ads full of auto-playing videos, sound, mail order brides, scammy fake "download" buttons next to the "real" download button.... and because of these things that pollute my consciousness, I'll forsake the google ads as well.
So because there is state you want to have a messy pile of it. Many lisps have more advanced system for states then most other languages.

Common Lisp has a better object system then any other in the world. Clojure has a time and state managment system.
How to construct an analog clock with JAVA
JavaScript is the future...maybe
Why is this supposed to be such a big deal?
The second example uses the language's features to be able to use shorter code.

Usually there are countless possibilities for the exact same thing in every program. Personally, I would never say those who produce code with unused possibilities do "not understand" the corresponding language features.

Especially when writing example code or working with less experienced programmers, I even think that using less language features for the sake of making your algorithmic idea as obvious as possible is better practice.

For exmapel, I find it far more important that one decides wisely when to use a linked list at all or, if there are multiple fuctions for removal, chooses the right one for a particular use-case. Therefore everyone has to understand whats happening.
'Century of the Self' is indeed amazing (as is everything else by Adam Curtis) and can be found for free here: http://topdocumentaryfilms.com/the-century-of-the-self/

It's not specifically about American conditioning though... it starts with Freud (Austria, then UK), wanders off to Edward Bernays (Austria, the US), talks about the US PR/Advertising industry for a while (totally fascinating to bear in mind while watching 'Mad Men' IMHO) and then ends up with Tony Blair (UK) via Bill Clinton.

Thanks for the Showtime documentary pointer - will look that up.
The Unofficial Guide to Rich Hickey's Brain
http://www.flyingmachinestudios.com/programming/the-unoffici...
8 Successful Companies That Changed Domain Names
5 Startup Mistakes To Avoid
Being clever when coding is one of the biggest headaches for long term maintenance unless you really really need that extra performance. I've had to do a bug hunt on a piece of code recently that was very, very clever but used all sorts language features that are marked 'use with caution' when a longer function with more simplicity would have worked as well.

Readability and maintainability trump developers showing how clever they are by far.
Actual taxes paid would be $29,866 for single filers. Effective tax rate at 90k works out to 6.64%. https://www.ftb.ca.gov/forms/2012_California_Tax_Rates_and_E...
http://youtu.be/VVd4ow-ZcX0

this video by Chas Emerick (co-author of clojure programming) also gives a good introduction to start with clojure, especially for people who uses eclipse.
Most side projects don't end up as anything even beginning to resemble a startup.
Would be cool if one could directly call howdoi from the python shell.

>>> howdoi foo bar

Or as a magic function for ipython.
This is so old, I think I was shown it the first time I was ever shown Google... Still good though
How GitHub Helps You Hack the Government
Heads up - that's circa 2004.
Freelancing Work
I am looking for Freelancing Work.
Java-struts2, Creating db packages, writing unix scripts, Usability and QA.
Please respond.
No. The one in front of me still has a lot of life in it, as do the four monitors. I have yet to do any serious work on mobile devices, including laptops (except when tethered to large monitors and a keyboard).

I expect the desktop will remain, if only as a convenient horizontal surface on which to place a keyboard and one or more displays. It won't matter where the computation takes place.
That's a very confusing title. None of this was run underground.

The title of the blog is confusing as well, "Harry's Tube Runners". There was no running on a train, there was no running on train tracks.

It would be more accurate to say that he ran from tube station to tube station.
Kudos to this guy, that's a seriously large undertaking to get involved with and serious amount of pain to put yourself through.
A thousand reasons why your idea won't work.