skysight-inc/HackerNews huggingface dataset:
A phone book search does O(log N) string comparisons, but its running time is not O(log N) unless you consider all string comparisons to take a constant amount of time. Because for the names in the phone book to be distinct, the strings have to be about log N in size, so each string comparison costs O(log N) in the worst case. So the cost of phone book search is O((log N)^2).

I've skipped some details here: string comparisons can finish early, and maybe N should be the size of the phone book rather than the number of names in the phone book -- but even if you consider these factors, the runtime complexity is still more than O(log N).
The Secret History of Mac Gaming by Richard Moss
Plenty of experts refereed the book, believe me. William Kahan, David Bailey, Gordon Bell, Horst Simon, Ulrich Kulisch, John Gunnels, and anonymous reviewers as well. It was vetted for months before it was released. If you prefer a more formal treatment, Ulrich Kulisch has written up the unum concepts in a paper more palatable to mathematicians.

Incidentally, I submitted a short version to the ARITH23 conference detailing how IEEE 754 could be repaired to give bit-identical results on different systems, and they had it reviewed by three reviewers, one who liked it, and the other two who served on the IEEE 754 committee and trashed it for some pretty silly reasons, like using the word "subnormal" instead of "denormal".

There is no easy way to boil the ocean, but I'm trying.
I would love for this to be an issue consumers could spearhead, but most consumers only care about things like this once they get into legal trouble. It's the same issue with prisoner's and privacy rights. I try to avoid mandatory arbitration whenever possible, but there simply isn't enough consumer advocacy around it. I'm convinced companies like FB could add whatever they want to their TOS and most fb'ers wouldn't blink. Writing to the companies about issues you see in their TOS or Privacy Policy probably does more than simply avoiding them or writing your representative.

This has saturated all markets to the extent that you can't simply choose a company that doesn't require private arbitration. If you want to even play Minecraft, you have to agree to Microsoft's binding arbitration first. At least there's always Minetest I guess.
turtle.js please (see another comment about import turtle in Python)

https://github.com/davebalmer/turtlewax

http://berniepope.id.au/html/js-turtle/turtle.html
That feels like it could be anywhere. I was in Boston last weekend in the Copley Square area, which I liked very much but my impression is it's very expensive.
I wonder if the counterfeit chips has this mode or not.
You have an excellent nose for appropriate metaphors. That's awesome!
StartCom launches new StartAPI and StartPKI service
Is that not a fair thing to do?

Can we not assume someone with access to a Facebook account is authentically the owner of that Facebook account for all of our intents and purposes?
They are definitely providing value and are more effective then internal teams promoting the properties (we tracked both) (the chargebacks are accounted for in calculating what they get paid). It's a partner/affiliate type setup. I think one reason they concentrate on this space is because say e-commerce affiliate programs are generally CPA and here they earn profit share for lifetime of the players they bring on. I do not claim the strategies they use are applicable to any market with same effectiveness.
So I realize now at this stage you are focused on server-to-server only, in which case there's no issue with trying to deploy individual client certs to end-user devices.

Pulling a certificate via the browser is not great assuming we want a highly controlled chain of custody over the private key bytes and that these certs will expire and need to be regularly rotated. But it's not much work to build some command line tool to send a CSR off for signing, that seems reasonable for server-to-server authentication.

I wonder if you'll run into issues with various languages' HTTPS libraries not properly supporting client certificates.

It's nice to think this could all just work with the lower layer taking care of everything, but I also wonder with the shitshow that is TLS if you can even be sure the client cert validation code can really be trusted as much as an application-layer check.
We have bred a culture of anger and jealousy toward anyone with money. The mainstream media is responsible for this as much as many of the politicians that don't believe a person should be able to obtain any sort of wealth.

It's no surprise that the wealthy don't really want to socialize with people that have less money.
> 3 seasons in and DareDevil hasn't been with a woman with the exception of a kiss.

Wasn't there a fairly explicit sex scene in the most recent season (which incidentally is 2, not 3)?
Why Startup Mattresses Cost Less
Haha can't handle the limelight, this fella reminds me of the Flappy Bird creator.

I think he's BSing as well.
When everyone misuses a tool, it's the tool's fault. And everybody misuses Agile.
FWIW, I agree with Dylan16807. Compare "quickly planning" to "quick planning". Why are both an adjective and an adverb allowed in the same position? Because the adverb is part of the subordinate clause implied by the gerund (where it's treated as a verb), while the adjective is part of the main clause and modifies the gerund (as a noun). "No" is (syntactically) an adjective, so unless it fits into a known colloquialism or special case that bends grammar rules for the sake of brevity, its role in "no smoking" must be the latter - part of the main clause. But then the gerund is treated no differently from any other noun, and "no" does the same trick it always does: "no X does Y" is (always) shorthand for "(an X which does Y) does not exist". "No smoking is allowed" is no different from "no help is available" or "no money has been taken".

(edit: changed first example to something more idiomatic)
"It takes longer to define the requirements than it does to code, and once coded they change mid-sprint"

I've experienced one -or- the other of those, rarely both. The only times I've experienced both were due to product owners who wanted to be managers, to bring 'leadership', and so insisted on wasting my time with meetings that didn't actually lead to well defined stories.

If I've had a product owner who wasn't a waste of space, who met with the customer(s), actually understood what they needed, and then met with us to help define a story, then while that story might take a good 10-20 minutes to fully flesh out with good acceptance criteria, it almost never changed during the sprint. We might, on the demo and/or release of the feature, realize modifications were in order, but that wasn't because we did things incorrectly at first; we did them correctly, with something releasable, and useful, and that allowed us to learn something that helped us to refine it.

However, more often I've had product owners who are wastes of space. They'll slap a story together, maybe with acceptance criteria of a line or two, maybe nothing, and then hand it off to the devs to go do. We roll our eyes, make some assumptions for all the missing details, do something, demo it to the customer, and get "That's not what I wanted! Change it!"

The former is infinitely preferable. Even if it's a highly complex feature, that takes a while to get understanding and consensus on, it almost never changes once we do and the devs, customer, and product owner are all on the same page. The problem is it requires a product owner who doesn't suck, and the reality is most of them suck.
"...a lot of it is supporting pensions and benefits of previous generation employees and teachers. While this is admirable..."

It's contract law. No admirable necessary.

Pensions etc are negotiated as part of the compensation package. Those former employees earned that money. It's not an entitlement, or charity.

Legitimate complaints would be gaming the pension system and chronic underfunding (kicking the can down the road).
Ask HN: Why hasn't there been much fanfare about JOBS Act Title III?
The JOBS act Title III will go in effect on May 16th allowing Crowdfunding Portals to open doors. I am surprised by the relatively little attention this has received from the tech media (TechCrunch et al).

What am I missing?
Very good point. I was hoping for a middle ground where people would reach a better understanding and solve their issues by communicating. But maybe that's unnatural and just a pipe dream.
They apologized for that and pulled the update.

When they did so, do you think they came to terms with why that line of reasoning was wrong and should be given a second chance or were their reactions purely reactionary?

A huge percentage of their chips are used specifically for software integrity validation (aka 'security dongle') - that has to warp their threat modeling.
Captain America: Civil War
Captain America: Civil War full movie! Click This Link ►► http://bit.ly/1RCYfAc #CaptainAmericaCivilWar
The problem with Cascadia is that the severity of it (and it's still severe at this magnitude, even at the distance Seattle is from the fault) was not well understood until late 80s or so, and did not translate to building codes etc until 90s. So there's a lot of infrastructure in and around Seattle that is not actually built to withstand that quake. Some of it is nominally certified to survive it, but only in a sense that the building won't collapse; it doesn't necessarily mean that it will be actually usable. Crucially, this includes many large hospitals.

But, yes. The bigger problem is not the immediate damage from the quake. It's all the support infrastructure (water, power, roads etc) that will be knocked out, and may take a long time to restore.
Ah, the pre-USB interfaces. The most fun I had was figuring out how to read the input from an old shipping scale which had serial port output. That powered my keg monitoring server, which I eventually wrote mobile apps for. It was the best side project I've worked on!
Ditto. I've managed to meet one or two smart friends in each stage of my life. But they're kinda all over geographically so hard to be close with or see often.
I have successfully used a StarTech PCIe parallel port adapter card to interface with a stepper motor controller board, and I'm able to run CNC machining operations from LinuxCNC. It works fine in EPP mode (communicating bi-directionally).

The parallel port is actually very cool. You can take a high-end Linux machine and add the parallel port as a low latency GPIO interface with 25 pins. It can be used to control LEDs, motors, etc, and can also be used to receive sensor data, etc.

What is 'RAW' mode? I think you are referring to a legacy TCP/IP network printing protocol also known as "Port 9100." I'm not sure that's relevant to parallel ports?
That's awesome to hear. Would it be possible to make an attribute like

#[deny(non_deterministic)]

which would error if `build.rs` or similar is present? Also, for usage of things like the `file!` macro, which might mess up determinism based on the build directory.

Theoretically, syntax extensions could be written to be deterministic as well (for a given version, of course).

Is there a tracking issue on this currently?
People that overuse deserve to be talked to and asked to tone it down. I've seen a couple of instances of this in my time and it works, as most people are a little embarrassed to learn that their perfume/cologne/body spray is that pungent. Fair enough, considering that once you've used the same scent for months on end, you barely smell it on yourself anymore. Sometimes it takes a gentle nudge to inform.

And yes, if once talked to, someone continues to bathe themselves in scents that gag other people, they need to be let go. The flagrant disrespect for people who have to be around you for 8 hours a day is too much.
You don't know about the "Security" telemetry level and why it is there? Server has it too BTW.
It seems like the yearly cost calculation (19,146.11 /30 years = $638.20) ignores the time value of money. $19,146.11 30 years from now is only worth $5,778.22 today at 4%. The future value of 30 $378.49 yearly payments at 4%/yr is $21,227.59 ..

The cost of resurfacing will probably rise proportional to inflation, so it will cost more to resurface in the future as well .. but couldn't the city invest the funds to get 3-4% over inflation? Also, the yearly tax payments will rise proportionally over time.
Your hot water heater is a good source of water in an emergency if it's accessible. Mine is in a small outbuilding which would likely survive an EQ so accessible without trying to enter the house.
HN could use a lot of features that would improve its functionality.

I think one of the reasons it's not quit so actively developed is the philosophy behind the project which has a lot to do with PG. He thinks people care about content, not features.

Another reason is that it's written in arc. It's hard to find lisp hackers, let alone arc hackers: http://arclanguage.org/forum
I come back to Logo probably once every 2 years, for about 15 years now. First used it in primary (elementary) school but never really progressed past spirographs.

I think I'll fire it up again this weekend - any hints?
"Continuous Delivery", huh?

Yeah, let's replace one consulting fad (the 4 or 5th I've seen in my career, I entered when "Waterfall" was still in vogue, then XP, then Agile, some variations of each too) with another.

How about this methodology: http://programming-motherfucker.com/
Aversion clearly predated correct attribution of the danger. It is not obvious to me that the aversion did not reflect a recognition of danger, incorrectly attributed to the supernatural. Any evidence or reasoning you can point to would be interesting.
Well it's working, it's on top of HN. The problem is the people clicking in the end. I didn't, cause I know with a title like that this gona be some cheap clickbait.
SLOWAVE – An Exploration on Sleep and Society
I used a Geckodrive controller to connect via USB to the interface I needed to drive three stepper motors (and speed control for the drill motor) for the CNC mill I built. Works natively with Mach3.

The timing is then offloaded to the microcontroller (in this case, the Geckodrive).

http://www.geckodrive.com/geckodrive-step-motor-drives/g540....
Ask HN: Where do you want your tax dollars spent?
In my ideal world, people should be able to tell the government where they want their tax dollars spent. I feel this could also indicate the "voice" of the nation in terms of what they care about most.

I would like my tax dollars to go towards education, research and mental health. What are your 3 top choices?
If it's only to make a nicotine mist, can't we use a simple ultrasonic fogger and get away from pyrolysis issues entirely?
Facebook is actively trying to deal with that truth: http://www.bloomberg.com/news/articles/2016-04-07/facebook-s...
Then they decided to break it again (albeit without bricking it):

http://hackaday.com/2016/02/01/ftdi-drivers-break-fake-chips...

Instead of bricking fake chips, the latest FTDI drivers
will inject garbage data into a circuit.
If you have natural gas line connected to your house, one thing you should consider is installing the auto-shutoff valve. It would really suck if your house survives the quake, and then goes out in a massive fireball because of a gas leak.

http://www.earthquakecountry.org/step1/gassafety.html
You mean, like an Arduino?
Terraform Resource
Of course they do. Anything can give you concurrency. But pretty much anything can make concurrency easier, than threads.

> Why do you think people wrote multi-threaded applications back when almost all machines had just one processor and just one core?

Almost none did. Popular networking servers were either preforking, forking or asynchronous. Desktop GUIs were event driven. Threads weren't even very usable on most systems at that time, i.e. up until a decade and a half ago or so, weren't they?
Ask HN: Is 10 yrs exp too 'Senior' for a Senior Dev?
You can "unfollow" people that you have added, so that their posts no longer show up on your news feed. You still have them added as a friend, you just don't see their posts without visiting their profile page.
You are supposed to use downgrade rights, which every VL agreement have.
Ask HN: Are coding interviews effective?
It seems like most of these coding interviews, actually belong in a college classroom.

So my question is simple - Are these style of interviews, where you are asked contrived logic questions, recursive graph searches, random array tricks, etc... Effective means of assessing a candidates potential for success at your company?

I just have a hard time subscribing to the notion that these coding challenges, are more indicative of a candidates potential for success, than their resume, and personal demeanor would indicate.
Kill your Facebook. Seriously. You'll feel so liberated. And showing people pictures of your recent life when you meet them or email them is so fun and you get so much more attention and conversation out of it. Best decision of my life!
I don't think we should expect Facebook to change. We need better tools that allow people to stay away from it (and other such distractions in future). We need tools that help people understand how to manage their internet time better. They need to understand what kind of emotional costs (which will vary a lot) are associated with extended FB usage. And such tools will ideally be browser addons.

Imagine a browser that I can configure based on my weekly goals. There are domains I want to avoid. There are domains where I most want to be (for that week). And some neutral domains like search engines. Maybe assign weights to these. Then over the week, browser reminds or guides us towards most productive behaviors. If our behavior is inconsistent with our initial goals, it assigns heavier penalties (like block domain for a week) for those negative domains.

There are many interesting implications once someone starts thinking about some of these options. But at this point, I don't see exciting innovation on this.
There are quite a few professions in which generally people get into out of desperation - combining harsh conditions, low pay, and low social status.

People don't go cleaning portable toilets, masturbating animals for insemination or collecting roadkill because they like it, and even usual-but-demanding jobs like fishing, sewing or construction resort to slave labor or close to it in some places.

That by itself is not an argument for or against criminalizing parts of the profession.
Chest x-rays for example dose lots of tissue. CT scans are significantly 100-1000x higher than that and well above whole body average annual radiation exposure. https://en.m.wikipedia.org/wiki/CT_scan
I think having a publicly available history link that displays every TOS and Privacy Policy and the dates they were inforce isn't too much to ask. Maybe a last ten years thing is applicable (not retroactive). Users don't keep copies of the TOS they agreed to at the time of signup/registration as they expect it to be available from the service/corp/org.

I think asking for a visible diff is asking for trouble, but being able to manually see how their TOS changed over time and how often it changes would be an objective way to ensure customers can make informed decisions, if they wanted to take the time.

Edit: Available on request is a usability anti-pattern to deter consumption of information. I don't think it would be outrageous to require previously public legal documents to remain publicly available.
The Road to Superintelligence
True, that's a good point as well.
I don't quite get this assumption -- qbasic doesnt have line numbers unless you want them. Noah's code didnt even have any in the pictures.

Qbasic has subs and functions, so structured programmig is entirely possible in that environment. Additionally, it isn't compiled -- every time you move your cursor off of the currently edited line, qbasic converts that directly to bytecode for interpretation later.

This isn't the 1988 PC BIOS basica.com. :-)
Protecting your assets? Insurance.

Any contracting service is incredibly contractor-dependant (as you've surmised).

Single story home? Really look at making your own go-bag. Take a survival course, not because you'll be in the woods picking berries, but because you'll learn transferable ways of looking at the (natural?) resources around you and how you can use them to survive or thrive.

https://www.verlocal.com/search?&page=1&keyword=survival

Have a go-bag in your car and by your bed (that include emergency rations and bottles / jugs of water, clean underwear, a toothbrush, etc). I bought a few cheap pop-up tents when they were on sale at woot.com. You can bet I'll be happier during a disruption of services than my neighbors who don't have even a basic set of supplies put together.

My theory is: Odds of a severe earthquake in the next 50 years are let's say 1/50. Do you spend $100k+ on earthquake retrofit, or spend $20k on insurance that'll let you rebuild? (my numbers are completely made up, btw).

Well, you have to purchase earthquake insurance anyway, and a single-family home is "less" dangerous than a multi-story home. Look at pictures of wood-frame earthquake damage and figure out what your state of mind would be after you run outside and your house ends up like this:

https://www.google.com/search?q=wood+frame+earthquake+damage...

Figure out your go-bag situation, learn how to use it, take a survival course, keep lots of water handy, buy a tent, and then only worry about it in order to keep your supplies and skills fresh.

Since you have a house, also run a 55 gallon drum / trash can setup out in the back yard.

https://www.google.com/search?q=trash+can+survival

Hope that helps!
In general, vaping fluid is a couple basic ingredients plus flavors. The basic ingredients should go through drug-level safety testing if they haven't already gone through it. But each recipe on top of that? Very similar to new food recipes.
Exactly, I agree. That's why I didn't disagree with the statement, just qualified it with more examples to illustrate your point.
Libraries can be compiled as static libraries or dynamic libraries.
even static libraries might want to do some dynamic linking (for
example, against the system version of openssl).

haha... I like cargo a lot, but I feel this is glossing over the biggest issue building rust code has: Building and linking to native libraries.

Similarly, applications are often built for different architectures,
operating systems, or even operating system version...

Compiling winapi v0.2.6
Compiling libc v0.2.10

Oh? I'd love to see that compiling on a different operating system.

Linking against the system version of openssl? Are you sure it's the right version of openssl not to break your binding?

The C ecosystem is fundamentally problematic to get repeatable cross platform builds with; and trying to get repeatable cross platform builds with rust when it touches any c / c++ library is quite a pain.

Piston is a good example of how this is done... but people still struggle to compile it; the 'uses the compiler to explicitly build the dependency as a static library and links it' (eg. git binding afaik) is a much better solution, but it massively increases build times.

It's a rough edge point; and I still feel like there's been no real progress towards solving the issues.

Everyone just does something completely different in their native build (build.rs) step, and then your 'repeatable build' is largely, hit 'cargo build' and 'hope nothing goes wrong and all dependencies are installed'.

There are other more important priorities for rust at the moment (like recovering from panics...), but this is certainly an area I'd love to see improvement.
Unfortunately it sells, and idiotic managers love it because it gives them a ready-made recipe, instead of having them come up with something that works for their product and their team.