skysight-inc/HackerNews huggingface dataset:
We're still coming up with everyday tasks/usage that require more and more power, storage and internet bandwidth. First everything was text. Then we started using photo/audio, then we started using low res video, then video resolution kept enlarging (though recently this slowed down, we got to 1080p pretty fast, switching to 4k isn't as fast), now we invent VR, probably some 3d/holograms format will follow. I don't know what can come after that, maybe we'll finally will have enough power/bandwidth/storage :)
Sure, but that doesn't change how much easier, cheaper, and less invasive to customers the replacement can be when you can take the batteries out.
Looking at my old receipts the discount for college students in the UK at least was approx 14% on Macs.
For many services the phone is just a relatively dumb front end, and the actual computing happens on cloudy clusters elsewhere.

Given that Moore's Law is creaking I wouldn't expect pocket petaflops any time soon. I'd expect a serious outbreak of cloudy clusters everywhere, and perhaps a dynamically reconfigurable Internet 2.0 with completely transparent non-localised computation.

This might change if computing finally goes optical and/or quantum. But if we're pushing electrons around wires, current hardware is close to the physical limits. The only way to speed it up is to build a lot more of it and speed up the connections.
I agree, you may wish to do that but I was answering the question "What is the utility of typed-templates", not "contrast type and runtime error tradeoffs".
Videos are a good starting point. But both books and videos are bad since most stuff is dated. Tech keeps getting updated and you are stuck with the version you "studied". So, IMO, get started with videos, learn using books/blogs/stackoverflow etc. but keep revisiting so that you are really on top of things.
This. PowerPro is an amazing tool, although somewhat esoteric. What surprises me is that successive Windows releases have not ended making the development impossible. I submitted a pair of plugins more than 10 years ago. I've been surprised to see development is still active, and for what I understand is pretty equivalent to Hammerspoon, including window management, shortcuts, menubars & desktop scripting support.
Top 5 boxing shoes of 2016
MIT pretty much paid him to fool around and tickle his fancies for years before that, though.

I'm not knocking it, I wish I had that kind of freedom.
Typical example of Microsoft lies
Tried to signup but getting errors.
Tried to send message via contact me page and the page crashed.

Not very comforting.
Are there differences in firewall features, or is OS-level security posture the main difference?
Go has chosen to omit assert(), because assert() is frequently misused they say. Antibiotics are also frequently misused, but that is not a good reason to prohibit them. The omission of assert() makes Go a non-starter.

Rust seems more promising, but it is still not to the point where I am interested in rewriting SQLite in Rust, though I may revisit this decision in future years.

Some current reasons to continue to prefer C over Rust:

(1) Rust is new and shiny and evolving. For a long-term project like SQLite, we want old and boring and static.

(2) As far as I know, there is still just a single reference implementation of rustc. I'd like to see two or more independent implementations.

(3) Rust's ever-tightening interdependence with Cargo and Git is disappointing.

(4) While improving, Rust still needs better tooling for things like coverage analysis.

(5) Rust has "immutable variables". Seriously? How can an object be both variable and immutable? I realize this is just an unfortunate choice of terminology and not a fundamental flaw in the language, but I believe details like this need to be worked out before Rust is considered "mature".
It's only been like this since the rise of the internet?
There is some work regarding making transistors out of different materials as a way to eke a bit more out. Similarly, there is a lot of work regarding layering circuitry to an even greater degree. And, of course, there is the usual pie in the sky solutions.

But none seem all that promising and my gut is that we'll focus more on interconnects and algorithmic improvements.

But time will tell.
You state absolutely valid facts, but removable batteries carry one huge additional risk: You can now go purchase a no-name cheap explosion-prone chinese one, which your phone manufacturer (barring recent incidents) most likely would have protected you from, with their QA.

Granted, you can do that anyway today if you go to an unauthorized shop for a replacement, or even get it yourself via Amazon/Ebay & co., but the general availability of shitty batteries for retail purchase would increase the size of the problem by an order of magnitude.
It's not the worst. There are far worse places. And this sort of problem appears in all forums, but especially voting-based systems like HN (the "internet points" problem).

As forums go, HN is far from the worst. But it could be better.
Blueprint for Armageddon was also fantastic. Still recent enough that you can download it for free, by the way.

http://www.dancarlin.com/product/hardcore-history-50-bluepri...
Keyword Hunter
Batching Tasks for Productivity: An Experiment
Am I the only one who was confused what the 'tau' referred to in http://www.theoremoftheday.org/NumberTheory/Willans/TotDWill... ?
More recently: Bill Clinton supposedly lost the nuclear launch codes for a few months http://edition.cnn.com/2010/POLITICS/10/21/shelton.clinton.n...
Going interplanetary is not so much because of Earth not being sustainable but more about survival of the species: extinction level events on Earth (and not talking about us making it a wasteland, but rather non-anthropogenic in origin ones) will be less likely to terminate our species.
This piece looks to me like a major strawman argument example.

Let's get back to the sentence that's quoted at the beginning:

"Open source is a development method for software that harnesses the power of distributed peer review and transparency of process. The promise of open source is better quality, higher reliability, more flexibility, lower cost, and an end to predatory vendor lock-in."

1. This sentence is about "open source development method", not "open source software" (two different classes of objects). Software can be open source (if its licence is open source, i.e. acknowledged as such by the OSI) but not developed using the "open source method" (i.e. if, still quoting the initial sentence, it doesn't "harness the power of distributed peer review and transparency of process").

2. A "promise" is just a promise. Whether it's realised or not is still, to a large part, up to the talent and determination of the developers, or organisations, doing the work on the project.

3. Also, "better", "higher", "more" and "lower" should be defined in the context of which object we're talking about. In this case, this is implicit but I guess the comparison should be with similar software not developed using the open source method, i.e. with not distributed peer review and no transparency of process.

4. Last, I'm sure that both FSF and OSI agree that putting "an end to predatory vendor lock-in" is a good thing. Two bad the FSF doesn't mention it in this text.
All the product qualities have value only as long as they're important to the customer. "Respecting the users' freedom" referenced here is a thing that most users don't even understand, let alone value. In their eyes, free (or open source) software doesn't have this inherent advantage the author talks about — and for most professional users (as in those who make money using the software) the "free as a beer" isn't that important as well.
6 Steps to Use Rapid Prototyping and Build Amazing Products Pt1
They trained on a computer model of the optical circuit, and only did the feed-forward step on the real thing. The rationale for that is that real-life models spend much more time (and energy) in inference mode, so that is the step you'd most want to optimize.

I can't help but think it would be really cool to automatically produce a circuit that would output the gradient of the error of the actual NN, so you could optimize that directly.
Oh, absolutely.

If given the choice between free software and functionally equivalent nonfree software, I'll choose the former.

But in my line of work, the only real choice is proprietary software. Same for my phone, frankly.

I'd love to live in the world rms lives in but most of the time free software just isn't good enough to be a viable option.
Huh. The Spectrum was popular elswhere because it was so comically cheap.
Which apps use facial recognition? And is there a way to turn it off?
Yes we will keep maintaining it as much as possible. And just as a reminder if you're using BTRFS you may encounter problems with subvolume backup as support for them is still very new. Thank you for trying it!
/r/ppc, /r/adops and /r/analytics

These three tend to have a pretty high signal-to-noise ratio, particularly when asking very advanced and technical questions.

From personal interactions I can vouch for there being many senior to exec level industry folks from a healthy mix of ad tech companies, networks, agencies, brands, etc. on both the buy and sell side.

Everyone is pretty friendly, so while asking basic questions might just get you a link to go RTFM (and really the official docs are often the best starting point...) everyone is pretty friendly and helpful.

Great for those trying to learn more about digital media and analytics all the way up to people with questions or who want to chat about stuff in the industry like header bidding, attribution, enterprise analytics troubleshooting, etc.

And the best part is since we all are living and breathing advertising for a living, we have a pretty low tolerance for blatant sales plugs and content marketing spam like on some other subs.
A simple alternate stack for Parse
Is there's a comparison between FreeBSD vs. OpenBSD in packets filtering, routing performance et al?
Ok, you have too many history entries. That will be a problem everywhere. Perhaps removing CSS, media and images from the DOM will reduce memory consumption and get your farther?
> Last time I checked I thought I need to know chinese

Fascinating. This is probably the first time I've seen a huge open source project where a majority of the contributions are in a language that's not English. I've seen plenty of projects from non-native English speakers, but everything was still done in English.

I'm sure there are tons of other big projects in Chinese and other languages, but programming has always been very English-centric. I had heard of programming languages that use other languages or alphabets, but they were all very esoteric.

I've also seen people using foreign languages for class and method names, while all of the framework APIs and programming language keywords were English.

So I guess it's only fair that I should learn some Chinese. Weex does look very good.

I just looked at this issue, for example: https://github.com/alibaba/weex/issues/1746

It's funny how all of the Java variables and keywords, HTML tags, and the CSS is all English (or at least, programming languages based on English words), while the issue details are written in Chinese. It's a really interesting mix.

I wonder if there are transpilers that let people write code in their native language, and then convert everything into English source code. It should be very easy, it's just a search/replace for keywords like "public", "protected", "length", "super", "return", etc. etc.
I think a core issue here is that despite being a buzzword, 'free' just isn't all that meaningful or important to most developers, especially since the freedom that is granted to end users is explicitly not given to creators (see GPL). Open source however, especially with something like the MIT license, at the very least gives you access to read and hack at cool source. F is not the meaningful part of FOSS unless you happen to be a lawyer or really enjoy lawyering.
Top Programming Languages for Data Analytics
Another example of the intellectual bankruptcy of modern philosophy. I dispare when we have real philosophical problems to work on that intelligent people waste their time in semantic arguments over impossible beings.
This was his suggestion to how to fix blender -- https://www.youtube.com/watch?v=UWacQrEcMHk
I know that asxxxx will assemble for the 6809, if you need an assembler.
2,000 San Francisco MTA computers infected with randsomware
Very interesting paper, optical circuits have always been interesting option for computing whether it is in the form of plasmonics (surface plasmon + electronics) or linear quantum computing (with similar circuits reported in the manuscript). However, the challenge to translate this into any practical application involves solving a lot of engineering challenges....
We're reaching the flat part at the top of the sigmoid innovation curve. We're still using 1960s technology. It's just been through a good few generations of refinement.

VR might just about squeeze through now, but given the hardware limitations - and the fact that people look really dorky using it - I'm not expecting it to drive a new explosion of user interest.

We really need some completely new tech to drive a new wave of innovation. The obvious candidates are optical/quantum and perhaps direct neural interfacing. Both are still science fiction, but that may change by 2030.

More extreme technologies may also be possible, but they're beyond speculative.

For now it may be useful to remember that technology rarely develops linearly, so speculating about future CPUs is like speculating about the future of transatlantic cruise liners, while ignoring the fact that someone somewhere is working on heavier than air flight.
>An obstacle in the LIDAR is an obstacle, there's no common-sense or training needed for the car to know that.

>Worst-case scenario for a well-designed car in a situation it can't understand is to park itself and refuse to go on unassisted.

All these are false positives. What I object to are the costs of false negatives; A situation where the car mis-recognizes an abnormal situation as normal, and then proceeds to act on it's failed understanding.

The Tesla is a good example of this; the car failed to recognize the obstacle in front of it and acted accordingly (namely, crashing full speed into the object). Regardless of the underlying reason, a machine did not recognize it was in an unknown setting, and thus failed to react correctly. A human, on the other hand, notices, and will generally use what capabilities they possess to at least attempt to handle the situation safely.

I do acknowledge that self-driving cars will likely be statistically safer, but until these cars completely exceed the all the capabilities of human drivers, I refuse to trust them. Regardless of statistics.
Show HN: Sherlock, an interactive json log viewer in the browser
No. This is misleading:

fs movs byte [edi], [esi]

This is a syntax error:

movs byte [fs:edi], [esi]

And this is a valid override with sensible syntax:

movs byte [edi], [fs:esi]
Atmosfero
One of the things that tripped me up at first was the postfix settings. smtpd_* options are for receiving mail, and smtp_* (no d) are for sending. So you need

smtp_tls_cert_file = /etc/letsencrypt/live/$domain/fullchain.pem

smtp_tls_key_file = /etc/letsencrypt/live/$domain/privkey.pem

smtp_tls_security_level = may # or encrypt, to force TLS

Also, yes, if I understand you correctly your cert should include subdomain.example.com even if the web-facing content there doesn't use HTTPS.
Apparently yes. (Not on the same machine, but I just checked on my work notebook where I have uBlock rather than uMatrix, and cdn.ampproject.org is let through.)
[video] AcCeSSibility: why and how (45 min)
But it works. Somehow the free software movement survives and still makes influence in the modern IT world where it seems everyone holds convenience above ethics (how many people believe that privacy is good and mass surveillance is evil and yet use things like Facebook, it's absurd).
That's some idyllic thinking, but I agree such interoperability would be awesome. However, I don't see how it could be realized with current closed ecosystems. Seems like this would almost require open software...
And in fact some games won't work without them. http://arstechnica.com/gaming/2011/08/accuracy-takes-power-o...
I agree with this figure, please see my edited comment above.

Still though, my gripe with the HN title still stands: to say this is ~1000 LOC is a bit rich. It's still bloody small so why try to shoehorn it into this category?

> And this wasn't written to be small - it was written to be simple. It also came out small, but that's incidental.

I think that why this is pure gold! Because it's simple, it's easy to understand, I would have been hopping with glee if this had been available to me as a teenager, instead of having to read tons of articles/textfiles of varying quality with lots of trial, error and head-scratching.
It's size is besides the point, and why the title is still - in my opinion - misleading. I can't help but feel the very people that would benefit the most from this might possibly be put off that they're going to be presented with some indecipherable demo comp entry.

Either way keep up the good work.
Google are increasingly adding offline commands
> CPUs turn watts into performance. A 45W CPU will deliver 3x the performance of a 15W CPU.

Can you provide a reference for this?

I'm pretty sure a CPU turns watts into HEAT and PERFORMANCE,

The 15W you're talking about is the TDP, which describe HEAT. This tells you about battery life mainly. Ghz is the unit of PERFORMANCE.
Bear in mind that this isn't a release build, so the generated assembly will not be optimized at all.
the initial idea was that CI deploys lambda, and you promote it from stage to stage. I might consider upload sometime.

From what you write I think apex would be better suited for you
Dude that video is an amazing demo. I left a comment on YT but you should take this further!

P.s. I think the I-term in your pid control loop is too high on your quadcopter, that oscillation isn't really affecting your flight control too badly but it heats the motors more than a stable tune would which reduces the service life of the permanent magnets in them.

Could be the P-term but the oscillation looks too slow for that, I guess one way to check for sure (assuming you don't have a blackbox on there) could be to increase your D-term and see what the response is
The Ultimate Cyber Monday Discounts for Developers
The first one makes sense in an ideal world though. If the government exists to ensure your freedom, then it should fund the development of free software.

WRT the second one, shouldn't we be free to write closed source software?
I've personally had two phones fail because of the battery connector. Anec-data for sure, but those spring clips are not robust at all.
On a related note... What stops companies from doing things like adding a background mining script to a website that uses people's browsers to do the mining?

I'm not very familiar with the tech behind BTC mining so there may be some obvious reason that isn't feasible. I was always surprised some evil company like EA hasn't added it to wait screens when matchmaking for various games. They could install whatever they want, target machines likely have solid GPUs, and they are sitting around waiting.

I also wonder about the legal aspects of this. Would someone need to opt in this? Is the energy cost of something like this legally distinguishable from sites that say... load a bazillion tracking tags and eat up your data cap?
Onboard accelerometer/gyroscope which is part of the flight controller, most likely.
No problem, we are cool. I see your point.

I believe there is still a lot of room for improvement in terms of accuracy, clarity and code size. Note that this repository was more than 3 years old. Maybe this will motivate me to improve it even further.
As much fun as Android is, I don't _think_ there's any public RCEs that recent, while I can think of a couple of recent Windows XP+ RCEs that are probably also doable-but-unpatched on Win2k:

[1] - https://www.cvedetails.com/cve/CVE-2013-3175/

[2] - https://www.cvedetails.com/cve/CVE-2012-1852/

[3] - https://www.cvedetails.com/cve/CVE-2012-0173/

[4] - https://www.cvedetails.com/cve/CVE-2012-0002/

(Those were just the ones I quickly found that allow RCE on XP SP2 (the oldest thing that they still provided patches for, so most likely to be shared code with Win2k) without requiring active interaction on the target's behalf, e.g. not including "convince target to open X malformed file, receive payload")
Thanks to bitcoin, these hacks now cost companies real money.

Money is something people can easily grasp, in contrast to something as vague as privacy. So lets hope when the dust has settled down we are left with a more secure and safe internet.
Japan's 'Space World' apologizes for freezing 5,000 fish in skating rink
I believe MASM-style assemblers require "dword ptr" at all times and many disassemblers keep outputting that in unambiguous situations.

Your example won't assemble because size can't be guessed, but this will:

mov dword [fs:ebp-10], 5
Why You Should Take Another Look at C#
The process of achieving a goal.

For the communal 20hrs/week I would say something that is helpful in different sectors. You could choose:

Fix stuff;
Clean;
Social services;
etc..
-Bill Gates?
There's also the StallmanWasRight subreddit. It can be tongue-in-cheek a lot of the time, but a lot of the topics are relevant.

https://reddit.com/r/stallmanwasright
> So the GNU solution is to ban making money from software. Hmmm

No. That's a misreading, and you're taking it out of context. The GNU solution there is to ban proprietary software companies doing their thing (those companies happen to be high-paying as a consequence of doing what Stallman thinks should be banned).

It's a reasonable point, if your ethics are such that what the high-paying software companies do is, on the face of it, unethical. Sure, the ethical software producers might make less money, but that's not the same thing. Mind you, after banning the unethical ones, they might make more than they did before.

For the analagous argument, everyone agrees that pre-1860, the highest-paying cotton producers in the USA should have been banned - not because they were the richest, but because of what they did to become the richest.
'Snoopers' charter' petition hits signatures target
How to Get Ridiculous Traffic with the Power of Twitter
Wrong signal
If you're experimenting with asm in crystal, you might want to use --prelude=empty to remove the standard library to make the asm output cleaner. You can then then require lib_c and use that directly.
Show HN: CSS Spinners and Loaders
What a horrible website. It tells you you have to pay to see the article, and then disables the back button.
"we shouldn't want open source to be controlled by Google and Facebook"

Free search engine, free social media, free hardware, free phones, etc.

Free as in source/schematics are available to hack on, and respect your freedom. I like that idea. Obviously we are not that yet :D
Through many talks with devoted and diverse people there — people who chose to invite me into their dorms and conversations rather than ostracize me — I began to realize the damage I had done.

I suppose this is the key. No group will be convinced by being publicly ostracised or relentlessly attacked; that's going to do nothing but further entrench division. But it's difficult to figure out steps that one can take as an individual to help.
This idea is highly underrated!
Python 2 had full Unicode support.
For both of you I recommend Factorio. It's more game-like and you don't realise as easily that you're (essentially) programming, since it feels like you're just building conveyor belts to move materials around.
Does anyone here have an ant farm? Worthwhile? Interesting species?