skysight-inc/HackerNews huggingface dataset:
Easy Solution: on login and payment forms, go to a plain HTML page, use a standard form to submit without JS (or only JS you write). Forget client-side validation and/or write it yourself.
Seems pretty comprehensive. One confusing thing I found was these two:
"Don't respect ignore files (.gitignore, .ignore, etc)" vs "Skip rules found in VCS ignore files (.gitignore, .hgignore, etc)"

Aren't those the same thing? Shouldn't they be grouped for better comparison?
The nose solution looks especially clever, I like it.
I see what you’re saying, but that piece of code doesn’t exist at all in JNR (so it can’t have bugs) and you can codegen JNR/FFI too to eliminate the same hole, right?

I feel like saying “don’t mess up this signature” is not only plausible but it’s a lot better than having to deal with writing and compiling the stub for every platform.

This is why pycparser exists, for example. https://github.com/eliben/pycparser
Scaling Analytics at Wish
He doesn't need to say "btw there's still some actually really terrible code out there" for us to know he knows it's true. He's making a point that wouldn't benefit from going there.
Season 1 of Heroes was pretty dang solid for a TV drama with time travel though.
Consider just switching to ripgrep instead. It's faster, and the default flags and interface are more thoughtful. This chart may make it seem less feature rich, but most of the 'features' it's missing are thing you'll never need, or things that your shell should be responsible for ("Pipe output through a pager or other command"?).

The only serious feature you might miss is lookahead/lookbehind in regexes - that's missing by design since if you want guaranteed linear time search you can't have those.
No terrorist attacks committed by left-wing groups either.
I'd say don't try to use Cynefin's definition to understand what the PEP authors means. (Un)known unknowns is a pretty terrible definition of those words, it doesn't really match the common definitions at all.

Complex and complicated are, according to the dictionary, basically synonymous, and they mean something intricate or tricky that is composed of many interconnected parts.

I think the PEP authors were trying to say it's better for a piece of code to be clever and tricky to avoid complicated interactions with other code, if that's your only choice. I think they're trying to suggest complexity at a small scale is better than complexity at a large scale. But I'm just guessing, and I do think it could be better stated with two words that aren't synonymous.
The problems with speed optimization tools and how they can slow your site down
say ten people wanted to pin the same gigabyte file they could pay .015 instead of .15
Get Flat on Rent in Gurgaon
SEEKING WORK | REMOTE – some travel/onsite OK | Experienced (7+ yrs) full-stack and mobile freelancer

Education: University of Waterloo CS (Co-op) Undergrad

I've had experience at small and large organizations in the US & Canada through my co-op internships, and have spent 7+ years freelancing, as well as working on my own projects (http://snowbird.aero and http://sign2web.com). I specialize mainly in web and mobile technologies, and have great communication skills. I also love to teach others.

What I can do for you:
* design and develop products and solutions – start-to-finish
* organize and manage development efforts
* function as a competent individual contributor
* interface confidently with clients and other stakeholders
* find additional local developers & other talent

I currently live in Kraków, Poland, with access to a pool of great local developers, in case of larger projects. If your org has a need for an external development shop, I can also help set that up.

Primary tech: Ruby on Rails, Vue.js, Objective C, Swift (+ many others from past work, and the ability to learn quickly)

LinkedIn: https://www.linkedin.com/in/elsurudo/ | Resume: http://static.twisted-leaf.com/ErnestSurudo-resume.pdf | Portfolio: http://static.twisted-leaf.com/portfolio/

Let's talk!

Email: ernest [at] twisted-leaf.com | Skype: ernest.surudo
I travelled on both the A380 (Emirates) and the 787 (Oman Air) in the last year and they are really a big step forward. I would put them above the 777, maybe it's the specific configuration used by Qatar Airways (777-300ER) but they simply weren't as good as the other too.

Also flown a A350-900 with Qatar Airways and it was really close to the A380, seat were very pleasant.

As for the noise in planes: if you travel a lot by planes, buy active noise reduction headphones. Bose QuietComfort 35 or 25 work very very well. Try them out first if possible, a small amount of people dislike the feeling they give with noise reduction active, but for me it was a world changer as I take about 2 planes a month, my 35 were one of the best purchase I ever made.
I disagree.

Snowden didn't go to senators or congresspersons with top secret classified documents to try to responsibly get the public to understand that the head of the NSA lied under oath. He fucking handed them over to journalists to pour through and decide for themselves. They aren't capable of understanding what should be released and in many cases released information they shouldn't have, like the joint collaboration with Canadian embassies for radio monitoring. That stuff shouldn't have gone public.

Yes our democracies have a right to know in a broad sense what our governments should be doing, but we shouldn't allow one random person to do so without first trying to go through government channels to try to fix it with people our people have entrusted to safeguard our national security.

The outcome of what Snowden did was good in some ways, but the manner in which he did it was not and shouldn't be advocated for or encouraged.
So gone challenge (freestyle)
Computer and Network Security by Avinash Kak
Hm, are there any wake up alarms that actually go off through connected bt headphones? It seems like a recipe for being late.
I never said anything about magic container dust, nor did I say anything about having less of a grip over our operations. I was attempting to make a point about how your workloads themselves (applications/jobs) can be free of a direct need for Chef/Puppet/etc, which can dramatically simplify your configuration management layer. I never intended to claim that somehow magically our pods need no configuration bits at all, and honestly I’m not sure where you got that idea.
Ask HN: Tool suggestions for keeping track of your servers?
Can you recommend an online tool (preferably free, or possibly self-hosted), that is not an Excel spreadsheet or Google Doc, which is capable of helping keep track of the servers I have, and the services I run on them (domains + subdomains + possible other micro-service detail-information)?

I have about 9 - 12 servers (and a few custom-VPNs) with various providers, some are actual hardware servers, others are cheap virtual servers or AWS instances or buckets.

Then, I have lots of smaller and larger projects distributed across those servers. Some are just 1 service / 1 server, others are distributed across several servers and need each other to work.

Not everything's super reboot-safe and automated with god and such, the smaller micro-service things aren't as uptime-monitored as the bigger sites on those machines.

Now with the reboots of spectre/meltdown fixes, I am basically getting a lot of "random server name is being rebooted today!"or "ip such and such has been forced to reboot" — and now I am having to log in to each and every server to see if things booted back up, and what is actually running where (I keep losing track of the smaller things from time to time).

Something that'd let me document all of this before the new year speeds up again would be great!

I use uptimerobot — but that's just for the things I care to monitor.
Samsung just unveiled a 146-inch, modular TV that could surpass OLED – The Verge
You mean waterfall right? Ya, then I guess. If the program is understood before it is written (waterfall), then you merely write down these ideas along side the code. If programming plays any matter into evolving the design (as you say, “hunches” that go into a feedback loop), then this will break down quickly.

Edit. Never mind you mean afterwards. But is the assumption that design can occur independently of programming really true in practice?

It depends on the complexity of the problem you are working on. Something well understood before programming starts has a better chance of being well documented with short prose (because it is well understood, a lot of shared universal context can be relied on). There are lots of things out there that don’t meet this criteria, however.
The table is misleading isn't it?
It seems to imply that rg can't work recursively,
but [1] states "..ripgrep defaults to recursive directory search...".
I understand that the table might mean that rg doesn't have a flag
to enable recursive search, but surely we care about features
more than flags...

[1] https://github.com/BurntSushi/ripgrep#why-should-i-use-ripgr...
The DJI Mavic introduced right after the GoPro Karma pretty much ended its future. You would have thought gopro would have been partnered with so many drone makers years ago instead of going at it alone. That company needs a new leader.
Those cheap chinese knock offs are made with cheap components and I have no doubts that the factory conditions are terrible. I wouldn't be suprised if the supply chain for these cheap cameras will be shutdown with China finally being serious about pollution.
Do you ever enjoy a good book? Like really enjoy, immersed in the created world or in the depth of facts presented, reading it possibly until late hours in the night? Imagine doing this, and me coming to you out of the blue and taking the book away in the middle of a plot twist, for no reason whatsoever. Then imagine not being able to ever enjoy a book like that.

That's what we're talking about doing to kids. Kids may not be as smart as adults, but they have feelings and imagination just as much, if not even more than us. Hell, I remember how I myself hated being randomly interrupted at early-teenage years.

> Being immersed so much that you don't control yourself and act badly is issue parents need to deal with.

I'd vote for dealing with it by not putting the kid in that position in the first place. It would be totally understandable of an adult to "behave badly" if the event we're describing happened to them.

> if the toy causes enough bullshit for the rest familly, parents are entitled to limit it for their own or siblings sake

Parents are entitled to everything, but it would be wise of them to realize that any bullshit caused by a toy is of their own making.
This article is insightful, but it's unfortunate that it does not even mention the EZLN [0] (colloquially, Zapatistas), the majority indigenous and rural breakaway communities in the southern state of Chiapas which have been autonomous since 1994.

[0] https://en.m.wikipedia.org/wiki/Zapatista_Army_of_National_L...
I suspect there are some sheepish folks that are regretting posts. I've already caught a few being deleted.

I guess it really is important to remember the internet is full of people without an intermediate physics education.
Is this the precursor to GoPro's inevitable demise?

e: if you feel the need to down vote, please let me know why you disagree
Another DJI victim. As an industry insider, if there ever was a company I'm impressed with is DJI.
Their technical depth and ability to evolve their product and get it to shelves on short cycles is unmatched.

Note drone entrepreneurs - if there's money to be made in drones, DJI will take it to itself.

The thing is that you simply can't compete with the vertical integration of DJI. Taking images and videos is still by far and large the reason to fly drones in the first place, and once you own the vertical stack and can integrate your imagers with the electromechanics (gimbal) you get to a very small and efficienct package.

Think about that: for every gram of camera, you need two grams of stabilizer, then you need four grams of drone and battery to carry that. While DJI just stabilize their optics and sensor, GoPro stabilizes an entire 80g, bulky camera. This is mainly why the Karma is so big and heavy compared to the DJI Mavic (there are some advantages to DJI in propulsion and batteries but those are pretty small; not a lot of proprietary tech in those fields).
Glad she made this tool public so there can be a discussion about its capabilities, which won't go away.

How long before someone replaces "black sun" with "black lives matter"?
Ask HN: What is the cheapest web-dev stack?
The best technology for a project is subjective. Some people are looking for the fastest, easiest.

I am about to start a solo project. I don't have a lot of cash, that's why I'm looking for a new stack that will cost me the least amount of money possible.

Does anyone have any ideas?

Thank you.
I've had this conversation with few people - mainly peers with whom I'm discussing our craft. Most recently it was with a junior engineer, and I wanted to pin these definitions down precisely so that we had a common vocabulary for describing ideas we were developing. I mention this because I haven't heard these terms commonly used in any particular context so I don't think there's an agreed upon "correct" definition of them. I think my definitions more closely jibe with the normal English meanings, though.
Or if the world stopped to exist we also wouldn't need any currency. You know where I'm going. The default risk of Telegram cannot even be compared to that of the US.
The biggest helper for me when trying to read other peoples' code is having a document (or documents) which describe what the heck the code is supposed to be doing in human terms. This is especially true when I'm not super familiar with the business history, long forgotten bug fixes, and nuance which was previously worked around or implemented.

Software documentation almost always sucks, in my experience. When I do find well written documentation that reflects the code, it becomes much easier to understand the code quickly so that I can make the changes I want to make.

But nobody likes writing documentation.
You mind if I ask how old you are? When was the last time you did LSD?

Any chance you would have just grown out of the depression anyway?

I've always dealt with depression, and it got a lot better naturally when I turned about 30, although definitely a good bit still lingers. I might want to try LSD to beat the last of it, but I feel a little old to get started on a LSD project.
A while ago I also made a Slack bot that calculates the amount of pushups based on open Pull Requests on GH on our private repos: https://github.com/robinpowered/swolebot
Considering that thing come up before they leave, there are some fascinating opportunities for new models of computing.

Wanna win every Bitcoin block?
2000? The standard estimate of net calories burned (cals above basal rate) is 0.98kgkm (i think it is 0.98, i usually round up to 1).

You might enjoy this:
http://theoatmeal.com/comics/running
Well humans reading your bit of code is not the only end goal.

My intuition tells me that when I've refactored something to be simple-but-hard it ends up making more maintainable code. There is less state being maintained, less lines of code to maintain, less coupling. Yes it requires a bit more time to understand, but there is also less stuff to understand. Bad code and bad decisions snowball into bad projects
Redundancy -- you don't need to keep backups of a blockchain but you do if everything is centralized in a single place.

It depends on the value of the backups I guess and the total cost involved. If you're looking at store of value there needs to be backups of backups. I see room for both depending on the needs of the business. It's just a trade off -- the blockchain is inherently more stable and secure than a server for certain purposes and server is far faster and cheaper depending on how you use it.
This is an extremely broad question. It really depends what your company is doing and its size.

A couple of things that I do when I have interns:

Assess/observe the person. As a mentor you need to understand what his/her weaknesses are and what the their strengths are. For example they might be really good at analysing problems but have confidence issues, and might be afraid to ask questions, you need to uncover all this to be productive with them.

Ask the person what do they want to be and what do they want to learn. Asking is usually the easiest way and you as a mentor knowing your company will then be able to accommodate based on the intern's response. Also ask about their hobbies and side projects, this will allow you to better maximise their potential.

Expose them to different areas and workings of the company (engineering, devops, testing, analysts, sales, etc)

Be honest and humble. No one knows it all.

Good luck!
Slack integrated GitHub insights for teams that ship
Does this use facial recognition? That is, do you have to actually face the camera, or does it simply use some basic object recognition to determine if something is moving up and down?
Hyperspectral imaging
`alias rg='rg -S'` in your `.bashrc` will fix that for you.

Out of curiosity, what sort of searches do you do that smartcase is desirable? A meaningful number of people seem to prefer it, but I find that most of the time I want to be able to search for variables etc. case sensitively.
>To utilize bitcoins, you do not need to go through the now extremely electricity intensive process of mining them each and every time.

Yes, you do not, but someone does. Unless you are trading them off the blockchain (in which case you are correct, and they add no value), every transaction must be included in a mined block, which takes a significant amount of electricity to mine and add to the blockchain. And that must happen each and every time a transaction occurs on the blockchain.

>For example, the electricity transaction cost to send my friend a coin for payment for something, is trivial.

It is not, it costs a fraction of all of the electricity used to mine the block your transaction was included in, proportional to it's size compared to the rest of the block, minus the mining reward. In other words (ignoring block reward for simplicity right now), if your transaction was 200 bytes, and 5000 of your transactions can fit in a block, and it costs roughly $20,000 in electricity to mine a block (average in september 2017), then your transaction cost roughly $4 in electricity. At the rates I used to calculate the $20,000 per block, that's 480 watt-hours on the mining alone! Ignoring the cost of transmission, relaying, validation, storage, and other smaller more trivial costs.

That is the whole basis behind bitcoin, and the entire reason for it's existence. I urge you to do a little reading on bitcoin and how it works before trying to speak about it. The whole "proof of work" is why bitcoin is valuable, it's the entire thing that bitcoin brought to the world, without it bitcoin is nothing more than a walmart gift card.

>Bitcoins are almost exclusively mined as a value store / value swapping device, as is the case with gold.

You seem to be willfully ignoring the entire point of bitcoin, which is that it isn't mined as a value store, but as a service which secures transactions and allows them to be trustless. Just like how mining lithium isn't to use lithium as a coin, mining bitcoin isn't about using bitcoin as a simple coin, but about securing those transactions and making them trustless. As long as you continue to completely ignore this, I don't think there is any more point in discussing this. You are willfully ignoring the net value that bitcoin creates while saying that it creates no value.
Am I being unfair?

Let's imagine for a bit what WP would write if a Chinese Snowden escaped China with a drive full of state secrets and sought asylum in the US. Do you think it'd ask for them to be extradited, so that they could be punished for breaking the law in their country? Or do you think it'd hail them as a hero who defied an oppresive regime to bring the free world the truth etc etc? Because I can imagine very well what the Western press, in general, would say in such a case.

The article even points out that Snowden can basically forget about having a fair chance to represent himself, if he gives himself up to the US justice- for security! How likely do you think it is that our hypothetical Chinese hero would get a better chance at a fair trial in China? Miniscule, of course. And wouldn't the WP be the first to point out that this is a major reason not to deliver the hero to the tyrannical Chinese? In the case of Snowden though, it's just brushed aside- eh, so, he can't have a fair trial, it's his own fault, c'est la vie, he should do the time like proper civil disobedience practitioners- well, except for the ones who escape from the oppressive regimes in their countries and seek asylum in the West, that is. That's "the best tradition" too, I guess.

No, I don't think I'm being unfair. I think it's fair to say that the Western press, even the liberal press, is always eager to do the state's job for it, and publish what are essentially propaganda pieces. The article above is exactly that- anti-Chinese propaganda. It draws the attention to the oppressive surveillance of its citizens by the Chinese state, which is fair and proper to do; but at the same time it ignores the 195 kg Gorilla gorilla in the room: that the US state itself is doing exactly the same.

It is very easy to see articles like that as a deliberate attempt to show our Western democracies in a positive light, compared to the oppressive, undemocratic regimes that just so happen to also be our political and economic rivals. I, for one, in the light of the previous article on Snowden, certainly do.
> Nothing stops them from selling the same function to other companies also

Other than the exclusivity deal that they would have with Google and all the non-compete and NDAs they would have to sign.
Ack and ag use Perl/PCRE so they're more useful than grep/rg if you know Perl style regular expressions.
And has the added benefit of not letting people count those half-pushups where you're still 12" off the ground.
I haven't used Telegram in a while (so maybe things have changed since then), but I would guess that that grandparent is talking about how they rolled their own crypto, and how secure conversations isn't the default setting
Damn Girl, You’ve Got a High AQ
Do you have any friends? Are you a robot? This kind of thinking is completely outside of any kind of consideration for camaraderie or connectedness with a team or group of people.

In terms of the Franken stuff specifically. The woman was known to make jokes similar to this. How can it be harassing if she wasn't even awake for it? Not to mention harassment is sustained, not a single instance. He didn't touch her, and she wasn't aware of what he was doing. The photograph is in no way showing her in a negative light. As far as I'm concerned, he did nothing wrong. It just seems like good natured humor that might be skirting along being inappropriate, but only for people with a stick up their ass.
Okay I'll add a few more:

San Jose to Manchester

Oakland to Oslo

London to Calgary

I've definitely seen a trend of 787s making these routes possible. Dunno where the "point to point is marketing speak" comes from.
I don't disagree about the conditions, but if that doesn't stop people from buying their 15 bucks t-shirt or their overpriced Nike, it's not going to stop them with their cameras
My understanding of the key difference between the 330 and the 340 is the maximum take-off weight and you can see the extra landing gear on 340 models due to this. MTOW being higher on the 340 allows it to carry more fuel even with a full cargo load which is the critical factor in the extended range. The 330 could achieve the same range if fully loaded with fuel but it couldn't do it with full cargo.