skysight-inc/HackerNews huggingface dataset:
" It doesn't require giant corporations, government sponsorship, complex regulations, or exotic engineering skills to implement." Oh, Come on! With similar government subsidies and Mandates, Donkey wheels could deliver a similar power density. With such subsidies and mandates, donkey wheels would double, double and redouble again, and one could therefore project donkey wheels to exceed all power generation.

Ironically enough, a donkey is 1/3 horsepower, which is 748 watts of power. A donkey at about 250 watts is therefore is roughly equivalent to a solar panel the same size. The donkey has the advantage over solar, in that it's dispatchable, while solar is not.

I wish we considered donkeys instead of Solar as a replacement for fossil fules, since the shortcomings might be more obvious to the innumerate.
go, python, javascript
Fortunately not reaching Beijing's pollution levels, at least not as often, yet.
That's what I meant. It's not a MS Office but an OSX feature. AFAIK the windows version still doesn't let you search through its ribbons.
Further boilerplate reduction: https://gist.github.com/patio11/b472ccb2df3e1fcce78c I was going crazy with all the sit-ups to hook actions/stores together prior to this.
As Bloomberg Business puts it, "How Bill Clinton Helped Boost CEO Pay" (http://www.bloomberg.com/bw/stories/2006-11-26/how-bill-clin...), or more succinctly:

In 1993, Section 162(m) of the U.S. Internal Revenue Code was passed into law. The intent of this law was to reign in outsized executive compensation by eliminating the tax-deductibility of executive compensation above $1 million unless the excess compensation was performance-based.

(http://papers.ssrn.com/sol3/papers.cfm?abstract_id=942667).

I'll also note that those running companies are, by definition in the US, responsible for providing good returns to the owners, AKA stockholders. And it's been noted since 1941 or so, in James Burnham's The Managerial Revolution, that there's a divergence between the interests of managers and owners, so efforts like Section 162(m) are understandable.
The debate between 'responsible disclosure' and public or 'full disclosure' has been argued ad nauseum elsewhere. but it really comes down to trust.

If you don't trust the people you are responsibly disclosing to, to actually fix the problem, or worse to not sue you or attempt to get you charged as a criminal (the CFAA is particularly abusable), then full, public disclosure may be your only option to force the vendor to fix their product or service.

Remember, it's already broken, and you may not be the first person to have noticed.
I think he means to remove the find my iPhone protection. With find my iPhone, you cannot restore the phone, you're always asked for the Apple ID before you can use it again. You can either remove it in settings of the iPhone, on iCloud.com or apple can remove it remotely.
perception of time is interesting. I saw something years ago, I believe the discovery channel, where a researcher put a watch-like device on particpants wrists. its refresh rate was such that you could not see the number it displayed. when a person the was dropped from a height on a bungee, they could see the number. the explanation was the adrenaline serge causing the perception of time to become enhanced, thus the refresh rate was no longer too fast to prevent one from seeing the number. I can relate; I had a car fly in a barrel role towards my car in a near head-on collision all action-movie like. Time slowed and I could make out the driver and passenger with high clarity. their facial expressions, the passenger's 49'ers jacket and her necklass dangling in the air... it was quite the experience! (please ignore typos as my phone is not giving me spelling corrections for some reason)
Git Large File Storage on GitHub (Early Access) – Test Drive
Bizarre that this fellow grimaces at "type erasure". That's the correct way to polymorphism!
I'd add my vote for using Groovy's shell (groovysh) for Java REPL. The shortcuts and conveniences the Groovy lang provides make it perfect for this kind of application.
What's wrong with simply:
Object foo = ...

Not quite var, and it would require the interpreter to do a little bit more work when invoking methods to avoid the necessary downcasting.
seL4 is great, but it's still an incremental evolution. L4 has been a research interest for a couple of decades now (some Japanese students even ported Plan 9 on top of L4), so something like a formally verified microkernel was long coming.

CheriBSD is more of a hardware research platform. We've had capability-based hardware and similar protection schemes for decades, but they never caught on.

Containers are an absolute disappointment the way they were popularized with Docker, and I think it's naive to assume that "microservices" are anything but a buzzword. The microservice architecture itself is exceptionally old and basically a reapplication of OO principles to high-level software components.

Unikernels and libOS are kind of interesting, though.
The background image, on the other hand, looks an lot like the False Creek neighborhood of Vancouver, Canada.
Outrage du jour?

Debating whether free speech should be upheld, and to what degree, on the biggest online forum that exists, is a pretty interesting topic to me and many others who upvoted the article. And I do think building a successful social network ought to be of interest to HN. While the topic may not satisfy everyone, it's a single extra headline on a page with 20 others and is easily ignored. Right now there is NOTHING about reddit on the front of HN, which is pretty odd given its origin as a YC project and the number of people interested in recent news about reddit.

This is exactly why I don't participate on HN often. If the mods want everyone to hold the same opinion, great, but don't expect much real growth or interesting discussion from that policy. Shutting down debate is childish
I seem to recall a old article that compared the usage of unix shell with that of ones daily life.

Could have been written by someone that trained older people on how to use computers.

This by showing how the shell task controls (ctrl-z, bg, fg) mapped to real life tasks.

Say you have a long running task, ctrl-z and bg makes it continue in the background. That i believe he likened to putting on a kettle in the morning. when either is done there will be someone sort of notification, and until then you don't really have to care about it.

Similarly you find something in the mail that you may want to deal with later. With physical mail you put it somewhere that you can see as you move around the home. With the shell you get the jobs command, and if you try to log out without ending them you get a warning.

This all going by memory.
Progressive Enhancement without rainbows and unicorns
I get why that would be nice, but it feels kinda wrong for what Java is[0]. That's why if I need to quickly bang out or test something I use my Scala REPL.

[0] - http://programmers.stackexchange.com/a/184183/7007
Unity's HUD does it automatically for any program you have open. Windows 7+'s desktop search includes programs and control panel applets, but not much else.
C, Go, SQL
Ask HN: Any C programming Postgres wizards willing to port 460 lines of code?
I'd really like to use Postgres as a backing store for libgit2 https://libgit2.github.com/

I wonder if there are any kind C programming wizards who know Postgres and might consider doing the open source port? It's beyond my Python programming skills and I dare not write crappy C code for fear of creating something nasty and insecure.

I can repay either by reciprocating with Python/web development/Linux/AWS knowledge, or if I have nothing of value to offer then I can offer thanks and praise.

The existing MySQL implementation is 460 lines of code.

There's a MySQL implementation here:
https://github.com/libgit2/libgit2-backends/blob/master/mysql/mysql.c

There's a sqlite implementation too:
https://github.com/libgit2/libgit2-backends/blob/master/sqlite/sqlite.c

Some relevant links:
http://blog.deveo.com/your-git-repository-in-a-database-pluggable-backends-in-libgit2/
sounds good to me without giving much thought
1. C: It's not pretty, but it is what we are stuck with.

2. (E)Lisp: Emacs is just too damn awesome, especially if you are limited to just three languages.

3. JavaScript: I guess to be able to do web dev (both client and server side) would be kinda nice?

I'm actually bit surprised that no one else had mentioned Elisp so far, I would have assumed there were some Emacs guys here.
Well, this question has different ways it can be answered. Here's the approach I'd take to be versatile:

1. Javascript because there is no other choice for the browser. Even things that compile to JS will occasionally have you debugging the transpiled code to figure out what went wrong;

2. C. This is really C or C++ as you need something that's close to the metal and on some occasions nothing else will do. C probably edges out C++ in terms of versatility here;

3. Honestly, it'd probably be Java, which makes me sad. I'd like it to be Go but Java is just too ubiquitous and useful to ignore. It covers you for both a ton of web apps and Android development.

An alternative to (3) is really Python. The above list doesn't include any scripting languages, which is a weakness. Python covers this but really loses (first class) Android support. I don't like Python for large systems either.

For fun it might look a lot different eg Go, Swift and yes even C++. It really depends on what your goals are.
You (and the OP) fail to mention the main advantage that sheet music has had over these alternate forms (I know that in celtic music they have tab, which is like this but for mandolins, banjos, etc), and one of the reasons that it has survived this long despite being pain to use: portability.

It is extremely easy to port sheet music from one instrument to another, in most cases this doesn't require any change in written music itself (Or at least, if it does the change is usually very trivial). Conversely, this new format is limited to the piano. I doubt that it would be trivial to port this music to the violin, for example (assuming the violin has a similarily structured music format).
How Much Science Is in the Constitution?
Python, C++, Clisp/Scheme/a lisp dialect/Haskell or FP language of some kind.
1. Ruby - Productive dynamic glue language that gets things done. Chosen over Python because of jRuby and significantly better JVM integration than jython. jRuby opens up the entire Java ecosystem of both libraries and containers within your Ruby code but without having the productivity drop of having to do everything in Java to use it. Also chosen over the other JVM based languages because those are limited to the JVM where it might not be necessary or beneficial. Ruby plays in both worlds better than anything else and is surrounded by so many excellent tools for productivity, infrastructure management and server scripting that it is in my opinion, the best single language to KNOW. Not the best to do everything by a long shot, but it has the best balance of everything when all factors are measured; putting a premium on productivity because if you're going to be able to do that much you need to be able to do it in a timely manner.

2. PHP - There's a reason so much of the web is powered by PHP and that reason is simplicity for small stuff and dirt cheap hosting. PHP scales down better than any other language in that you can fill up a TB hard drive on a 512mb server and all of that code is going to run. It's too useful for the likes of simple sites to forgo, despite its other issues as a language.

3. Go - For high volume concurrency operations and other backbone "must be performant" code. That's where Go really excels and it's significantly faster to write this type of code with Go than with Java. Go just isn't there yet for your typical "websites" so it tends to be better for backend operations or APIs.

Note: I'm purposefully leaving Javascript off of the list because while it is necessary to know, fluency isn't required - similar to SQL. If either of those are list-worthy, then I'd choose SQL sheerly for scaling sake.
Python, Java, and SQL

Python: gluing things together, prototyping, data munging/analysis, web development, ad-hoc non-relational data manipulation.

Java: Rock solid, widely used, maniacally backwards compatible, and easy to find work.

SQL: Imo the best way to handle relational data (and in my experience, almost all data I've seen has been relational).
Correct! Windows didn't have networks properly until Win 95. So FDD status is the origin. Macs could eject floppies, PC's didn't have this.
Having learnt standard notation one can easily read music composed for any instrument, and even compositions from a different musical culture (e.g. makam), whereas with this system one's limited to western-music piano pieces. Besides, standard notation is not hard to learn, in fact it's only as hard as learning the alphabet, which kids do in the school, and I'm yet to see someone coming up saying, hey this alphabet is too hard, better kids explain themselves with pictogrammes and emoji, which convey the ideas more directly and easier to recognise.
The Clean Code Blog: Pattern Pushers
The next step along this path would be to run Perl inside this VM, and then run the emulator in it...

MIPS is certainly one of the simplest instruction sets. A while ago I decided to write one too, for fun, after having done ones for a few other CPUs (Z80, 6502, 8086), and MIPS was by far the simplest, almost to the point of being boring. Getting the branch delay slots right (see http://www.pagetable.com/?p=313 for some details) was the hardest part.
> You can't deny the fact that in the last decade, greeks have become accustomed to a certain life style that can no longer be maintained.

The point of the article is that the 'moral hazard' of lending and borrowing cuts both ways. What about the lifestyle of European bankers & elites? The lifestyle of elites was funded by their reckless lending, buying up "idiot paper" left and right (not just Greece). They believe themselves entitled to collect high-interest rents regardless of the risk which is priced into the interest rate!

To stretch an analogy, it'd be like Venture Capitalists blaming the startups for failing to earn returns on their investments.Rather than take responsibility for making risky investments, they demonize startup founders and employees, and threaten to break their legs until they pay back the firm.

Its "loan-shark theatre" between governments and central banks, with politicians stoking nationalist sentiment and stereotypes (as politicians do) in the service of elites (i.e. the creditors). Maybe you should read the article, instead of asserting "undeniable facts" (p.s. the greek economy has been in a worsening great depression for the last decade; and your handful of gamer acquaintances are a non-representative sample).
"The mods" probably haven't done anything to shut down discussion. The reason the reddit articles don't stay on the front page is probably a result of user flags (and the karma threshold for flagging is low so many people can flag articles).
This reminds me of Gurdjieff and Ouspensky's teachings about self awareness [1].

I highly recommend Ouspensky's "In search of the Miraculous". Well, you can skip / disregard the esoteric bs if you want.

[1] http://www.dennislewis.org/articles-other-writings/articles-...
Actually, that's not true. Here's what I wrote:

"By stealing the string, we put foo in an invalid state".

foo is an object of the SetStringer class. It puts it an in invalid state because it no longer maintains its own invariants.

The whole point of this article is about how you can move member variables for efficiency, while ensuring the owning object is left in a valid state (as move/rvalue semantics require).

Wanting to be able to move a member variable is no stranger than wanting to move the object itself; in that sense an rvalue ref overloaded getter is no stranger than move construction/assignment, it's just more rare because it's less used.
anyone know what time of day this is?
I don't want to use a word-processor at all. But thanks for the input on abiword
Isn't big and clunky like docbook?
9.5 was the target according to this: http://rhaas.blogspot.com/2015/03/parallel-sequential-scan-f...

Thanks for the info.
An example of this: One thing that Windows versions up to at least 7 have always had issues with is that when you rename a file to be the same name with a slightly different case, say after changing an uppercase letter to a lowercase one, Explorer doesn't seem to pick up on the change until a refresh is manually triggered.
> What I'd like to see is a CLI that (a) understands objects by default (i.e. PowerShell) and (b) is discoverable, for example by using mouse interactions when you're trying to learn.

I do not agree. PowerShell is not that great, partly because in spite of popular opinion, text is more composable than objects and doesn't tie you to a particular platform.

And in the context of the article, I would argue that "objects" are a dominant design, being often misapplied and misunderstood. Besides, what you need for communication between processes aren't objects, as objects as commonly understood have identity and objects with identity can't be serialized. What you need is a way to structure that information by means of basic data-structures, like dictionaries or lists. But lo-and-behold, that's what JSON is for.
Got me thinking about the Goonies 2 pause map.
Quoting from a comment on the linked article:

> I’d only add that the corrupt elites were not only overspending, but they were involved in vendor finance scams. Hundreds of millions in bribes on some single deals. The credit came through to sign the contracts, and the bribes were rolled into the contracts. On one deal alone, Siemens, you had the Greek defense minister take hundreds of millions to approve a tens of billions deal. He is in jail, so are members of his family, but then there are 64 others being prosecuted as well for this one deal. Think about it, hundreds of millions spread to 64 people (who probably doled out more themselves).
Still an word-processor, one could have mentioned google docs too.
Computer scientists of all people should understand why standard notation is used. It's a high-level symbolic language that allows for music to be ported across instruments and for the communication between musicians. Low-level markups such as tablature are akin to assembly and machine code. They cut out the work of the compiler at the expense of portability and higher level reasoning (such as key signatures). In this analogy, the musician is a dynamic compiler of musical notation into the physical actuations required by the instrument. Tablatures remove most of the work of compilation by depicting a more direct relationship to the physical playing of the instrument, and for this reason they are less cognitively demanding. But if one wants to be a musician, rather than a player of an instrument, I recommend sticking to a symbolic language such as standard notation. It's hard to imagine a composer writing a symphony in dozens of unique machine codes.
Nasa scientists work to revive Pluto-bound spacecraft after glitch
And I would like it to be open source too and not a web application
Dude, the stealing etc was clearly tongue in cheek.

It seems like the example I picked was a bit unfortunate in the following sense: a couple of people have already misinterpreted the point of the article to be that foo still had content after I moved its string (I won't use stole anymore, seems like a touchy subject).

That's not the point, the point is that the invariants are maintained, which is the requirement for a valid state. I could have reset m_set at the same time as I set m_cached to false, it would still be just as correct.

Edit: I have modified the post slightly so that it's a bit clearer that what I'm after is a valid state for foo, not to maintain the specific things that were inserted.
Which Company?
Company A? Company doesn't hire, people in the company do.

Answer to your Question - "It depends".

A question to your question - Can you make company feel stupid enough to even think about a college degree?
Both get you there, one faster and climate controlled, the other tiring. Why would I care about "agency" in that specific situation at a young age?
Why Deep Learning Works II: the Renormalization Group
Not one single mention of RoundUp or any of the other toxic chemicals farmers spray on crops (especially wheat) right before/during harvest to kill them and dry them out faster. Like the article says, we as a species have eaten wheat for thousands of years with little problem. Why now? The correlation between gluten intolerance and the rise of late-crop RoundUp raises some big questions.
> Didn't realise the YouTube people were PayPal too. Also Kevin Rose worked there: the PayPal logo is his Photoshop work.

I don't think Kevin Rose worked at PayPal, nor created the PayPal logo. Thirdly, I don't think he's a designer.

Chad Hurley created the logo, as he was a designer at PayPal (wikipedia confirms). He told me he created the SpaceX logo, also. And I imagine the YouTube logo, too, as he was a founder.
Researcher Who Reported E-voting Vulnerability Targeted by Police Raid
Elixir podcast
If it's so short, why not give it a shot and put it up for code review so others can catch the nasty and insecure bits? Great learning experience :)
You mean, positive feedback loop. Negative feedback tends to be self-correcting.
> You are saying running X makes no sense because your X server and client are on the same machine.

No, I'm saying that it's hard to properly understand the advantages Plan 9 (or NFS or X or Hadoop) brings if all you have is one machine to run it on.
You manage. Right now it's spring so the air is quite good. Summer will be a bit hazy, fall will be very nice, then by late December it will be bad again. Pollution season is only 3 months/year, though the air is often not super great outside of that.

Also, uber isn't that successful in the jing, taxis are cheap enough (and ya, there is an uber-like app for them), and if you want to go upscale there is didi zhuanche (same app). You either take a car or a taxi, if you can afford $5-$10, or a bus/subway/bike if you can't, pollution doesn't really affect that.
Ctrl-F "immig", 0 results, close tab.
Oh, and here I always thought it just doesn't rename the file at all. NTFS is case-sensitive but Explorer is only case-preserving, so I thought it was just assuming I typed in the same name. When I wanted to change the case of a file name, I always renamed the file first to something else, eg. "Foo.txt" => "bar.txt" => "foo.txt". Thanks for the information :).