skysight-inc/HackerNews huggingface dataset:
This is fun and interesting, but I don't think it says much about the various languages. Each of these languages can be formatted in a variety of styles.

As one example, Rust, and especially Servo, began with a recommended (or mandated) style with a heavy use of column alignment for things like function arguments. Like this code from rustfmt:

let mut rewrites = try_opt!(subexpr_list.iter()
.rev()
.map(|e| {
rewrite_chain_expr(e,
total_span,
context,
max_width,
indent)
})
.collect::<Option<Vec<_>>>());

But the Rust example in the silhouette page doesn't follow this style at all. Instead, it uses a purely indentation-based style with little or no use of column alignment. From looking at the latest Rust coding style document, it seems that the Rust community may be moving away from this aligned style to an indented style. (Anyone who is more tuned into Rust style, feel free to set me straight.)

If the code above were written in an indented style it might look more like this:

let mut rewrites = try_opt!(
subexpr_list
.iter()
.rev()
.map( |e| {
rewrite_chain_expr( e, total_span, context, max_width, indent )
})
.collect::<Option<Vec<_>>>()
);

Same language, same code, but a very different silhouette.

Similarly, the last time I looked at the Oculus SDK, its C++ and C# code used a column alignment style, and I think some other projects like OpenCV use column alignment too.

Many other C++ and C# projects eschew alignment in favor of indentation, though.

This kind of choice in styles is available in all the languages being compared. Yes, even in Python. The Python example uses column alignment here and there, but it would be just as "Pythonic" to use indentation in those places.

So I don't think this is really comparing programming languages, it's just taking a single example for each language, where other projects in the same language may have very different silhouettes.
SQL Injection Vulnerability in WP Statistics
Sure. Now, still, it would be interesting to try and ascertain the speed of communication in these experiments. It should be equal to the speed of light, but the test is worth doing.
The organization of the US military really should be mission-based rather than some weird afoot-afloat-aloft separation.

There's no particular reason why air superiority fighters, long range bombers, aerial refueling tankers, and airdrop cargo haulers should all be under the same command just because they all fly. Clearly, two of those are for logistics, and two are for force projection.

I suspect that the existence of the military academies don't help in that respect.
SF supervisor abandons plan to build his family homes after backlash
Simple obfuscation of malicious JavaScript code
Cloud Computing – Stackexchange Site Proposal
Experts can still spot these clues -- for now. How much longer before better tools can create altered images/videos that correct for all these defects? Aligning shadows/reflections seems like something that software should be able to do.

I think that within the decade, photo/video "evidence" will be something that can be legitimately questioned unless there's some kind of cryptographic proof that it hasn't been altered. Cameras will need to "sign" their images, perhaps?
> After that it's only about checking if the fee is high enough.

Which can take up to 72 hours, right?
> If properly backed up digital records are even more resilient, and it's not like this is a new concept.

If people would be willing and able to make proper digital records, the Cloud would not exist. Actually, most of the technology stacks in use today do not make any sense until you consider the fact that a very large segment of the market wants to have all the goodies IT-fairy-godmother can provide, but are too damned stingy to pay for even 10% of the cost.

Your characterization of Banks is correct, but irrelevant. In many ways they are the perfect IT customer: deep pockets, an inner culture that values detail orientation and rational risk assesment, appreciation of external expertise, etc. Most organizations are very not like this.

Healthcare IT, in particular, are the stuff of nightmares. A culture of bikeshedding, - excesive regulation of what systems ought to do, plus borderline criminal negligence of the implementation details, - reliance on obsolete OSes that cannot be updated anymore, needlessly large attack vectors... do I need to say more?
Yes: efficiency and keepimg temperature stable at a certain point (ie, with a small hysteresis).

Ad 1: the gist is that it takes less fuel to heat a liter of water from 30 to 31 degrees, than it does to heat it from 60 to 61 degrees.

Ad 2: with a lower temperature, it becomes easier to control your overshoot. Actually this is related to 1, but what you want in the end is to have a system that runs at as low a temperature as possible, all of the time.
Yes! I wonder whether that's an argument in favor of things like deliberately using quasi-robotic styles to help people recognize the limitations faster. It'll be interesting to see what product designers come up with and how the market adapts to this.
You Cannot Have Exactly-Once Delivery Redux
> There's nothing that would prohibit maintaining a Backbone or Knockout app (or just one written with a bunch of non-spaghetti-code jQuery) today

Well that kind of depends, I still have stuff in production with knockout and for some stuff I still use it but it's not just a matter of the framework/library it's the ancillary tooling.

We went through grunt, gulp, browserify and webpack fairly quickly, we could have stayed with any of them but no-one else did, if you stand still you end up been left miles behind when you eventually do want to move on.

The dozens of different bits approach has a lot of advantages but it has some severe downsides as well.

Modern JS is a bit of a red queen problem, you have to constantly adapt your codebases just to stay even on a 5-10 basis.

It's a problem in my world (enterprise LoB stuff in the browser), you want to be somewhat conservative while still be able to have some assurance of long term viability and some of the nice toys.

My approach has been to trade off dependencies as much as possible, I moved to TypeScript for a lot of stuff since it emits good JS so if it ever did go away I could just output the most recent JS and base from that (and I doubt TypeScript is going away in the next few years, MS has invested heavily in it as a platform for internal stuff).

Meanwhile over on the other side of things I recently ran something that was written in 'pure' Java 1.2 on the modern VM with not as many issues as you'd think (that platform is 20 years old).

I recently inherited a large enterprise system that is classic jQuery/no framework, it 'works' on a modern browser but it's an unholy unstructured mess and getting any kind of iteration velocity on it is a complete pain and that was written in over a few years finishing two years ago.

The developers just hadn't adapted to the modern landscape well at all and their momentum was terrible and getting worse.
Speed up your Python data processing scripts with Process Pools
Risc-V?
Note that this "article" is an advertisement written by two ARM employees.
What Simon describes here is why stuff like event log datastores (Kafka, mostly) and CQRS-patterned systems are becoming so powerful, too. If you can just say here is every event that has gone through the system modeled as unambiguous transforms on immutable state, replaying--for both DR and debugging--is a trivial and super helpful exercise.
Episode 3: Interview with James Gosling, Father of Java
Do you use a particular api to find these flights?
Erik Meijer and Lars Bak: Inside V8 – A JavaScript Virtual Machine
FWIW theSkimm isn't outright spam - they're a fairly popular super-short newsletter that I think does a mix of world news and lifestyle / culture stuff, apparently marketed at women. I subscribe to Finimize (financial news) and Casual Spectator (sports), and theSkimm is often referenced as a similar newsletter.

Not to diminish the annoyance of being on surprise email lists. I agree it's frustrating, and it sounds like Scott's Cheap Flights should have been more clear with their users about the price of their contests.
Some Facts
1. Most Luxury brands are more expensive in China.
2. Lots of Luxury brands sells slightly outdated products even in Tier-1 Cities. ( May not be Shanghai )
3. Yes there is a decreasing number of people FROM tier 1 going into Hong Kong for shopping.
4. But that doesn't mean other Non-Tier 1 people aren't going to Hong Kong.
5. Yes those Tier 1 Citizens flies directly to Europe, Japan or Korea to buy what ever they want.

So to sum it up both of you were right.
They could provide a search option to let you plug in what kind of baggage you wanted. So you could say 1 overhead, 2 checked bags, and then it could add in the cost (or show it broken out next to total cost)
Google Cloud Video Intelligence Released in Public Beta
Where do you get the information that Aurora is canceled?
Thonny on a Raspberry Pi: Using the New Python IDE in Raspbian
Must have moved at some point:
https://github.com/gorilla/
Random Cover Image Generator
A React Journey
When talking about Turing completeness I use an alternate definition of infinity that I call practically infinite: for a given a program that halts on an arbitrary Turing machine it also halts on this specific on. I call this practical Turing completeness (though I suspect the literature has already considered this idea and has a different term)
Organizing React Props
Which translation of a translation did you translate that from?
> My goal for Swift has always been and still is total world domination

I hope that this is never happen. Swift is great, it's universal and it saves you a lot of time during coding, BUT It also has very large syntax and high number of features - documentation is huge! The most of swift programmers probably don't know complete syntax and all features which is problem in a world where we code in teams and work with open source(both cases mean that you work with code you didn't write).

We just need new simple way how billions of people can explain computers what to do and backwards understand what computer was told to do and I'm sure that it's not Swift, Java or C++.
> Physicists already know that interactions are local. As with city politics, the influence of particles is confined to their immediate precincts.

Is this true?

As far as I've ever been able to determine, this was an assumption built into the model, not something empirically demonstrated.
I'm happy with that. It's an explicit design decision of C that there is a bound on the number of pointers. If I want to consider a Turing-complete variant, all I need to do is let pointers be of arbitrary size somehow, or let it have an "integer" type which really does hold any size of integer.
Even though I barely ever take the subway (only a few times per month), I'm perfectly content to largely fund it from my tax revenue rather from fares, if that is what is necessary. Even if I barely use it, I know that it has substantial benefits for many other people around me (e.g. people who work in restaurants and live far out in Brooklyn/Queens/the Bronx), and I'm willing to pay for that.
Memoryjs: Read and write memory in Node.js
There is a really popular project (disclaimer: I'm an occasional contributor) that also has an excellent Raspberry Pi story named Home Assistant:

https://home-assistant.io/

https://github.com/home-assistant/home-assistant

They also have a full Pi distro named Hassbian:

https://home-assistant.io/docs/hassbian/
IP Fragmentation
Canon (probably others) have "verification kits" for using digital photography as evidence. This is to verify images haven't been tweaked after the fact. Not sure exactly how it works, but canon at least seems to require the high end 1 series cameras, presumably signing the images..

from the press release:
"The kit consists of a dedicated SM (secure mobile) card reader/writer and verification software. When the appropriate function (Personal Function 31) on the EOS-1D Mark II or EOS-1Ds is activated, a code based on the image contents is generated and appended to the image. When the image is viewed, the data verification software determines the code for the image and compares it with the attached code. If the image contents have been manipulated in any way, the codes will not match and the image cannot be verified as the original."

https://www.dpreview.com/articles/3146736527/canondvke2
I always thought that SG being an air force show was unrealistic once the USN RN etc found out "wait there are real star ships" they would want to take over.

Let alone the CIA / SAD / SIS wanting to run intelligence opps of world
Fun indeed.

It would be nice to know the advantages of each of these projections, and why they were developed.
> But I think you and I are illustrating how we expect more from voice search than text search

I think @seiferteric's point was that the expectation may not be there because it is a voice search. That expectation is there because that's how it was marketed.

If the marketing for these things was: "Ask a question, and get search results by voice" I don't think I'd have the expectation that it find and deliver the correct answer to me.

But the marketing for all of these devices is: "It's a personal assistant! Ask it a question and you'll get an answer!"

I'm personally not convinced that the high expectations are because it's a voice interaction, but rather that the technology simply can't live up to the marketing pitch.
I actually did look at the TCP layer early on. However, I didn't pay close attention to the TS Val. From the packet dumps, it just appeared that the TCP window had stopped sliding. I couldn't conclude that NSOC's router was at fault.

Getting NSOC on-board is a big deal. After all, they deal with the entire VA network with 100,000+ employees. If you think about it from their perspective, why is USDS' TCP connections so special?
Inconvenience can be damaging enough. Just crank up the heat in an office building and watch a company lose man-months of productivity by the hour. Do that on a hospital, and there might actually be loss of life involved.
Pretty crazy that they're pulling that much revenue without even using affiliate links.
I think that much of the reason for the existence of USDS is that government agencies like the VA should not be stuck with 10-year-old [1] technology. The idea is that U.S. citizens should be able to expect the same level of technology from their government that they get from Facebook, Twitter, Apple, or Google. They're explicitly trying to change the culture where you do things once for hundreds of millions of dollars and then it's never revisited because the first time was such a clusterfuck.

[1] Actually more like 50 year old technology, if my friends at the USDS are to be believed. In some cases, they're replacing systems where SOP is to manually type in data, print it out, fax it over to another department, and then type it in again to a different system.
English is best known for being simpler than average, not more complex. It's one of the flagships (along with Latin / Mandarin Chinese / Swahili) for the theory "languages which are widely learned by adults become simplified over time".
So, semi-offtopic, but I know the Citus folks are here and read these and it's good advice in general: please stop using Drift and popping up folksy-friendly automated chat stuff. We know what Drift is. We've used it too. It makes reading your stuff unpleasant having popups fly at my face and makes you look desperate to get my attention when you should be impressing me with how awesome your tech is (and it is!).

And I say this as somebody who really likes CitusDB. You guys are great. But your website just made me want to peace right on out.
Music can be jovial or melancholic. Not recording technologies. Technologies can have varying ability to carry certain kinds of music, but we can describe that ability with objective terms.

Do people actually know what you mean by "warm"? Are you sure it's not just a way of saying "the things you like about vinyl (varying per person)"? Because a definition like that would be a perfect example of something that's an association-based preference rather than a attribute-based preference. Which like hashkb said is perfectly fine to have, but makes the term pretty meaningless.
The article starts off sounding compassionate for the homeless, then quickly pivots to characterize them as cyclist hazards. Odd how SF has so many people living on the streets and yet so many vacant homes,

https://www.indybay.org/newsitems/2015/01/30/18767847.php

It's like the system is broken and nobody there has the humanity to bother trying to fix it.
The use of Eve's diary doesn't make any sense here, of course the distribution of words in a short story are going to be longer than in a book.

Ulysses is fair, but I would expect it and works of a similar caliber to be outliers.
Is there a functional PowerPoint?
Author here. Usage of rust at Oracle is pretty nascent, but it is a large company and a few people are using it here and there.
Aphyr has a distinguished track record of breaking things that have gone through "years of thinking and review" and "months of testing". I'll trust his analysis over anyone else.
Using gold as a means of transaction below 100 USD becomes pretty hard. 1 dollar worth of gold is 1/40 grams. That is a tiny amount and you need a ~50 dollar scale to weigh that amount accurately.

Gold theoretically has all of these nice properties, but the practicalities get pretty messy.
One of the examples is the jQuery source code, but the long file shown isn't the actual source. The real source code is broken up into a number of much smaller files, and the jquery-2.2.4.js file shown on the page is built from these smaller files.
3 Keys to Scaling a Global Support Team
Would this (disabling TCP Timestamps) affect TCP Performance with other OSes in regard of their respective TCP Window Auto Scaling Implementations? I believe Linux uses DRS (1) and doesn't necessarily depend on TCP Option TS for TCP Window Auto Scaling and FreeBSD has got this (2) commit ~ 2 Months ago.

(1) http://public.lanl.gov/radiant/pubs.html#DRS
(2) https://svnweb.freebsd.org/base?view=revision&revision=31667...
aimbots in node.js? wow the future is now
Thanks for the feedback, we've attempted to tone it down a few times. Especially on the blog, we'll continue to work at this and see if we can reign it in further. We have had those that do appreciate the live chat, but understand it's frustrating when reading the blog especially.
Hey HN,

We built Maji Config to give developers a way to host their configuration and allow their applications to dynamically update when config values change.

This was borne out of our frustrations with needing to change code, go through code review, and redeploy multiple applications when a single configuration value changed. Now we just update it once and we're all set.

We'd love to hear what you think of it!
Could you be more precise, please? I'm afraid I don't understand the definition you've given. Can you make your quantifiers explicit?
I'll try to get in touch tomorrow. By default I'll open an issue on github, unless there's another way you'd prefer me to contact you?
> ...discounting nuclear radiation effects, of course

https://history.nasa.gov/conghand/nuclear.htm

> Third, in the absence of the atmosphere, nuclear radiation will suffer no physical attenuation and the only degradation in intensity will arise from reduction with distance. As a result the range of significant dosages will be many times greater than is the case at sea level. With such weapons the lethal radii (from nuclear radiation) in space may be of the order of hundreds of miles.
I use Kayak and Google as starting points for every flight search, and I still spend hours and hours finding good fares on good routes.

This is just anecdotal, but if neither Kayak nor Google gets it right enough for me to use them end-to-end, I suspect there's a lot of room for a high-touch, human-intervention kind of searching.
As someone who spent over 20 years writing applications in C, anything built on C is crap and that includes C++ and Objective C.

Writing code is fun and interesting. But most software development is not writing code. It's a little bit of build management, even more testing, but mostly it's debugging. Debugging is not as fun as writing code. Every language feature that makes debugging more necessary, harder to do and more time intensive sucks. Dangling pointers are the absolute worst.

I can easily give up multiple inheritance for a more functional language that's far easier to write correct code in.
Also, the price of everything shipped by truck goes up, so it's essentially a tax. If you're gonna raise taxes, raise taxes instead of trying to sneak it in like that.

There are arguments for private roadways, but "source of income for the state" isn't one of them.
Surely an easy work around would be to take the picture, doctor it, print it out, point the camera at the print out and snap.
It's definitely harder but I would look for your group being in a growing market that's aligned with the strategic direction of the company. That said, you have to make an effort to keep your ear to the ground.

If you hear people use the word "cash cow" when referring to your group or you can't figure out what the company strategy those are signs it might be time to look for something else.
I was thinking of https://en.wikipedia.org/wiki/Eigenface (I like slide 66 of https://www.slideshare.net/MostafaGMMostafa/neural-networks-... "Not magic: Can only capture linear variations".) But you can do things like Google's Deep Dream, where you pick the classification first and feed it backward to see what aspects of the image are important to a class. You can even do it for different layers to see what each layer is looking for. https://research.googleblog.com/2015/06/inceptionism-going-d...
The reason your dumb thermostat isn't a risk, but an Internet-connected one can be is that Internet attacks scale. It takes one random person anywhere with a single exploit to affect millions of devices simultaneously. And while people are pretty decent in general, there are always those individuals who would happily watch the world burn. You can base the security of your system on the assumption that people are generally OK, but you can't base it on assumption that every single person is nice.

See also recent ransomware attacks - it's hard to believe this is something else that some individuals trying to piss off the planet (and make some money on the side).

See also PoC of a Philips Hue attack (with added fun of it spreading through ZigBee mesh): https://www.theregister.co.uk/2016/11/10/iot_worm_can_hack_p.... If people do that for fun (er, for Science!) to smart lightbulbs, you can bet someone will do it to a smart thermostat.
I imagine that the not-too-distant future of close air support is drones with guns and rockets. These could potentially be operated by soldiers on or near the front lines. It's not too much of a stretch to imagine a soldier with a tablet tapping on things for the drone to shoot at.

Not needing a pilot could make them smaller, cheaper, and able to enter (and remain in) dangerous areas in a way a helicopter or plane never could.

This seems like something the Army could operate themselves.
So I decided to ask Siri some of these that he listed as giving a Bing search answer that I felt Wolfram would have answered correctly for Siri. I my case I did get the correct answer, not a Bing result.

Where does the Jackfruit grow?

What is the boiling point of water at an altitude of 1km?

What is 1km in feet?

How far away is Disneyland?

For "km" I said "kilometer" and not "km".
I find it laughable that rules against animal slaughter in India are being made based on cruelty. This is in a country where cows (though supposedly holy) are treated horribly. Cows in every part of that country can be found:

* Grazing on garbage heaps

* Tied up on short ropes through their noses on hot days

* Malnourished, covered in sores

* Deformed

* Dripping snot

And so on.