skysight-inc/HackerNews huggingface dataset:
How Important DOCTYPE Declaration is for your HTML Document
Today I am going to share a very basic problem related to DOCTYPE declaration. We all know that according to HTML standard it is must that each HTML document has document type declaration
> I am no Lisper - so someone else will have to do that.

So you're making claims without firsthand knowledge? Awesome.

> Is not the be all and end all of self-modifying code :)

It's the vast majority of what people actually do in Lisp, and Python supports it just fine.

> EDIT: this is a pretty good intro to Lisp Macro's http://www.apl.jhu.edu/~hall/Lisp-Notes/Macros.html

Macros have nothing to do with self-modifying code. You clearly have no idea what you're talking about. Macros are compile-time transformations of code: they have no runtime effect whatsoever.

> The code examples on there are fairly simple though (but it starts you in the right direction).

Dude, I've got PG's ANSI Common Lisp on my bookshelf and I've read On Lisp multiple times. I understand macros. What I don't understand is this Lisp worship evinced by people who actually have no idea what they're talking about with respect to self-modifying code.

> For example one thing Python is currently unable to do is modify a line in a function to do something completely arbitrary (well, theoretically you could code a specific line to be able to do that, but it wouldn't be trivial to make an entire function that could be trivially modified on the fly).

Provide a Lisp example of "modifying a line in a function" that runs in SBCL and I'll show you the same code in Python. Seriously: you're the one making a claim here, you need to be backing it up.

P.S. I remain utterly unimpressed by the anonymous coward downmodding me, upmodding you, but clearly either unwilling or (more likely) unable to defend your claim. More semi-religious Lisp fanaticism <yawn>.
Buying Sweets
The catch with most of these statutes is that the part that is illegal is the audio recording. If you record video without an audio track or are too far away for any audio of the encounter to be heard then you are usually in the clear. In the King case my memory of the video is that it was shot from a distance and that you can't really hear anything (checking a few archives seems to confirm that the only thing that you can really hear is helicopter noise.)
I see the stylesheet weirdness but I can't figure out what they are referring to.
Murder in the First also fits if you just go by one thing, but I have a feeling there are other clues. There is only one right answer, and it fits perfectly. Now, if I can only find it.
Google hosting bulk downloads of USPTO information
Tables are still the most reliable way to display content under nearly all circumstances (maybe less so on mobiles, but definitely on the desktop).

I don't think that's been true for several years.
Build a Fish Tank with Canvas and CSS3
I think another important distinction is who is really dependent on whom. Are your success contingent on their them, and/or is their success contingent on you?

For example, Ventrilo was free to raise their rates because their success and profits really weren't dependent on the profits of the end users. They could jack their prices all over the place and most of their customers would have to pay if they wanted to keep their business going. They had lock in and they used it. They really don't care about how your company does, just that they extract maximum profit from you.

On the other hand, a company like Google has its success and profits dependent on your website being awesome. The more people who use the web and the more time they spend on it the more money Google will make. Google wants your site to succeed because it makes them money in the long run. They won't be as interested in jerking you around because they're not making money directly from you.
Kno - digital textbook with 2 touch screens
I have been using JIT on my ADP1 with 2.1, and it hasn't broken anything. Performance is great, 3.5mflops in linpack vs 2.4mflops. But I am confused, why do you think there is a compatibility break?
America has a similar problem with lawyers getting their fingers in more and more pies, makes you wonder what would happen to productivity if everybody decided to stop suing each other for a couple of years.
The market research puts Android in fourth place, after Nokia, RIM and Apple.

Even so, I can't even sell on Android market because I don't live in one of the approved countries.
jaimetout [AT] {Google's mail domain}

Thanks.
If one were to ask me that question I would respond by saying that I have been programming in Common Lisp for many years and would gladly switch to any lisp, especially Clojure, if it made sense for our business.
Microsoft responds to Google moving away from Windows, calls it ironic
HN has a secret weapon. If it ever gets too Digg-like, we can always unleash Operation Erlang II: Electric Boogaloo.
Hmm.. it might not be "mainstream" yet (and I hope it remains selective).. however, I'm reminded of Groucho Marx's quote: "I don't want to belong to any club that will accept people like me as a member" ...

I used to participate on Slashdot actively, I'm a programmer, yet I've never seen a line of Lisp so far, nor started a Startup - and I saw comments from "old-timers" that said they weren't as interested in some of the kind of articles that interest me and would rather HN had stayed focused entirely on startups and hacking.

Does that mean HN has gone "mainstream"? I don't know. But it's not as select as it used to be :) (and I hope it's a good thing)
But then you have to live in Dallas/Fort worth....
4 Reasons Follower Count is A Lousy Metric
Thanks, I should have referenced the original post I derived that quote from (it slipped my mind).
I think it isn't because it does not assign 'yellow stars' to users for being good boys, the sort order always was open to interpretation, if this one is less gameable than the previous one that would seem to be an improvement to me.

The problem I perceive is that average score does not say much about a specific comment being non-productive, so someone with a high average score could toss in some complete junk and get it sorted to the top in spite of better comments by average under producers further below.

I'd say that if it remains below the detection threshold it might be a net plus, if too many of such instances appear it might be a loss.
The problem with orange users was that it divided the community into two camps. This doesn't have the same issue.
Money is incredibly caustic to motivation and ambition. I struggled with this for a while myself.

Even for the motivated, having some dollars decreases urgency significantly; you shift from short-term thinking to long-term thinking. Having the right balance is necessary (you need a little vision into the distance) but it's surprisingly destructive to have the wrong mix.
Or rather the advice should be not to build on top of a single platform. Building an API aggregator for example would be relatively safe since losing the functionality of a single API has reduced risk. And really in the case of browsers this is what we're doing already. If Microsoft decides to pull away from the standard there is pressure from developers since we are not at the mercy of IE.
Buying Qt was a brilliant move by Nokia. Qt fans like myself have naturally drifted toward Nokia phone development.

Google should support this guy: http://groups.google.com/group/android-ndk/browse_thread/thr...
and be more open with development options in general. Official support for Mono or Qt would attract a lot of interest.
Using BIND locally on OS X for easy access to subdomains
Software Craftsmanship And Apprenticeship Patterns
Introducing plac, the Easiest Argument Parser in the Python World
Fullscreen video plays like shit in latest stable Firefox, video has no sound.

Playback is ok in latest Chrome, fullscreen is in-window, so no real fullscreen.

And people say HTML5 is the future now? I just hope those players that have a 'fall-back' to Flash allow you to set the Flash version as the default one.

How do I disable HTML5?
The article is so vague it seems even the author isn't particularly sure of the point.

Notions of factor models and hidden markov models have been around in the statistics literature for ages. Computer science's contribution to the discussion has been framing these methods as machine learning - and leading the foray into unsupervised learning. But I'm not sure if unsupervised learning techniques are being put to use in real-world data analysis, I believe the theoretical foundations are still a bit opaque.
Video adaptation of *Joker* grafic novel by Brian Azzarello
Seems very promising. I like the slogan – "explanatory social learning".

How many users do you have at this moment?

Have you contacted content owners to ask them for permission to place the videos directly on your website? It'd be awesome if you can do so.
Meet The 25-Year-Old Who Just Sold A $70 Million Company To Google
Interesting, but the experiment there seems to be flawed. Cookies have a lot more sugar/glucose than radishes and it changes your blood sugar levels a lot more, so you'd expect right after eating the people that ate cookies will have more energy to persist on the task.

It doesn't quite prove what they are trying to prove (that self control and change are exhausting). They should have tried it with something else that was tempting and that was not food.
Improve Page Load Speed (by 80%) by Improving Component Load Speed
Explained: Knightian uncertainty
"Breaking New Ground: Using the Internet to Scale: A Case History of KaBOOM"
"Generally, computer science is concerned with questions of computational complexity: Given a particular algorithm, you want to know whether a computer can execute it quickly, slowly or never."

Tsk tsk MIT for confusing computational complexity with analysis of algorithms. Or perhaps with sloppy use of the words "algorithm" and "execute", when "problem" and "solve" would be more accurate.
2 Bedrooms Clean And Modern Bungalow £1,100pcm
The State of JRuby
I think Rails developers seriously, seriously fetishize those six actions to the detriment of several other concerns.

First, not everything your app will do is conveniently understandable in terms of resources, just like not everything code does is conveniently understandable in terms of operators. We have, thankfully, largely killed operator overloading and replaced it with functions. Why regress on function naming in our controllers? This is really a paypal_callback, not a PUT on the Paypal "resource", which doesn't even exist and if it did would tie across authentication, billing, and stats subsystems. (What does a PUT on Paypal even mean, anyhow?)

I also get hives when I think about including Rails default routes -- which are programmer-optimized, not user-optimized -- in publicly visible places, where they will get picked up by search engines and seen by copy/pasting users. example.com/categories/1/cards/5 is a part of your user interface... and it sucks. example.com/bingo-cards/holidays/halloween is superior in just about every conceivable way.
Platforms are one of the best forms of leverage. I'd still use it but I would definitely want to have an exit strategy for those points the writer pointed out. You adapt to a platform for market share; you could also adapt to its changes or blaze a new trail in a different technological space.
A) It is admittedly using stored energy - the propellers are spun by the wheels, which are spinning due to the vehicle's forward motion. I suspect that they may have come up with a clever trick to manage a burst of speed before slowing down back below the speed of the wind. The treadmill demo video shows the model speeding up, then slowing down.

B) I'm not sure how long the temporary burst of speed would last on a larger model; I'd prefer an engineer coming up with that. My WAG would have that period be rather less than an hour.

I'm reminded of perpetual motion scams, especially by someone creating a login to start defending them and demanding what would convince someone. Trying to put skeptics on the defensive and trying to force them to disprove the remarkable claim put forth is a classic shtick.

And I think the perpetual motion bit is fair - if we take the treadmill video on its face, this is a vehicle that, in still air, would go uphill under its own lack of power - and even accelerate for a while after an initial push. This has nothing to do with apparent wind velocity.
Bioanalytical Services
Bioanalytical Services: GVK BIO’s Bioanalytical Services offers a range of services to the global pharmaceutical and biotechnology companies.
Kudos on sticking to the fundamentals. I especially love the login screen. Plain and simple. No eye distracting BS anywhere.
You can add/edit/delete/css properties in the styles pane with help of double-click. It is not true live-edit but its working.
I went ahead and reported the issue, maybe it will be fixed.

http://github.com/zencoder/video-js/issues#issue/8
SocialFlow Wants to Make Sense of the Real-time Web
How about instead of average comment score, you consider average likelihood of quality, treating the score (or its log) as odds? That is, w=avg(score/(1+score)). That way a single popular comment won't dominate.
Since this is a meta-thread anyway: have you considered something like a blacklist? That would give us a way to filter out those users who like to make bad puns or witty one-liners too much, and those users who too often make wildly incorrect claims.

This would still serve as a filter, but this wouldn't result in some kind of whitelist where you effectively only really notice the people you know you're going to agree with anyway. Whitelists encourage groupthink, and incorrectly penalize low-karma users. (Nobody is going to friend users who only occasionally comment even though the quality of their comments is really high.)

I prefer any solution that filters out the noise over any solution that gives emphasis to the opinions of popular users with high karma.
You can duplicate tabs in Chrome
For smaller devices (i.e. phones), the issue may just be space, since you may need to include yet another antenna, as well as possibly another chip needing to be included.
Why not record the police with a hand-cranked film camera? If no electronic devices are in use, how could electronic surveillance laws apply?
I watched about five seconds of jerky video, barely audible over the fan of my aging MacBook.

I've seen several video presentations come up on YCombinator. It makes me wish that embedded players had could be sped up like VLC. Given a typical presentation, you can watch at 1.5x with no problem.
It's beginning to seem like Apple is treating all their third party developers as employees that they don't have to directly compensate.
While this will provide interesting insight into group dynamics on such a long trip, I don't think it will necessarily tell us how astronauts will feel and act on an actual Mars trip. On Earth, you could theoretically "get off" at any point, even if it is highly, highly discouraged. You would know, no matter what, that there is breathable air outside your simulated spacecraft. On a real Mars trip, there is no way to give up and stop the trip. I don't know whether this would be better or worse than the feeling in the simulation, but it would certainly be different.
SciPy+NumPy+MatplotLib == Matlab ($2k+)
returns true for most applications

That's good enough for me to not bother with any other scripting language.
I can't speak for AT&T, but this might be a situation where they realized that real "unlimited" wouldn't actually work because demand outstripped their predictions. I think the real annoying part is the tethering charge, since it doesn't actually do anything extra.

I can live with charges that are up front, especially when the network is one as fraile as AT&Ts. If a competitor were to step forward with a way to use unlimited (truly) data, ie 4g or the sort, more people would go to them, and AT&T would look foolish. I think it's just the current state of wireless, and an indictment of its broken-ness. Massive infrastructure startup, anyone? :)
Microsoft Office's Place in Enterprise 2.0: Why alternatives will struggle.
That's a very nice player -- it's actually more visually impressive than most of the flash-based players out there. Two criticisms, though:

1. The full-screen button in the default theme looks like two arrows pointing together, which to me does not say "full screen". It says "make something smaller".

2. The scaling really slowed down my (slightly old) version of Chrome. I blame Chrome for this, but I just wanted to report the issue.

Again, congratulations on making an excellent and useful piece of software.
I'd just let it go. I've had domain typo-squatters target us explicitly but they never ever could make a go of it.

The only time when it is important to go after them is when the public really has a hard time to remember your domain name and mistypes it consistently.

If that's the case, and the typo-squatters actively funnel traffic to your competition you have a case, if they don't or if they operate a completely unrelated business on that domain you will have a very hard time making it stick.

So, weigh the money and time invested versus the damage they do, a lawsuit of this kind, especially if it is international will set you back between 25 and 50K easily, if you perceive the damage to be (well) in excess of that sort of money you might consider to go after them, keep in mind that you can also lose a lawsuit.

good luck!
Very much.

One thing I would be interested in hearing that I haven't heard anyone mention is how far it seems like a language can reasonably stray from Python without essentially hitting its head on PyPy at every turn. For example, functional languages have a hard time on the JVM due to its lack of tail call elimination.
Why the traffic problem will never be solved
It seems that HTML5 will force people to allow embedding Javascript. How will we be able to avoid cross-site scripting attacks this way?
As long as this document retains the respect of the majority of the users: http://ycombinator.com/newsguidelines.html HN will thrive. It's the single best set of "social news" community guidelines I've read.

The triumph of HN has been in attracting an initial audience that agrees with the spirit of that document, and in their subtly but firmly encouraging its adherence in newcomers.

The character of a community is a tricky thing to build and maintain. A community can easily veer into the superficial and glib territory of Digg, the self-referential and jaded territory of Slashdot, or even the sycophantic territory of Wikipedia. HN has been quite fortunate.
This is so true, I know from personal experience. So, since we all start with a fixed amount of self control, better save it for things that make more impact, which is a dynamically changing list from day to day. Example: If you'll be doing tons of boring development today, splurge on the lunch.
NDA, but remains a fact, nevertheless...
Sadly matlab still is much easier to use and understand for engineers, which is one of its, if not the, primary market(s).
Are you saying that the perks that come with love aren't real? My heart of hearts would beg to differ.
F5 Broadens Platform Offerings with Both Physical and Virtual
It seems you misunderstand how the Rails system works. But let me explain.

1) You can certainly have a paypal_callback method, if you choose. That's talking about the carrier, though, not the action. Presumably that callback means something specify. Like completing an order or authorizing a credit card check. Modeling your domain deeper like that makes it easier to follow and understand. But if you're either unable, unwilling, or uninterested in expanding your domain like that, you can certainly also just map paypal_callback to a controller with a action that corresponds to that.

2) example.com/bingo-cards can certainly work well if you know you entire namespace in advance. This can be true for things like CMS'es, but it's rarely true for user account based applications. For example, if your product has a /help section that's supposed to do something specific and a user creates another entity called "help" you're in trouble.

The /categories part establishes a namespace. So you can have both /categories/wonderland and /tags/wonderland and they can peacefully co-exist.

The ID part doesn't have to be a number either, but again it comes back to namespacing. If you don't use unique identifiers, there can only be one thing named halloween and it has to refer to the same entity. When that's true, go ahead, knock yourself out. Lots of Rails application is having a taste of two worlds with ID including permas, like /users/5-sam -- that's nice for SEO and still you can have two Sams.

Hope that clears up the confusion.
I really like the part about getting back to thinking in URLs. The application is the URLs!
Or worry about arcane App Store screening policies.
I apologise... the last reply I kinda retract, as you say - it was a bit silly.

I have to admit your posts came across as the old "My Language is As Good As Yours" argument, but it appears your a Lisper too? I have to also admit everything I have seen/heard says Lisp is the original self-modifying language and is damn good at it :) but in retrospect that wasn't the point you were making.

(I was hoping a Lisper would step in with some code... but apparently not...)

Handshake?
"The Art of Good Business Is Being A Good Middleman." -- Layer Cake
Yes, very much so. I'm currently designing and implementing a language in Python (designing and implementing it together, to see what features work). I'm considering eventually implementing it on the JVM, to take advantage of Java's multitude of libraries, but PyPy might be another option.
This argument is getting ridiculous. I didn't question your credentials. I only questioned your absolute statement. I didn't say you are a "Microsoft apologist", and about shin_lao's OpenBSD statement I probably misread it (it was late last night for me.)

> Microsoft is in fact doing a better job with software security
> than any other large company in the industry

[IMHO] Google does a much better job and Microsoft still needs to rewrite a lot of their code base to be safe. And their bad usability record also counts against them, as stated on my original response.

Again, sure, Microsoft beats Apple/Sun/Oracle/Cisco. I agree 100% with you there. (As stated before.)
D8: Kno tablet for students unveiled
I'm sorry, I misread that bit.
So $45 for tethering and 2G? That sucks. I pay $60 for Sprint's 3G/4G plan. 5 gigs a month on 3G and unlimited on 4G, and the 4G speed tends to be around 3-5Mbps. (That means, I get 1.5Tb per month for $60. Not that I use it that much.)

AT&T is really not competitive here. What is their value add? Why would you do business with them?
Internet Explorer pretty much guarantees that my statement is true.
post scriptum: Whether Panic wanted to sell or not, the fact remains that building on a proprietary platform is perilous. Some people may still want to do so, but this is analogous to pointing out that BASE jumping is thrilling and deeply satisfying.

We can agree that Panic did consider a sale to AOL and Apple without taking anything away from the fact that a content-neutral proprietary platform still carries the risk that you will wake up one morning to discover that the vendor is giving away competition.