skysight-inc/HackerNews huggingface dataset:
Anecdotally, it's much more difficult for me to find AA batteries than USB - AA batteries must be bought from stores, and fewer recent devices use them.

USB is available from almost any computing device, a growing number of displays and other peripherals, and increasingly in common areas. And AC-USB adapters are easy to get, spreading the convenience to every wall plug too. As others have mentioned, AA-USB adapters exist too, spreading USB's coverage to everywhere you can find AA batteries. As I hinted earlier, most recent devices have switched from AA to USB-charged built-in batteries, so a USB battery may have more utility than AA batteries these days.

Tangentially, there's a behavior pattern prevalent in the "Prepper" (aka Emergency Preparedness) community that confuses me. They take a logically-sound concept such as storing large amounts of food, and seem to separate the emergency food from every day food. Here, similarly, we have an emergency device that is not usually used. How do we know if it still works? Test it occasionally?

The USB battery breaks this pattern in that you can use it frequently and it's still useful in an emergency. And using it regularly can build a habit of keeping it charged, and you'll know if it breaks or goes bad before an emergency.

I'm not saying AA powered emergency devices are harmful, but rather our emergency devices and processes should be our every day devices and processes, whenever possible.
I'm not aware of a good free introduction to ARM assembly, but you could check out the reading lists from these courses:

http://studentnet.cs.manchester.ac.uk/ugt/COMP15111/syllabus...
http://studentnet.cs.manchester.ac.uk/ugt/COMP22712/syllabus...

Despite its age, ARM System-on-Chip Architecture (Steve Furber) is still a good introduction to the processor and assembly (I'm re-reading it at the moment). ARM Assembly Language - an Introduction (J.R. Gibson) is worth reading if you want to learn ARM assembly.

The materials page for COMP22712 also has some interesting resources, including the lab manuals and a small ARM assembler written in C (source is also on GitHub: https://github.com/uomcs/aasm). Unfortunately COMP15111 is now hosted on Blackboard so you can only get at the materials if you're a current student enrolled on the course.

(I've been an undergrad, postgrad and staff in CS at Manchester, so I'm familiar with the courses - other universities may have similar resources with fewer access restrictions).
The reply is that way because the OP didn't seem to acknowledge that using unique_ptr in this case has serious problems. He still insists on using unique_ptr, reasoning boiling down to "you should avoid writing code because you may create bugs". As if slowness or lurking crash caused by not writing code were not a bug in itself.
People like this just love to complain, the best thing society could do is learn to ignore them.
If you have no need to, then don't.

I use vim and grep etc and must write simple regexps dozens if not hundreds of times a day.
I think he did ;)

https://github.com/justinmk/vim-sneak
Why can't ZoL just not cache into ARC when mmaping then?
Excellently articulated, this is what you want to go for.
> It's really a marketing trick - kinda like how these startups call something 'sharing (economy)', when in fact people are trading, not sharing.

What is the use in assuming that anyone who has come to a conclusion other than your own has had the wool pulled over their eyes? No self-respecting Swede believes that university is 'free' in the sense you mean it; the costs are palpable to all taxpayers. The argument in favor of 'free' higher education—that is, education for which the costs are borne collectively, rather than by individual students who are presumed not to have funding to match their abilities—typically runs that a better and more widely educated country is a more productive country, and that students of higher education will as a body more than pay back the money given them in the form of schooling. What's more, they will pay their costs forward, offering the same opportunities for succeeding generations.

You argue against this belief, after misrepresenting its proponents as people 'tricked' into thinking that no money has changed hands. That showed poor faith—something that is discouraged on this site—but, I'll move on. You insist that students given a leg up are more likely to squander their chances and to become parasitic, taking more than they put in. But you've given absolutely no evidence for this. Your 'reality check' is nothing more than supposition. Please direct us to numbers that indicate that Swedes are more likely to take degrees which you deem 'worthless,' and less likely to take STEM degrees or study a trade, than countries without 'free' education. Perhaps compare these figures to the US (you're clearly American, as shown by your line about the fervor surrounding Bernie Sanders among Swedish undergraduates). The US has quite high post-secondary tuition, even at its public universities, so if you're right in your thinking there should be far fewer 'parasites' there.

On what grounds do you speak about the left-leaning faculty in the Swedish university system? I certainly have no first- or second-hand experience that I could counter your claims with, but I suspect you have none by which to make them.

In general, a system of 'free' education is at least intended to give each generation as clean a sheet as possible. People may be self-made, but their children are not. 'Free' education provides (better) opportunities for those willing to put in the effort and do the work, regardless of their parents' abilities to land them in a good situation. No system rewards work and only work absolutely; but this is one attempt to do so, and it behooves anyone who wants to engage in actual conversation (as, for instance, on an online forum) to address it as such.
I use :s%/search/replace/g very very often (for example).
I made a JS lib just for that: https://github.com/pygy/compose-regexp.js

Edit: real life example, a minimal lexer used to split compound CSS selectors on comas. We must skip those in strings, comments and in `:not(a, b)` pseudo-classes, so `.split(',')` doesn't cut it.

var selectorTokenizer = flags('g',
either(
/[(),]/,
sequence(
'"',
greedy('*',
either(
/\\./,
/[^"\n]/
)
),
'"'
),
sequence(
"'",
greedy('*',
either(
/\\./,
/[^'\n]/
)
),
"'"
),
sequence(
'/*',
/[\s\S]*?/,
'*/'
)
)
)

which compiles to

selectorTokenizer = /[(),]|"(?:\\.|[^"\n])*"|'(?:\\.|[^'\n])*'|\/\*[\s\S]*?\*\//g

Which is then used as follows

function splitSelector(selector) {
var indices = [], res = [], inParen = 0, match
while (match = selectorTokenizer.exec(selector)) {
switch (match[0]) {
case '(': inParen++; break
case ')': inParen--; break
case ',': if (inParen) break; indices.push(match.index)
}
}
for (var i = indices.length; i--;){
res.unshift(selector.slice(indices[i] + 1))
selector = selector.slice(0, indices[i])
}
res.unshift(selector)
return res
}
This is fucking cool. You have convinced me to pick up Rust.
> So they probably just picked a round number that sounded nice.

Except that in this case it specifically excludes all car models from Tesla.
A good, depressing angle I didn't intend or really consider when I made my comment, but of course you're right to think of that first.
The FBI Says It Can't Find Hackers to Hire Because They All Smoke Pot (2014)
There is no substance to this blog post. It is just someone claiming certain industries still use mainframes...ok. Not sure why people are upvoting it.
There's an accompanying blog post that explains this effect: http://www.effectgames.com/effect/article.psp.html/joe/Old_S...
The person you're replying to isn't incorrect. He was saying that having few tests that your treat as predictive isn't as helpful as a long line of tests that are interpreted over time as predictive.

Your example is someone taking a test and immediately moving ahead with treatment. Not someone taking a test, noting the result was interesting, and then takes more tests over the next few weeks, months, or years to confirm the results were something to be concerned about.

If the tests are cheap and simple to run, there is no reason to EVER act on the basis of a single data point.
So yes, not $100M at all. The market for Ether is about as liquid as that for my own imaginary currency.
I keep a charging "brick" in my car, and just top it up every month. In an emergency, I could charge my phone/tablet about a half dozen times. I figure that's a lot more useful to me in a genuine emergency I'm likely to experience, than this toy.
How does this compare to the cost of a closure in other languages? Yeah atomic reference counts are not cheap, but basically that's the point of a shared_ptr.
> Alas my fellow countrymen do not have it in their hearts to tax themselves for this purpose.

It's not about heart, it's that most people aren't doing well enough to care for more taxes. Reduce asset prices for housing, NIMBY politics, etc and maybe they would.
Instagram rolling out algorithmic feeds to some users
You don't even need to be clandestine about it though. Why hasn't this story hasn't gotten more traction? Where's the outcry?

http://nymag.com/daily/intelligencer/2016/04/big-brother-is-...
I suspect the comment about "destabilize region" is what's getting your downvoted, as there's no evidence for that and it assumes bad faith.
Not everything should revolve around cost. There are other factors to consider. Also these freedoms that you talk about come at a cost to others, so consider this the next time you want to drive over that hill.
You actually sound like you fall on both sides similarly to the way I (TFA's author) do, seeing that you did high-paid less lovable work and then more lovable work for less pay. (At the moment I program 3 days a week and during the other days I animate without any plans to get paid for it.)

My point was mostly that one could be equally valuable (or, conversely, pernicious) at both types of jobs having either sort of motivation.
In a perfect world I could support a tax, however in the real world tax revenues first go through the fingers of politicians and they often are diverted to pork. Just a couple of local examples, the "road tax" on gasoline is supposed to fund road maintenace and construction, but it doesn't. It goes into the general revenue fund and is spent on anything and everything. Meanwhile the roads crumble. My state allows casino gambling with the tax revenues going to "education" but again they go into the general fund and the schools still beg for money every chance they get.

Government simply cannot be trusted with tax dollars so they should get the absolute minimum needed to do their lawful duties.

So let the private sector figure out what technology can replace oil, prove it in the market, and then you won't even need a tax.
what is the current status with driver support for vulkan? are they being rolled out steadily at this point? and does anyone have an opinion on how quickly we will see vulkan drivers become reliable and ubiquitous?

also, check out this awesome demo of DOOM using vulkan.
https://www.youtube.com/watch?v=0y3LaLJoo0s
Good point. That would be particularly neat if the OpenGL/D3D implementations became vendor-independent.
I want to be optimistic about this, but I can't stop thinking, "Sold a maglev with a tale of a vac-train."
So a while ago when the hyperloop college senior contest thing concluded I made the remark that the winning design was both slow and incapable of carrying anything. Which tod222 followed up by pointing out that they had also dropped the air bearing/pneumatic propulsion part as well (which was the only mostly novel thing about the idea in the first place) and had just made a maglev in a tube then went to on say "It wouldn't surprise me if the tube disappeared in the next iteration".

So here we are.
Non-blogspam: https://www.youtube.com/watch?v=1e-Po9C8Kj8

This user has been doing this repeatedly: https://news.ycombinator.com/submitted?id=mgmsaji
Calling people shills does not enhance your argument.
RStudioServer
Right. Link to where they're 'thoroughly debunked'.
reaper is popular. it's cheap (or free). i also like tracktion. v4 is free and it's a powerful, simple, single screen daw. there's always audacity too, but it's pretty limited. i've also heard good things about wavosaur (free). dumb name, but simple for quick audio editing.
Working for the bank at times was very fun. I love problem solving and getting work done across large and small teams. But in the end my passion waned and it became a well paid job that was a burden. Thanks for the thought provoking post.
Been using ZeroTier for a while now. My main use case is to connect my laptop to my home network so that I can access my NAS and Plex server while I'm away without having to expose those ports to the internet directly.
It’s impossible to work your way through college nowadays
Funny you mention that one. I have been re-reading that book the past few weeks.

This book takes a bit of a different angle on explaining computers. I really enjoy the history.

My only complaint would be that I think he has a Microsoft bias (but then I guess I am biased myself).

And similarly, I have a minor annoyance with the OP's mention of Linux, and only Linux, when he touches on calling conventions. This bias toward one system, and ignorance of others, is typical of many websites and documentation. To be fair, the OP mostly avoids it.

To be clear, great explanations of computers to me are ones that either:

1) take great care to stay completely neutral and only discuss universally shared traits across systems,

2) go to great lengths to try to be as comprehensive as possible, including many systems and all their commonalities and idiosyncracies, or

3) focus only on one system and go into great detail how it works.

The more the author strays from 1, 2 or 3, the less likely I am to read their work.

Petzold pays ample attention to Morse code and similar succinct ways of communicating information. In my opinion this type of focus is the mark of a skilled coder. When I look at the entries to IOCC, it is no surprise to me that Morse code is (or at least was) a frequent focus of the entrants.
> their international politics are now considered by growing amounts of people as illegitimate and harmful.

That has always been the case.
This is like the people talking about throwing away their scales or only weighing themselves every few weeks while trying to control their weight.

The solution isn't fewer data points, it's to collect the data frequently and rigorously, and the post process it into a trend.

That's how testing should be done. You get a long series of measurements that are post processed into a coherent picture of the reality.
It's changed over the years, but presently I use GitHub for Source control and pull down to a Raspberry Pi for hosting. Then I connect using Dynamic DNS.

If it's something that I can do completely in markdown, then I just hosted on GitHub
Show HN: Mathcat – An expression evaluating library and REPL in Go
Have fun debugging arithmetic difference resulting from spilling an intermediate result to memory and rounding to 64bit value vs. not spilling and keeping the intermediate value as 80 bits.
DPlatform – Run Apps Easily
Interesting concept. How is it different\better that btdigg.org?
Capitalism is on the brink of an abyss. Socialism is one step ahead.

(A slogan in our country in 1970's, at USSR's neighbour.)
I'm going to disagree. Americans by big cars by choice. When gas was $4/gal the Chevy Suburbans stayed at home. Now that it's down to $2/gal they are everywhere. There is no policy in any state stating 5m+ vehicle is a necessity.

As to big homes. You can't find much under 2000sqft unless it was built in a different era. I've got a listing open right now in another tab 2bd/3.5ba. Seriously, WTF?!
I have a switch and APs. They do have weird bugs that you'd really don't expect from a networking company. They do fix the important ones eventually. Still good value for the price.
Zoning rules are largely the result of the desires of the local residents.
As others said, code-as-data and macros are probably the big ones but there's also a difference in composability vs configuration as Chris Done explained very nicely: http://chrisdone.com/posts/haskell-lisp-philosophy-differenc...
Thanks, great response. I guess my overall point would be that once you think you know something, you've stopped thinking about it.

I agree that it's a fact that there are different groups competing for power and that there is a constant struggle. I would quibble over the "without a guiding plan" part because I don't know what you mean by that exactly. Large and powerful groups can certainly exert leverage over numerous smaller and less powerful groups.

A guiding plan could be a general philosophy. Look at all of our political and military power systems. They are designed hierarchically, so that the nearer you get to the top, the smaller and more powerful the group is. The pyramid on the dollar bill is obviously symbolic of this. That's indicative of some sort of guiding plan. I mean, there's one group (the Masons) who can get all of their secret symbols implanted into our money forever? That's scary to me.

Regarding United Fruit - yes, the company suffered but can you say that company profit was the prime motive for messing with South America? Have you considered that all warfare starts with economic warfare? What if de-stabilizing a region makes you all sorts of profits in other ways, with other companies? What if you can get all sorts of secret money to do secret things by controlling illicit trade that now comes out of that region?

I have a LOT of questions. How could the Taliban have virtually ended poppy production in Afghanistan in 2001 and yet our own government which supposedly is at "war" with drugs like Heroin, cannot quell the supply from that area which produces 90% of the drug for the rest of the world?

In my view of the world - the puppets change all the time but somehow shit stays the same, so I just am not that sure that there isn't a guiding plan of sorts. (EDIT: Even if that plan is just "greed". Endless greed. And "do what you want" mentality, which is the philosophy of Satan/Lucifer. You might think I'm crazy just for mentioning Satanism but secret power didn't start in modern times.)
Templates are mostly problems at compile time, but it's also possible to have subtle issues with complicated template specializations where it doesn't call the function you expect. So complicated usages are discouraged, BUT simple ones that give code reuse with strong typing are great advantages over c in most cases.

I think dynamic dispatch would be more permissible than you might think. You end up doing it in c manually in complicated code bases, might as well let the compiler dou the heavy lifting.
Yes, we're building a ML as a Service platform right now, that will include the ability to do exactly that. We're not ready to launch yet, but if anyone is interested, drop me a note and I'll keep you informed. Or you can sign up for our mailing list on the site:

https://neuralobjects.com

Edit: just to expand on this... when we're all done, you'll be able to use NN's, as well as a lot more. And we'll have both pre "canned" algorithms you can use "out of the box" as well as the ability to define your own algorithms based on a variety of different platforms. We're also looking at expanding the service offerings to encompass a very broad swathe of what's available in terms of technical & scientific computing. I'm hoping we can go into beta of at least the basic functionality in another month or so.
Discourse is a big FU for people who want to read it on the go but don't have mobile Internet. Whereas with HN and phpBB I can easily save the pages offline, Discourse's "infinite scrolling" makes sure you can never save more than a few posts. The 5MB of JS that a single page like [1] forces one to download is just icing on the cake.

[1] https://meta.discourse.org/t/cheap-docker-hosting/44262
This is fascinating. I will be sure to visit that area the next time I visit London. Are you aware of similar areas in New York?
I do wish bringing Ubuntu to W10 is going to make this easier - I'd rather not have to dual boot to use ML personally.
How are you able to do fine-grained actions like volume control and pause through Alexa? The IFTTT channel for Harmony seems to only have start/stop activity options. Do you have a skill hitting a server running in the background that makes API calls to your hub maybe?
True. Particularly, "paid shills". Anti- or pro-Western, commenters seldom are paid for writing; even if you disagree strongly, remember that they probably write out of a personal conviction.
I've been using zerotier for a year now. It is simply FANTASTIC. Currently use it as a management plane for my docker swarm. Really great work.
Their blog is also very much worth reading.

EDIT: I'd like to mention an interesting feature. If you run two hosts that are also connected in another way, for example on a LAN, or using private networking from your cloud provider, ZT will automagically find and use the fastest route for host to host traffic.
when I think of WhatsApp being hacked, I expect a man in the middle attack. Not an attack from both ends of the exchange...
In my personal experience google search has gotten vastly worse in last 6 or so years. It seems like 5 paid ads then about 10 posts from sources that are just popular websites that cover the "topic" but arent really what you are looking for.

It seems like years ago I could find information consistantly from obscure websites just by using combos of words, but now I cant even get to those sites with same words or even close.

Paid scam ads like this is another reason I dont use google anymore.They obviously dont really care how bad those paid ads are.
I don't want a world where my birthplace decides what news outlets I may read (can't have a non-local news source spill the beans!), what services I can use (use our local email variant, the government has approved it!), what products I may buy (special imported legally at only x20 markup after governmental approval).

I see myself as a citizen of the world, and I don't want to be put into a tiny nationalistic box as "my rightful place in life".
Thanks for your comment. We will update the site in the future with more details. We'll be releasing details to e-mail subscribers first.
DAO stands for Decentralized Autonomous Organization. This seems to be an experiment in democratic group action.

The "process" is: the community approves or declines plain English Proposals backed by smart contract code aimed at building products or services for the benefit of its members. All operational elements are programmed into the Proposals submitted by Contractors. The Proposals submitted will give day-to-day operational control over to the Contractors, while enforcing strict payment schedules executed in predefined instalments.
I used Hamachi LogMeIn some time ago. This looks like a much better option.
Used DK recently, connected me with a great team for my android app. Top Guys.
That's going to be somewhat application dependent. It'll also heavily depend on how often the network needs retraining.
Why are they calling it WhatsUp on multiple occasions? Are those typos? (I am not a Smartphone user, but I thought it was WhatsApp?!)
I met a guy I studied with recently, he found my blog and invited me to dine together. It turns out he managed a team of remote workers, and he ranted how those office buildings where you catch infectious diseases are a thing of the past (he also freaked out when I sneezed.) However he also wanted to meet various people from our joint past, like he just met me, which was kinda weird given that we were never best buds or anything, and I think this ought to have to do with a shortage of time spent in office buildings where you catch infectious diseases.

Personally... I'm not smug about this at all, I'm the opposite of smug; because the stuff I'm doing in my spare time of which I now have more does not involve such an office building and I really wonder whether a void will form there.