skysight-inc/HackerNews huggingface dataset:
> Do you see any way other than the 3 ones discussed in the OP article under the label "Generics"?

The one I mainly meant was interfaces. Of course there are also DSLs and code generation.

> I could agree with that if time wasn't limited, but imho building custom data structure/algorithms for each problem will precisely leave less time to optimize for performance since reaching a working state first will be longer without reusable abstractions.

I mentioned that in the summary. It's about tradeoffs. Even if all the cons/pros are listed people could still come to different conclusions, because people value different things. And there's nothing wrong about it.

The amount you need to reimplement depends on the amount of available third-party packages - the more good packages there are the less you need to build those custom data structures.
Whatever. Each and every country in EU produces much, much more food it can consume. Poland produces 100% more food Poles can eat. The same is true for basically whole of EU and the USA. Of course Russia has its excuses, like "it is hard", but dude! Population lower than Pakistan or Japan with soooooo much land. Still can't do it. Apparently all they can do is dig up some oil and gas. Everything else needs to be imported. I understand Saudi Arabia is the same way, but they are on a desert! Pathetic... With all this land, all these resources, all this human capital 60% income dependant on oil and gas exports.
I think I'd rather have that problem than this problem:

if (cond); //oops, a semicolon
alwaysHappens();

, thank you very much.
Thanks will check this out!
Good idea, let me edit the entry to make it clearer.
As for BoilingSteam, it's not linked to Valve - but the name reflects "Steam" since Steam is very much what has relaunched the interest in Linux Gaming in the recent past and led several developers to support the platform.
Light year is not just a name; year is a natural length of time and light speed is also a natural constant. The whole unit is natural and is based on things that make sense on such distances. This is same for all natural units; they grew up from usage. (This resulted in things that appears illogical, like having different with similar name for different applications, but this is only appearance. We measure water differently from oil or precious drugs and differently when we cook with water or build a dam, so it makes all the sense to have different units for different purposes.)

Meters, however, have a different story; the meter was invented by some French scientist about the time they were changing everything after the revolution, including month names; somehow month names reverted back to normal, but meters stayed. The meter was initially defined as 1/40,000,000 of the length of a meridian. Here only the length of the meridian is natural to some extent, although I fail to see how it is relevant to what is normally measured with meters, and the constant is completely artificial.
wait, why would they need this? Is this a joke I'm not getting?
Ask HN: Tips for a successful startup campaign on Pinterest?
We've noticed brands that use Pinterest have a much higher social engagement with users but are new to running Pinterest campaigns. Any tips or best practices to share for making the most out of Pinterest as a startup?
Thanks. I like the way they introduce what a proof is in chapter 1, I feel like they have a good, subtle sense of humor. I don't have a mathematical background so it might be a tough read for me, but it seems like a great resource.
That's an unrelated probe for a different, surely vulnerable, script - Zeroboard.

If the attack probes disturb you, begin gathering their patterns and plonking their IPs into a black hole using something like fail2ban. Er, well, that's what I'd do on a normal system. Not sure what to do about that on GAE.
Cache gets you very little if you can feed in sequential data at a constant rate and at the blocksize of the device.

Cache becomes more important as the input data becomes more messy; cache is one tool for turning bursty and random data into constant, sequential data.
So you can't draw conclusions? This is basic reading comprehension skill we are talking about here dude.
phpBB 2 was a total security nightmare and anyone running it or version 1 in production should be shot.

They realized how horrible things were and massively cleaned up their act around version 3. No published vulnerabilities issued since 2010, and only a handful for 3.x in general.

http://secunia.com/advisories/product/17998/?task=advisories
It's impossible to judge what one might find valuable. Preserving life as "a thing" might be just as important to future-wealthyperson as fighting Malaria is to a current one.
A Wave Crests: Silicon Valley, Postsecondary Education and $500B
I think what these guys (https://snowdrift.coop/) are doing might be useful for journalism, too.
> Operating a keyboard is not the same at all: all you have to do is press the right key.

Well, that's quite a biased notion. I could as well just say that operating a pen is just pressing it against the paper, while using a keyboard means a lot more: proper alignment of fingers on the home row, learning which finger should be used for which keys, etc.
"The move to Wikidata is a bit ironic, given that some of the data sitting inside of Freebase — including musician genres, album names, and record labels, for instance — originated from pages on Wikipedia, which the nonprofit Wikimedia Foundation hosts. And Googlers understand that."

http://venturebeat.com/2014/12/16/google-plans-to-integrate-...
Are you Buddhist? Yes! Are you religious? No!

This is as idiotic as:

Are you vegetarian? Yes! Do you eat meat? Yes!
A simple app does not mean it doesn't deserve success
The ringer doesn't request audio focus.

I would think that this is a bug in the ringer and not an overall limitation of the Android permission system.
Beautiful Interactive SVG Illustration Demo
While I'm waiting for that, and still writing applications that have to support ancient versions of IE, I think I'll stick with Jquery. Can't wait for the future though
it's surprising that Linus answers peacefully and pedagogically ! and thus it's a nice read to refresh the definition of semaphores, spinlocks and mutexes.

Maybe you can edit the title and add a little [199] :-)
I'll try to answer to this as best as I can, since I'm new to this feminism thing there's bound to be stuff that I'll miss.

Well first of all it's very nice of her approving the use of image and Playboy too for not going after their rights. But I think it's far fetched to see her approval as a positive message. There are women out there contributing to the objectification of women too, for whatever reason they have. (One weird side of this is people think women are shielded from criticism of their own objectification, but it's a delicate matter to say the least. One has the right to objectify themselves so it's hard to say something without getting in the way of their right to self express.) There are more than one side to this issue; but it's not about her consent, it's about how it might be contributing to boys club image of tech.

It's easy to see that we have a problem of the lack of women in tech. I find this very depressing since they're able as much as men are and it looks wasteful to dismiss half the population. I think we're getting better each day, but it does not happen magically. People fight for it and will keep fighting until there's no discrimination based on sex. I accept that Lena image is one of the minor issues, but I still see this as one of the factors that drives women away. This boys club image of tech gives the implicit message that women are not wanted here.

I know there's no nudity in the image and one needs to research to find its origins in Playboy so it seems unlikely to come across it. But the real reason here is if we're willing to combat sexism, it will give women comfort that we're willing to change tradition to be more welcoming. I believe actions speak louder than words, and if the reason to keep the tradition is not all that important, we should do it.

(I also don't think it's fair to compare it to an image of a naked guy, since it's unlikely to drive boys away from tech. It's not just naked guy vs. naked girl, the context and the message makes a world of difference.)
I'm kind of surprised that the popularity of tablets hasn't enabled a resurgence of calligraphy. I mean tablets are ideal for practicing calligraphy. You draw your shapes and if they aren't good, don't have rhythm and don't sing; erase and start over.
"Dijkstra was probably a
bit heavy on drugs or something (I think the official explanation is
that P and V are the first letters in some Dutch words, but I personally
find the drug overdose story much more believable)."

Quotes like this are why I always read what Linus has to say, regardless of whether the subject is relevant to my life in the slightest.

Edit: Yes people, those Dutch words exist! I get it! I'm sure Linus was well aware of that when he made this remark. However, the point Linus was making (in a humorous way) was that like most computer scientists / mathematicians, Dijkstra was overly fond of obscure, single-letter names, which nobody ever intuitively understands. Whereas the names "up" and "down" (see the rest of Linus' quote) are far more intuitive. Personally, I would argue that "hold" and "release" convey the intent in a clearer, more abstract way.
The Curious Case of Lotus Notes to Sharepoint Migration
Maybe someone could come up with a script to notify all those users?
Thanks for the heads up. Didn't know about Zeroboard.

In case anybody is wondering, it is pretty easy block IPs as well.
What happens when there is no capital around?

I'm not sure in what scenario that would happen. Amazon is funding its other growth with cash from its core business, which continues to expand. Your scenario would require that Amazon's core retail business die.
The Pirate Bay shutdown: the whole story (so far)
How jOOQ leverages generic type safety?
Discussion here: https://news.ycombinator.com/item?id=8679855
The stories were written by some christian minister or other and it seems he was fairly authoritarian.
Since they haven't managed to properly film any of the ocean landings, I highly doubt it. But this time we could have good video from the platform itself.
Link is to a collection of Linus's comments, from between 1999 and 2008, about how to efficiently implement mutex and semaphores in the Linux kernel.

Linus is the BDFL of the Linux kernel, and he obviously needs to think about the big picture. And yet in these comments he gets into nitty-gritty assembly language.

I love it when a big picture guy also sweats the details.
He did start out by saying Peter Samuelson's CS education was bad, so there was certainly some of the infamous Linus in there.
I read several articles on Dr. Dobb's. I can get various high quality details on various technologies with independent perspective. Several articles are bookmarked for future reference. Is it possible to preserve archives forever for future consumption?

I do not know about financials but I still feel there is place for high quality software industry related journal.
Yes, a lot of the analysis is quite silly. It's a good way to find out about stuff though.
Fat 'breathed out' of body via lungs, say scientists
I came on here to say exactly this. Fairly or unfairly, Linus gets a lot of criticism for being pretty harsh in some situations. In discussions about this people often stick up for Linus saying that either he's joking or that the people he's addressing can take it and that he's not that way with everyone. I guess this is the first time I've ever seen this side of Linus get any sort of prominence on HN (or elsewhere).
Jeremi Gosney Comment on Ars Technica's Use of MD5
AOL.com is still a top ~100 property in the US. Not sure why, maybe sponsored starting homepages, people checking old email accounts, etc.
This won't help with specifics, but there have been past discussions (HN?) about tethered floating cities on Earth that rely on heated air within the space to keep them afloat. I think one of those discussions had vague figures, from memory.
Indeed, it appears that the root problem is not that web advertising is in decline (which it isn't), but that there aren't enough M's in that very respectable RPM estimate. Probably due to the site being a cluttered, unfocused mess with errors galore. (Not just dated but often literally broken. http://www.drdobbs.com/database/image-compression-via-compil... )

I say that in the spirit of tough love, as Dr. Dobbs has always been a brand I trust to deliver quality content - when I can find it and it's legible.
Can you blame Linus for saying that? I can't speak with precision about 1999, but someone assumed to have a CS education should know the difference between semaphore and spinlock.
What portion of the fuel in the rocket is burned to slow down and land?
This is why I'm so interested in stand-alone binaries. You would only need the runtime libs on the target system, and wouldn't need to distribute source code.
Because the trajectory of where this thing ends up is in the ocean (on purpose -- think about failure modes to see why).
> If a developer can't tell the difference between ACTION_CALL and ACTION_DIAL, what chance does the average end-user have?

Huh? If a developer had made the choice correctly, the user would never need to know about it.
Tangentially related, I'd like an opinion on this:

>Okay, so it's not the most secure password. But Facebook's database servers are heavily firewalled. Though if you do manage to break in to Facebook's servers, there's the password.

What is the point on even having a database password? The application itself needs access to the database, so the application needs to know the password.

That means that an attacker who gains access to the application can easily just look at the file where the password is stored and then use that to access the database.

Even if you'd go great lengths at keeping asking for the password at server start and only keeping it in memory - once an attacker is on the application server, the password is in memory and can be snooped.

So the question is: Why even use a password for the web application? In my case, I'll just let the application servers connect to the database without password.
I agree that weighting is the key to stability for professional cooks and bakers, but up to a gram or not depends on what you're weighting, how much of it, and for what purpose (and yes, the gram itself as a unit is irrelevant). This is engineering tolerance and it's same in every field; even a fine metalworker can be imprecise provided he stays within the defined range.

Yet for part-time cooks as most of us are weighting is impractical: we don't have scales, and even if we do the amounts are usually too small. And stability is not necessary the goal :) For home cooks the usual task is to scale a recipe up or down and with cooking units the math is much simpler. Another thing about cooking units is that the number of different units helps to convey that engineering tolerance I've mentioned; the smaller the unit, the less the tolerance. When everything is expressed in one unit, you need to specify the tolerance explicitly.
Yah there's really good explanation of why eukaryotes are jump posted up above!

http://ronbarak.tumblr.com/post/25996121029/life-is-it-inevi...
One group dominates the second round of net neutrality comments
Django has a new home
I've been developing for Android since 2009. I also own Windows Phones too. I prefer WP.

If WP would achieve just 10% market share in my country, I'd drop Android in a heartbeat.

My app deals primarily with Bluetooth BR/EDR + BLE comms to to external devices. Its been nonstop bugginess.

Nevermind Wifi Direct, which I can't get working on a good day. I keep hoping the opengarden guys will be able to overcome the crappy Android apis.
How a Startup gets acquired
As far as I can tell, you don't even disagree with the simulation argument. The simulation argument is that one of three propositions is true:

1. It is impossible to create a simulated world that people can live in.

2. People consistently do not choose to create such simulations.

3. We are almost certainly living in such a simulation right now.

You haven't said anything to undermine the basic logic of the argument at all; instead, you're arguing that statement 1 is true. But the simulation argument is that one out of statements 1-3 is true. Hence you agree with the simulation argument. You just don't think you do because you identify the whole argument with statement 3.
Free Carla Buckle
Carla Buckle is being held in a private prison for 56 days as a civil prisoner.

Even if you can only donate £1, please do! lets get this woman home for CHRISTMAS with her FAMILY!

https://www.indiegogo.com/projects/free-carla-buckle-from-prison-for-christmas/x/7925257
I think both are valuable and I often scribble things if I'm working on something challenging. That said being able to write or type faster has its place because at the end of the day your program will require typing out in its entirety on a computer and nobody wants to do that by using an on-screen keyboard on their smartphone, even if the hardest part is coming up with the actual solution.
When dealing with floats, it should be noted that unlike a 32-bit `int` which is a signed 2's complement representation; a 32-bit `float` follows single precision floating point representation which is 1 sign bit, 8 exponent bits and 23 mantissa bits.
Not that there's anything wrong with the article, i just wanted to put it here.
Arghhh! Despair is what I feel now.
Here's Dijkstra's original paper on P and V (in Dutch), from about 1963.

http://www.cs.utexas.edu/users/EWD/transcriptions/EWD00xx/EW...

Here is a implementation of P and V, the original counted semaphore primitives, from 1972.

http://www.fourmilab.ch/documents/univac/fang/

This is UNIVAC 1108 assembly code. Along with P and V is the code for bounded buffers, with the operations "PUT" and "GET". Bounded buffers are what Go calls "channels". Note how simple they are if you have P and V. That code even works on multiprocessors. There's one semaphore for "queue full" and one for "queue empty". PUT does a P on "queue full", puts on an item, and does a V on "queue empty". GET does a P on "queue empty", takes off an item, and does a V on "queue full". It's very simple. That's the real use case for P and V. Linus' note indicates that in 1999 he didn't know this.

(I didn't write those primitives, but I've used that code, and once ported it to a Pascal compiler I adapted to handle concurrency.)

This stuff was all well understood four decades ago. Much of it was forgotten outside the mainframe world, because threads and multiprocessors didn't make it to microprocessors for several more decades. UNIX, for a long time, had very primitive synchronization primitives. Early UNIX didn't have threads, and even after it got threads, it took years before the locking primitives settled down. The DOS/Windows world didn't get them until Windows NT, circa 1993.

It's been amusing to me to see bounded buffers resurface in Go. They're quite useful, and I've been using them in concurrent programs for many years.
This page is hosted on a new VM (set up on this purpose) which only serve static html files, so...
Out of curiosity, what line of work are you in given that you can seemingly pull this stuff from memory? All I read was "lorem ipsum..." until you got to Big O.
The main benefit in writing with pen and paper (to me), is the fact that I can write anywhere, make arrows, comments that doesn't disrupt reading the main part, and draw various very helpful graphics. I think I would have spend significantly more time to understand most of what I learned in CS if I only used a computer to take notes.
Forward security typically means you make it possible, after the session is complete, for anyone to have said anything during the session. Thus making it possible for any potential log of said session to be forged and presented as 'evidence'; therefore implying that even a log which happens to exist on someone's computer is in fact forged (or more to the point, that any potentially recovered log or monitored log is forged; even if an identity has signed off on the session key).

So if 'PFS' was used with a sent message then anyone/everyone would be able to read or forge the message. This is not the problem that PGP/OpenPGP was designed to solve.
The point is reusability.

Reusable rockets will dramatically lower the cost of rocket launches.

(On the other hand, if you're questioning why rockets are tall & cylindrical, it's because that's the best design for rockets: https://www.quora.com/Spacecraft/Why-are-rockets-tall-and-sl...)
The highest praise one can receive in that world is to be described as "really useful."

To the Controllers.
And what about publications like AnandTech? Their editorial seems to be independent of sales, and they are still doing fine.
The average tenure is a year because the company is growing so fast, not because the average employee leaves after a year.
Different access levels? (your app may not have the right to erase data/drop tables for example)

Auditing (per tool)?

Not all attackers come "through the front door"
I understood that there's a significant quality difference with Freebase: that there are a lot of places in Wikidata showing values where a reference should be. Is that true?

And do you have any way to contact you? (My email is in my profile.)
Diagonalization is a fairly standard mathematical trick for doing matrix powers easily. If X is some matrix that can be diagonalised as

X = P^(-1) D P

then

X^n = (P^(-1) D P)^n = P^(-1) D^n P
True, but proper cursive writing requires much finer motor skills then hitting keys on your a typical keyboard.

Btw a couple of years ago I noticed I couldn't properly write cursive anymore. Quite a terrifying experience really, finding out a skill I pretty much mastered was now fading away. Due to the rise of the keyboard and a job which made me usually only write diagrams and capitals. So I devoted myself to learning it again and after a couple of weeks I was back at the same level I was in engineering school. Now I really don't care if a pen is mightier than a keyboard, or faster, or better in any way (if it even is). It's just that I consider it another skill, just like typing, or just woodworking, whatnot, and trying to master a skill is what some humans instinctively do.
For those that care why Dijskstra used P() and V(): P for Passering; V for Vrijgave (release)