skysight-inc/HackerNews huggingface dataset:
Why not build a proper multi-tenant service? Do you absolutely need the compute power for each customer? What are you gonna do when 6 months down the line you need to apply a critical update to all of your servers? What about deployment? Seems like a lot of unnecessary trouble for yourself, imo.
> We're up to 11.0.3 now for patch releases, 3 patch releases after a major OS update is unheard of for Apple.

That’s some revisionist history there! That couldn’t be further from the truth!

First let’s take the obvious contradiction and look at iOS7. There was 7.0.3, 7.0.4, 7.0.5, heck, even 7.0.6!

Pretty much every major release had a X.0.2, so an X.0.3 is not that crazy.

While not a “major OS update” technically, the iOS 4.2 release got patched all the way up to 4.2.10. 10 patch releases, surely that’s when we should’ve said the end was nigh?

While 7.0.X and 4.2.X saw a large number of patch releases, all X.0 and pretty much all X.Y releases had a few patch releases so iOS11 is not an outlier in any way so far.

In reality, bugs will always exist, no matter how good the QA or engineering discipline. Personally, I’d rather see them fix early and often, as long as the patch release doesn’t introduce worse behavior.
Attack of the Hack Back
I am extremely critical of spoken words as well. I'm convinced that natural languages should and will be replaced by something better in the near future. I'm actually working on it.
The engineer in me loves the promised End-End encryption and all the cool stuff. But, the inconvenience of "unable to search contents of emails" is a deal breaker towards encrypted email for me.
My primary concern was Google/Microsoft scraping my emails to build a profile of me. My emails could give away very personal information that I do not want to be used for advertising.

My money finally went to Fastmail. Excellent email service - just works and doesn't try to be super smart and take over the world.
The Data and Science Behind GrabShare
Something I'm rather curious about. Are you disinterested in it, because of its nature? Similarly, are you excited by the day in day out 'hot' studies? And by 'hot', I mean things like 'researchers discover amazing new way to destroy cancer cells' given what you know to expect of such a study.

It seems to me that so often we apply, in completely good faith, base characteristics to others when considering them as a group, yet simultaneously it seems like few would ever say those characteristics actually apply to themselves.

Mostly just a random thought that occurred when reading your post. It's interesting to consider things like all movies becoming explosions and CG because 'everybody else loves that stuff' even though ticket sales have declined by 30% since 2002 (gross receipts are up thanks to substantial increases in price). Or similarly at the same time everybody focuses on 'hot' science, trust and arguably (and paradoxically) even interest seems to be rapidly declining.
> I don't see any criticizing, just "it doesn't work as well for me," which I think is entirely fair.

I had no problem with his tone. But he's very much making a statement about a technical problem he has with vim, and which isn't well-founded.

> In particular, it seems like 'jimmaswell prefers an editor where you think of blocks of code as "I can see this on the screen" than "up to the end of the current curly brace," which seems like a legitimate difference in mental processing styles, not a consequence of lack of learning.

There is nothing about vim that impedes a visual mental processing style. I constantly look at a place I want to select and then jump there using any number of methods -- the easymotion plugin is ideal for this.

> (Also, I think { and } don't work if you're using Python, whereas "I as a human can understand the structure of this code and identify the beginning and end of functions, which I already do because I'm literally writing code in this language" is portable between languages.)

Again, even vanilla vim performs better here than a mouse. But you should really have custom text objects installed for any language you work in regularly. Here's one for python: https://github.com/bps/vim-textobj-python
So, do they employ spam filters and they can still read messages before they encrypt them if the come from a third source, right?
Are you based outside of the US? It sounds like most of the pre-interviews have been with teams in other countries.
Author here – I can't believe my humble little pet project has made it to the hackernews front page!

I cobbled it together for myself 5 years ago to aggregate my favourite news rss feeds. I'd be amazed if the server holds up! Feel free to ask any questions.
Stndup, reminds you to take a break from the computer once in a while
Dunno why watching one or two episodes of Arrow almost killed me with boredom?
What's your reasoning for that last comment? Why don't you think prod apps should be running on Linode or DO? I have experience with both and really enjoy using DO. Their infra seems solid, so just curious as to why you made that comment.
Takeaways from Serverless Conf NYC 17
Yes the full program for left-truncatable primes happens to be fine (no false positives in its output for any length, as I verified with a different primality test).

The primality test in the post (Fermat's test) is interesting to analyze though. BTW how did you generate your list of false positives? I didn't mention it earlier, but as a shortcut I used the list from https://oeis.org/A001567 (the base-2 pseudoprimes up to 10^12), and found that the function in the post has 2690 of these false positives less than 10^12. I wrote out only the first 10 above (after piping through `factor`). Of these 2690 false positives, these have the 5 largest smallest prime factors:

681719179681: 5743 8527 13921
802204143001: 5981 8971 14951
747734199031: 6791 8731 12611
949631589089: 6917 10193 13469
251994268081: 354961 709921

And indeed the `small_primes` used by the test needs to be extended up to the prime 6917, if we want to get no false positives at least for numbers up to 10^12. And even if we went that far, we'd encounter the next false positive soon after, at 1025414056801 (factors 7561 8101 16741) and then (if we included primes up to 7561) at 1196508858409 (factors 8059 11833 12547). (See https://oeis.org/A083876)

I think compared to the Fermat test used in the post, the Miller-Rabin test is almost as easy to write (only a few lines longer), and it comes with stronger guarantees. Not only is it a test used in the real world (using it with just a few random bases gives a high degree of confidence), but it also comes with guarantees when a deterministic set of primes (like your idea) is used: for example with the first 13 primes (2 to 41), the first false positive is over 3.3 × 10^24 (https://en.wikipedia.org/w/index.php?title=Miller%E2%80%93Ra...). See also https://miller-rabin.appspot.com/
So half of what he says will be completely wrong, possibly intentionally so?
Perhaps you should add an [edit] to your original post seeing as it's nabbed top spot and spawning several threads about lack of cursor support?
Microsoft donated the domain Lumo.com to this entrepreneur, at no cost
Under the section about the rules

> The following terms apply if you access or use the Google Payment APIs in Central America, South America or China: ...

I'm no lawyer but this seems to imply that it at least includes those regions.
Assuming openssh-server, look for "internal-sftp" in sshd_config(5). And of course, also google a bit around that.

It's worth pointing out that this will preclude use of rsync and similar tools that require running a server on the remote machine. I'm not aware of robust alternatives so if anyone else knows one please tell me! (and I consider rsync-restricted shells and similar approaches a hack)
Social interaction endangers knowledge.

Social media just exacerbates the problem further.
You can't search content. This is the main reason i had trouble switching to ProtonMail in 3 years.
Interesting, I'm going have to look into this book. I think the hardest part for me personally when I'm making my "quitting" decision is that my emotional attachment tends to supersede my logical thinking.
https://stripe.com/docs/pay-with-google

Looks like Stripe supports it. The name is a bit different, but this is probably just Google being Google.
But if you're connecting to a site using HTTPS, would it even matter if a middleman changed the DNS response? If they respond with the IP of the wrong server, you'll just get a certificate error.

And if you're not using HTTPS, they don't need to mess with DNS responses; they can serve you any content they want over any URL.
Didn't Google stop scanning Gmail for ads targeting?

https://www.nytimes.com/2017/06/23/technology/gmail-ads.html
Pendantry: IIRC `{` and `}` work on paragraphs (or contiguous blocks of lines up to the next blank line) rather than code blocks by default. I'm sure it's possible to change that, but once you're changing things there's no reason not to add support for Python indents or Ruby style `def`/`end` blocks as well.

Like you I also generally just use searches or `%` most of the time.
The Difference Between the Old and the New Generation
Application Services – 10 common doubts answered
How to continue the test after assertion is failure
Email “catch all option” ..easy infographic about how it works
Build a JavaScript Promise from Scratch
Interesting! I read on Wikipedia somewhere that less than one French person in ten spoke what we know as French at the time of the Revolution. It got me curious about these alternative French languages. Presumably, official policy no longer bends toward suppression?
But they already do it for dates in the content of the pages (there is no API for a web server or JS to get the browser UI locale). Why should form elements be different? Imagine how confusing a web site with a D/M/Y dates and a browser with M/D/Y forms would be.
Big Data Processing at Spotify: The Road to Scio (Part 2)
The real issue with Batman as a lens into this conflict is that Batman only seems controversial. He has bad PR in Gotham, but nothing he does is really bad. Punch an attempted rapist? They might have to send you to jail but no one is booing you. If Arrow has the main character murder and torture, that's a real exploration of hidden darkness. Color me interested.
Thanks for your feedback! Oh, and you are right!! I need to update about us section + to include examples
Oh, wow. This makes me want to switch our work email away from Protonmail...

* If you are not comfortable giving Google unlimited access to all of your intimate communications*

Who would? But this is a sleight-of-hand where we somehow got from "google targets advertisement based on email content" all the way to "everyone working at google reads your email, and they all make fun of what you did last night".

By those standards, Google also reads everything on protonmail. At least if you use Chrome.

Besides, there are other factors than just encryption standards that impact security. The largest of all is the organisation you're trusting.

Google is obviously far ahead in terms of expertise and resources. They also have far more to lose, are probably better set up to protect against rogue insiders, and are impossible to compromise with money. OTOH, they're subject to FISA courts and whatnot.
That was a fork someone took when I had my first version briefly on github, I took it down a long time ago. I believe I left some creds in :(
There's a market for performance shame in the blogosphere. We love to read about why we're not accomplishing enough and if we just neglected our need for rest (outside of sleep) we could achieve so much more than the person next to us. We often don't actually do it, but we somehow like being told how bad we are for not doing so.
Add to that by example sublime text Ctrl shift up to move the selection up one line. Really hope other editors would just take sublime key mappings
I see, I thought he had problem with counting line numbers to delete :)
Making Products User-Friendly
I'm curious about Japanese support which I think goes beyond locale.

Japanese often uses 24 hour times like 18:00 vs 6:00pm and while I see you can specify valid times in that format I didn't see how to get it to display 18:00 instead of 6:00pm.

In the forms on this page

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/in...

When I typed 20:00 it assumed that first 2 meant 2am and then jumped to the minutes section as soon as I typed 2. Note: My system settings are set to use 24 hour time.

Worse, Japanese times are often in terms of the night before. So for example if you look at movie times a movie playing at 1:00am Saturday morning is listed as 25:00 Friday night.

I wonder if input type=time is probably going to cause more trouble than it's worth
Top Secret White Hat Hacker Interview and Tour
It's so cute that they think that the NSA can't read PGP-encrypted messages.
Locomotive does look interesting but I can't seeing it expanding much beyond a niche market. The use of MongoDB is certainly one reason. Also it seems to hit a bitter spot: a bit too complex for a non technical person but doesn't really give much power to a dev/
Termux works on stock chromebooks _without_ switching to developer mode.
This a lovely surprise to me, I had nothing to do with the submission
Oddly enough, we've done both to the best of our ability, but something seems to get lost in written comms.
Only if the attacker controls the command line or the environment.

Suppose you have a shell script which does something like "blah ... | gunzip > somewhere", where input to the "gunzip" step is under control of the attacker. Requiring a command line flag, or even an environment variable, would be enough to avoid exposing the code in question to the attacker-controlled input.

Usually, it would be too late to add a new command line flag, since people might have scripts which depend on being able to unpack files without passing that flag. In this case however, since it was broken for years and nobody else complained, it's very probable that nobody actually depends on this feature working, so requiring a new command line flag or even removing the feature would not cause many problems.
Beyond code golf, I believe pack is still used on many platforms for creating .a archives of .o object files.
"Captain, it looks like we have reached a MySpace singularity!"
siisussjsk might've been referring to doing a quick check to see if vim supports mouse as an interface… which it does.
Does 'millions of users' mean active users? Like those who login everyday?
Available Government-Supported Resources for Entrepreneurs to Grow
A Simple Introduction to Styled-Components – Modular CSS and Reactjs
Hand surgery without anesthesia? Wow.
I'd forgotten that I get this feature from a plugin:

https://github.com/michaeljsmith/vim-indent-object
> No clarity at all. You can't just hand wave and say 8601! 8601!

No, but you can hand wave and say "as specified in the [HTML5] spec", with a link to the spec, and have the spec cover the details.

But really the answer is: ISO 8601 specifies standard formats for both datetimes (what you are referring to), and plain dates (YYYY-MM-DD). When an article says that a date is converted to ISO 8601 format, isn't it obvious that it means ISO 8601 date format, not ISO 8601 datetime format?

(Additionally, the spec doesn't say "8601 format", it specifies the format, and notes that it is "based on" 8601 format).
Correct, it's my personal news feed (I moved from London to Brighon). Amazed it's submitted to HN.

It is single column on tablet and down ;)
Had the same idea when I read the comment. However, training your ML models in the browser is probably not the best thing you could do. Granted, it could potentially offer a more personalized service.
Apparently, the Navy SEAL's have a similar philosophy during BUD/S, and particularly during Hell Week where they go five days of gruelling physical challenges with a total of about 3-4 hours sleep.
Are there car-producing countries that don't have import tariffs?
I have to mention the Direct Project. This is secure email that is in use today by a vast number of healthcare professionals.

https://www.healthit.gov/providers-professionals/faqs/what-d...

It uses trust bundles that hold the public key. Identity is vetted so there is no spam and it helps guarantee you are communicating with the right person.

https://www.directmdemail.com/info/how-it-works/Direct-excha...

edit: I would also like to add that the direct trust model is starting to get used for things outside of email.
Does anyone know how they reconcile "zero-knowledge" and allowing people to log in? Do they encrypt your private key with a KDF of your password or something?
How to Write Better PowerShell Scripts
Gatekeeping is the reason we wind up with Harvey Weinsteins and Donald Trumps. People working for the civil government have pretty cushy jobs, it's not too demanding to ask that they make it so non-connected people can achieve the same outcomes as connected people.

China is China and they can do what they want, but I expect better out of the west.
Tog (probably in “Tog on interface”) claims people overestimate the cognitive overhead of the mouse because it is so simple to use, and cites research showing it (including such examples as having to move the mouse over a large screen and back to access a menu item, compared to a keyboard command)

Using the mouse, he claims, is so boring that your mind has time to spend on other things, and that gets perceived as wasting time, while the keyboard continually requires one’s attention, making using the keyboard seem instantaneous

I think that’s why your advice to use repeated j instead of lower keystroke count alternatives is good.

And yes, his research is old (early 1980s) but it wouldn’t surprise me if it held even with die hard vim or meads users. Those keys you press may be close by, but you have to choose between tens of commands every time you issue an editing command.
Do you also use something like bde instead of diw, and ?(ld/)<CR> instead of dib? And if the answer is no, how is dip not in your vocabulary after 10 years?
Learning to optimize with rl
A very interesting model. It aligns with that general principle of biology that dictates biological systems should do as little work as necessary. The robustness to cell death exhibited in figure B near the end is reminiscent of our own brain's robustness.
AWS is not really SaaS or PaaS although they do offer some of those (eg. Elastic Transcoder, Elastic Beanstalk), they aren't best of breed. Rather, AWS is IaaS, and hence it has to remain extremely broad, flexible and scalable. The first thing to understand is AWS is defined by its APIs, the console is a sprinkle of convenience, but understand that it is intentionally a second-class citizen.

As far as multiple accounts are concerned, this is a tradeoff you make for isolation and security. Knowing that fat fingering a staging change can not possibly impact production because the credential used in that case is literally for a different account is very comforting when you're running devops in an environment managed by multiple people.

While a lot of the stuff Amazon gives you may seem complicated, or overkill, if it's something you need it tends to be quite a bit simpler than the off-the-shelf alternative (see: VPC versus private networking).
I make the case for all of them. I'm convinced that natural language is humanity's bottleneck and should be replaced if we want progress.

I'm actively working on a new communication paradigm that I hope will make natural languages obsolete.
Meta learning
You can use the (beta) ProtonMail bridge to sync your emails into Thunderbird and search there.
Well of course in Stevenson's time many more readers would have reached the same understanding of the text, because the Christian faith acknowledges just that: we all have a “sin nature“ (Mr Hyde) in us, tempted towards selfish and evil behaviour, at least sometimes longing to act out without consequences. Unfortunately so many Christian teachers have failed to pass on the rest of the message - that this does not make any one of us more inherently “evil“ than any other, and that there is a clear and effective path to liberation from these desires - that the faith itself is just as universally musunderstood as this marvellous book.
> Most of what makes me slow at work is trying to understand technical problems

That's me too. I spend a lot of time each day reading and that's a lot of scrolling with my mouse and ctrl-clicking on works to jump to definitions or declarations. Text editing speed is definitely not a bottleneck for me.
So by paying a 25% tariff, developing in china outside "free-trade" zones none of tesla technical manufacturing/design knowledge will be leaked to the government and knockoff competitors?

Good luck w/that.

One can only assume tesla expects some level of compromised proprietary secrets. Calculated risk on some level. Maye they see this as speeding up the inevitable.

Apparently they figure this risk is outweighed by the benefit of employing a manufacturing powerhouse which surpasses their US productions.
> First things first: I'm talking about the date picker

But then why are you complaining about the timezone ? A datepicker doesn't need a timezone.

Or are you under the impression that ISO 8601 requires a Time component?

In case you are, you are mistaken: ISO 8601 requires no Time. "2017-10-23" is perfectly valid according to ISO 8601 and it's also precisely what is submitted by the browser.

I don't really understand your comment about the specific allowed time format. It's obvious that every application will have different validation-
requirements, that doesn't negate the usefulness of having a dedicated time input. Especially on mobile, getting a simple native time input widget seems like an advantage for many cases. If it doesn't work for your use-case then just don't use it. It exists to support, and if you already have a solution that is better, that's good, no?

EDIT-start I wrote this next part not realizing that the UI for the timepicker is not enabled in this version of Firefox, please ignore.

But just for completeness sake, you can let users enter increments of [00, 15, 30, 45] like this:

<input type="time" name="time" step="900" />

The value 900 comes from 15 times 60 seconds.

EDIT-end

As for your comment about my mention of javascript, I think you overread that I wasn't advocating "mucking around" I was merely pointing out the context of a serverless javascript application.
Just another suggestion. sometimes visual mode is overwhelming, or you don't want to be in it while your search for the end of the selection without being sure where it is.
Another thing is if you start with line visual mode (V), and then you end up not wanting line selection the markers help you out -- it's a finer-grained set of commands that's a bit more flexible and a bit less efficient.
We call ours the "hub" account, since we picture the relationships between our accounts as a hub-and-spoke model.

"Root account" is also a bit misleading, because the root user is the initial non-IAM login associated with the account (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user...).
What I found really infuriating about his novel about Jobs was he would quote Jobs saying something true, something that anyone who knows the history or Apple or technology of the time knows is true, and then refer to unnamed other sources who claimed that this was a lie, and then assert that it's an example of Jobs lying.

What a hatchet job.

Worst mistake Jobs ever made was trusting that guy.
Search doesn't really need ML to be effective