Better HN
topnewbestaskshowjobs
Log inSign up

bcoates

5,109 karma · joined Jun 27, 2012 (14y ago) · 1,639 submissions

ben blueskylabs com
Submissions

comment 13y ago · link · parent

It's on by default on Ubuntu.

comment 13y ago · link · parent

A lot of uses of ptrace require root on many distros, does this vulnerability work when that's enabled?

edit: as in, does yama.ptrace_scope prevent anyone without root and/or CAP_SYS_PTRACE from exploiting this?

comment 13y ago · link · parent

Aren't those Geocities Plus sites still up?

https://www.google.com/search?q=site:geocities.com

comment 13y ago · link · parent

It's pretty universal to use syntax that's outside the domain of the language being described to describe a language in it's specification, otherwise your head would explode trying to distinguish the example from the rule.

The C++ standard uses tables for the equivalent purpose, not C++ declarations, like at §23.2.1 in C++11. Does this mean that C++ should move from header files to an RDBMS?

comment 13y ago · link · parent

I think the common programmer considers first-class functions and closures as 'functional' features. This is from the bad old days when procedural languages didn't usually have these things.

comment 13y ago · link · parent

There appears to be some goofy stuff in there, but giving them somewhere to defecate so they don't do it where I'd like to walk would be worth every penny. This is basic public health stuff.

comment 13y ago · link · parent

... Yeah, that's what I was thinking of. Thanks!

ps. you should make the generated script tag do src="//r.office.microsoft.com/r/rlidExcelButton?v=1&kip=1" so the http/https issue in your FAQ goes away

comment 13y ago · link · parent

That's been my experience too. It actually saves a lot of time figuring out how to make fancy graphs and sort/filter/pivot functions--I just make nice semantic HTML with <table>s of values. The users can point Excel at my URL and it'll automagically turn it into a spreadsheet they already know how to use.

One thing I haven't figured out how to do is have a link on my page that triggers an Excel HTML import operation on the current page.

comment 13y ago · link · parent

This doesn't jibe with the current House and Senate, where the equal-population represented House has a substantial Republican edge and the Senate has a majority of Democrats.

Edit: btilly below is right, the House isn't technically proportional representation, it's equal-population districts. Still, state by state representation doesn't seem to be breaking reliably for Republicans.

comment 13y ago · link · parent

This might have negative consequences for people running personal websites:

"Bloggers -- You Might Have Already Had Libel Insurance, but you might have lost it by having ads or a tipjar.":

http://www.volokh.com/posts/1185312054.shtml

Lots of homeowner's and renter's insurance policies cover libel lawsuits, but many of them would exclude a website that makes or attempts to make even a trivial amount of money, such as by Disqus' ads or affiliate links.

comment 13y ago · link · parent

Blockbuster, Zappos, and AOL have all been burned by having language in their ToSes to that effect. It's a bad idea if you want any legal cover from your TOS. IANAL, but this guy is and he says

  STOP PUTTING CLAUSES INTO YOUR CONTRACTS THAT SAY YOU CAN AMEND THE 
  CONTRACT AT ANY TIME IN YOUR SOLE DISCRETION BY POSTING THE REVISED
  TERMS TO THE WEBSITE
http://blog.ericgoldman.org/archives/2009/06/stop_saying_we_...

comment 13y ago · link · parent

I think it leads people to assume they have been forgotten about entirely and are starting over from zero each time they call.

comment 13y ago · link · parent

I think the supporters of a law should be required to demonstrate that the problem it supposes to solve is real and even conceivably solvable by government action. In the absence of that it's safe to condemn any legislation on the topic, particularly when there's such a bad track record of alternately useless and harmful laws in the subject areas.

comment 13y ago · link · parent

Well, every once in a while the government would come by and regulate a population out of existence for security reasons. But that was the old days, they're totally trustworthy and non-murdery now.

comment 13y ago · link · parent

I don't want information sharing that way either. We have (sadly, increasingly circumvented or weakened) laws banning that for a reason.

comment 13y ago · link · parent

Are you talking about this? http://www.lawfareblog.com/wp-content/uploads/2012/11/White-...

comment 13y ago · link · parent

This isn't expensive enough to be actually exclusive, I'm guessing they're mostly preying on people with upper-middle class incomes and massive amounts of status anxiety.

I doubt they even make good bribes, as compared to other things you get for the price they're hard to show off, don't hold value over time, and are too easily traced.

comment 13y ago · link · parent

Apparently "operator overloading, function/method overloading, [and] keyword arguments" are "bad for performance" so it's OK that Go doesn't have them.

comment 13y ago · link · parent

Bill Gates showing off his baller touchscreen is priceless: http://i.imgur.com/1JqrLVc.jpg

comment 13y ago · link · parent

Your claim that "Chances are, if you're reading this, you already are a disciple" turned out to be true for me. Good job. I think everyone knows good and bad documentation when they see it, but breaking it down into actionable rules like this is great.

If I could add something, it would be that there are both local and global assumptions, and both need to be specified. There are rules like "this input array must be sorted" and there are rules like these: http://blogs.msdn.com/b/oldnewthing/archive/2006/03/20/55551... (yes, it's bad that this is a blog post and not documented officially anywhere AFAIK). For example, sometimes it's surprisingly hard to find out that the developers of some library you're using assumed that callbacks never throw exceptions, even though it seems to work almost every time.

comment 13y ago · link · parent

Why not?

comment 13y ago · link · parent

My understanding is that is exactly how it works in practice. Farmers aren't getting sued for accidentally having a few roundup ready plants in their field; they're getting sued for selecting for roundup ready seeds and then using roundup on their fields.

That's what happened in this case:

  That same year, Bowman applied glyphosate-based herbicide 
  to the fields in which he had planted the commodity seeds
  to control weeds and to determine whether the plants would
  exhibit glyphosate resistance.  He confirmed that many of
  the plants were, indeed, resistant.  In each subsequent
  year, from 2000 through 2007, Bowman treated his second-
  crop with glyphosate-based herbicide.  Unlike his first-
  crop, Bowman saved the seed harvested from his second-crop
  for replanting additional secondcrops in later years.  
  He also supplemented his secondcrop planting supply with
  periodic additional purchases of commodity seed from the
  grain elevator.  Bowman did not attempt to hide his 
  activities, and he candidly explained his practices with
  respect to his second-crop soybeans in various
  correspondence with Monsanto’s representatives.
http://caselaw.findlaw.com/us-federal-circuit/1607718.html

("glyphosate" is the active ingredient in roundup, "glyphosate resistance" is the trait developed and patented by Monsanto.)

comment 13y ago · link · parent

I think the secret is to break down the distinction between computer operation and computer programming. If they're interested in computers and the stuff you can do with them a gentle way to get started programming is to find and use whatever scripting language whatever programs they already use have to automate stuff and make random creative hacks, rather than starting from "hello, world" and learning the fundamentals first.

For example:

Have them screw with the interface of their favorite websites: pick a greasemonkey script that already does anything on that site and change it to do something different.

Learn the macro/scripting interface of whatever productivity software they have some reason to use already and make it do something.

Find a game they like that has an active scripting or modding community, and fiddle with the game rules.

The idea is to make the mental leap that writing software is just another way of getting the computer to do what you want, and that there's one big continuum from poking buttons in a dialog box to amateur hour hacking to writing "proper" software. Eventually you'll have the ambition to do something that requires more than just plugging pieces together and making edits to stuff other people wrote, and that's when you'll be self-motivated to obtain the knowledge that will make you a more effective programmer.

I realize this is at a way more primitive level than most people think of as learning to program, but IMHO the CS 101 stuff where you learn a language and how to make simple programs from scratch is closer to the "middle" than the "beginning".

comment 13y ago · link · parent

What's wrong with the ECPA that it's going to land someone in court?

comment 13y ago · link · parent

I agree with you and the OP that creating a standard notation for all math is problematic. And you're right that there are conceptual difficulties behind the math that are not going to be automatically resolved by clearer communication. But a lot of the difficulties are accidents of culture.

To continue the programming language/mathematical notation allegory, you can use whatever notation you want to describe your program in a Lisp with macros. But you have to actually define what your notation means. Neglecting to provide the definition of the macros would be the equivalent of a logical argument that leaves off its premises or the state of math publications today from the perspective of the poor sap that has to read them (and the mind of the person who wrote it).

comment 13y ago · link · parent

If this is intended as a defense of Math culture, I think it falls short. He does a good job of pointing out the corresponding problems in the state of programming:

Indeed, the opposite problems are familiar to a beginning programmer when they aren’t in a group of active programmers. Why is it that people give up or don’t enjoy programming? Is it because they have a hard time getting honest help from rudely abrupt moderators on help websites like stackoverflow? Is it because often when one wants to learn the basics, they are overloaded with the entirety of the documentation and the overwhelming resources of the internet and all its inhabitants? Is it because compiler errors are nonsensically exact, but very rarely helpful? Is it because when you learn it alone, you are bombarded with contradicting messages about what you should be doing and why (and often for the wrong reasons)?

The difference is that the CS community recognizes that these are problems; every single thing he's complaining about are open problems being taken seriously and attacked from multiple directions, and there is hope for serious improvement in the coming decades. Anyone who thinks rude snobs, bad documentation, or useless compiler errors are a beneficial is rightly ridiculed as a smug weenie or accused of having an ulterior motive.

By contrast, mathematicians are defensive and complacent about their arcane, non-inclusive notation and communication: "At this point you might see all of this as my complaining, but in truth I’m saying this notational flexibility and ambiguity is a benefit." Look at the litany of problems he just presented. Consider the fact that mathematics is not the only complicated subject that requires complicated, flexible, and rigorous notation. It just isn't credible that the shitty state of mathematical notation is either necessary or unavoidable. The occasional counterexample, where someone with a good understanding of a subject presents it in full rigor without resorting to the usual obfuscation, is a hint of what could be.

If your publications cannot be read without an expert interpreter, they are defective. Hypertext has been around for decades, if you're going to invent your own ad-hoc (or even standardized!) syntax to solve a problem your readers have a right that you document the meaning of your notation.

comment 13y ago · link · parent

Message passing is an ancient and well-understood mechanism for producing parallel, scalable, mutable-state imperative programs. Feel free to continue to not learn math :)

comment 13y ago · link · parent

The long term plan would be to make a usable technical solution for permanent publishing. Maybe it's time to give Freenet another serious go.
1
454647
55