skysight-inc/HackerNews huggingface dataset:
Are you guys aware of RaySupreme 3D? It has had a text-to-3d feature since at least 2013. Not sure how well it works.
Terra seemed promising when I ran across it a month ago. Does anyone know if it's possible to use LuaJIT's ffi module while writing Terra code?

What I mean is, there is a large body of existing code that I'd like to run alongside Terra. But if the choice is Terra xor LuaJIT, this becomes difficult.
The C standard doesn't exactly "inherit" the 170 pages of the C language spec. As far as I know, the core C++ language (excluding the library) is defined entirely by the C++ standard, without reference to the C standard. It was certainly based on C, but the description doesn't depend on it.

The C standard library is incorporated by reference (with a few tweaks) into the C++ standard. Of course the C++ standard library also includes a lot of material that isn't in the C standard library.
Me either, but unless the client self-updates I'm running a 3.5 year old client.
I store my whole workspace on Dropbox (minus some sensitive projects which are in my tarsnap-workspace). Every single one of my projects starts out with

>> mkdir projectname && cd projectname && git init

but not all of those projects end up on github/online repos.

Regardless, git is not backup, and dropbox isn't (real) versioning.
I was thinking that everyone every 2 miles would send a drive at the same time.
The biggest issue is the believe that there is a separation of "extreme islam" vs "mainstream (non-violent) islam" when the calls for violence in the religion are extremely clear and in their holy book: https://www.youtube.com/watch?v=4LBpmPXv1R4
Isn't O(log(n)) equivalent to O(sqrt(n))?
I too am genuinely surprised that Novena wasn't the top comment here
Why do you take the punishment? There are tons of other storage+sync providers available.
A New Approach to Procuring Government Technology in California
They withdrew the request. And presumably the privacy of that individual is still important enough not to disclose these details.
What other commenters have not mentioned is, are you in a financially safe place to do this? Is your idea big enough to keep you intellectually stimulated as a full-time gig?

I feel strongly that you should leave where you are now. You're not enjoying it, and more important, it sounds like you are not learning or being challenged.

I'm sure there are other interesting jobs in Dallas, but it sounds like you need a bit of time between jobs, which is fine.

I'd give yourself a 6 month plan. You're going to work on your side project for 6 months.

The first thing will be to set out what you can accomplish in 3 months, and prepare yourself that after 3 months, you should start interviewing seriously.

During your first 3 months, you should spend a bit of time networking with the dual goal of promoting your project and keeping in the loop with the tech world so that when the time comes to get back into the work force (if the time comes) you still have connections.

Employers will likely appreciate the time you took, the reasons why and the effort you made with your passion project.

Best of luck.
An odd conclusion when it's beating many laptops.

Also, an i3-4005U Processor (3M Cache, 1.70 GHz) is fairly topical of a new baseline laptop.
Software is licensed, not sold, so its quite different to a physical device that is sold.
Over 95% Global Population Now Covered by a Mobile-Cellular Signal
Per the last posts: Number of heaps: O(n^(1/3)). Maximum elements per heap O(n^(2/3)).

Lookup of an element. Find the heap with the element (i.e. element between maximum of previous heap and this heap). Perform linear search in heap. Worst cast complexity O(n^(1/3) + n^(2/3)) = O(n^(2/3)).

Insertion of an element. Find the last heap those maximum element is still larger than the element. Extract top element of the heap and insert the new element instead. Then propagate upwards (i.e. extract top of next heap and insert top of previous heap, etc). Worst case is O(n^(1/3) + log(n^(2/3)) * n^(1/3)) = O(log(n) * n^(1/3)).

Deletion of an element. Find the heap with the element (i.e. element between maximum of previous heap and this heap). Remove the element from it. Extract top of next heap and insert it into this one. Then continue propagating upwards. So this is O(n^(1/3) + n^(2/3) + log(n^(2/3)) * n^(1/3)) = O(n^(2/3)).

Building the structure. Why is this O(n)? If you have already segregated the array into segments for the separate heaps, heapifying them would be O(n). How can the segmentation be done in O(n)?

Edit: Using the suggestion of splitting up according to 1+3+5+..+(2n-1) = n^2 we'd get:

Search: O(sqrt(n) + sqrt(n)) = O(sqrt(n))

Insert: O(sqrt(n) + log(sqrt(n)) * sqrt(n)) = O(log(n) * sqrt(n)

Delete: O(sqrt(n) + sqrt(n) + log(sqrt(n)) * sqrt(n)) = O(log(n) * sqrt(n))
> can we learn who the FBI was spying on?

It seems to me that only that person themself should reveal that, or not, as they choose.
This is part of why the ACLU, EFF and NRA are the institutions I'm most in favor of donating to. The encroachment of civil liberties, increasingly intrusive actions from our own government and the like are getting pretty rediculous.
How can this thing be 64-bit ARM when it doesn't even have a motherboard or processor?
No.

Just as (e^n) grows faster (in the limit) than any polynomial of n, such as n^2 or n^100; likewise, log(n) grows slower than any polynomial of n, such as sqrt(n) = n^(1/2), or even n^(1/100).

They are both practically pretty slow-growing, though. It may well be that for practical sizes, constant factors matter more than the asymptotic difference on present computers.
Agreed. There has to be a place for principles in this world.
The Uzbek Silk Road Affair: Power, Pop and Billionaires
Secret Savings of 50% Off InterConnect and Pitbull and Sir Elton John
http://tvraman.github.io/emacspeak/videos/

I think they're from 2007 though.
> This new article does not disclose who that subscriber was

Which is good. He deserves his privacy, and only he should decide if to reveal himself. (Unless he's actually charged with something in court.)
That's deeply unfair, considering how positively Knuth responded to the question

> Future volumes will probably be even more "app-likable," because I've been collecting tons of fascinating games and puzzles that illustrate programming techniques in especially instructive and appealing ways.

and also how many of the other questions were "What's your favorite X?", not insightful.
> Not all projects are about being sensible. This is "hacker" News after all.

Problem is: people in the node.js community have a pattern of going from the "weekend hack" to the "production" stage in weeks.
Code maturity has no meaning to some.
Which are these parts?

I'm guessing ... Mars? Because most places on Earth programmers can work remotely.
Why You Love Foods That Others Hate ( and Vice-Versa )
Somewhat the same problem with Python as well. I really would like to see Perl 6 become a standard, I guess craigslist uses Perl 6 if anything now that I think about it.
They should watch the directory, not the file.

The limit is found here: /proc/sys/fs/inotify/max_user_watches and defaults to 8K, not 300K, so I don't think it's the cause of this problem.
Whats being overlooked in most of the comments here is that Apple is killing off the only non-licensed hardware input that their iDevices had since the beginning, and the one without which a number of companies, including Square would probably not exist.

Im not sure about this day in age, but as someone working on hardware adapter feeding a stream of data into the iPhone in 2009 and 2010, the cost of getting into an MFI(or whatever the licensing term for hardware/bluetooth interoperability with iDevices was) was cost prohibitive and largely NDA-d out for smaller startups. So we went with the audio input just like Square did.

Unless something has changed in Apple's attitude to licensing and interoperability, the door has just been shut close for companies trying to innovate with other hardware products interacting with iDevices.
Mathematical Model to Forecast Metastatic Breast Cancer Survival Rates
https://www.dropbox.com/gift
Common sense doesn't scale. That's just a simple, observable fact. Relying upon it is asking for capricious leadership that grows increasingly opaque (and probably less satisfactory) as time passes.
One way to think about the game is adversarially. That is, we first have to publicly reveal our distribution for R, and then the opponent arbitrarily chooses A and B.

If our distribution is "always choose 0" or "uniformly choose an integer between 1 and 100", then the opponent can always pick A and B so that R will never fall between them.

But if we pick with a distribution that is positive everywhere (like the normal distribution), it now becomes impossible for the opponent to choose A and B in a way that reduces our chance to zero. She can make that chance arbitrarily small, but it will always be positive.
Piketty thinks ISIS arose because of income inequality. Greenie professors think ISIS arose because of global warming [1]. Isolationists think foreign interventionism gave rise to ISIS (see elsewhere in this subthread). ISIS themselves think they're following the teachings of their religion and would probably find all these other excuses that the West is trying to make for their existence rather silly.

1: https://archive.is/3cwgG
Agreed, Ive run a few nodes on and off for years, and to date I still have one in the neatherlands running however I have never run an exit node, because I'm just too nervous of the legality around it.
In my reading there were three parts of the article:

Part I: Optimism. Is this a new curative treatment for a cancer with an extremely poor prognosis? We get to see Muizelaar's perspective on why he (presumably) thought he was doing the right thing.

Part II: The Fall. Deaths, lawsuits, the expose, resignations.

Part III: Resolution. Maybe there is some value in an alternative approach that focuses on mechanism and iterates towards human trials via animal studies. But also, maybe there is something to be said about Muizelaar's approach that our current medicolegal system isn't equipped to handle.

To me, the structure of the article helped to underscore that Muizelaar might have been right, which is key for using this article as a way to learn about science and rationality as opposed to solely for its object-level information. Just listing the facts almost certainly would not have been as useful for getting that point across.
It will look like regular plain array of 20 elements (with pointers to your strings). In these 20 elements first one will be the smallest one (use strcmp or similar). Next 4 elements will contain next 4 smallest strings, next 9 next 9 smallest, and then 6 last ones. 1 + 4 + 9 + 6 = 20.

In each of sub-heaps (1, 4, 9, 6) elements will be organized in max-heap. Meaning for each element i, x[i] > x[2* i+1] && x[i] > x[2 * i+2].
machine-state -> command-dispatch -> machine-state' ~zero ?

ps: the idea is that the state is made explicit, so the user knows where and what to diagnose.
What really stood out to me was the idea that the current climate of shooting for an acquisition as a primary exit strategy is due to the threat of the entrenched goliaths of the industry and the concentration of power they have in terms of markets and patents. I had never linked that trend to anti-competitiveness in the market because the market looks so competitive based on how many companies are starting and getting funded.
> This isn't the first time Perl6 has been 'production ready'

I'm curious, what exactly are you talking about?
Used to love yelp but not letting me use the site on mobile browser is an absolute deal-killer. Apple should disapprove any app where the websites functionality is intentionally broken on iOS in order to force users into the app.
No, because sqrt(n)/log(n) is not bounded by a constant as n approaches infinity. Consider: in base 10, if log(n)=10, then sqrt(n) is 5 digits; if log(n)=100, then sqrt(n) is 50 digits; if log(n)=1000, then sqrt(n) is 500 digits; etc.
Based on the warnings in the Console log back when I used Dropbox, Dropbox isn't using fsevents API appropriately but is instead reading from the raw fsevents firehose.
I don't understand this bit:

> Now each of these arrays we organize as a max heap. Moreover, we arrange data such that the maximums of these heaps are in INCREASING order. That means the smallest element of the entire (initial) array is at the first position, then followed by the next 4 smallest organized in a max heap,

Just because the maximums of the heaps are increasing order doesn't mean that the minimum is at the front. It means the first element is smaller than the biggest element of the next four.

Consider, for example:

1 4 3 2 0

1 < 4, certainly, but 1 > 0. What am I missing?
I don't think this is a fair comparison to make. The same publication also publishes MacWorld. And, well, Apple and numerous followers -have- claimed or hinted at that, using some choice benchmarks. I don't think it should inherently imply bias.
It seems like they do that on OS X as well.
PSA: PrivateInternetAccess Vulnerability
Hey all, I'm relaying an email I received from PIA, in case you don't often check the one attached to your VPN account:

"Dear Valued Customer,

On November 17, we were privately notified of an IP address leak vulnerability affecting the port forwarding feature of our service. Essentially, anyone connecting to a forwarded port on any of our VPN gateways could have their real IP address leaked to an attacker specifically targeting a PIA user.

Within 12 hours of the initial report, we developed and tested what we thought was a complete fix, and deployed it to all of our VPN gateways.

On November 26, the researchers who discovered the vulnerability made it public and we quickly noticed that our service was still vulnerable to the IP address leak in certain cases, despite our initial fix. After further investigation, we also realized there was a separate but related issue on our desktop client. To fix this issue we are releasing updated VPN apps to prevent any leaks. We released v.52 on November 27.

Protecting your privacy is our top priority and although exploiting this vulnerability is difficult and requires an attacker to specifically target you, we feel like we let you down with our initial response. Please accept our apologies, we are sorry.

We highly recommend users update to v.52 (or later) of the client. To ensure all of our beloved users remain protected, we have pushed an update to existing clients. Please update immediately from the application or visit one of the following links:

Windows: https://www.privateinternetaccess.com/installer/download_installer_win

Mac: https://www.privateinternetaccess.com/installer/download_installer_osx

Note: If you are connecting to our service with a native OpenVPN client, or PIA's Android or iOS apps, you do not need a client-side fix."
Computations can't be just "parallelized" in any automatic fashion. The code has to be written in such a way that it understands it's running concurrently. So splitting up an emulation of a single machine into multiple execution units isn't really feasible. It could SORT of work if the execution was split up by process, but then you'd run into the fact that Erlang isn't very fast at math.
I personally think it's a combination of things. Sometimes Congress is just on board with what's happening. Sometimes they don't have an idea what's happening. Other times, the surveillance state has their finger on the scale.

I think the case of Jane Harman is the creepiest example of this -- a case where the DoJ withheld prosecution of a surveillance "friend", derived from NSA surveillance, so that she could continue to support an NSA surveillance program.

http://www.theatlantic.com/politics/archive/2014/01/the-dang...
You know, I often ask myself when presented with your argument: How come we don't hear about suicide bombings or mass (targeted) killings against Paris/Europe, US or other western nations by the multitude of poor, highly uneducated peoples of various (christian) countries in Central or South America (or christian majority countries in Africa even). Sure they have killings and other bad things happen, but usually contained within the country.

I see Islam (I don't see a difference between the so called "extreme islam" and "moderate islam" as their holy text is pretty clear that it is extreme"
Technical information was given in the email but wouldn't fit in the above:

"Technical Facts:

The vulnerability relies on the fact that a direct route exists between the VPN client and server. If the client accesses a forwarded port on the VPN server that is maliciously set up by an attacker, the client will use the direct route using the user's default route, bypassing the VPN entirely.

Our initial fix was to block VPN clients from accessing forwarded ports on the same server at the VPN gateway firewall level, but we soon discovered a flaw in our desktop clients that made the fix incomplete. When the client disconnected, the direct route to the VPN gateway was not removed, thereby making users vulnerable even after they disconnected from the VPN. Beginning with v.52, we remove these "lingering" direct routes to the VPN gateway at disconnect time."
Sweden Refuses to Order ISP to Block Pirate Bay
Would anyone be able to link directly to the study's PDF? I was hoping to look into the details.
It really doesn't matter whether your computer is that fast. For heavy (scientific) number crunching you probably want to use a cloud provider or at least a dedicated machine. For pretty much anything else a two year old phone has plenty of power and it's just a matter of whether the proprietary OS that comes with it lets you run the software you want to run.
Ask HN: Free/Open-Source Invoicing Software?
At the moment I can not afford to spend money on a lot of the great options out for invoicing and was wondering if the community knew of any free or open source options out there.

Some of the features I am looking for:

Input your business info,
Input client info,
Input project details and cost,
Generate invoice PDF,
Generate receipt PDF,

Bonus:

Ability to mark/track who had paid and outstanding balances.
This is great, I love the idea of building a complete laptop from the ground up to dispel all the "magic" that goes on inside a manufacturer built consumer model.

Hypothetically speaking, if I was a super-paranoid type who wanted to build my own laptop from scratch so that I trusted every component installed, how would I go about verifying the CPU / SOC was not a threat?

I guess I'm asking if there's anything equivalent to an MD5 checksum for hardware?

It seems that backdoors are being discovered in parts as esoteric as hard drive controller firmware, so I'm wondering if it's practical to believe I could build a personal computing device that is trustworthy.
Facebook’s new headquarters and the future of work
Much better. Thank you for expressing the crux of the confusion & proposing a better solution.
They also have to allow more transparency and access into their financial markets. Being part of the club has costs too. They probably did it because they think they're ready for it.
But do they even themselves know? Did the gag order prevent Nicholas Merrill from alerting the subscriber?

Based on the redacted latter, it appears the subscriber's email address is about 23 or fewer characters.

https://upload.wikimedia.org/wikipedia/commons/f/f4/4610_001...
I liked it. Much better than the simple "LET ME TELL Y'ALL ABOUT AN UNETHICAL DOCTOR" opening to an article.
maybe GnuCash. You'll have to check for features.

Or if it's not at great volume, you could just do it the old fashioned way. About $20 at your local stationary store should sort you out.
4 Techy Ways to Stay Warm This Winter
As a blind programmer I'd love to use this. Unfortunately none of the Linux packages are kept up to date and in the passed I've had issues building from source. There is now a Windows version but I can't get emacs-eclim to work under Windows. Other then emacs-eclim it does not look like there is a good solution for integrating with JAVA and Maven that is kept up to date. If anyone has any ideas I'd like to hear them.
Well, at the time the OP mentioned it, I had never heard of people choosing a position on climate change just because of who would get hurt by the process of addressing it. I still have never heard an example, and I've certainly never spoken to such a person.

I'm not disputing your experience. Some people are just contrary.
"though it's mostly middle-aged white men" - that wasn't necessary there
Yeah except these animals are not exactly cheap.
"Find a gap and fill it, I always say! My great-grand-uncle is the one who came up with disposible ketchup packets. Me, I found a data structure with O(sqrt) search time. Sure it doesn't have all the doohickeys of a Red-Black Tree, it's not as quick on the insert as a radix - but at the end of the day it gets the job done. And to some people, that's all that matters..."
If we're apparently putting people in jail for their intentions then definitely, intentions matter when the situation is the reverse as well. The guy tried to make a stand, messed up under pressure (and who here would dare to say they would not, I'm pretty steadfast but when that sort of power is aimed directly at you and your small company it takes some serious mental fortitude to even consider rejecting the request) and unfortunately made some bad technical decisions.

All in all, nothing but good intentions and with a bit more foresight it would have ended quite differently. I sincerely hope that if I'm ever the subject of such pressure that I'll do half as good, hopefully better but definitely no guarantees there.

And trying to protect Edward Snowden was - especially at that moment in time - something that was a very hot issue as an American citizen well within reach of the arm of the law.
Only the javascript code (and any html) would need to be self hosted. It could still communicate with intercoms API servers, just not load code from remote locations at runtime.
Careful with that deep packet inspection, Eugene.
I built one of these a couple of months ago using a rPI and a simple relay to control the 12v feed to one of these:

http://www.super-feeder.com/csfmodel.html

Literally the code to feed them is a crontab:

0 5,11,17 * * * /home/pi/bin/feed - > /dev/null 2>&1

Using this script in /home/pi/bin/feed:

#!/bin/bash

export PATH=$HOME/bin:$PATH

(
source gpio
echo "Using pin 12"
gpio mode 12 out
gpio mode 12 out
gpio write 12 0
sleep 1
echo "Turn On"
gpio write 12 1
sleep 20
echo "Turn Off"
gpio write 12 0
) 2>&1 | logger -p local0.info -s -t feed

gpio write 12 0

exit 0

/home/pi/bin/gpio is from here: https://github.com/lasandell/RaspberryPi.git

I re-wrote it this weekend as a Openresty powered API (nginx+luajit) and put a web page on with a feed from the picam so my wife could look at the bowl and hit a button to dispense more if the cats needed it.
Here's an interesting article about the history and features of Emacspeak, written about a year ago:

http://emacspeak.sourceforge.net/turning-twenty.html

The text-to-speech engine he said he was still using in that article (Eloquence) is the one you can hear in the videos referenced in another comment.
Do modern western countries even have monogamy anymore? Cheating is so widespread that I almost want to laugh at the idea of monogamous America. Perhaps polygamy is just taking the dirty, hidden aspects of a supposedly monogamous system and bringing them out in the open.
Your comment made me laugh really loud in an office that is dead quiet right now.
Just thought you should know.
I'd believe it might be the most common (though, I'd guess "GET /favicon.ico HTTP/1.1" to be a real contender). I highly doubt either are anywhere more than a small fraction of the total HTTP requests though.