skysight-inc/HackerNews huggingface dataset:
> I don't believe this is completely true. How does an economic disparity happen?

Colonialism, originally, then maintained due to the geopolitical interests of the wealthier power.

I mean, sure "material factors or cultural, ideological, or philosophical factors" play a part in there somewhere. But the main cultural factor is that New Spain was set up as a colony of extraction for the Spanish empire, with the majority of the population as "conquered" indigenous people. The U.S. was a colony of settlement, populated by mostly Englishmen who were by far the first to obtain any sort of citizenship rights in the U.S. This gave rise to dramatically different political and legal institutions, that after independence gave quite a leg up to the U.S. vis a vis Mexico. The U.S. leveraged that leg up to: annex one third of the Mexican territory (including some of its currently richer areas, like California), intervene in Mexican politics (see. Monroe Doctrine, and Cold-War Era support for single party rule).

Sure, the crony politicians and cartels are Mexican, but the U.S. also had clientelism and Mafia just about a hundred years ago, and is not like the cartels' weapons and the government logistic support doesn't come from up north (not to mention the market for drugs...). What the U.S. didn't have to go through, in the same period: Conquest (unless you are Native American), Encomienda/Exploitation (unless you are African American), Dictatorship, Two foreign interventions, 70 years of single party rule...
> Thinking is already computation. Computational is redundant.

I don't think this is obviously true. At least superficially it isn't: the human brain doesn't work like a formal system, as far as we know. Most definitions of computational thinking I've read do not equate it to thinking.
Lol you just directly quoted him painting every Mexican as a bad person. "and some, I assume, are good people" was said in jest and he doesn't actually mean it. He means all Mexicans coming here are bad for the USA.

Banning an entire religion is bigoted, racist, totally idiotic, call it whatever you like.

You can keep trying with the mental gymnastics to justify what he says, but thankfully the majority of Americans see through it. I'm enjoying the current implosion and fallout of his campaign as each day goes by and am wondering just how bad he is going to lose.
Type annotations and mypy are a great idea, sure. But IMO the low hanging fruit is from static analysis tools like pyflakes, prospector, bandit. Most projects don't even capitalize on these and your time is better spent remediating the findings from these and/or carving out the exceptions where necessary.
B-players know an A-player when they see them, they don't hire them because they feel threatened.
"Powered by G-WAN" but that is down.

Based what the interview goes, Google might be on the "down" path too.
Definitely possible, that's why I said "a bit"
The 'poor souls' were given a house to live in near the signal tower. There were just under three hundred of these beacons; lots of them ran off of grid power.
almost all
The article does not claim this replaced the Pony Express. It mentions the Pony Express to highlight the fact that a mere 60 years separated mail-on-horseback and mail-on-airplane.
Our experience at Flynn is that there are a few common scenarios:

- Small and side projects run well without supervision.

- Existing ops teams can manage Flynn without much additional effort.

- Medium sized teams that don't want an internal ops team pay us for Managed Flynn where we take over all ops-related responsibilities.
> I run it on a 4 year old mid-range laptop with 4 GB of RAM, Intel HD Graphics 4000, and as long as my system isn't under heavy load, it's buttery smooth, even with many of the bells and whistles enabled.

It is a desktop environment, not a 3D game. It should ALWAYS be buttery smooth. You can run a desktop environment on a 20 year old machine.
The idea of using neural networks to do what humans can already write code to do seems a bit wrong-headed. Why would you take a system that's human-readable, fast, and easy to edit, and make it slow, opaque, and very hard to edit? The big wins for ml have all been things that people couldn't write code to do, like image recognition.
A 1 hour server certificate might work if all clients had the proper time set and all libraries were comparing the notAfter to the UTC current time.

Sadly, lots of phones and computers have incorrect time settings, off by one hour to work around incorrect DST settings is pretty common, off by several days isn't super rare either.

I have run into some SSL client libraries that check notBefore against the current time, in the current timezone, and therefore those in the western hemisphere would fail to work for several hours after a certificate was issued. I imagine they're using the same for notAfter, so those in the eastern hemisphere would stop working early.

My rule of thumb is a certificate that is less than 30 days old or has less than 30 days of validity left is going to cause problems for a subset of your users, and shouldn't be used unless you have a good reason (old certificate compromised would be a good reason).
This.

I passed several rounds of interviews at Google over a number of years (phone screening, phone interview, on-site). This is definitely a phone screening, where the recruiter expects "standard" answers to "standard" questions. Remember that interviews are somewhat of a game. Trying to be smart at this stage is the wrong move.
The Google interview process is a disaster.

Incompetent HR is apparently the norm. When I finally got to my ( 8th? ) interview there, I was asked by a very senior manager whether or not I had ever used Github before.

Considering Google cold contacted me based on the specific email address and projects I make available on my Github profile, it was kinda was confusing. Ohh yeah, he also asked me what CSS stood for.

I ended up stopping the interview early myself.
I still think the way Common Lisp handled typing was very convenient: Typing was basically dynamic, but one could use static typing in specific places, and one could even tell the compiler if this was for speed or for safety.

I like the idea of a hybrid type system where statically typed and dynamically typed parts coexist, OTOH, I can imagine it being difficult to implement.
Ask HN: What platform/tools do you use for Math and Sciences Blogging?
I am on macOS Sierra...
China leads the world in the adoption of virtual reality
If I ran Google, I would just send unsolicited offers for a three-month trial contract to people who fit the profile of a talented software engineer with a friendly personality and who recently started searching for jobs. Yes, I know, "that's why you don't run Google," but I don't think it's that crazy. For example, I may or may not be a good fit, but even if I am, the chances are slim that I'll ever have the confidence to apply.
Tangerine? Bron-yr-Aur Stomp? Stairway? They had Sandy "Fairport Convention" Denny as a guest singer.

Led Zep are absolutely in the English folk tradition – distinct but related to the American scene – as well as the blues one.
It's fair to discuss in the abstract, but seriously, in the OP the interview that failed him didn't fail him for an ordinary site maintenance position because he wasn't capable, it was because the recruiter was incompetent.

Of course, a sample of one (anecdota) which is most likely the min of the distribution is always the worst way to judge a distribution, but this is still upsetting.
That removes all caches for OCSP. That seems a little heavy handed IMHO.

but if it works.
Ask HN: How many times did you interview with Google/FB?
Did you get any offer? If yes, after how many interviews?

I want to get a sense of how many times they will try to hire you before they give up and stop responding to your job application.
Off-topic pet peeve but why is "OK" now apparently spelled "okay" these days? (especially in bandwidth-limited situations such as SMS or IM). OK is not short for "Okay", OK?
Pretty State Machine Patterns in Rust
I saw him once in 2009. Indeed maybe the best show I've ever seen. Part of it was due to the fact that I sort of knew I would never get to see him again, and part of it because it was a truly great performance.
Yep, the Flynn team helped us out via IRC and were fantastic. Especially as we were still working on getting pre-1.0 running, it was great to work with an engineer directly through the bumps. Obviously they do offer paid support as well, which is great for recurring issues and operational assistance.

We do have a dedicated engineer managing / monitoring our infrastructure. It's not a set-it-and-forget-it kind of thing, so if you don't have somebody to manage your infrastructure, the hosted version might be a better choice.

The big cost savings win was for all of our /other/ engineers who now don't need to know anything about ops to get their apps running. Previously with Chef, everybody was responsible for writing recipes and setting up environments, but now we have a standard set of buildpacks that work with our apps, and when we need to transfer an app to a client (as we're a dev agency), we can set it up on Heroku and it should "just work".
I've used Linux for a very long time. Started with Slackware on floppies. Used Red Hat and derivatives for a long time, including at some large companies.

Nowadays I'm mostly with small, early stage companies in the Silicon Valley. From what I've seen in this environment, the OS of choice in production (cloud instances) is almost overwhelmingly Ubuntu.
"The goal of a fingerprint hash is to convert an input space of "large" values to an output space where the output space values are much shorter- typically fixed size and two similar input values have effectively random outputs"

But this is also the goal of non-crypto hash function like those used in a data structure no? Basically mapping a large space of inputs to a smaller space of outputs.

I would say the cryptographic hash is one the that has "desirable" security properties, things like not being able to recover the original input message using the hash, a tiny change in the input causes a substantial change in the output, or that its very unlikely that two inputs will produce a collision.
https://en.wikipedia.org/wiki/Skiffle#Revival_in_the_United_...

https://en.wikipedia.org/wiki/The_Quarrymen
Science group seeks to guide Silicon Valley philanthropists
Two things cause political discussions to be intractable.

1. Propaganda works really really well. Repetiton of propaganda, being a form of intellectual violence, will get people to believe almost anything. Thus, people who control the channels of repetitive messages delivered to the masses control what people believe.

2. The truth is out there, but due to the Dunning-Kruger effect, people who know the least think they know the most and they focus their energy on the most trivial issues due to bikeshedding. Thus, unless carefully vetted, discussion participants will overwhelmingly be people conditioned by repetition, think they're experts and be drawn to triviality.

In order to side step the nut house, just let people believe whatever they want to believe and charge big bucks for delivering messages, especially repetitivly, that do not easily fit in to the ruts in their cognitive road. That's because each time this is done, a small amount of cognitive violence is occurring to your viewers. Most people aren't intellectual masochists so it will drive them away eventually if done too much.
Dash developer speaks: Here's his full story
As someone who's been using flynn in production for a month or two, some things to be aware of.
(Devops is not one of my strongpoints, so keep that in mind)

You want to use an external blob-store, by default it uses its own postgres to store them. However, it also doesn't do any garbage collection, so we ran out of HD space on our cluster, causing postgres to go into read-only mode. This prevented us from pushing updates / changing any app-config settings ( ENV, Scaling, etc ). Thankfully we were hosting our own DB off-cluster or that too would have been read only.

The default limits on memory is 1gb, and for our app, when it runs out, it just crashes. Leaving no obvious error messages to be found.

Obviously RTFM as well, (especially this part https://flynn.io/docs/production) we had some other issues that could have easily been prevented.

Huge shout-out to the team that hangs out in their IRC channel, they were a massive help in solving the problems we've came across.

Using it when it works is lovely, we switched off of heroku recently and its been a very similar experience.
The Cheapest Cities to Base Your Tech Startup
Can't believe this hasn't been mentioned yet, so I'm gonna throw it out there. Gary Bernhardt of Destroy All Software.

Access to the videos costs $29/month but is well worth it IMO. He covers a very wide range of topics from beginner to advanced. To sum things up in a few words -- his content is focused on a general understanding of computer science and puts concepts, abstractions, and methodologies before any specific program, tool, or programming language.

https://www.destroyallsoftware.com/screencasts/catalog

Look at the episode titles for a better idea of what I'm getting at, there's literally something for everyone.

He's also started streaming on twitch occasionally.

https://www.twitch.tv/gary_bernhardt/videos/all
How did you "avoid" sample bias? How many of the passwords come from databases that were dumped in cleartext or cracked with 100% success? Meaning every account on that system was included in cleartext or 100% of the passwords from a dump were cracked.

The reason I ask is that the dataset you analyzed does not make this claim:

"Now not all of these passwords are plaintext. Many dumps include passwords in a hashed format that requires you to crack them yourself." https://xato.net/a-glimpse-into-the-world-of-internet-passwo...
This goes against everything that I learned about Python. Python does not check types by default and many functions and classes take advantage of this fact. Therefore, in a typical code base, you have some functions where you want to check types and some functions where you don't. Of course, you can now start putting in the checking code inside the functions that need it, but this is not good practice as there isn't a clear separation of concerns. I think tests and code should be kept separate and this kind of checking code should go inside unit tests, where it rightly belongs. You can always describe the intended behavior of the function in a docstring for people reading your codebase. But this docstring should not have other unintended behavior, like type checking. It simply isn't very Pythonic.
I love his videos too, though the fact that he quit working as a developer and got a job as a bus driver makes me worry that our industry is driving away thoughtful, creative craftspeople like him.

It could be that his situation is unique to him, and doesn't generalize at all. But it also seems plausible that the trend toward practices like sprints, stories, and open plan offices that aren't conducive to the kind of deep work that people like Bisqwit do.

It's also entirely possible that the churn and burn approach to development is what is most profitable in most situations, and that deep workers might find themselves relegated to certain niches.

None of that is meant as a knock on agile development, or any other development practices, of course. But I think it's worth stopping to think about what we give up when we dive headlong into the Agile, open office type of workflow. It would be interesting of more teams had the courage to try practices that are definitely not waterfall, but also not Scrum (which is what most shops that call themselves Agile are practicing). Something that values relatively short iterations, but also values the kinds of creativity and deep work that can't easily be broken up into sprints and stories.
>In C, what stat does is how you return multiple values from a function.

IIRC, you can return structs from functions in C. You have to access the values in the returned struct with dot notation, of course, like point.x .

Pre-ANSI C may not have had this, but later, it did. Remember reading it in the 2nd (ANSI) edition of the Kernighan & Ritchie C book, and also used it myself in some programs.

https://www.google.co.in/?q=can+you+return+a+structure+in+c

Edit:

Might want to consider the cost of copying, depending on the perf requirements, size of the struct, whether the function call is in a tight loop, etc.
I think a lot of us feel your same pain.

Has anyone had success with sticking to Dokku for small side projects on DigitalOcean/Linode/etc?
I'd hope it's not too typical, since four out of the ten official answers are wrong, and even one of the questions manages to be wrong. (Specifically, the "why is quicksort the best?" is just completely ridiculous.)

It's one thing to blindly apply a simple questionnaire without thinking about the answers that come back, and yet another thing to do it with a questionnaire that's doesn't even get stuff right.
Are they available on YouTube?
Original author here; I'm happy to answer any questions about the mypy experience!
I was preparing for interviews and came across Tushar Roy's channel:

https://www.youtube.com/channel/UCZLJf_R2sWyUtXSKiKlyvAw

I really like the way he provides most simplistic explanations to the algorithm problems. Really helpful if you are preparing for an interview.

If you like physics and want some really good explanations to simple questions, you can check Derek Mueller's channel(Veritasium) on youtube. He is a physicist and has some really good videos. I especially like his video on " Most radioactive places on earth" and a separate video on Chernobyl. Also, check his video on Uranium : Twisting the dragon's tail : https://www.youtube.com/watch?v=cO57Zm-WNmg
I explicitly mention exactly this in my comment, and provide an example of where it breaks down. The point, which I also heavily noted in the post, is that it's a litmus test. If a language can't pass the iterate-over-code-points bar, do you really think it would give you access to characters or glyphs?
With fundamental core values getting different priority, anything that is a well-reasoned argument to one side is nonsense to the other side.
It's neat to see niche derivatives of mass market products.
Am I right in thinking that it's easier to become a Googler by starting a company that gets acquired than by submitting to such a broken interview process?

No, not at all. At least it used to be so that when Google acquired a company, they ran all your engineers through their interview process, and if more than half didn't make it, they stopped the acquisition and the deal was off.

The justin.tv/Twitch people blogged about how this effectively made them a billion by stopping an early acquisition until they were worth much more.

(Or at least that is what I remember reading - I can't find the article right now, so maybe it wasn't Twitch)
I am extremely excited about this. I already verify parts of my applications, but better support (especially in libraries) will make this that much more useful. It's an essential part of the checking pipeline (with pyflakes, pep8, McCabe, etc).
Not so much programming techniques or best-practices, but I've really enjoyed watching Computer Science and Math-related lectures on MIT Opencourseware's channel. I highly recommend that one.

If you're trying to re-learn math (and probably going the Khan Academy route) then I highly recommend checking out PatrickJMT's channel. He produces simple, but excellent mathematical videos in a style similar to tutoring (which is how he started doing the videos in the first place). I actually find his style to be much more engaging than Khan (nothing against Khan of course).
Hosting .NET Core Services on Service Fabric
How to Prevent SMS 2FA Account Takeover
> You want to use an external blob-store, by default it uses its own postgres to store them. However, it also doesn't do any garbage collection

The lack of garbage collection by default will be fixed in next week's stable release, we're really sorry that it caused you pain!

> The default limits on memory is 1gb, and for our app, when it runs out, it just crashes. Leaving no obvious error messages to be found.

Indeed, we're working on documenting this and exposing out-of-memory events in the app logs so that this is obvious.
We've banned this account for repeatedly violating the guidelines—several times in this comment alone—after we've asked you to stop. We detached this subthread from https://news.ycombinator.com/item?id=12696915 and marked it off-topic.
I don't see that, personally. But, to each their own.

It's not surprising that you and others people do, though. In the US, there are a lot of politicians who seem 'psycho/sociopathic' to many people. And, there are lots of CEOs like that, too. But, it doesn't prevent those people from leading or being effective.
I didn't even know that this was what was going on until I saw this on HN and I've been experiencing it all day today.
> heavily invested in Jenkins + Bash and will probably use Jenkins pipeline (Groovy) in the future ... would prefer a scripting language over YAML

Do you really want to switch to Apache Groovy? Bash is pretty standard for scripting *nix whereas noone knows what the standard is for scripting the JVM?
Is express still limited to 10gb databases?
I don't believe so. The author self distributes them through his website. Access to all of the videos for a flat monthly fee.
aaaand website is offline 100%
If I've got the right method[1], that appears to have been added in ES6. I'm still getting up to speed there. Not supported on IE, of course.

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
I think it's an experiment. A lot of people actually use facebook as their sole source of news... Especially the younger generation. This is quite scary because Facebook's algorithms are actually acting as a filter on top of already existing media filters. Before you know it the chain will be so deep it will be hard to know where anything came from.

Another problem is similar to the reddit problem. Both the AI and your customization can create an atmosphere where you literally get served only opinions you want to hear. I actually think a more random algorithm would be more beneficial than what's trending.
I've been wanting to switch all our certificates to Let's Encrypt for almost one year. But, there was always something else which needed my attention more urgently.

So, I guess, thank you Global Sign for forcing me to finally make the switch!
Oh wow! I had the very same idea a few weeks back! Your demos don't seem to be working for me though -- they start for a few seconds and then just stop.
(Very) embedded developer speaking here. What's this L1 cache you speak of?
Looks like this is great project.

We are using powerful dedicated server to host multiple sites/apps like the way shared hosting providers do. Maintenance and upgrade is so painful, I am trying to move to something else.

I looked into Docker but seems things are still not stable. Another approach I am looking into is KVM virtualization.

Aactually, all I want is something like Heroku (but self hosted or German providers cause our clients are German and that's important) where we can host each app on it's own container.

So far, this meets all the requirements.
Thanks! Yes remote teams are definitely one of our target customers
I think that was more because of the site, not the certificate - the grey failure page would appear for sites that use HSTS[0]. If the site didn't use HSTS or if you visited it for the first time, you'd get an ordinary certificate error alert.

[0] https://en.wikipedia.org/wiki/HSTS
I'd accept that, too. I'm not familiar w/ Swift, so it wasn't in the list above. (But I do think the default should not be code units, or programmers will use it incorrectly out of ignorance. Forcing them to choose prevents that, hence, I'll allow it)
Getting Started with Apache Flink on MapR Converged Data Platform