skysight-inc/HackerNews huggingface dataset:
I was taught:

For the first 2 years, live on 50% of your income. Eat Ramen, coupons, live like a begger, and save up 1 year of income.

Then divide that by 12 and use that as a salary for a year while collecting another year. Repeat. Steady income, always a year behind.

Of course this was back when I was trying to go into film. A bit more unstable than software development.
> You use Google Search, and Google tells you that you should use Google Search more often.

Actually when you use google search, google tells you that you should use Chrome.
The exact popup says:

Google works better with Chrome
Yes, get Chrome now
At least going by the recent Pwn2Own competitions, the answer seems to be no. We'll see how they fare at the next ones.

The AppGuard virtualization thing or whatever they are calling it better come as an API for other apps soon as well, and I hope Microsoft won't just keep it for its own products. I could see serious anti-competitive issues with that (important OS feature being kept from competitors so Microsoft can aid its own products).

I also don't understand why they are making that feature part of "Windows Defender". It doesn't make any sense to do that, except for "brand unification". I think it should be kept separate.
or her policies
You could create stroke-width-ratios by applying SVG transformations to each path element, or groups of it.

Then you have to compensate for the introduced transformation in the stroke path geometry itself.

Example: http://codepen.io/mxfh/pen/RopMvr

Kind of hacky, but this could be automated by evaluating the stroke transforms and applying the reverse transforms to source path geometry for compensation.
> I wouldn't be surprised if it's leveraged to benefit Google's analytics, ...

https://support.google.com/wifi/answer/6246642 has a tl;dr version: "Importantly, the Google Wifi app and your Wifi points do not track the websites you visit or collect the content of any traffic on your network. However, your Wifi points does collect data such as Wi-Fi channel, signal strength, and device types that are relevant to optimize your Wi-Fi performance." and a full explanation of everything it does (or does not) collect, and why.
Rancher OS: A docker only operating system
It's still a net win in my experience. The minor inconvenience of inserting a few temporary variables to hold intermediate values is much less than the burden of all the additional reading and debugging needed when you spell out every step for everything you want to do.

It's kind of strange to me. We generally acknowledge that not repeating yourself and dividing responsibilities sensibly leads to better code that has fewer bugs and is easier to reason about. And yet when we consider doing the same thing with iteration, we say, "Whoa, hang on. Why can't we just write out the whole thing every time instead of factoring the common bits into a function?"
"To loose ones marbles" would get a more literal meaning...
This is a fair point, but most vocational programs last years not months, so that is where the analogy breaks down here. I think "vocational" code schools offering 2-year degrees would be very, very attractive as an alternative to a traditional CS degree (both for students and hiring managers), but that's not what we're looking at.

According to a quick Google search, the average program length for these boot camps in 2015 was 11 weeks. That is on par with a single semester at a university. Even if you take a heavy course load of only practical CS courses, one semester is not nearly enough to prepare someone fully for a full-time dev position at top-tier companies. Sure, they may be able to answer the interview questions...but then what? I'm pretty skeptical of this trend and don't see it ending well for most of the boot camp graduates or companies who hire a large number of them.
Looks like your refactor could use a test or two :p
Matrix.org is a non-profit open source project that publishes an open standard for decentralised interoperable communications (IM, VoIP, etc), an example server implementation and a bunch of example client SDKs, bridges, bots, etc. 'Matrix' is the name of the resulting ecosystem on the 'net.

Riot.im is one of the various client apps for Matrix, supporting iOS & Android, and is probably the most advanced at this point.

EDIT: clarify org structure: Matrix.org is being set up as a non-profit UK company owned by the various individuals running it. The business model is to create a new ecosystem for interoperable comms that everyone can benefit from.

Riot is a for-profit company (technically called Vector Creations Ltd) which is a subsiduary of Amdocs (a big telco supplier company). The business model is to offer paid hosted services in future for users wanting commercial-grade hosting and hosting private bots/bridges/etc.
One way to find the "X% you get for being the other candidate" is to look at the Florida State Rep results: http://enight.elections.myflorida.com/Offices/StateRepresent...

In two-candidate races without write-ins, the minimum that any candidate got was 18.22%, and from scanning the numbers it feels like the median is in mid-30%s.

//edit also if someone at a PAC is reading, what they should really do is an analysis comparing campaign funding vs. votes received. Find the candidates that are making the most impact with the least amount of money. The candidates you agree with are the people who need support next election, and the candidates you disagree with are the dark horses you need to watch out for.
Oh! yes. Yes we're on the same page as far as laziness goes. The lazy version will only construct as much of the intermediate list as you need to get the next answer, and potentially the garbage collector can reclaim the parts of the intermediate list that have already gone past.

But, there's already a good clean functional composable answer to this kind of thing,

fold takes an operation (like map does) a list (like map does) and an accumulator for building up results, and it returns the resulting accumulator.

foldl(op, names, acc){
if(names.empty)
return acc
else
foldl(op, names.tail, op(names.head, acc)
}

so with tail recursion, you get no stack growth. (i mean head like the first element of names, and tail as everything else)

the op would look something like

op(name, acc){
let p = Person.init(name)
if(p.isValid)
return acc += [p]
else
return acc
}

So fold trundles down the list of names, the op checks each name to see if it's good, and only adds the good names to the final list. whenever fold notices it's out of more names to try, it just returns whatever the current accumulator might be.

Map forces you to build the intermediate representation, which the imperative version avoids.
Same 'notice' with Gmail. Inbox refuses to load in Edge, not sure about Firefox or Opera
Just Swift I hope. I'd guess it more likely that scripting was dropped alltogether as the number of users of AppleScript is probably under 1%.
Thanks for doing this and sharing.

A suggestion:

- Modifying the script for RP 1 and 0
incredible response. Thank you for the effort. Quite an eye opener. Like didn't think about subdomains that way - valuable insight. SSL is top3 on my todo list. Currently I charge extra for the domain - seems to be a simple way of doing it. Donations? Wow didn't think that could be so supportive.

I'll be sure to contact you as soon as the need comes again. You seem to be a valuable resource indeed :)
I'll start right off the bat: I'm not affiliated with the riot chat or matrix crew, however, I am an enthusiastic user of both technologies. So any of the following is what I've learned, and not any official communications...

Matrix is a protocol for decentralized communication. Plenty more info can be gained from their FAQ: http://matrix.org/docs/guides/faq.html The gist: the protocol can theoretically be used for decentralized chat, WebRTC, and comms between internet of things...With decentralized chat so far appearing to be the most popular. As to your question on the "Who is behind" this? See: http://matrix.org/docs/guides/faq.html#who-is-funding-matrix...

Riot (aka Riot chat, formerly known as Vector.im) is one of a number of client applications for interacting with Matrix servers. More clients can be found here: http://matrix.org/docs/projects/try-matrix-now.html#clients

Also, the folks who created Riot/Vector, manage a public matrix homeserver that anyone can join. See https://riot.im Naturally, the point of this being a decentralized effort (and shying away from silos), you don't have to create an account on the riot.im homeserver, but in fact can setup/manage your own (matrix) homeserver! You know...like email used to be more decentralized ;-)

Cheers!
I'm 33. I don't think there's much of a secret in productivity, I just like these things so much that I prioritize them over other things.
> Requiring a browser implies that the device has a full web stack on it, including one of Perl, PHP, or Node.js.

Not really, CGI can be written in anything, shell scripting, C, whatever. But security-wise, it doesn't much matter the language because the programmers working on the web interfaces of such embedded devices rarely do a good job.
ACPI?

I think it's UEFI mounting the Windows partition and dropping some files there before booting the OS. ACPI executes on a virtual machine inside the kernel and afaik it's not supposed to be able to write to files.
Wired networking isn't an option with iDevices. And with disappearing ports on a laptop, a bit more challenging now.
Most experienced devs are contracting.
> In this case, it's unfortunate that there's no, "will this name create a valid person object?" predicate. much much better to filter the names, then make the objects.

No "object" is made if the name can't create a "valid person object", it'll return a stack-allocated null/nothing value. That pattern is also much better for concurrency issues.

> much much better to filter the names, then make the objects.

You're just duplicating the validation logic (or worse, the "objects creation" assumes it's given valid names and does no checks)
AppleScript certainly doesn't feel like a language for "pro". It feels like a language for people that can't learn regular computer languages. The irony is a language with a small syntax is easier to learn than something that tries to mimic real languages.
tl;dr: The usual silly speculations and misstatements about Trump's position on H-1B visas, but if they're right about Sessions (and why should I believe that?), the position of both is "Intel yes, Infosys no".

Which will suck for the bodyshops and those employed by them, but if the changes follow their position, it'll be as OK as it ever was for those getting one after getting a degree here, and the actual procurement of serious, real, albeit still "indentured", talent won't stop.

Although they might get less underpaid, Sessions had a provision in his 2015 bill that they'd go to the companies offering the highest salaries, instead of being allocated by lottery. That would be interesting, although I can see lots of problems unless that's adjusted for the local cost of living, fortunately the Federal government already has mechanisms it can tap to do that.
Either you pay a yearly subscription for Windows Enterprise, or you get ads
I work for a DDoS protection company and while the advice in the article is indeed high level, it is exactly what we do.

- buy a ton of network capacity in multiple locations around the world
- route incoming traffic to different locations at BGP level

This is really the only way to reliably cope with modern volumetric attacks right now.

On top of that we:

- scrub the traffic using using some expensive fancy appliances(*)
- employ a bunch of very skilled people to manage it all and provide support

This is what you need to protect against protocol / application level attacks.

* which we get a very good deal on by virtue of making said appliances :)
When it is just accents, it's ok. But when your users have a language that uses à radically different alphabet, sometimes they can't even read Latin transliterations.
Campaign to get obstructionist members of Congress replaced. That's a pretty unsatisfying answer, but that's the only legal means to do it right.

IMO the Executive Order/fiat by committee approach is detrimental in the long run. Sure, stuff gets done...but once the goal has been reached everybody moves on without much thought about the long-term.

It's like those home renovation shows where they have a pizza budget but champagne tastes, and the designer/builder figures out a clever way to get a particular look for cheap. The unveil the house, the owners are thrilled about how it looks, and the show ends on a happy note. They never go back 6-12 months later, and talk about how the cheap facade peeled away or the sharp edges on the hastily-built cabinetry, etc etc.
OVH : for the convenience because they also host my VPS (no complaints, works as expected).
In the case of vitamins, these studies do exist, but they are already prevented by law from referencing these studies to make claims.
Works the same way with numerous combinations of architectures, thanks to qemu.
Put another way, the first example is about data flow. The required value is specified declaratively, in the form of an expression.

The second example is about control flow. The required behaviour is specified imperatively, in the form of a statements to be executed in a defined order, and the combined effect of those statements is to update the list until it has the required value.

In the second case, the programmer specifies more details explicitly. In this case, those extra details probably aren’t helping, but the optimiser still has to prove that transforming the control flow (for example, into a parallelised form) really will give the same observable behaviour. In the first case, the optimiser doesn’t have to prove the things the programmer never specified anyway, so it has more latitude in how it implements the underlying computation.
I watched it for the first time in 2011 (according to Twitter) and we probably average a chicken a week (it takes two chickens to feed 2 adults and 2 teenagers, and some weeks we do chicken twice in a week). I try never to buy parted-out chicken. So: I've done it lots. :)

It's awesome. When you get fast, you feel like The Predator when you do it.

(I can't roll and tie a gallotine in a minute!)
The act of doing the computation doesn't change the outcome of the computation. Still doesn't answer the question completely, but in my mind at least the idea that humans would act the same even if they weren't conscious is a non starter.
Instead of HTML/CSS why not parse markdown to a something even more direct like terminal output. My biddle application does this. Try it out let me know what you thing. Here are some commands to get started:

git clone git@github.com:prettydiff/biddle.git
cd biddle
node biddle (parses the readme.md file to the terminal)

node biddle get http://example.com/document.md
node biddle markdown downloads/document.md

node biddle markdown downloads/document.md 60 (word wrap at 60 character width)
Drone video of the rupture from the Quake https://www.youtube.com/watch?v=ITbplXBtM8M
The problem is ad-blocking is forcing ads to either look like content or forcing content to become locked up and paid for.

For someone that didn't particularly pay attention to ads but liked the free content it kind sucks now.
Android app for video surveillance
Interesting dataset for augmented reality purposes as well. Collect more pictures about the packages and you could overlay specific data on a view of store self (for example highlight products suitable for your diet)
Bill Gates works with Swiss perfume company to make toilets smell better
Ask HN: Can I safely transfer a domain when locked out of my registrar account?
I fucked up and locked myself out of my registrar account (hover.com). They need me to get a notary public to confirm my identity (which is a surprisingly nice solution, to be honest). The card they have on record is expired so the auto-renewal coming up in a few days will fail.

Now, I wonder if I could somehow save the trouble with the notary and safely request a transfer and get the domain with another registrar? I have lots of things tied to this domain (including my primary email) so losing it to someone else in the brief window of availability would be quite disastrous.
This is a good move on their part.

From a quick scan of the PDF, it looks like their higher-level Matrix library mitigates attacks that Olm itself does not.

I'm not sure how I feel about that.
Strict campaign spending limits, ban tv advertising make all published literature have the candidates name or his/her agent and have the FCC mandate party political broadcasts.
Harden up guys..

Still a million times better living here than most other places IMHO
OP was running for state office, not the local city council. 31% is quite good
> When receiving Unicode I always make sure it's in the ASCII range. [...] Western people are very lucky that ASCII includes most of their characters...

Please don't spread the myth of Western languages being encodable in ASCII, and don't pretend to support Unicode (or anything else than English) if you filter everything to ASCII.

The _only_ Western language that is encodable in ASCII is English.

Corollary: English is the only language that can be encoded in ASCII.

The other western languages have endless issues with text being encoded/stripped down to ASCII. e.g. French, Spanish, Portuguese, German...
Sounds good. It's not 30 because that would imply "a third" and it's not 10 which would just look low.

Instead it's the middle +1.

If I'd write a story about somebody who has to make up one, this would be it ;)
Quite a house of cards.
Pharma reps now need $750 marketing licenses to beat the streets in Chicago
Well I'm also musician and DJ with about 20 years producing, and 15 years experience performing. I think if you were playing super-minimal, atonal techno or house then for sure - but for genres involving more elements and instrumentation, I just don't see it.
Cool, coming back at ya: (and the other sister comments suggesting campaign finance funding & limits)

The problem with publicly funded elections is that it gives the two major parties another way to lock-out independent/3rd-party candidates. There's usually some limit on who gets campaign money based off of past performance-- and if there wasn't a limit on who gets campaign money, then people would figure out how to run for Senate, and then spend their government-granted 10mil buying ads on their friend's podcast network.

It also runs into problems with free speech & Citizens United. Michael Moore tends to get noisy every election-- and in the most recent election he was able to explicitly say: "I prefer Clinton". In previous elections, before Citizens United, he would focus on political footballs that are highly partisan, so that his support for an issue was an easy proxy for support for a candidate, but it did not violate campaign finance laws. But it did violate the spirit of the campaign finance laws at the time, since he was raising money for a film that supported a candidate by proxy? But we should also be okay with that b/c free speech? You get yourself tangled real fast.

Secondary and tertiary side-effects. :-/
It's 2016 and Wi-Fi is still a pain. Security is non-trivial, firmware is not patched, joining a network is complicated, extending coverage is very tricky.

My solution has been to use a TP-Link router running OpenWRT as the router, and a UniFi as an access point. I run the Ubiquiti controller on a separate server. This gives me very good performance and coverage, but the ease of use is zilch. It requires me to know way more than an average person should need to know just to get the network set up.

I have never used the Airport routers from Apple, but I understand that they aimed at fixing a lot of these issues. Ultimately I chose not to go with them because they were still not a turnkey solution, while not giving me nearly the performance (speed and coverage) I wanted.

I wonder who will be the go to recommendation from now on.
As above, I have VMs on OVH public cloud[0]. Rancher can also offers an OpenStack driver which is what OVH Public Cloud runs on, but I have not yet tried that.

I've found certain things quite buggy with their cloud offering but the price/performance can't be argued with.

[0] https://www.ovh.co.uk/cloud/instances/
Yup, and that trick used to be "go buy an Airport". Now the trick will be "go read a bunch of web pages and hope you make a good choice". I'm not looking forward to it when my AirPort Extreme dies.
OMG - you're 100% right and I've already passed the "you're still allowed to edit or delete this post" time limit imposed by HN.

This is going to be a black mark on my OCD coder's soul for the rest of time. A code typo immortalised next to my name.

/sigh.

There's a lesson for me... Never. Ever. Attempt to be clever on hackernews.

Thanks for pointing it out.

... I wonder if HN mods would be willing to spare me this suffering. Undoubtedly a waste of their time.
The argument being presented is that it's not just about looking like content. If you stop there, you have something sleazy: the user is being tricked into seeing something he doesn't wish to see. However, if the ad has perceived value (e.g. it presents pertinent information to the user), it becomes content -- albeit sponsored. Naturally, these things have to be labeled as such, but from a a marketing perspective it works where the other solutions get flagged.

In short: native advertising doesn't work if you're trying to hoodwink your end-user into seeing something he doesn't particularly care to see.

>For someone that didn't particularly pay attention to ads but liked the free content it kind sucks now.

Which content are you referring to?
It took me a while to understand this, two violent encounters. Rent was low but not worth the damage it does to your nerves. Depending on your neighbours you could be easily 100x more likely to get mugged.

In hindsight the burned out house next door was a definite clue!
So the perfect resolution to have a 22 player coop run. 96x60 should be enough to play. I think our mobile phone in a slide projector project we did 14 years ago should proof that. Of course we also ran doom on that one. You can see the project here: https://dividuum.de/download/beamer/
While it's great news that the hosted version of Phabricator is free for small projects, I'd like to point out that the open source version has always been free and they're the same :)

Hoping they make that distinction as well.
There is wifi blocking paint and wallpaper. http://www.lessemf.com/paint.html for example. That said, this may not be desirable if you have a cellphone without a local nanocell or voip switching.
Long overdue, but still welcome. Intel direly needs the competition. With AMD Zen and ARM notebooks coming, hopefully the market will look much more competitive in 2018.

Also, maybe Microsoft will have the guts to do what Google never did: standardize ARM processors, so that all ARM devices can be updated at once. Although I assume Microsoft will also start by supporting "Qualcomm-only" at first, just like it did for phones.
They're made out of meat:

http://www.terrybisson.com/page6/page6.html
The cardboard and marbles aren't self-aware, they just encode a configuration that sees itself as self-aware when left alone to execute. Just like the atoms of your body. Self-awareness isn't a static property, since it's hard to call someone under anesthetic self-aware, but just another thing an agent in motion perceives.

You ought to read Permutation City.