skysight-inc/HackerNews huggingface dataset:
> The US constitution gives the reason explicitly as to "Promote the Progress of science and the useful Arts" though

Yeah, I agree. The entirety is:

To promote the Progress of Science and useful Arts, by securing for limited Times to Authors and Inventors the exclusive Right to their respective Writings and Discoveries;

That's the whole description in the constitution. At the time (1780s-1790s), other countries had patent systems, including the Empire from which the authors drew inspiration for at least other aspects of the constitution. A patent system wasn't a new idea. For that matter, the 1790 implementation of the patent system also looked very similar to the others of the time. My guess is they were thinking "hey, let's do that too".
Well, benchmarking without optimizations enabled isn't very useful :)
Generally, total silence.

If in busy environment, I put on some headphones/earbuds and maybe a little Dave Brubeck.
I'm from 1843. Nice to meet you.
Viral App Yo Has Already Been Hacked
> patents were up and going long before it was written.. the US constitution does not contain the idea behind patents.

Yeah, I find it very interesting how the US constitution is often assumed the origin of patents, but the same people wouldn't assume it's the origin of other legal concepts, like a judicial system.
Easter egg for hackers: http://play.typeracer.com/?universe=code (I'm the founder/developer of this site) Glad to see fellow HNers enjoying my creation!
Unfortunately, NumPy uses deep knowledge of the CPython API in quite a few places, which is one of the reasons implementing NumPyPy has been so challenging.
>willful ignorance of viewpoints you don't like

Maybe it's not willful, and that's why I'm asking? Would you care to help alleviate my ignorance?

FWIW, I've actually heard a lot of viewpoints against AirBnB; I just think they're all poorly reasoned.
> Having lived in a BK building where at least 25% (4 out of 16) of the tenants rented out their apt. on AirBnB with regular frequency, I can't wait for this to be addressed once and for all...

I didn't think AirBnB was a thing in Bangkok at all!?
An HOA board which explicitly allows Airbnb listings, and especially one that profits from it, is in for a world of pain. You cannot get financing for a mortgage in a short-term rental community. That will discourage new buyers who can't get financing and drive down re-sale values.
It works quite well, in my case. There is only one pitfall: conflicts. Since two edits on the same line become a conflict, this can easily cause headaches unless some sort of agreements or conventions are in place. For somebody acquainted with git, it's not bad, but typically if somebody doesn't use git, svn, etc. and they have a conflict, the merge process is far from painless. The best way to avoid this is simply to add newlines as frequently as possible, after every sentence as a minimum; also, have some sort of understanding with your co-authors about who is working on which sections. This may or may not be easy for you, depending on the technical content of your writing.

For my own notes and papers, it's great in all the ways that git is supposed to be: keeps me organized, keeps things backed up (I use BitBucket, free unlimited collaborators with a .edu address), and makes me feel better because I have more control over the whole process (as opposed to Dropbox or Google Drive).
I'm disappointed that the post's title was not literal. Don't DO that.
It's funny that DoIT comes up because I happen to work in the same building. I generally leave around 5:00 and without fail when I open my office door the lights are out because people rolled out so long ago that the system shut them off due to lack of activity. Either everyone gets to work at about 7:30am or nobody has ever worked an eight hour day this year.
What's "annotated" about it? It's just a copy of the original essay, unchanged.
There is a flag on linux in /proc/cpuinfo that tells if it supports a constant rdtsc
BK also refers to brooklyn
I just finished editing in step 6 and saw your comment after I hit update.

Currently, ART uses Dalvik bytecode as a platform independent intermediate representation. I wonder if Dalvik bytecode is ideal for that purpose.
Article from 2012. Yes, fraud. Done.
Wonder if it can be faster under higher parallelism conditions. Multiple threads doing some CPU intensive work?
How much would you charge?
Show HN: Jolicloud Drive
I used to think like you too.. but after Jobs/Apple launched the iPhone the trend for jitted languages, as popularized by Java in the nineties is going down..

Because of the phones and batteries, AOT languages are more valued and even ordinary jitted languages are getting a AOT compiler.. ART for Java and even .Net

So Dart would need to have a AOT compiler first to make it more appealing to mobile phones.. also i think a lot of apps would not like to be distributed in source code form..

So langs like Go now are on the rise.. its funny how technology trends change over the decades... not while ago it was all about dinamic languages..
R Shiny 0.10, now with interactive documents
Have you ever been through an eviction process as a landlord? It's not fast, and its far from easy.
New Vulnerability on BMC, reveals server Admin Passwords
Tesla is now most important automaker in world, Morgan Stanley says
4GB is literally nothing. My laptop has 16, most servers I use have 128+. 4GB is netbook territory.
I am interested in consoles no more. Exclusivities are now rare and pc gaming looks so much better and you can enjoy ancient games and new ones all the same. I hate it when you have to buy again the game you played years ago just because the hardware is newer.
Just order them at a bank, lol
No, you are wrong. It supports both ctypes and cffi, both of which should be the goto for calling native code. Use PyObject has been the stupid choice for over 4 years.
Go is more of a community driven technology.. more in the unix way style, i think google endorse it, but unlike Swift, i think they dont have a marketing department, official budget and the like.. so i think the comparison is pretty unfair
The problem is that not only is AirBnB not trying to do anything about it, they are actually continuing to push ahead further.

Having the building you live in double as a downscale hotel is absolutely craptastic. From all your comments, you seem not to understand this rather simple point.
Another approach should be used for those, but to be clear I wasn't talking about the entire numpy library, I'm talking about things like numpy.fft
All you have to do is search "David Crawshaw", the first result is a Linkedin profile for someone who works at Google and the third result is a GitHub user that is part of the Google and golang organizations.
Jython can utilize threads as well as Java can, so on many core machine Jython wins by a pretty large margin.
The Amstrad PC1512/PC1640 actually had this quirky 640x200x16 color mode. I only ever came across one piece of software except the bundled GEM that supported it though...
Suggestion adopted. Thanks!
> Hyperbole perhaps, but not nonsense.

It's definitely nonsense. Things with corporeal existence are clearly distinguishable from algorithms. It is unambiguously true that a brick is not an algorithm.

> A photograph can be saved as a file on a computer. The file essentially just consists of instructions for displaying the photo. Does that mean photography === mathematical algorithms?

Traditional photography is a chemical process. The shutter opens and the light causes a chemical reaction on the film. Digital photography is an electrical process. Light strikes the sensor causing electrical charges that can be measured and recorded. Both of those are physical processes. Neither of them is an algorithm, although the data either of them produce could be processed by algorithms (e.g. JPEG compression). Moreover, a camera as a product is the sort of thing you could patent. You can tell it isn't an algorithm because you can't load software into a general purpose computer and have the software cause the computer to be able to take photographs without a camera.

> I'm not arguing that he should be able to patent the mechanisms of the game, but not because it's just one big "mathematical algorithm". That's ridiculous; it's a work of art.

That's exactly why it's not patentable. For art you get a copyright, not a patent.

> To use the example from the article, any design must be described with a sequence of words. You can't patent a sequence of words, so all patents should be invalid.

This appears to be the source of the nonsense. You aren't distinguishing between the words (or algorithms) that describe a thing and the thing itself.

> To me, that's not much more of a stretch than saying that all software is simply a collection of mathematical algorithms. Perhaps literally true in a sense, but essentially meaningless.

All software is simply a collection of mathematical algorithms. That isn't meaningless, it's the reason it's impossible for any software to exist that you could load into a computer and cause it to be able to take photographs without a camera.
I listen to Vedic chanting. Even though I understand nothing (I know very little of Sanskrit language), the music itself is very relaxing and helps concentrate.
PyPy has had ctypes support for a great long while.
If you're writing C#, it's hard to believe you'd find Java challenging.
That's my first thought too. Moreover, letting the water roll off the leaves and down near the stem would help moistening the soil near the roots, which would ultimately benefit the plant.
If you're talking about the 5x revenue there are certainly a lot of public data on that.

http://www.wolframalpha.com/input/?i=aapl+goog+msft+facebook

Look for revenue/employee.
Why do we make decisions our future selves regret?
> And then people wonder why Apple is able to attract so many developers to their platform...

There are quite a few more Android developers than iOS ones, not sure what point you are trying to make.

Go will probably have zero impact on Android but Java has certainly been instrumental to Android's success.
So everyone suddenly hates AirBnB, huh?
It sounds like they pay Nest based on:

http://www.forbes.com/sites/parmyolson/2014/01/13/nest-gives...

"Nest founder and CEO Tony Fadell told Forbes last month that his company had struck deals with close to 20 utility companies, who paid Nest $30 to $50 per thermostat annually, to manage the energy usage of Nest customers who had opted into their utility’s demand-response program.

As part of the program, Nest temporarily take over the healing and cooling of a homes for a set period, perhaps a few hours, and customers are notified that an “event” is set to happen some time beforehand. When Nest does this over multiple homes in a neighborhood or county it can, Fadell claimed, lower energy costs for utilities by 50%, by re-routing peak energy being used in empty homes.

“We know how many people are home during those times,” he said “We know which homes have cooling, we can go through the data and we can say we believe we’re a five megawatt power generator or 10 megawatts in this county. That’s what we can deliver – 50-60% of the energy that was consumed in that window has been shifted away.”

The services makes Nest a middle man for utility companies, meaning that Google itself will now play a role in managing energy efficiency programs across wide swathes of home and even counties – something that Google has been keen to do for some time."

This is pretty much why I wouldn't buy a Nest. I don't need a 3rd party knowing when I'm not home.
Here we go again... (flagged)
I'm surprised C# is gaining this much traction in the games community despite the complete abandonment of both XNA and Managed DirectX by Microsoft.
Taco Bell's Theory of 'Disruptive Innovation'
At some point, it won't matter whether your browser supports a particular feature of the web. Any site could just embed a copy of WebKit for browsers that are too old (i.e.: when the latest version of Firefox is a few dozen versions behind) and render the page using the latest rendering engine.
I would suspect ownership of physical addresses to be a lot less murky and problematic than copyright ownership since it is a matter of public record and issues of fair use do not come into play. Ownership of a physical address could be verified once and thereafter excluded until a new landlord who buys the property opts-into the service.

IANAL, but I would think that if Airbnb ignored a request to exclude addresses, that would likely expose them to a greater chance of losing a lawsuit.

Additionally, cities or states could pass laws requiring services like Airbnb to have easy opt-out policies for landlords rather than banning the service altogether.
December 1st. 1.3 slipped by two weeks but 1.2 was on the money.
My guess is not so optimistic. # of real rust programmers is low. If integrating Firefox with Servo means having 1 small part of Firefox integrated with Servo, mabye, a month of work? But the entire Firefox render engine with Servo will probably be at least 5 years away. While 5 years seems a long time, don't forget time fly and bug blockers come up.
It's probably more dependent on the volume of customers for all these data companies.
I hate to be cynical, but I think this statement is a well calculated PR move to make people comfortable with one of the most invasive possible devices there is. You are giving Google access to an always-on camera in your house!
ok...Very cool. Let's definately catch up.
What does this have to so with PHP? This is a Wordpress problem, not a PHP problem. That Wordpress is implemented in PHP is completely irrelevant in this case.

Note: in case the ridiculous title the submitter picked gets changed and this comment no longer makes sense, the title was "PHP approach to random number generation".
Renting your residence to vacationers is antisocial now. Ok.

I have to wonder what proportion of Airbnb's transactions ever cause any kind of disturbance to anyone. If it's the rule rather than the exception that "vacationers" turn out to be party animals who tear up the place, it's surprising that tenants in prosocial environments would even continue to take that risk.
C# lets you develop games that run on Windows, OsX, Linux, Android, iOS, Windows Phone, Xbox and PS, while sharing all non-UI and parts of the UI code.
You make no money when your system fails because it's overloaded. Also, most utilities need to purchase energy from other areas, at a significant premium, during peak usage days.
How we Built Realtime Analytics
oh dude, solution is easy. Join a start up! I've been to many startups. People work hard day and nights and weekends and they spend all their time together, eating, joking, fighting, complaining, stressing out. it builds really friends! no one cares about your english because after a while there is an unspoken understanding between the close 'brothers'. Join a start up today!
Disinfecting Your Water | When Technology Fails by Matthew Stein
Bubblegum pop on Pandora.
That's pretty brutal. One reason why Heartbleed was such a potential problem was the monoculture that tends to come when FOSS software becomes reliable and popular. Having more options out there is good, but I don't see why OpenSSL needs to go away. It had one major zero-day, then when people started paying attention to it, it got 1. a lot of attention to its security and 2. a not insignificant increase in much-needed financial support. Hopefully, we'll see more stable and well-tested TLS libraries out there, and the fact that there are now a few forks of OpenSSL is a good start.
> Would you care to help alleviate my ignorance?

People don't want to be regularly woken by strangers in their building.
Uh. I want free flow of information inside the company, or of certain kinds of information between companies (or company and general outsiders). You absolutely do not want to share your most sensitive company discussions with your direct competitors. There's also some information which is regulatorially or legally sensitive and can't be shared outside the company before "everyone" has access to it.

Another source of daily irony is I dislike open plan offices in general as a developer; I'm now more a product manager (although I do tech stuff as well, and conference papers, and such), which is a role which does strongly benefit from open plan, and I've also we've built monitorhenge at a pod of desks in open-plan, out of Seiki 39" 4K and portrait-mode 24" U2410 monitors. It's essentially a re-creation of my favorite work environment; a private office shared with a small team.
One of the callout quotes from the article:

Of course it’s possible to love what one does, be good at it, and still be exploited.

A job that people love, with a glut of qualified people. "I always dreamed of being a professor."
>Some of these contingent employees are full-time lecturers, and many are adjunct instructors: part-time employees, paid per class, often without health insurance or retirement benefits. This is a relatively new phenomenon: in 1969, 78 percent of professors held tenure-track positions. By 2009 this percentage had shrunk to 33.5.

Would be interesting to know if college prices began rising at a higher ratio to the CPI around this time.
Here is another really good one: http://mrdoob.github.io/three.js/examples/css3d_periodictabl...
FWIW I also started writing a init-like server in Go. One thing I ran into was that Go's APIs sort of coerce you into having an extra thread per process. runsit also has this issue. See line 489 of runsit.go, pasted below.

You can do it non-portably in Go by using os.ForkExec and Wait4(-1). The portable exec package assumes you will call Wait(pid), and not Wait(-1), which basically implies using a thread per process. Go's runtime isn't magic -- if you call libc/syscall wait(), an entire thread will be blocked, and the runtime can't use it for anything else. In this case this is the lifetime of an entire process, which is forever for server processes.

I'm pretty sure nobody would use a real PID 1 that burned a thread per process (systemd, upstart, etc.). But yes, for most use cases, in the grand scheme of things, it's probably not a big deal. I suppose Linux has an O(1) scheduler, although I'm not quite sure how this affects scheduling (interested in any comments).

But this goes to show that portable APIs are awkward and obscure for low level code. Better to use raw Unix APIs for something like an init server. Python and Java have similar problems.

IMO all interesting code nowadays is POSIX-like, so we should drop the pretension of portability and simplify our lives. Unix works.

// run in its own goroutine
func (in *TaskInstance) awaitDeath() {
in.waitErr = in.cmd.Wait() // ties up an OS thread for the lifetime of a process
...
}
My guess as to why that might be is because there seems to be a trend of expenses of institutions expanding to their budgets, private institutions (especially the glamorous ones) have big budgets. Presumably the perverse incentives problem occurs to all moderately large institutions, but the budgets of less well funded institutions have less room to grow.
Why would a lender be troubled by this? The property, due to a new source of income, is worth more. Seems like more income = less risk from the lender’s point of view.
Egison: A Lisp Written in Haskell with Advanced Pattern Matching
The thing that allows you to post on this forum is the prior art computer hardware. The software only tells the hardware what you want it to do.

Moreover, your formulation is erroneous. Concrete things can do abstract things. The fact that a particular braking system can slow down a car does nothing to establish that "slow down a car" is not an abstract idea. It clearly is an abstract idea.
It's really a very poor example of real-world behavior. There are cases where pointers will perform competitively against objects, and sometimes shine.

Vectors are awesome because of contiguous memory allocation. Vectors are also horrible because of contiguous memory allocation. Really, the rule is that you have to understand what is going on beneath the data structure abstraction. When your vector starts resizing, when you don't know beforehand how many elements will be in it - that's when you start to consider using pointers instead.

In the very first line of code, he reserves space for `count` variables - not something you're always able to do. (When you don't reserve the space beforehand, the vector is created with some initial size, and then if it exceeds it, all pre-allocated storage for the vector must be copied to a new location w/ the new size - rinse and repeat as needed.)

Obviously there are always better data structures more suited to your needs, in this case a deque might come in handy (it's quite the underrepresented STL data structure).
Question: Is a typical adjunct professor qualified to teach in a public school? And related, would they want to if they could?

I teach overseas, and I would never qualify to teach in an American school -- I have a college degree, and some teaching experience (from when I was in college), but no teaching credential.
But it is precisely that inescapable fact --that perverse micro-incentives at the individual level, driven by basic human nature, run everything at the ground level-- that often creates the need for institutions like government in the first place! Whenever there are tragedy-of-the-commons like externalities / collective action problems, in many cases it is provably superior to have even highly deficient government-like institutions than fully unconstrained individual action[1].

Think, for instance, any of today's failed states to see what total lack of basic governance actually looks like.

[1] http://en.wikipedia.org/wiki/The_Logic_of_Collective_Action
It is stunning to me that such well educated and hard working people would want to work in such a corrupt system instead of striking out on their own for the betterment of society.
Yes, but for things like CMOS imagers and MEMs, not for regular semiconductors.
If your rent is $40 a day and AirBnb guests are paying $80 a day don't they deserve to be there more than you? I don't buy the "I was there first" or "but zoning" arguments.

Besides, I've lived in private room in a hostel in a developing country for the last three months and haven't experienced any of these problems. I find it hard to believe the average apartment building with AirBnB units would be worse.
It has always been about language features, abstraction power, and maximized interactivity. Exactly how one achieves these isn't the main point.
I have been dying to find an Android dev who has at least written a real app but I'm overflowing with iOS devs. Any advice where to find these guys?
Surprise Store: Buy Something Random For $10
And that's with LOTS of overhead people, communications complexity, etc.

If you strip out just the developers at a big company which is very profitable and product focused, you'll get even more insane revenue-per-employee figures.

It's depressing/unpolitic to say, but the "free meals, shuttles, etc." are intended for the developers, management, and other highly-in-demand people. It's probably overall worse for corporate culture to set up multiple tiers of employees, some of whom don't qualify for those perks, but a company with huge numbers of easily-recruited, low-value-add employees (e.g. walmart) tends to have crappy perks; a company with a small number of key employees with absurd productivity and profitability per employee (hedge fund?) tends to have amazing perks.

(That startups tend toward binary outcomes based on the productivity of the first 5-10 people is probably not in dispute here, I assume and hope.)