skysight-inc/HackerNews huggingface dataset:
Shouldn't be hard to setup a few instances (based on your traffic profile) to host the static files esp. in conjunction with a CDN like Cloudfront.

If you are using apache, you can use the following directive, EnableSendFile:

http://httpd.apache.org/docs/2.2/mod/core.html#enablesendfil...

Essentially it exploits the sendifle() sys. call results in transmitting files via the kernel.

Nginx should have the equivalent too.

Also look into related http settings like 'Expires' header to ensure it is set far into the future - i.e. maximizing caching on the client side. See more details here:

http://developer.yahoo.com/performance/rules.html
Yes, Prosody does allow it, but you're right that the documentation is vague - it's because it's a bit awkward at the moment.

We're planning to release 0.9.1 on Monday to address this issue (or you can grab one of our nightlies at https://prosody.im/nightly/0.9/ (build 160+) ).

Should have docs up in the next couple of days, but for now it should suffice to say that you can simply add a 'dhparam' field to your existing 'ssl' option in your config file that is a path to a DH parameters file created with something like:

openssl dhparam -2 2048 > prosody-dhparam.pem

Hope this helps!
The UK has pretty strict libel laws. I wouldn't be surprised if approaching Glasgow U falls under that category.
I doubt it. I've found that the vast majority of jobs only shallowly interact with technologies. When they say they want someone with Microsoft Office skills, they don't mean they need someone who can hack and extend it programmatically, they just want someone who can fluently work with documents. They don't want to have to hold your hand on basic tasks.

If they really do want someone like this, chances are you can figure it out by going to the company website and figuring out what problem they're trying to solve. They might be writing a web browser, for instance, in which case, yes, they do need someone with a deep knowledge of HTTP.

But even then, it's usually not a requirement, but more of a wish-list sort of thing. I had a job at Panasonic doing browser testing, writing, performing and automating. My meagre understanding of the way the Internet worked and programming knowledge was more than sufficient, it's much harder to find good people than you think.

If I saw "significant HTTP knowledge" on a job app, I'd go bone up on the fundamentals the night before I go in for an interview. That's really all "significant" means. If you can discuss the meanings of the different verbs and when and why you'd use each of them, you'd be far ahead of their expectations.
There was similar thread on HN: https://news.ycombinator.com/item?id=6204867

>This is because under the Verisign GRS, name servers for second level domains also get entries created. So, you can create a Whois entry for an arbitrarily named server, like ycombinator.com.paulgraham.have.mychildren.com, and it will show up.
I haven't been involved in Whois and tld stuff in a while, but back in the day, these host Whois records were allowed because the gtld servers needed glue for domain names - after all, if your domain name is ycombinator.com and your name server is ns1.ycombinator.com, how can a resolver recurse to find that, unless te gtld servers also have an A record for that label/object?
So, you could just go create arbitrary A records at the gtld level, which would cause a corresponding Whois entry to be created. Hilarity for all involved.
The PC revolution is also on the skids in a more general sense -- feudal models of security, centralization of networks, etc.

There are many reasons for this, but one that sticks out to me as relating directly to this particular article is usability and to a related and lesser extent design.

Usability and design rule the market.

This is why Linux on the desktop is basically dead outside of a few enthusiasts and pilot projects, and why the PC is dying in favor of (feudalized) mobile platforms. These platforms, while less free and open, offer a vastly superior user interaction experience.

The paramount importance of usability and design is something that open source and open platform geeks have never grasped because they're the sorts of people who don't mind being confronted with a "# " prompt and don't mind fiddling with computers to get them to work. It's like asking car racing and tuning enthusiasts to design a car for the general public. They'd be likely to include all kinds of nerd knobs and weird features (that's the NOX knob, yo!) that would confuse or endanger the average driver.
But actually in Crystal you will have the same behaviour:

class Person
end

class Employer < Person
end

class Employee < Person
end

x = some_condition ? Employer.new : Employee.new
# x is a Person+

This is not said in the "happy birthday" article (or anywhere else, IIRC).

In the beginning we typed x as Employer | Employee. But, as the hierarchy grew bigger compile times became huge. Then we decided to let x be the lowest superclass of all the types in the union (and mark it with a "+", meaning: it's this class, or any subclass). This made compile times much faster, and in most (if not all) cases this is what you want when you assign different types under the same hierarchy to a variable.

What this does mean, though, is that the following won't compile:

# Yes, there are abstract classes in Crystal
abstract class Animal
end

class Dog < Animal
def talk
end
end

class Cat < Animal
def talk
end
end

class Mouse < Animal
end

x = foo ? Dog.new : Cat.new
x.talk # undefined method 'talk' for Mouse

That is, even though "x" is never assigned a Mouse, Crystal infers the type of "x" to be Animal+, so it really doesn't know which types are in and considers all cases.

Again, this is most of the time something good: if you introduce a new class in your hierarchy you probably want it to respond to some same methods as the other classes in the hierarchy.
Open Source Design Manifesto
You can choose which ads to block, some people only block the most annoying ones at pages they frequent.

If you have an older computer, flash ads really do slow things down considerably, for instance.
It’s all in the marketing.
You ask for facts, I give an example of what I mean but then you reject it as random and needing evidence of a thesis I never formulated....

As for your second paragraph, the scientific establishment can be very wrong. Example: 20 years ago the scientific establishment rejected the idea of exoplanets. Today, there are hundreds catalogued. Although I had no facts to support my view, the consensus felt just wrong to me. I just think there might other be cases where the scientific consensus just feels wrong, a good reason to keep a critical mind!
Niche features tend to be disjoint, in that they're mainly defined by use case and audience. If a bunch of little things are used by one audience, that is often treated as just one feature, even when they would be considered separate features if they were for different audiences. If something is used across audiences, the feature generally isn't thought of as niche.
Whoa, I'd almost completely forgotten about "webrings". These days, links and targeted advertising play something of a similar role, but not quite the same thing...
Maybe it would be helpful to clarify what you see as the use cases. I find it difficult to see a situation where I would want to use this. While I'm probably not the target demographic, what would this be a good option for?

School computer? Seems to me that a portable is preferable.

Office computer? Maybe - but not many offices use linux.

Libraries? This seems like a reasonable market to pursue.

Government Offices? Also might be reasonable. Big cost saver if the applications necessary are pre-vetted.

Maybe it would be worth talking to some local libraries or similar to see if they'd be willing to be a test bed for the machines.

Get Steam on there, and you could use them for video games as well, which is something libraries are now becoming open to in the interest of community building and getting kids in the building.
How does a pixel get onto the screen?
Personally I would recommend doing a ms if you can afford it but if you can't I would recommend that you study the following areas
Algorithms and data structures (this is a must)
Systems organizations and architecture
Systems programming
Discrete math
Math for cs books (generally proof based descrete and calculus based)
Statistics and probability
Then Start diving into areas that interest you like
Metaheuristics
Ai
Machine learning
Computer vision
Compilers
Device drivers
Graph theory
Computer Graphics (if your working in theoretical computer graphics strong maths skills are recommended)
And the list goes on. Also read papers were in areas of interest. Papers are a great way to learn high level theoretical concepts.
That's true, but as both get faster the difference between them becomes less and less significant. The layers between non-native and native impose a relatively fixed amount of overhead, which uses a smaller and smaller percentage of overall performance as devices get faster. that's why virtual machines, for both full environments and for the runtime layer of high level languages, are so commonplace now while a decade ago they were a serious disadvantage compared to non-vm approaches.
Gmail Unreplieds is definitely a good idea.

How does the app "authenticate" though? All I can see at the moment is a Docs form. I'm guessing you're taking the MVP route :)

I wouldn't be too comfortable giving out access to all my email to a 3rd party to be honest. An extension might work better, though even that might be too "risky" for some people.
Ask HN: Running a hackathon and someone's laptop got stolen, what should we do?
I'm one of the organizers of PennApps, which takes place in our university building. Someone left a laptop unattended, and it was stolen. This is unprecedented - we've never had any thefts in the previous 6 iterations of the hackathon. However, it's a lot bigger this time around (1000+ students), and people are a bit more spread out. We have security measures in places and guards around the building, but there are definitely entrances to the building where people can get in when someone is leaving, without having access.

My question is - what is the appropriate response to something like this happening? We want to help the person who had their computer stolen have a positive experience, but we also don't want to create adverse incentives.
The headteacher appears to think he can keep this guy from getting a college education, and he might well be right.

True, there's no single gatekeeper, but there are a zillion little ones, and too large a fraction of them will stop someone without a degree, or one without a higher tier one ... and probably more in the Great Recession when there are so many credentialed unemployed.
My advice is indeed geared towards general CS, it was unclear to me if the original poster wanted to get into heavy-duty theory or just gain a more rigorous understanding of CS in general.

Even at good schools (in the US, anyway) the calc up to multivar that is required isn't done with what I would call good proofs. They'll generally do epsilon-delta definitions of the limit and a few other fun things, but will fall far short of a truly rigorous development of the calculus. Same goes for many introductions to linear algebra and stats with calc courses. Some math departments use linear algebra to introduce proofs and creative mathematical thinking, though, so this isn't always the case.

So if someone is looking to develop how they think in mathematics and they already have a good programming background, they are much better served by taking a discrete math course than any of those sorts of math courses. If they then want to learn calculus, I would recommend self-study from Spivak's "Calculus" book which is a fun and elementary but rigorous treatment of the subject. You get to see not just how calculus works, but why it works, which is sorely lacking in most undergrad calc courses, even up to multivar.
Clematis brengt extra kleur in je tuin
I shop at Trader Joe's because there is one very near my house, and the produce is much, much better than anything you'd get at Safeway, Target, Wal*Mart, Giant Eagle, etc. Cutting open a bell pepper to find mold inside is not an experience I want to have again. Nor is buying bagged spinach and realizing that it's already turning brown and soggy.

Let's not over-idealize the situation. Trader Joe's does advertise (they keep sending me paper mail) and they do put things on sale from time to time. Thankfully, they don't have any loyalty card bullshit-- that kind of thing is always a big pain. TJ's also carries a fairly limited selection of items compared to most stores. But it turns out that having a limited selection of items that are not shit is preferable to being a giant warehouse of questionable items.
> science is not a matter of beliefs but facts

Is it? There is a lot of shoddy science that is done, and a lot of things that were accepted as scientific fact only to be overturned. Just because something is accepted by the medical community (for example) doesn't mean that it's necessarily a fact. </devils_advocate>
Ah, a 4:3 screen... the unicorn of laptops.

I suspect you're going to be disappointed for the remainder of your life with those specs.
Not only that, it completely overlooks the current obesity epidemic. If it was really such an open-shut case, we probably could've at least contained the problem by now.

If a theory depends on mass laziness and ineptitude from the same ingenious species that brought us all our modern innovations and wisdom, then something's not right. It's disingenuous to suggest that such behaviour should be so natural and prevalent amongst human beings; especially when it has only just exploded in the last few decades...
This is the kind of behavior current political systems are encouraging to the members of our society. Instead of teachers reaching out to students to create bonds and personal connections, we have a system that promotes unjustified surveillance, profiling and reporting.
I've been using PIA for a year now and it's been fast and easy to use. It works without a third party client on MacOS X and iOS which is awesome.
I operate on a basis that the effort required of me is somewhat proportional to the resources of a potential attacker, so I don't worry enormously about whether I'm keeping my traffic secure from the US government - given an adequate budget and a focus, they can conceivably monitor all inbound and outbound traffic from any commercial VPN provider's connection points. I advise non-technical people much the same way - it's easy to keep Susie Snoopy and the Casually Curious out, harder but not much so for someone targeting you for espionage or investigation (corporate or personal) and I just assume and advise that any kind of government investigation is going to get your info even if it's just by brute-forcing passwords.

On that basis of protecting against the casually snoopy and non-targeted monitoring, I use PIA - I can connect 3 devices to it at once (phone, tablet, laptop), I can use multiple exit points though I mostly haven't needed to, it's simple to use, inexpensive, and the technology they support seems to be at least up to standard. It's also been useful in a couple of cases where I wanted to test connections to a network from outside that network - tunneling my traffic out and letting it come back in is handy, and the international endpoints let you test functionality that restricts connections based on country of origin.

If you're using a small hosting provider you may also be able to do tunneling through them, but ask first - when I was using a Linux laptop and my phone was rooted, I was using SSH tunneling through my hosting company instead because my traffic levels were insignificant compared to my monthly traffic allocation. I could certainly do the same things again, but quite frankly I'd rather just pay the $40/year or so for a drop-in solution that I don't have to spend time dinking around with.
Well, that Software 101 thing applies to software you sell to customers. The theory is that you should keep doing the thing that people pay you money for.

However, with Google, we aren't the customers, we're the product. So here the equivalent question is, "Does the Wikipedia layer help the advertisers make sales?"
You are criticizing things which you do not understand (and getting upvoted for it on HN, which is a little disturbing).

As others have mentioned, Unix Timestamps can be arbitrarily precise by adding arbitrarily many places of decimal precision (and this is common practice, supported by the Unix "date" command, among other things).

Secondly, Unix Time is an absolute timescale that is not relative to any time zone. A Unix Timestamp alone unambiguously (1) identifies an absolute point in time; there is no need to involve time zones, which are a political concept. A Unix Timestamp can be converted to any timezone and vice-versa. Any representation that is based on civil time is going to be more complicated and have more edge cases.

Thirdly, time zone offsets like -03:00 do not actually specify a time zone; they specify a time zone offset. These two are not the same thing. There are multiple time zones that can have a -03:00 offset, depending on the time of year. Even given a specific time of year, the time zone offset may not uniquely identify the time zone. For example, Arizona doesn't do daylight savings, so if you see a -07:00 time in the summer it could either be a PDT time (used on the west coast) or a MST time (used in Arizona).

Unix Timestamps have many advantages over text-based timestamp representations. They are much simpler to parse and have far fewer lexical variations. They are never invalid (whereas text-based dates like 2000-01-32 can be). They can be stored directly in a numeric variable. You can perform math on them directly.

(1) Except for leap seconds
What ever happened to SDKs?
I think this article was very Very enlightening about what is going on with the "Web" at large. It's refreshing to see some numbers backing up what is going on. I work as an amateurish FOSS developer and a network engineer by day. These numbers tell me something i already knew: the desktop is now longer the primary way to browse the web. I have a smarty-phone and occasionally use it to look things up, but the "normal" web on mobile is atrocious. Looks like the days of ads and pop-ups filling the margins of pages might be coming to an end. Maybe we can start catering to the users looking for information instead of trying to work everyone over for advertising revenue.

My site browses on mobile just fine, and it's fully un-optimized wordpress.
Cinema didn't kill theater, TV didn't kill cinema, the web didn't kill tv & so on. Some parts are overlapping, some respond to different needs. I think instead of asking, "is this & that dying" why not ask what space is occupying over the other, how's it different, how is it the same. The discussion is to broad as is and leads easily to religious arguments
Depends how badly they want it.

Use a 0-day remote exploit to get a login, exfiltrate data.

Use a known, unpatched exploit to do same.

Use 0-day/known local exploit with sophisticated spear-phish trojan to do same.

Use leverage over domestic software suppliers to ship a customised exploitable (or directly backdoored) update to target company. Ditto domestic hardware manufacturers.

Black-bag (or diplomatic quid pro quo) tap of external or internal comm links, to get either raw traffic or encrypted. If the latter, apply other complementary techniques to obtain keys.

Infiltrate company with agent who can deploy local exploit via physical access, or who can bug/exploit workstations of users to obtain privileged access to server.

Bully/dupe the German government into raiding & seizing the server as part of an international terror/crime investigation. Acquire disk image from seized machines via direct or complementary techniques.

Purchase/acquire German company via a domestic front company. Demand IT infrastructure be 'harmonised' with acquirer and moved to US.

...and many, many more. The only reason not to do most of these things is because the cost/benefit analysis doesn't make it worthwhile to do universally without any prior suspicion.
> Even people on remote islands in the middle of oceans died from the flu.

Without contact from the outside world?
Odd though it might sound, the opposite is probably true for me (and I assume a bunch of other DB developers) - once you really 'grok' SQL, and as long as it's written in an understandable manner, it can be easier to read than a large block of procedural (and/or functional) code.

One of the big things is that there are no 'for' loops in good SQL code - i.e. it is written using set-based logic and not procedural logic. That can (sometimes) really cut down the amount of reading involved, but takes a while to get used to.

Also depends how well you understand the schema in question (but that compares equally to understanding the code framework/namespace hierarchy).
The NSA Can Read Some Encrypted Tor Traffic
A Harvard Case Study: Gender Equity
Suplementos Desportivos Dicas Essenciais
Could you say more about the disagreement between Wikipedia and Google? I hadn't heard that.
how would they respond to user requests?

By realizing my comment was tongue-in-cheek ;)
Thanks for the detailed response. Good stuff.
I thought that was quite interesting as well... But it's the CEO who's 43. Ohashi, the PR manager, his age was never mentioned, I don't think.

EDIT: They did mention this though:
> Ohashi, like most of Terra's 15 employees in their mid-twenties, ditched the prospect of working for a famous company to take a risk at a job where he'd be challenged.

So I assume he's in his mid 20's like the guy who's 26 at the beginning of the article.
True, yet I imagine it shouldn't be difficult to signal out those employees that present the greatest HUMINT risk and apply extra scrutiny. Any employee that have any sort of top secret clearance, that has worked for intelligence agencies or contractors and the worked in the military, but not out in the field is potentially a mole.

I'd find it hard to believe that there are people that don't fit that profile but are moles for governmental intelligence agencies even exist.
My story is somewhat similar.

I took a BA in Linguistics, worked for a while, then discovered computers. I spent a year on prerequisites and then did an MS in CS. I got good grades and did a thesis and it opened a lot of doors for me.

Some things that an MS CS degree will teach you that you may not have learned as a seasoned developer are: How to invent solutions to cutting edge problems. How to operate at scale using efficient algorithms and appropriate data structures. How to think about problem spaces. How to research. How to operate at the correct level of abstraction and how to get a level deeper when the abstraction leaks. The intersection between math, stats, and software. How to think like a computer.

To me it sounds like that's exactly what you want to do. One way or another you want these skills.

You may want to separate your desire for these skills from your desire to be credentialed for these skills. It is going to take a while to see how employers react to the Georgia Tech online MS. I believe the vast majority will treat it as second-class for a while. The judgment of HR departments is a lagging indicator. But the top tier employers may not care and just test you to see if you walk the walk.

You don't need a top tier school to get a good job. My MS is from a state university, and I work for Amazon.
Yesh, use S3. They did used to recommend against this but have recently added features to make it easier and have changed their tune.