skysight-inc/HackerNews huggingface dataset:
I did that just yesterday - I needed to modify some code which I wrote in 2005. I could write decent code back then, it worked, it was mostly easy to follow. It was very bad compared to what I'd write these days though... But I learned a lot things from it that I need to keep in mind in the future. Today, I could probably criticise every single line of it...

So - here are my lessons - maybe someone will find them useful (keep in mind this is C code for attiny chip - it's really minimal stuff):

signed short int P[P_NUM]={0}; // real points
unsigned short int A[P_NUM]={0}; // meas points

Never name global variables with single letters. Even these are "the" global variables everything else in the code uses. Also comments do not have character limit - if it's "measured points", spell it out. It's useful for grepping.

unsigned char last=0; // last point+1

I have no idea what +1 means at this point, since it starts at 0. Was the last point -1? I don't think so - again, always add details to comments.

if(lcd_buff[j]&_BV(i))
PORT_LED|=_BV(PIN_AB);
else
PORT_LED&=~(_BV(PIN_AB));
PORT_LED|=_BV(PIN_CLK);
PORT_LED&=~(_BV(PIN_CLK));

Horizontal whitespace matters - code above is barely readable. Defines for constants are good, but could be more descriptive than "PIN_AB". At least PIN_CLK is self-explanatory.

eeprom_busy_wait(); eeprom_write_byte((uint8_t *) 0x00+1, last);
eeprom_busy_wait(); eeprom_write_word((uint16_t *)(2+setup_pos*4), A[setup_pos]);
eeprom_busy_wait(); eeprom_write_word((uint16_t *)(4+setup_pos*4), P[setup_pos]);

If some function repeats so often that you end up prepending it before "actual work", you're probably missing a level of abstraction.

a*=2;
a/=dif;
if(a&1)
a++;
a/=2;

Even if some code is specific to that project and crucial to the way it works - comment on "how" and "why". I guess it tries to round the division... but it could be a lot clearer.

//#define CORRECT(a,b) ((A[b]-A[a])/(P[b]-P[a]))
//#define CORRECT2(a,b) ((A[b]-A[a])/(P[b]-P[a])>>1)

Never comment out unneeded code. Delete it and let the version control keep the old things. Now I'm not sure if that was commented out for testing, or was it never needed...

Also found out that any in-line state machine will grow until it fills the memory (not hard on attiny ;) ). If you don't design proper macros to construct it, it will become a single function with lots and lots of copy-paste code. It doesn't matter that it was clear at the start and only had 4 states that fit on the screen. Code grows on it's own :)

Also I found a CVS folder in that project. There's one issue with it - I only have the client part - so I can't see any history anymore. DVCSs are a really cool idea.

And for the end -> writing code for a very small chip doesn't mean you have to make the code itself really short, but somehow it seems I was trying to do that. It's the resulting binary that is supposed to be small. Keep in mind how separated are you from the end-result.
That would be trivially defeated by sending everyone a slightly different spam email. (And if your encryption doesn't produce totally different files for slight changes in plaintext, it doesn't deserve that name.)
Not open source, probably because the bittorrent protocol isn't open source.
I guess the most sensible thing to do is then ape the style of whatever libraries you intend on using the most!
He's released more than 'a powerpoint presentation'.

http://www.guardian.co.uk/world/interactive/2013/jun/06/veri...

http://www.guardian.co.uk/law/interactive/2013/jun/21/fisa-c...

http://www.guardian.co.uk/world/interactive/2013/jun/20/exhi...

QED. That's not all of course, but gives the lie to your claims.

This is not counting the thousands of documents submitted to journalists, who have only published a selection, at his insistence.
I recommend looking at BetterTouchTool http://www.bettertouchtool.net (free) and Alfred http://www.alfredapp.com (free without the Powerpack). I start all programs with Alfred and use BTT taps/movements on my trackpad to arrange/resize windows. I used to fire up applications with spotlight but alfred feels much quicker + I can create lots of custom web search queries which I use all the time.

Loving this thread and the one from around two and a half years ago. I'm probably missing out on a few things as I'm still running 10.6.8.
And let's not forget how Microsoft scanned all private urls that were mentioned inside Skype chats recently:

http://seclists.org/fulldisclosure/2013/May/78
I would have thought it meant if you were a jerk to someone, then that would generate bad karma.
egalitarian, classless & stateless society?
Agreed, but it's still a nice list with a lot of information.

Check out the first chapter of "The Architecture of Open Source Applications (Volume Two)":

"Scalable Web Architecture and Distributed Systems"
http://www.aosabook.org/en/distsys.html
Power over who?
If you as an elite kill your subjects, who will provide for your needs? Who will work the fields that provide your food, who will repair your cars and house automations, who will mow your lawn? We're still far from a sustainable fully-automated food cycle.

So I believe the superclass don't want their subjects dead; they want them submissive, healthy enough to work without dying, and happy enough to not be motivated to try to change the system.

P.S. from a certain POV, money itself is a consolidation of power. The superclass uses money as an enslavement method -- see how most of middle-class are constrained to wage-work for paying back their debts.
Not true. Vast yes, but diverse, not so much, unless you're specifically referring to wildlife and not to people. Coast to coast you'll find the same language, the same religion, the same sports, chains, food, traditions, holidays, it's all the same. To you, the differences between a Texan and a New Yorker may be huge, but to outsiders they're the same thing.

Travel the same distance in any direction in the old world and you'll find dozens or even hundreds of languages, completely unrelated cultures, cuisines, traditions.
I read this piece; I then went to his recommended book list[1] to see what he classed as reading.

I'm afraid to say, it is (with a couple of notable exceptions) one of the most conformist, populist and lacking in adventure reading lists I've read for a long time.

Simply put, he isn't reading; he is picking up whatever is the "top 10 list of <subject X> from AMZN or Good Reads" and digesting it in a very conventional way.

So; no Jason, you don't really read. What you're doing is rote learning what is the considered 'wisdom of the crowd' de jour on topics and expecting enlightenment. That's not how reading works. If you need a concrete example of this, many great insights come from people reading on topics wildly outside their field and suddenly applying said insights into their own fields.

Chaos Theory / Math was started like this, from a tiny office spitting out weather data.

Jason will no doubt do well on a middle / high rung (Gamma+ or Beta-) but will never "do a Jobs".

[1]http://jasonevanish.com/books/
It would seem to me that no explicit arithmetic is being done - it's simply a consequence of natural behaviour.

Consider the case of a starch channel, the size of which is governed by two factors - the quantity of stored starch, and the time since nightfall. (Other factors may also affect the size, but are irrelevant to this discussion). This seems like a construct that could quite feasibly appear in a plant. No arithmetic is being performed by the plant, but simply these two factors working in concert cause the rate of starch consumption to appear to be based on whatever the starch level was when night fell.

The fact that the observed rate of consumption is such that nearly all the starch is consumed by morning is easily explained by natural selection - plants that consume starch too fast obviously starve overnight, while plants that consume it too sparingly are using their resources inefficiently and so would tend to be out-competed by plants that make better use of them. Over many generations, the base rate of consumption would become tuned to how long nights last in that region.
I haven't tested it thoroughly, from what I remember urlparse works fine.
Your third sentence is a pretty effective rebuttal for the first two...?
Exactly, AFAIR it's always been sorta known that US intelligence agencies can spy on non-US citizen data held on US servers without a warrent. The PRISM lark is mostly big because it's spying on US citizens.
Oh man, I just dug out my first project - a clone of Breakout written in Turbo C++ when I was 16. I think I managed to make every software design mistake on the way:
https://gist.github.com/pathikrit/5848927
OpenGL – OS X Mountain Lion vs. Mavericks
> States, regions, and cities have broadly differing cultures and atmospheres, sometimes even to the same extent as going from one country to the other (especially when it comes to climate.)

OT: I find it funny that as soon as a foreigner talks about "how the US is", Americans are all too eager to point out how diverse the US is and how it is hard to paint it in broad strokes. Meanwhile, Americans are all too glad to visit two European countries and relay their experiences by refering to the places they were as "Europe" and the people there as "Europeans". Europe, a continent that is in a whole other league then USA the country when it comes to diversity.
It's not quite what you are asking for since it's recursive, but there is a setting in the Finder's preferences, Advanced, that lets you choose how the Finder's Spotlight field works. I always change it to search in the current directory only.
> THOSE FAT LAZY SLOBS WHO WON'T DO ANYTHING

To the people who hold that view (not you, clearly) I would say, I have never met anyone who doesn't do anything; the hopelessly unemployable people I've met have usually been a really poor match to the workplace. They don't like the 9-5, they don't like being told what to do, they don't like hierarchy. They tend to invest heavily in their hobbies and non-work interests. This is probably something which hackers and entrepreneurs can relate to, btw. Of course, it makes no sense to people who feel comfortable and warm inside a hierarchy, like to know their place, and like being told what to do (and, hopefully, acquiring a coterie which they in turn can tell what to do).

Personally I share your vision of a more interesting and stimulating future free from the shackles of mandatory work and based around willing collaboration. I'm not sure it will happen though, if a small group of people with wealth can opt out of society altogether, except for using it as a source of greater wealth, on which they refuse to pay any tax.

I'm not opposed to capitalism, btw, I just feel it should serve everyone, not just the few.
I also agree with that. I wouldn't want to live in a society that is okay with killing or otherwise harming someone for stealing or breaking into someones home, because it would profoundly change how criminals act, and I'm also not a sadist that enjoys harming other people.

If someone breaks into my home it could be annoying, or maybe I will even experience fear to some degree, but I am also insured, so it wont hurt me that much, as long as burglars generally don't feel the need to protect their lives with weapons.

I would protect myself an my familiy by force if I needed to, but I wouldn't do it just to protect some stuff that someone tries to steal.
it's in fedora and debian (package name global). what distro do you use? it seems easy to package...
A gardener cuts my lawn for money they are not payed to be nice.

If they are nice then I assume it's because they are nice, not because they are doing it for money, since there's no direct obvious correlation. (Especially if they don't own the business.)

Prostitutes are payed to be nice, that is their service so the nice bit is "unauthentic". Just as the gardener might not be cutting my lawn for love, it's probably just money, but the friendly conversation probably is real.

Once you start tipping the niceness is much more out there as possibly faked.

Simple statement to me.
WebRTC is not a silver bullet, it mainly standardizes the profile for enabling interoperable media (via SRTP, SDP,...) and an API to control it from JS.

The signaling is open, so it is mainly up to the developer to decide the topology they want to enable: p2p, mesh, centralized MCU, hub-and-spoke, overlays, etc.

However, in many cases you'd have to use a TURN server to communicate from within very restrictive firewalls. This turn server could possibly run by anyone, including you. Just need to call the appropriate API with your own TURN server.

I run restund (a open source turn server) on an amazon instance and route my packets via that (I also remove all other ICE candidates and just keep the TURN).
Give man food, give man clothing and warm place to stay, he will star to think.
It was an epiphany for me when I realized compression, statistical modeling, and artificial intelligence are all the same problem.
Command-Option-T is the equivalent key combination.
>It's unclear what your argument is, here.

Because I'm not making one. I'm stating what current "mainstream" economic thinking has been doing.

>Government expenditures aren't decreasing or being cut back massively: they're consistently rising, year on year. This isn't merely some artefact of Democratic administrations (which are hardly anomalies and can't be ignored anyway), because even the Ryan budget included year on year increases, albeit at a slower rate (that didn't keep pace with medical inflation, for better or for worse).

That is very true! But the prices of commodities and other equities is going up faster, while wages and salaries have been stagnant for decades (gas for example when I was a kid in the 90s was around a dollar, now its 4x that). We can automate all the things in the world, but if the masses can't afford them without massively leveraging themselves to the point they can't make payments (or without refinancing their houses), the economy isn't going to do any better.

Printing money and giving it to people and expecting things to be stable is like trying to make two sides of an equation balance out by adding more to one side than the other, it's just inherently unstable. In markets, if consumers have more to spend on things they supposedly need, then sellers will be incentivized to raise their prices on their goods. Boom, your printing just did jack shit for stability. My IB friends talk to me about this all the time… just look at corporate balance sheets vs the DOW (can you say POMO?)…

Until the value of things robots will be manufacturing is closer to the range where people can actually afford to buy them (and meet their needs comfortably), you will only see things getting worse.

Until then, my crystal ball is for CDS backed by securities student loans/housing/faltering governments and municipalities, Defense Distributed/3-d printing/urban-ag, and cheap valuable land, and writing code to integrate these things…
>as computers will become self-deterministic

[citation needed]

Also, the most problematic will be the transition phase, where 50% don't find work at all, most others only find low-paying jobs and a small elite has the highly-payed jobs and has to either support the others or emigrate.
I hope you are talking about real imports, and not just those Export brand ones. I mean; can you get a Leffe there?
Twitter Bootstrap 3.0 Documentation (unofficial)
You are mistaking State for Government. The State simply exists, that is why it has to be defended. The State does not act by itself (it is the Government, "in its name"). This is why the State would be defenseless if prosecutors did not exist, and this is why separation of powers is so important.

I know I am speaking roughly and without technicalities, but the fact that the Government does something does not imply that the State wants is (which is, for example, why the 4th amendment exists: in order to protect, in some way, the State from the Government). And that is why the Constitution is above all mandates of the Government, even if they have been approved by Congress and the military are 'pushing' them.

"The interests of the public at large" is what is meant by the State.

That is why trials (those dealing with the Federation) begin with the words "The US vs whomever", not "The Government of the US" or "The President of the US".
More people requesting entrance isn't going to magically increase the quotas all developed nations have for residence.
When talking about this I often encounter people going "BUT WHAT ABOUT THOSE FAT LAZY SLOBS WHO WON'T DO ANYTHING?!1!?" to which I can only reply: What about them? So a few people will sit around and do nothing. What's so bad about that if their labor isn't needed? It's not like a few lazy people will bring about the end of our civilization…

It's always important to remind those people that it's better to have some parasites at the bottom of society (under basic income) than to have parasites at the top of it (under the current corporate elite).

I support BI because it will change the workplace dynamic outright. It will be focused more on getting things done and improving the world and less on servility.
Hey, added a license, thanks for your comments.
Some other contributing factors: cultural attitudes to failure, and as a consequence cultural attitudes toward entrepreneurs, heterogeneous audiences (the USA has ~300M people speaking mostly the same language), far less advanced ecosystem - success breeds success in terms of both experienced founders, broader angel investment, stronger networks etc.

Of these, I suspect the cultural attitude toward failure is by far the most significant. I think the USA breeds more successful startups primarily because it breeds more startups, due to failure being viewed much less negatively.
Perk of being a doctor is a nice short .md domain? ;)
It will be cheaper to engineer a die-off via covert bioweapons and such.

That's not easy-- how does one keep that kind of secret while setting it up?-- and the precedent it sets is dangerous. If the non-elite are all killed off, then most of the remaining people (formerly elite) are non-elite and the cycle repeats.
This isn't Stack Overflow. Stack Overflow needs to be strict to handle the thousands of questions that pour in every day. Many other Stack Exchange sites are under less pressure and could decide on different policies. However, most sites' communities have also rejected such questions because they do not fit the Stack Exchange model. The software and policies are not optimized the handle this them a site filled with them would be terrible.

The Apple Stack Exchange community decided that list-style questions are acceptable in very limited quantities. (They tend to be broad, which help avoid the need for too many of them.)
There is a big difference between "Subsequent facts have shown them to be right" and "Evidence existing at the time already strongly indicated they were right".
There are plenty of people who want to build things in a decentralized, distributed way for fault tolerance and cost reasons -- those people tend to be fairly competent.

Or, decentralization in the face of a very specific threat (e.g. MAFIAA and piracy-optimized things like BitTorrent, and FinCEN and things like Bitcoin).

Until recently, there weren't widely-believed threats to general Internet use.
There is a difference between writing code and writing prose though. I've met many, many, many programmers who might have been good at their jobs but suck terribly at expressing their ideas during meeting or even in emails. It makes team work very tedious and time consuming.
How to use Propel in Laravel 4
Sure, but as long as there's federation or something like it, you get to pick your choice of a server (including running your own). That's good enough for me.
How so? Several open-source clients exist. Were they reverse-engineered?
Here's a posting I made a while ago about this trick: http://superuser.com/questions/196141/keyboard-shortcut-to-u...
Point taken. But see, here in Switzerland, even before speaking of attitude towards failure, the simple fact of saying you are working on building a web startup... ...gets you considered as an unemployed failure. That is one major cultural difference.
My Galaxy's screen broke the first time I dropped it :(
Snowden’s Revelations Will Lead to Improved Accountability, Transparency
Leaks revealing the extent of NSA’s domestic surveillance have surprised Americans and many in Congress, but nothing is there that we should not have already known. My greatest hope is that it will bring reform and spark America’s consciousness.
A couple of questions:

It currently appears that further automation concentrates income to a smaller and smaller group of folk, how do you propose we mitigate that?

While automation will provide for an abundance of some things, we are running out of other things (oil, rare metals, bluefin tuna). How should scarce resources be allocated?
>Skrillex uses Prime Loops! [1] Anyone with GarageBand can do that. I always say "Skrillex isn't Dubstep, it's 'Commercial Shit-step".

Which means absolutely nothing. Lots of very talented producers use loops and samples, and there's nothing wrong with that. As long as you use them creatively it says nothing about your skill as a musician or producer.

Yes, anyone with Garageband can use loops. But not everyone with Garageband can produce to a professional standard, or write a decent melody, or chord progression, or arrange a song, or create the perfect synth patch, or create something new-sounding etc.
You should take a look at the Meshbox.

http://en.wikipedia.org/wiki/MeshBox
http://locustworld.com/modules.php?op=modload&name=Sections&...
He does have a good point and this is going to happen eventually the question is how it's going to happen.
Are the big corporations going to accept this or are the going to lobby their asses off to stop it.
If they do and they win then we will most likely have another massacre of the rich and greedy.
Seems World War 3 is inevitable if corporations are going to fight this. Hope nobody uses the nukes or we're all screwed.
Empower Your Business With Android Application Development
Successful European startups:

* Bebo (remember them?) - UK

* Mojang - Sweden

* Mind Candy - UK

* Spotify - Sweden/UK

* Rovio - Finland

* Shazam - UK

* Habbo - Finland

* Miniclip - UK

* Badoo - UK

To name a few.

EDIT: How could I forget Skype? Estonia.
>and it allows for a recognition of the value of certain types of non-market labour, like caring or raising children.

How? It looks like a full-time carer and a full-time layabout would be equally rewarded.

That said, I agree with the idea in general, the removal of the claim stigma is pretty important.
> Are you arguing that there exists a class of people smart enough to gain admission into and pay for college, yet too simpleminded to assess the hazy job prospects based around a degree in English, psychology, art history, and the like?

Being smart in one facet of life doesn't mean that you're necessarily smart in another one. And smart people can make stupid life-decisions.
Implicit Ideology
Wait, isn't that normal? Are you saying that some people - most people, even?! - don't see the light static when they stare at a clear blue sky?
MitM doesn't involve anyone faking how your friends talk -- it's always just passing your actual packets back and forth, but recording them first.

E2E encryption is only as secure as the key exchange, so if the central Skype server gives you and your friend the keys you need to encrypt/decrypt then just passes along your E2E-encrypted packets... anyone who was able to snag the keys and has access to the encrypted packets can decrypt everything just as you can.
Titlu
Texting texting testing
I like Opera mail client but at this point, it is unusable for me: I have plenty of rules set in GMail but as in Opera Mail, there's no inbox, I only have a view with "unread mails", not taking in account those moved other labels for later read.