skysight-inc/HackerNews huggingface dataset:
The lack of a standard library can be fixed relatively easily: write libraries! OTOH, the existence of anti-modular language features that are extensively used in several major libraries, is a more serious problem, because:

(0) It means that libraries in general won't play nicely with each other, unless they're explicitly designed to do so.

(1) It can't be fixed without throwing away code.
David T. Morgenthaler – one of the earliest VC investors
> How would a compiler know that you can use a SHA2 instruction?

Intrinsics.

There's basically zero benefit to coding this stuff in assembly. Many standard libraries prefer intrinsics, because there's basically zero benefit to writing this stuff in assembly and many drawbacks from an optimization perspective.
Here to say the same thing. Even C# seems to me pretty odd.
I don't think this is true. Everyone of my vintage still loves Howard, and I've been listening for 25+ years.
You were being down voted, maybe for perceived snark, but I think you raise an interesting point.

To me, C did have a standard library: Unix. It's a runtime system too! Due to the nature of the original C bootstrapping process it just happens to be possible to remove this standard library, and Windows was evidence of this.

There is another interesting potential counter example: Lua. It's minimalistic standard library is part of what makes it so attractive for embedding, eg. in game engines. However, Lua's embedding API is so good, you could almost say that it comes with a large standard library too: Your existing C code!

I guess my larger point is that languages rarely are able to stand completely on their own. They need some sort of valuable body of code to justify people to choose the language and libraries together. It might have been the case 40 years ago that you'd reasonably choose to build something "from scratch", but today, if you start on an island, you need to build a bridge, lest you remain on an island forever. Better to start on the mainland.

It's one thing to build a layered system with a small core. It's another thing to completely ignore the fact that the libraries and community _are_ the language, in the only ways that actually matter.
If you can, could you elaborate more on python's stdlib holding it back? I think batteries-included experience is one of the reasons why so many people (including myself) use python.

It's also one of the features I sorely miss when using Rust. Luckily, Rust's stdlib is starting to tend towards being more practical with recent additions like system time.
Apart from blockers, pretty much all of that can be relayed via whatever job/bug/kanboard board you are using.
You should checkout https://github.com/disdain13/PokeRoadie/

The best PokemonGo bot by far!
You don't consider the dynamic, rich document presentation engine that is HTML to be a standard "library"? Seems like it is to me.
Opaque assembly blocks that the compiler doesn't understand the effects of are actually suboptimal for performance.
They got SSH access? Steps I would take are:

1. Isolate the machine.

2. Rotate your keys.

3. Set up ssh via ssh keys and remove ssh passwords.

4. Now do whatever you want with the isolated machine.

If you already are using ssh via ssh keys then either one of your employees has been hacked or "the call is coming from inside the house".

I would really suggest, as others have, trying to get the mysterious individual to tell you how they did what they did.
The part of JavaScript(nodejs) community I cannot enjoy is that too much noise made by this kind of ego/ignorance developers.
That's an amazing story. Thanks for sharing.
Being a pure function isn't sufficient; it also can't use general recursion or dynamically sized data structures. You could certainly write an ECC implementation using Clash, but you might have to do a bit of porting work.
It looks very nice to me.

The question is how it looks after six months of use.
I lived for six months in a town called Leinster, a company town 1000km from the nearest major city (Perth, Australia). It was run to support a nickel mine, back before FIFO (fly in, fly out) rosters were commonplace and everyone lived in the city.

Interesting place. You weren't supposed to drink the water so people would go to town and get distilled water (though I was at school and we just drank from the water fountains connected to mains water). In general though it had much better facilities than similar towns of that size due to being funded by the mining company.

Wikipedia says it still has about 700 people - though I believe the town was shut for several years while the mine was in care and maintenance (the nickel price is not high enough to justify mining at the time so they operate on barebones staff doing equiment maintenance and dewatering) - and by the sounds of things that is happening again now so I'm not sure what it's like.
Many countries are irregular polygons like Chile. Thus a square is very close to a circle, relative to the other shapes.
Pretty much, except for me it was "It would suck, but I could always go move back in with my parents". The gist of it was that I wasn't risking much except for my time and a bit of pride, so why not.
I honestly can't tell if you think it should be higher or lower.
Personally, I feel as though I'll accidentally think of the elderly as less human than the young, and forget that they can be open to new things as well. The more I've realized it about myself, the more I feel I begin to see it in others too.
My personal view of status emails is that they are largely an artifact of engineering-driven companies in which managers, who must possess a given level of engineering competence in order to have supervisory credibility, often have very poor social skills.

To be clear, I'm all for pushing stats to the central org. Every week when I was a company commander in the Marines, for example, we sent our battalion HQ a big Excel sheet with a summary of who was on light duty, who was going on leave, weapons count, etc -- that kind of basic accountability is fine to put in a weekly email IMO.

What is not fine is abdicating your responsibility as a leader by living within a Potemkin supervisory framework that reduces or even eliminates your need to have daily face-to-face (or telephone/VTC) conversations with the people you have the privilege of supervising in order to figure out what challenges are in their way and what you and the larger organization can do to help.

The straightforward way to do it is not weekly status emails, it's limiting the number of direct reports anyone has to a reasonable number and holding them accountable for everything their portion of the org does or fails to do. They in turn should be holding their people to a high standard of not letting bad news age and being forthright about what's not working.
J edged out OCaml by two positions!

Happy to see it on any list, since most shy away from its usual terse, tacit examples.
The Surface is a laptop crammed into a tablet shell.

An iPad Pro is a tablet.

So the Surface has more RAM to work on serious projects, more CPU to do them with, and... a far greater hunger for power because of that. Like, 3h of continual use is a pretty good day.

It's also got an OS that is trying really hard to work as both a tablet OS and a desktop OS. Windows 10 is not quite there yet IMHO but it comes pretty close; another year or two of development and it'll be there.

For artists, "runs the Adobe suite" is something of a killer app, and has been since version 1. For other people? Well, what's that one app you really need a desktop/laptop to run? Maybe one with a limited version for tablets, maybe not. You can kick back on the couch with it now. I see a lot of people on /r/surface talking about how they use it for all their note-taking; it's got surprisingly good handwriting recognition, and is, again, ultra-super-portable.

(I hear it also does surprisingly well with games; plug it into your big screen's HDMI input with the casualness of bringing a tablet into the living room, instead of setting up a big noisy Gaming PC, and have fun. I never tried that during my time with it so I can't speak to how well it actually does. I literally did not install anything on mine besides Adobe Illustrator, Evernote, and a few programs for remapping keys/putting hotkeys on the screen.)

It's a pretty serious step into the world where you have one device that works as both a tablet you can poke at with your fingers, and a Serious Productivity Device that runs whatever twenty-year-old monster app that you've been using so long you don't even have to think about half its keyboard shortcuts.

It's not fully-baked yet, Win10 is a mess that still drops you into horrible little control panels from 1995 now and then, some crucial UI elements vanish if you use apps designed for tablet usage in "tablet mode", but it really felt like something magical in the same way my first iPad did.
Hmmm... Consumer products vs. consumed products?
Unfortunately I honestly dislike C.

It is about as expressive as a "portable assembly language" can be expected to be, it has pretty weird syntax [1], it has neither hygienic macros nor a module system, using "include files" instead. And a bunch of undefined behaviors on top of that.

Well, it was the unifying language despite all these shortcomings, because Unix. This is very much like JS is an ugly unifying language of sorts today, because the browser.

I very much hope that maybe something like Rust will take the place of the close-to-metal portable language. C made some sense when you had a 16-bit CPU @ 10 MHz and 128 KB of RAM for a development machine, and ed on a teletype as the IDE. Now we can do better.

[1]: http://c-faq.com/decl/spiral.anderson.html
Facebook uses their pixel [1] to determine what their visitors do on their advertisers' sites. The pixel can be set with various options, such as a "purchase" pixel with a revenue component. When you initiate campaigns in Facebook you have the option to define a goal of conversions (views of a specific Facebook pixel), and Facebook will report back the conversions from your campaign.

1: https://www.facebook.com/business/help/952192354843755
Yes, but you are only looking at regular N-gons, while the person you are responding to is considering all polygons.

Square countries are relatively close to being circular compared to the many highly irregular countries out there, not compared to other regular N-gons.
I'm not too sure about iMessage (I was a kid when it first debuted in UAE).

But I do remember them having an outright ban on BBM (for about 3 days) till Blackberry had a local datacenter (and I believe provided the govt access to the messages - I am not sure about the details in parenthesis).
It is impossible for me to believe that C is the top programming language for mobile development. Are they double counting obj-c or something?

Same thing for web although I guess it could be the case that people are using C on a lot of old apps that add up to a significant marketshare? I would still be pretty shocked if that were the case.
I had no idea what or where Serranilla Bank (#70) was. Something new to learn everyday. :)
Saving any other people like me a google search:

15201 Maple Systems Road was the Simpsons’ home
while living in Cypress Creek after Homer was
headhunted by the Globex Corporation. From the
outside it appeared structurally similar to the
Simpson's home in Springfield; however, the
interior was much larger and more modern.

They were welcomed shortly after arriving by the
CEO of the Globex Corporation, Hank Scorpio, who
was participating in a fun run.

Many of the house's functions were automated,
including a self-cleaning oven, dirt-patrolling
vacuum cleaner, and an automatic sprinkler system.

After Homer tackled an escaping secret agent at
work, Hank Scorpio promised that when he returned
home there would be another story in his house.

http://simpsons.wikia.com/wiki/15201_Maple_Systems_Road
Only if you leave a unique indicator of that particular wrapping or take a photo. Otherwise they could easily slice through it, look at your shit, and wrap it back up. They probably have a machine for this.
Not that we needed it, but more evidence that the adjectives "faster" and "slower" are overloaded to the point of meaninglessness when discussing compilers and languages.
They leave a leaflet when they look through it.

I regularly travel to conventions with a checked suitcase full of merch. I, and most of my vendor friends, have an ever-growing collection of these things. We all seem to just leave them in our bags for next time.

I mean, yeah, they don't have to be leaving it, but experience shows that they do.
No, he's asking the Russians to produce emails they already have.
Nobody talks about JavaScript. It's all "Node React Angular Ember Meteor" and whatnot.
What? I thought hipsters where all about niche unknown things that so much better?
My first iPhone (a 3S) is now a kitchen timer.
Bernie Sanders Leaves the Democratic Party
There's actually a lot of overlap. See Nauru (2, 10), Sierra Leone (1, 14), Uruguay (9, 13) etc.

It's interesting, I think both of these metrics reward largely the same thing, independent of actual approximate shape, which is a lack of irregularity in their borders and many degrees of symmetry.
If you don't get a pamphlet, that doesn't imply that they didn't look through your bag.
I don't see how lacking that knowledge is detrimental. It didn't affect the analysis, it just caught the author's attention as an anomaly to investigate. That's part of the process.
And I hate gnats, fruit flies, and mosquitos!! They irritate the crap out of me!
I would say password reuse can be pretty good! Simply have your own rule such as "letters 2 and 5 of the domain name" and combine those with your reusable password.

In fact, I'd go further and say that you can do this with your login name. So for example:

myemail+by@gmail.com for eBaY

This also helps mitigate those attacks where the attacker actually contacts support and socially engineers them into giving all your info and even stealing your account:

https://medium.com/@espringe/amazon-s-customer-service-backd...

If you are hosting with AWS you should really consider doing that
http://www.techinsider.io/hacker-social-engineer-2016-2
For what GPUs?

This is an honest question, and I appreciate your answer in advance.

I have a desktop with an HD 6850 and the radeon driver has always worked well, I used to play DOTA2 on it.

But this is a very old GPU now, and all newer models (HD7xxx and up) were having performance issues with the radeon driver last time I was reading the forums.
The surface pro doesn't have a rigid hinge on the keyboard does it? I'd love to get one to replace my inspiron hybrid that doesn't really work as a tablet but this is a pretty big limitation for me.
I assumed they opened every single bag. Most of my flights are international and every time I've opened my bag I've had one of those pieces of paper
It is absolutely a solvable problem technically, it's entirely cultural at this point[1]. The good news for FB is that they can kill Google just by squeezing its margins[2]. So they don't "need" search, but it will be the difference between what happens next at Microsoft.

There is a point where, like IBM and MySpace and any other market leaders get too far behind the margin curve, it results in a systemic collapse. That happens because the environment changes faster than management can change the company. I haven't figured out entirely what causes some companies to re-invent themselves (Dell, IBM) and others to become someone else's lawn ornament (Yahoo!, AOL).

[1] "they've made a few attempts at search over the years and none of them have really panned out so far." -- which is exactly the symptom of a cultural or organizational impediment.

[2] Bing is helping too of course.
For me I have a few standard passwords depending on type of security e.g forums which dont matter so much if people access vs email vs banking. On each I have change I make depending on the name of the business e.g. you could use the part of their business name to decide part of that password type thing. For someone like me who is less likely to be specifically targeted for hacking and more likely to lose account security to mass breaches like LinkedIn (twice now guys!), this seems a good way to limit chances of a broad account breaches while maintaining fairly easy to remember 100's of passwords. That said I completely acknowledge a sophisticated hacker would have no issues beating my method.
Well, how many libraries of Congress can all these phones hold?
This is a hammer problem. When all you have is a hammer (arrest) everything is a nail.
U.S. Numerical Weather Prediction Is Falling Further Behind
It's unfortunate that Elixir didn't even make it on the list, but then again it's only a few years old and just starting to make a splash, especially with the popularity of the Phoenix framework.
It could be that most R programmers have the kind of jobs where the language used is flexible and so might not be mentioned in a job listing. The jobs could be asking for statistical analysts or data scientists, and leave it up to the employee to decide if they want R or SciPy or some C++ toolkit or whatever.

Compare to someone looking to hire a web developer. There you are much more likely to need the developer to use specific languages, and so those should be mentioned in the job listing.
We use this aty company, even though we're a small team of 6. We have enough people working from home that it helps keep us in sync every day.

There are a few others to try. I don't think any has a distinct advantage, just varying levels of polish. But I would recommend using it, especially for (semi-)remote teams.
More like a ton of over-the-top practical information I've only found in bits and pieces over the years.

I've fought many battles for quality data driven development — everything about this resonates on so many levels.

A joy to read straight through.
WMF Metafiles Processing and Get Last Modified Date of Raster Image Using .NET
Aspose team is pleased to announce the new release of Aspose.Imaging for .NET 3.8.0. The major development in this release is support for WMF metafile. This release allows you to get last modified date of a raster image. Aspose.Imaging for .NET now supports the WMF metafile image format. WMF stands for Windows Media Format (Microsoft). Here are some important operations that can be performed on a WMF image using Aspose.Imaging, converting WMF to PDF, converting WMF to raster format, converting WMF To Webp, cropping WMF File While converting To raster format and resize WMF file While converting To raster format. Using Aspose.Imaging for .Net, developers can get last modified date of a raster format. There are also some enhancements that have been introduced in this release, such as Process of loading TIFF image, Process of loading PNG image along with processes of loading JPG image has been improved. Moreover it also enhanced exporting process of image in multi-threaded environment.
Ask HN: Unsanitized query string on donaldjtrump.com
Hey all, I was poking around Donald Trump's website for security vulnerabilities and discovered this: http://shop.donaldjtrump.com/?search=%3Cscript%3Ealert%28%22%22%29;%3C/script%3E

Although it doesn't actually inject an XSS, it seems to confuse the server, taking it down for about 20 seconds. Any idea what is going on here?
The only way to really be sure is to only travel with carry on luggage and never let it out of your sight. Obviously this is not always feasible, but, I think people do a poor job of packing carry-on luggage and assume they need something huge. You can definitely make due with surprisingly little, and it's easier to get around the airport, etc. If you have something big to bring home, just have it mailed to you.
This is the sort of thing that shows why the whole "pure RISC philosophy" of implementing only the simplest instructions is ultimately a pretty dead-end in processor design. CISC-style dedicated instructions and hardware which utilises them will always be more efficient than a pure software implementation using just "simple RISC instructions", because hardware can easily express specialised computations like the extreme parallelism of algorithms such as SHA while software implementations essentially rely on the instruction-scheduling mechanisms to arrange potentially hundreds or even thousands of instructions in an optimal order.

In addition, when there is dedicated hardware, it is also significantly easier to add a SHA instruction than attempt to recognise sequences of many regular instructions that could be "fused together" into a single operation using that hardware. When there isn't, adding such an instruction that gets internally expanded into multiple uops for the equivalent using the existing functional units is still beneficial, since it leaves open room for an immediate performance gain on all existing software when a future revision does add that dedicated hardware, or optimises its microarchitecture to allow those (possibly different) uops to execute faster.

Despite the name, ARM is definitely not very RISC anymore, and that's what has kept it competitive.
How Copyright Law Stifles Your Right to Tinker with Tech
I admit I have never truly learned awk outside of the most dead simple stuff, but one of the most useful python utilities I have ever written is below. It allows you to use python lambdas on lines of stdin.

Example usage is:

lambda "x0 + x1 * x2" int int int

Code:

import sys
# libs I use commonly...
import random, itertools, re

# parse the types of the columns
types = map(eval, sys.argv[2:])

# craft a lambda with the args x0, x1, ... xN
f = eval("lambda " + ','.join("x"+str(i) for i in xrange(len(types))) + ":" + sys.argv[1])

# apply lambda to stdin, don't print results of None
for line in sys.stdin:
args = []
for t, e in zip(types, line.strip().split()):
args.append(t(e))
result = print f(*args)
if result != None:
print result

Examples:

Where data.txt is

john doe 37
jane doe 35
jack bob 20
bill bob 40

And I do

cat data.txt | lambda "x0 if x2 < 36 else x1" str str int

It will output

doe
jane
jack
bob

You can use this sort of tool for a million things. e.g. sample 1 out of every 1000 lines:

lambda "x0 if random.random() <= .001 else None" str

It's probably the same power and whatnot as awk, but I know and am much more familiar with python, so it's useful for me.
C wins because of the firmware installed everywhere on all digital-electronic hardware.
Asking “Why” in Interviews (2009)
What ever the box gives me. (which is part of the problem) On my Surface Book, not surprisingly, lots of things end up going to Bing. My Firefox address box went to Yahoo! (which was really filled in by Bing) for a while, which was fine. Chrome of course tries really hard to only go to Google.

The challenge is that both Bing and Google give adequate results, and slowly over time Google has gotten more and more annoying when they detect I'm looking for something to buy (which really lights up the page with about 95% non-organic content). Bing is bad too but oddly, less bad.
Not really, a modern Linux will do a real boot faster than Windows does its fake-boot-it-really-was-hibernation-wake-up thing.

If you do web development it is also a much better development experience than using Windows.

Bluetooth devices work much better in Linux than Windows (at least the ones I have).

USB devices are also much better handled in Linux. I never see an 'Installing device driver for this USB stick' message.

I plug my kindle in Ubuntu, it opens Calibre. I plug my kindle in Windows, it shows a folder.

I lose all these niceties if I run Linux inside a VM.
Looks like the average for delivery trucks is 13,116 miles per year[1], which is 65 miles a day if it only runs 200 days, or 44 miles per day if it runs 300 days per year (6 days a week minus a few holidays.)

1: http://www.afdc.energy.gov/data/10309