skysight-inc/HackerNews huggingface dataset:
Solving all of these in 5 hours is truly awe inspiring. It would probably take me months, if not years :-)
true words, true words...
Google Cloud vs. AWS Pricing
Everything We Do in Social Media Is Wrong
Driving abroad with your motorhome: a list of the must-knows before departing
For me, it's lightning fast with no clutter. I just want quick verification that the regex I'm writing matches a few samples. Explaining to me that `+` matches "one or more of the preceding group" adds no value.
Don't know if anyone if still watching these comments, but the thing that probably puts me off is the antenna requirements; that part seems to be quite DIY whereas I'm looking for something a bit easier but powerful enough to whet the appetite/be interesting (and preferably without some massive array in my backyard/on my roof!)
The Russians win again... looking at the history it seems something happened around 2000 which caused the results to be dominated by Russia:

http://en.wikipedia.org/wiki/ACM_International_Collegiate_Pr...
FL STUDIO 12 MAC CRACK FULL VERSION FREE DOWNLOAD
For me specifically, StatsModels, sklearn, REPL plotting (more of a language feature) with seaborn/matplotlib, scipy, various NLP libraries, pandas for parsing CSVs and fast vector operations on table-like data, an easy to use requests library (compared to http://golang.org/pkg/net/http/) and 10^6 C libraries that either someone already made bindings for or that you can easily make bindings for with Swig/boost (not sure if it's as easy with Go).

Not to mention, all the "convenience" libs that are easy to implement but would take forever to make them all yourself. Examples like jaro distance, jaro-winkel distance, etc.

Unrelatedly, I wish Nim was more popular and I wish they concentrated on math more. Having a general purpose fast language that you can prototype in is amazing. Although you can't really blame such a small community for not focusing on a niche.

Julia might be great eventually, and it's really fun to write in and much easier to implement new things in compared to Cython, but not so great right now for my purposes. You end up importing the Julia library from Python and it takes a month to JIT compile some things. Also, string processing is not nearly as easy as it is in Python.
You're mixing up concepts. You want an experiment that can falsify the hypothesis, because if it can't it's worthless. That doesn't mean you don't run the experiment to give evidence to the hypothesis.

So in the LHC case the hypothesis is "the Higgs exists and it's energy is X". Then they run the experiment and get evidence that says "there is a very high probability that there is a particle with energy X" and so their initial hypothesis is considered proven. If you don't like the word proven, then they conclude it's extremely unlikely to be false.
If there will be fully automated city taxis and automated rental of cars similar to car pools for long distance travel then I think the car industry will be in trouble. It will be more economical in the sharing industry to share a newer car with others than to own your own depending on utilization rate.
this has been posted a few times, but is a great resource
We have been working on a solution for exactly that and it works well. Launching soon with actual product.
Elixir Conf 2015 videos
> The May First team has a record of resistance to snooping law enforcement agencies; over the phone, McClelland told me about the security system they’d built around the servers, which relays its data outside U.S. borders.

Hmm... If I remember correctly, sending data outside the US will cause the US security agencies to treat it as "foreign", and hence a legitimate target for surveillance.
Ah, reminds me of a Windows bug that I chased in Win2000 Server. (For all I know it might still be there - I've stopped writing Windows code in 2007).

When you wrote to a file (using WriteFile or fwrite()), it first extended the file length, and then committed the buffer. This is supposed to be atomic - that is, you should never be able to see the length already extended but the data not yet there. And it apparently was atomic if both reads and writes came from the local machine, or both came from the network - however, if the write was on the local machine but the read was from the network, locking was missing, and it WAS possible to read zeros instead of the real data (but only because of a race condition - reading the same file again later would give the expected answer)

Tried to get Microsoft to at least confirm this bug, to no avail - there was no one interested in talking to a lone freelance developer back then.
> To prevent the server stacks overheating, tech companies spend vast sums on cooling technology - more than a third of a data centre's hefty energy bill may go on air conditioning.

Data center cooling isn't necessary. I saw a presentation by Christian Belady, the general manager of Data Center Services for Microsoft's Global Foundation Services (GFS) group, where he spoke about how they don't cool their data centers anymore. He tested the theory by putting a bunch of racks outside in a tent to see that they wouldn't overheat.
The whole trick about any kind of 'co-generation' is that you get something you need (computation) and something that you can use that would otherwise go to waste (heat).

The only time that scheme does not work is if you don't need the heat.
AMD says Nvidia’s GameWorks “completely sabotaged” Witcher 3 performance
I'm somewhat convinced the only reason other layouts are easier to learn touch typing is because most keyboards are in qwerty. Learning to type well is still hard. In fact if you typed well already and decided to switch layouts I believe you'll have a much easier time than a newbie.

I learned Colemak earlier this year. After I reached my old qwerty speed I re-learned how to type in Qwerty. As such I can now type in both layouts at my original speed. Typing in qwerty is really not bad; good enough that I don't really recommend others to change layouts or learn another one. I am also convinced an opinion stating that qwerty is terrible coming from someone who still can't type in it well and naturally is somewhat biased.
I do this all the time. I also accidentally try to save web pages with cmd+s constantly.
FYI: this doesn't seem to be about what most of us would think of as shared code - the same .so or .dll mapped into multiple processes' address spaces. Rather, it's about code that's copied between programs, or between versions/instances of the same program. Still interesting, but perhaps not quite what people would expect.
Note that those are FETs, not just ordinary transistors.
Why would you replace your old heating system? I would think of that as an additional heat source that enables you to save some resources from your general heating system.

Think of it as the solar water heater on a house's roof. It doesn't always works but when it works it helps you save some money on other options.
It is actually true for PCRE (PHP), Python, and and a bit for non-global Javascript regex. For global matches in JS it is, I dare to say, incredibly difficult, if not impossible. I haven't seen visualised submatches in JS anywhere. I'd be happy to be mistaken and corrected.

So go on, try it right away :] I think it might be possible to get it done with breaking original regexp into group tree and look what each part did on concrete match from global search using non-global match on local instances. You'd need own regex parser and watch out for deep nesting.
Like reported earlier it is quite easy to test if your server is (still) affected. I used http://security.uwsoftware.be/logjam since it didn't had a cache on it. That makes it possible to fix and confirm fixed.
(IIUC most other tools had a cache. So when testing after fixing it was just showing that it was still vulnerable).
Drive Growth with Better Data – Tips for Small Businesses
> But I guess I'm wistful for the "inverted pyramid" of newspaper journalism where the headline was the condensed summary of the whole story, and imparting information took priority over attempting to produce an infantile grab response.

I don't think that's been true for a long time, headlines on newspapers (especially on the front page) are carefully crafted to sell papers.
If efficiency is vastly improved, we can stack the layers and increase frequency by quite a bit. Even if the processor becomes a 10cm x 10cm x 10cm cube, it's okay as a proof of concept.

It's an interesting approach to overcome the inherient limitations of electron based circuits.
No wonder everyone wants to be in the *aaS business. That sounds like the analog telco days, where long distance were billed harshly to get people to keep their calls short. Thus getting the most out of a low number of wires.
CareFirst data breach affects about 1.1M people
Same, I specially considered it because I already have an iphone
Yeah, it's a nice example. However, I disagree on the severity of your prognosis.

In C (my preference over C++) I would use an arena memory allocation strategy in this case. This is something I learned from reading the python interpreter source code: when your parser barfs way down in the call stack, an arena is a simple way to clean up everything. (I'm not saying it will be easy in your particular case.)

As for exceptions, you can just use the return value to signal an exception, or if you want to be a bit more radical, use a longjmp.
She's been a major inspiration for my own work for years.
WEARABLE: Infographic – The history of wearables
مسلسل حارة اليهود
It gets more complicated when you ask the question "How much money is the software engineer making for the company vs. what the company pays them?"

For argument's sake, let's say you're paid $80K per year. On the one hand, you may think that is high (it always depends what your frame of reference is). If the code you produce directly makes the company millions of dollars though, does that change your assessment of the 'reasonableness' of that salary?

This is the argument I've heard as to why sports stars get paid so much (because you have to look at what they get paid vs the amount of money they're making for the comapnies paying them).

It's a real can of worms.
It doesn't have to be the nose. You can use the rise and fall of your stomach as your focus. It is merely a point that allows you to notice when you've become distracted.
IFMO takes this competition quite seriously. There are usually at least 2-3 equally strong teams fighting for the spot in the finals.
Was that a joke? Both points are wrong. Electric radiators aren't 100% efficient, can't be. e.g., some of the transformed energy will be light (the metal gets red when it starts to get hot).

And of course if you use a computer then X% will go into the computation. The reason why it might be cost efficient for you is because the server guy thinks he has the same costs for electricity no matter if the server is in the data center or in your home, and therefore pay your bills for the server heater.
Would not FORTRAN make more sense than C if a real compiled language is required for performance.
IIRC in the Netherlands they introduced an ID carrying requirement for anyone over the age of 17 or thereabouts. Makes things less complicated in case of having to check your age when buying alcohol, or when you get pulled over for whatever reason, or even when you get into an accident and need to be identified.
It took them cumulative practice of at least 19 years to reach there.

(One of them started practicing 10 years ago [1]. The two other are active at topcoder since 2010 [2] and 2011 [3]).

[1] http://en.wikipedia.org/wiki/Gennady_Korotkevich

[2] http://community.topcoder.com/tc?module=MemberProfile&cr=229...

[3] http://community.topcoder.com/tc?module=MemberProfile&cr=230...
It's not that bad to do by hand. It took me a few minutes, while I was also busy consuming a tasty snack [1].

The keys are the 13 x _ / _ and the _ x _ / _.

Those are the only terms that involve division, and since we need to come out with an integer in the end, we must either have those two terms each individually be integers, or they must both be fractions that add to an integer.

I focused on that second possibility, because that's the kind of sneaky thing people who make puzzles to do.

There are a couple ways to do this. I started with 13 x _ / 3 for the first and _ x 6 / 9 for the second.

Then I simply started going through the possibilities for 13 x _, and for each picking the smallest value using the remaining digits for _ x 6 / 9 that made the sum of these two terms an integer.

There are only 6 cases here. For each of those cases, you finally end up with something of the form _ + _ - _ + 12 x _ = I, where I is an integer. There will only be one or two possible values from the digits remaining that can go in the 12 x _ part and get you close enough to I that it is even worth continuing with that case. It's then trivial to see if the remaining 3 digits can be fit into _ + _ - _ to give what you need (and sometimes you can even skip that by doing a parity check).

Annoyingly, it is the last of the 6 cases that works, giving

1 + 13 x 8 / 3 + 7 + 12 x 4 - 5 - 11 + 2 x 6 / 9 - 10 = 66
_ _ _ _ _ _ _ _ _

[1] Tim's Cascade Style Potato Chips, Original Lightly Salted; Hostess Cupcakes (the orange ones, not the chocolate ones); Pepsi
Don't ever report bugs or UI annoyances to the Adobe team then. It's so infuriating.
It's not a requirement. The reason many vipassana guides say to breath through your nose is because most people can easily feel the air at the tip of nose and it gives them a clear point of focus. You can breath through your mouth too. Some people prefer focusing on air coming into the stomach instead.

When I have a cold or some other build-up in my nose, I just breath through the mouth, no problem.
Docker Basics: A practical starters guide • Conetix
Universal SSL does not imply "origin unsecured": https://blog.cloudflare.com/universal-ssl-encryption-all-the...
That's why I support things like dash cams and cameras on police officers themselves - if they're not trustworthy, they need to be monitored and harshly dealt with.
Definitely check out Sam Harris' book "Waking Up" (the atheist guy). It was a great introduction to meditation for me.
You need to cool the bits where the humans are.
No no no no no -- that's "humans aren't the shape you think they are".
There is a meta-structure to the problems that people can and do train for. I dabbled in this as a student (part of the BCS UK-wide competition winning team in .. '99 or thereabouts). You basically need to memorise "Introduction to Algorithms" http://en.wikipedia.org/wiki/Introduction_to_Algorithms , have a good practice in writing microparsers and output-formatting code (usually scanf/printf will do, sometimes you need something a bit more complicated), and have the right kind of puzzle-solving mentality.

Like Project Euler, sometimes you have to find a conceptual shortcut because the brute-force solution isn't feasible.

The BCS format involved four people and one computer, so work discipline, coding on paper, and a sort of extreme pair programming were important.
Ask HN: Affordable LIDAR-Sensors?
Cool to see the changes pushed out already. Looks better now.

Some additional feedback:

* the dl button gave me an html file with this error:

Message: filesize() [function.filesize]: stat failed for /var/tmp//hey.zip
File: /usr/www/users/jibsheet/scribbit.website/lib/Models/ScribbitModel.php

* I think the markdown help sheet should be open the page in a new tab. Rather than display an image.
Nope, don't worry about it :)

Don't get hung up on the minor detail. It's super easy to do with meditation but unless you are following a very specific style, it's just not important.
I'd add http://regexpal.com/ for historical completeness. It's the first such tool I used and prefer it even today. Very sad that from what it seems Steven Levithan sold entire domain recently and is not updated anymore. Even permalinks broke last year. (I'm a bit worried, what's up with Steven.)
It would be very interesting to compare this to Bitcoin mining, on a dollars per watt chart.

At first, I thought it would be simple, but soon realized there are many, many factors involved
[2014]

Also worth pointing out that this was made by Spotify itself.
Thats pretty much a variation on the Lucas Critique.

https://en.wikipedia.org/wiki/Lucas_critique

And sadly one reason why IT is a easy department for the beancounters to downsize.
Thanks! I've started with meditation and it does seem to help. Or at least it doesn't hurt and forces my mind to relax, even if just for ten minutes. Changing up my behavioral patterns is also something I'm working on.
Gravity. So: yes.
That's a great project by @amenghra and Facebook's Hack creator Julien Verlaguet!

Don't know if it made HN when it was released.
Nice. I had a quick look at this effect in an old blog post, it's surprisingly simple to derive the existence of waves in traffic flow (given some simplifying assumptions)
http://jasmcole.com/2014/09/14/only-a-fool/
Your data fits in RAM
Funny you say that about Portugal. I'm Portuguese, and I concur, although I always thought of my opinion as biased.

It does not take many drivers acting responsibly to fix a wave jam. Interestingly, culturally, is that this responsible action is viewed here as a relaxed take on traffic. When the line restarts, some drivers take their time shifting into first gear, and then take a lot of time to increase their speed. They effectively buffer cars behind them from the stop-and-go.

If you get two of these in a row, it's enough for the stop and go effect to dissipate.

If you do this on the road, prepare to be overtaken by someone "in a rush", and prepare to ignore the action, although it's acceptable to gesticulate and swear at the car ahead :-)
The slab allocator is a great strategy, but of course only works for memory, which is really a special case of one out of all of the resources we want to manage. If you're writing long running processes you need to care about any number of file descriptors, maybe mutexes, certainly locks.

You can't bypass all of this in all cases assuming that you only need to deallocate memory. Destructors tidying this up as the exception unwinds the stack is extremely easy to reason about and stops any number of idiotic mistakes.
I think has a lot to do with manual transmission which allows for natural and controlled engine breaking, thus not creating the brake light to come on (and therefore the wave of copy-cat type braking).
I was put into the Yankee Stadium (@bopfger). It must be able to read my mind as I would love to be there. Not sure, how Google would put me there, though as I have never been there and never tweeted from New York either.
@potus is super accurate - the White House...
> Dollar for dollar food, water and education in the 3rd world has to have the greatest impact on human suffering

Medicine in the 3rd world actually seems to outperform any of those[1]. On the other hand, it's medicine of the "let's take the well-known cures and distribute them to people who don't have them" variety, not the "let's research a cure for this rare but heartbreaking disease in children" variety.

[1] http://www.givewell.org/charities/top-charities
Sounds like a good idea, although it appears to still use convection heating, which is the least sustainable form of heating. Low Tech magazine has some relevant articles related to the topic[0][1].

Anyway, back when I still used desktop computers I always made sure they were placed in such a way that they doubled as a heater for my feet. Now that I think of it, it probably would have combined quite nicely with a kotatsu-style set-up[2].

[0] http://www.lowtechmagazine.com/2015/02/heating-people-not-sp...

[1] http://www.lowtechmagazine.com/2015/03/local-heating.html

[2] http://en.wikipedia.org/wiki/Kotatsu
I'll give you a counter example.

GPU drivers spend a lot of time trying to optimize beneath their corresponding high-level API. This more-or-less equivalent to compiling GPU machine code on the fly based on GPU configuration - that is, very much like optimizing a high-level language.

If everything goes smoothly, the drivers can do a pretty good job of optimizing everything.

However, if you deviate slightly from the "fast path", the whole thing falls off a performance cliff, and because it's a high level language with a secret black-box optimizer behind it you're actually worse off investigating performance issues than you would be if you'd just written things at a lower level. Not coincidently, graphics APIs are moving to lower levels precisely to remove the complexity from the compiler, increasing transparency and making things more predictable.

Now you might suggest that a "sufficiently advanced compiler" wouldn't do that, but such a thing is a fiction. In practice, the compiler is never sufficiently advanced to optimize in all cases effectively.

---

Consider Javascript, where exactly the same thing happens. Your definition of a "high level language" may not include JS, but it's hard to argue it's not higher than ASM.

Modern day JS engines do a pretty good job of optimizing code JIT. However, you make some innocuous code change and suddenly your function is running in the interpreter instead of being optimized (see https://github.com/GoogleChrome/devtools-docs/issues/53 for examples)

If you were using a lower-level language, your chances of falling off mysterious performance cliffs is significantly reduced. Further, you have the capacity to do low level optimizations that your compiler literally cannot do.

So what if your high level language can now do parallel-maps, if it ignores cache thrashing, or hits load-hit-stores or any one of myriad actual performance holes that real code can fall into?

Or you add a field to the objects you're iterating over and the parallel map implementation hits a weird memory stride and perf drops through the floor. How do you even debug something like this in a high level language where all you see is "map()"?

---

I also think your compiling-ASM-to-JS example is a bit of a strawman, FWIW. The parent was talking about how high-level languages yield higher performance than lower-level ones, not about the portability or transpilability of ASM->JS. (A "suitably advanced transpiler" would handle this problem perfectly anyway)
I found this debate (moderated by Brian Greene) enlightening.

https://www.youtube.com/watch?v=DbCl4p5TDPc
In my experience the Dutch get along pretty well with Russians. The main sources of 'conflict' I've noticed usually have to do with the fact that the Dutch like to rub their 'liberalness' in other people's faces, and many Russians I've met tend to be a bit more conservative/traditional in their values.

That said, my experience is also that it's more bark than bite. We love arguing and we love telling others our views unasked, but in practice we tend to be pretty, uh, pragmatic about our beliefs. We're essentially a country of merchants/salesmen, we have been for a long time, and getting into real arguments over beliefs is not good for business. It's something I both love and hate about our culture.

(This is generalizing, of course, but I've been shocked to find out more and more how strong a 'culture' can be, even on a national level.)
Author of the article here. Everything said in the article still applies IMO but, to be fair, C misses some useful modern features, most importantly a decent concurrency support. I've recently tried to remedy the problem by implementing Go-style concurrency in C: http://libmill.org
I completely missed this - what did they do?
You don't permit them to switch.
VW CEO warns against poaching by Apple
What do you think that light turns in to?
That script (with the -1 at the end replaced with the correct -10) does not work, at least on Python2. It misses the solution (1, 8, 3, 7, 4, 5, 2, 6, 9).

Here's a fixed script:

from itertools import permutations

def f(a, b, c, d, e, f, g, h, i):
return a + (13 * b * i + g * h * c) / (i * c) + d + 12 * e - f - 11 - 10

solutions = [p for p in permutations(range(1, 10)) if f(*p) == 66]

print(len(solutions))