skysight-inc/HackerNews huggingface dataset:
I find it interesting he mentions Emojis as I actually just recently wrote a deterministic password generator that uses the Emoji annotations (for word selection) for generating deterministic passwords from a master password: https://github.com/agentgt/ezpwdgen

Of course you could use the EFF word database but after trial and error I actually like the Emoji annotations [1] better (I obviously remove short words and non ascii stuff).

I plan on having the script show the words along with the corresponding emoji (iterm supports emojis) to help remember. The idea being not to copy and paste (I need practice on remembering stuff anyway... the joy of getting older).

[1]: http://unicode.org/emoji/charts/emoji-annotations.html
The risk of your gear being stolen from your bag is likely higher.
Seneca vs. Hemera
But Dictionary<TKey,TValue> isn't thread-safe anyway, unless not modified.
Won't have to learn GoLang or Elxir. Crystal on Rails!
> podiatrists

Podiatrists are doctors, they just have their own medical schools AKA podiatry school - https://en.wikipedia.org/wiki/Podiatric_medical_school

Podiatrists are sometimes ridiculed for not being real doctors like dermatologists. However, to diabetics they are life savers.
could I just separate my hard drive from my laptop? could they confiscate one or the other? could they put them together?
I found out that my 3-year-old Moto G (1st gen) that has got a gradually weakened battery suddenly regained its long lasting charge when I performed spring cleaning on the system apps by disabling them. Disabling in this context means that you cannot uninstall a system app but for some reason you are allowed to uninstall all subsequent updates and disable the app from running.

I did that for most every system app that I know I don't use and suddenly my phone is able to go 5-6 days without a charge instead of the ~48 hours before my spring cleaning.

It's sad that I can't really have both.
Consistency Trumps Intensity
I'm not so sure they are separate skills. It's possible to write functions that are easy to test and functions that are hard to test.

I find that the two tasks of writing functions and tests for those functions are closely intertwined. I like for developers to write their own unit tests, and then for Q/A to develop the functional/integration tests from the perspective of the client (machine or human).

It's very difficult to come in after the fact and write unit tests for someone else's code, especially if they weren't thinking about writing testable code.
Just looked at the kth largest algorithm and author claims max heap method is k log n ! His method is actually n log n. The min heap is n log k and the right way to do it.
A lot of people use the Firebase Queue library for this:

https://github.com/firebase/firebase-queue
> My bill for removing my wisdom teeth came to nearly $12K

Seriously? You could fly to Thailand or central Europe and get your dental work performed there for a fraction of the price. You could probably fly business class, stay at a swanky hotel, and absorb the loss of two weeks work and still come out ahead. I'm serious. Dental tourism is a thing.

I was an accidental dental tourist a few years ago while travelling around Europe. I had just arrived in Budapest, Hungary when a tooth I knew required root canal suddenly started hurting intensely. Wife found a local dentist, booked me in, the procedure was done over a couple of sessions and the total cost came in well under $1k AUD.

(Your bill seems excessive even by affluent Australian standards. I had four wisdom teeth removed – one of them impacted, requiring a dental surgeon – and the total cost was under $3k AUD at my local dentist. I bet it only "cost" $12k because it was covered by insurance rather than priced by the free market.)
Serverless Workflows on AWS: From SWF to Step Functions
Sorry about that and the late response.

I was asked to balance a binary tree on a whiteboard!

I walked out of there instantly, but generally all the interviews I went to had very similar questions.
I was a sole proprietor once for a few years. I made a bit of money, but it wasn't leisurely, not at all.
> Preventative dental work is dirt cheap and corrective dental work is relatively rare, and costs rarely spiral out of control. That sounds like a much better deal to me, as an insurer, than insuring any other body part.

When costs are easily predictable, that's actually a terrible case for an insurance model. Insurance is about smoothing risk, not making things cheaper. In fact, for services that are relatively cheap and predictable, insuring against those events will always be more expensive than paying for them out of pocket, because of the additional overhead.

Financially, the expected value of insurance is negative (the sum of all expected payouts is less than the sum of all future premiums). The reason it's valuable is because it reduces the variance in the month-to-month payments, which is a useful product for some people.
Didn't Iran come off the US embargo list a few months back, with a bunch of media fanfare at the time?
This is only the battery capacity of 1000 cars.

That about 15% of tesla's car production over that time period.

I bet they have sufficient supply chain slack to accommodate that if they need to.
Thanks for the computation - looks a bit more sane, but still - seems pretty expensive compared to a cheap VPS for the one-man-show scale, and quite expensive for 'we need 100s of those' compared with standalone server.
You can disable them if you block the URL they fetch adverts from and if you modify the XML that sets up the GUI, and make it read only.
I'm inclined to agree, but having played Doom 2016, its clear the creative and technical mindshare is still intact. Especially since the other ZeniMax companies are (more than likely) going to use that same technology.
https://firebase.google.com/support/contact/troubleshooting/
In Greek the equivalent to "dentist" is "odontiatros" which translates exactly as "tooth doctor". So for me a dentist not regarded as doctor sounds extremely weird.
> It's not an illusion, 1q2w3e4r5t is indeed better than aaaaaaaaa, even if it's just the numbers interleaved with qwerty (and probably easy to brute force generate up to it).

In this case, we're talking 'better' but still bullshit [1]. Calling it 'better' makes no meaningful distinction whatsoever in practice.

[1] https://dl.dropboxusercontent.com/u/209/zxcvbn/test/index.ht...
No doubt Indie Hacker is great source learn directly from others' experience.

But I was looking something which covers more about fundamentals and used case. Like why to startup/ when to start/ who should be in your team etc. https://justinjackson.ca/ definitely looks like something which I am looking for.
Why not take up a better challenge...solving Pakistan's power woes in 1 year :-D
Are you calling XP a snowflake? One of the most popular releases of Windows? There's nothing wrong with enterprises saying they wanted to stay on a version of Windows, just like there's nothing wrong with Microsoft saying they no longer want to support it, but that hardly makes XP a snowflake. Microsoft can certainly try to flip pricing to earn a profit, but they have to understand that it comes at the risk of alienating users.
My channel is good?
Yes, I know how it works and that its not literally boosting the existing signal but that's what the chap in the Vodafone shop called it and it does rather make things easier to explain to people who aren't bothered by technical trivia.
I keep finishing things. I do MVPs, but they are so simple that noone really cares, and after all the effort I put into them. motivation is gone. So while I'd completely agree with this, every day that goes by I disagree more.
I was thinking they were on their way to making a Photoshop for audio until I heard the before and after samples
Thanks for the inspiration. I just thought I'd say that your game is adorable.

I just recently released a tiny game as well (http://declanhopkins.com/asteroid-quest/), but it was only put on my website and I made it in a month. Regardless, it felt really good to get a game out after years of trying. I'm working on a new version of it now.
> If anything it will be more expensive because of the added bureaucracy and separation of who pays from who benefits.

Yes, real insurance (like car insurance or renter's insurance) will always have an expected value that is negative - the expected sum of all future payouts must be less than the sum of all future premiums paid. So insuring against completely predictable events is never worth it unless someone else pays for it, and even then it's less efficient than if they gave you the extra money directly.

Not all dental and vision benefits are completely predictable and routine, but the overwhelming majority of covered benefits are, unlike health insurance (which isn't really "insurance", despite the fact that we use the term).
I plan to KISS it as much as possible. The goal is to learn the basics. Maybe after that do more cool stuff in some HDL. Maybe even buy a FPGA :)

I am a further into the development of the CPU then I show in the blog, as such I do have ISA already, but it's constantly changing. The control bus though, is final I think.

https://i.imgur.com/1Sh1cSh.png
On HN
This!

I visited SF for the first time in December and at first I didn't realize why people were complaining about the cold when it was rather nice weather outside (I'm from 60 degrees north) and the weather was in the 60-70 Farenheit range (20 celsius) which I consider to be nice and temperate climate.

But after a week it hit me. It's cold as hell indoors! I have warmer in my house now than I had in my hotel room or office and it's snow and ice outside.
Working with text data in Magento 2: a machine learning tutorial
Excellent advice, 100% agree
Quantum computing is beginning to come into its own
Yes, I'm mostly joking. But sadly enough, rather darkly :(

And I misspoke in saying "WWIII". What I meant was a nuclear exchange between the US, Russia and their allies. That's almost happened more times than most people realize. The Cuban Missile Crisis did pretty much happen in public. What would that have looked like on Twitter?
Quantum networks could underpin unhackable communications links
This is really cool. Sorry I don't have anything more substantive to add but space related news like this is uplifting on so many levels.
> $25 million for parts... I suspect global shipping and installation isn't cheap.

Shipping via ocean freight (I will avoid the obvious pun) is exceptionally cheap; for example consider the following article from 2016:

> https://www.flexport.com/blog/why-are-ocean-freight-rates-so...
> But the ArubaCloud prices are excluding VAT, it says. Does that mean they will bill me, who lives in Norway, slightly more than 1 EUR per month?

Yes, I pay 1.21€ because general VAT is 21% in Spain. In any case it is almost inexpensive and so far the service is good. Virtualization is through VMware, you can script daily images, etc.
Cue bits: Why all eyes are on quantum computers
Uber Deal Giving Drivers $1 Each Sparks Feud Among Rival Lawyers
IIRC I saw an answer (from someone who seemed to know) last hear explaining that this was mostly about simplifying integration with code where this is common.

Still I agree with you and fear that this will result in developers using out parameters other places because - "why not?".
Math with distances in Rust: safety and correctness across units
Quick question: Is the New York of sitcoms supposed to present "good housing"? The two most famous New York sitcoms that come to mind (namely Seinfeld and Friends) present rather small and basic apartments, people using in-building shared washers and driers, doesn't look any better than the ridiculously small apartments we have in Paris.
Ask HN: What makes you trust a codebase?
I sometimes find it hard to trust other people's code. For example, recently I wanted to know how configuration file affects request processing in nginx. That was no fun at all. Software engineers trust nginx and deploy it a lot, yet they probably wouldn't be able to chart out the internal structure of it off the cuff.

It is said that many eyeballs eyeballing the code over time makes it more trustworthy. But do these eyeballs look for that inspires trust?

(I'm not meaning to single out nginx, it was just at the top of my mind as an example.)
Sanctuary: The Face of Mass Deportation
Confirmed; source of the error appears to be the domain for the cert and the one using it are not the same domain.
Just my two cents, but I just looked at http://everydaycheck.com and I think it's both a great idea and (from what I can judge) well executed.

Also one piece of advice: Do Shown HNs more often. For me, they are regularly an great source for feedback.
In Greece too. As long as you have the older prescription (basically a small form with the required information filed in) you can get new spectacles without having to visit the ophthalmologist. The prescription is not taken away

In many cases, eyewear shops have ophthalmologists employed on site with all necessary equipment and they test you for free.
If he wanted to bring emotion into it, he should have just gone straight to how Zenimax Founder Robert Altman ousted Bethesda's original founder: http://www.courts.state.md.us/businesstech/pdfs/mdbt7_04_opi... (PDF)
Plaid iOS SDK
There's no point in shipping unless you're gunning for a payoff. Sure, if you want to find meaning in giving total random strangers things that they want you to give them, knock yourself out.
The best testers that I know really enjoy breaking stuff. They have this special mission to break anything they get their hands on. They take great pride in finding the stuff that the developer probably didn't think of. They smile when it behaves weird, they laugh when it crashes. Their ego rises when they tell the developer that they were smarter.

And therefore, the one who built is, is not the person who makes it his lives mission to break it. Breaking it means more work, more searching for bugs, and then testing again. And nobody likes doing that. Except for awesome testers. They love looking at the face of a desperate developer getting frustrated by a nasty bug.
> Your bill seems excessive even by affluent Australian standards. I had four wisdom teeth removed – one of them impacted, requiring a dental surgeon – and the total cost was under $3k AUD at my local dentist. I bet it only "cost" $12k because it was covered by insurance rather than priced by the free market.

It's expensive by US standards as well. In NYC, which is a high COL area, the price I've seen quoted is around $200-250 per tooth.

$12K must mean that they were complications that are being included - insurance will always be more expensive than a free market self-paying system, but not that much more.
We're not a startup, but we've had great success with Helpscout too. Our customer service team absolutely love it, to the point where it's difficult to convince them that Intercom is worth trying!
Bit harder to send radar through water than it is space.
StatusGator uses Freshdesk on the free plan and it's adequate for our needs.

Freshdesk has worked flawlessly and beautifully handles triaging a few support requests and product feature suggestions every day. (Aside from a hiccup where I misconfigured notifications and inadvertently ignored dozens of tickets for a month... a PEBKAC issue.)
Weppy web framework 1.0 is out
Calling TryGetValue will either return a value or not. Calling ContainsKey, followed by an index read can lead to a race condition that means the value isn't there any more.
Out parameters are bad, even with the improvements in C# 7. They're simply the Wrong Way to do multiple return values.

I agree, but I fear that even with the new features, the according APIs will be missing for a considerable amount of time. It constantly surprises me is that MS has never bothered to update their old APIs with more modern methods; especally where out parameters are used for optional return values.

In almost all my projects I have extension methods like this:

public static V TryGetValue<K,V>(this IReadOnlyDictionary<K,V> dict, K key, V @default = default(V))
{
if (dict == null)
throw new ArgumentNullException(nameof(dict));
V result = default(V);
if (!dict.TryGetValue(key, out result))
return @default;
return result;
}

There is a considerable number of existing methods that would lead to sooo much nicer code if there would be some versions using modern C# features. In the case above, you can still use the original TryGetValue if there's no usable sentinel value you can use to distinguish "not found" cases from success.

There are also a lot of old methods using Type arguments and requiring a cast where a generic alternative is really overdue.

Edit: Of course, some Optional<T> type would also be nice for the dictionary example, but since C# has null-coalescing and null-conditionals since version 5/6, the above example suits almost all my use cases, and can be used in a Maybe Monad-style way anyway.
Our favourite 10 snaps from February
Defense Against Doxing
Not Russia, though. But anyway, I misspoke. Not a protracted war.
The article is a bit contradictory:

"There are some good jobs for developers in banking. [...] These jobs are hard to get though – I interviewed for a few, but I wasn’t successful."

So it's more.. don't go to a bank unless you are good enough ?
Daniel Miessler on Security Talks at Cons
> Is Google contributing anything back into Postgres codebase ?

As a general thought, it's probably be a good idea to wait (say) 6 months until this new Cloud SQL for PG offering has matured + their team has more PG experience.

Places often contribute back to upstream projects as they get more involved in relevant Community, and it sounds like they're just starting out now.
Let me end off by saying there's a difference between being "fine" and "exceptional". If you're content with the former, then that's okay, no problem there -- cutting off immigration will be okay. America will survive, there won't be an apocalypse. Like Japan right now -- it's got mediocre companies with a mediocre economy.

Many papers are written exclusively by Americans, but they're often not the best. That's what you're going to have to be content with, if you shut off immigration. Being okay, but not the best.

Imagine that those researchers couldn't go to the US. Imagine instead of Google DeepMind beating Lee Sedol it was a Canadian or Chinese company. Imagine if the first company to roll out mass self-driving cars would be Didi instead of Tesla. It's an inevitability, once all the top minds in the world go to companies outside the US. And as I said, it's not horrible for America, the country will surivive and do okay, but there'll be jobs lost and innovation will go somewhere else.
Though in the US, they receive a postgraduate degree (as do medical doctors), not just a bachelor's.

Technically they could receive that degree without a bachelor's degree, but I've never heard of anyone getting into medical or dental school without having received an undergraduate degree.
Mathematical model reveals the patterns of how Innovations arise
> if an employee hired for 8h does 4h more on the side as contractor the employing company gets 'cheated out' of productive time and this is especially true in a job that require fairly constant concentration

No. Just no. Side projects are another way to up your skills. In addition to side projects I've done for pay, I've done them for a charitable organization on a volunteer basis, fundamental science research group (small fee, practically volunteer work). Even if my day-job suffered temporarily, they've still benefited because each of these projects involved learning/practicing something new.
Techniques of Differential Topology in Relativity, by Roger Penrose (1972) [pdf]
> Roughly a third of the citizens of the US would have to go into debt to secure $3K on the spot, they don't just have that laying around in the bank.

That doesn't change the nature of the problem.

With catastrophic events, one person in 250 will incur a million dollar expense in a given year, so everyone pays four thousand dollars a year for insurance and that person gets covered.

With dentistry, one person in five will incur a $3000 expense in a given year, so insurance would have to be $600/year. It's completely useless. If you couldn't afford the loan payment then you couldn't afford the insurance.

Insurance only works for things rare enough that most people in the pool will never incur the expense. If the event is common then it isn't insurance, it's just a prepayment plan.

Insurance never saves money, it only pools risk.
CLR is information-dense and authoritative. I have a copy from my college algorithms course and I refer to it occasionally. Skiena is a lighter read, so, I figure, you're more likely to actually read it. Whatever algorithms text you read, you will want to continue to augment your knowledge if you're going to confidently adapt and engineer algorithms.

I agree with you. Get both.
Sweden introduces programming in first grade, making it a part of math classes
Totally agree. If you annoy the user too much, they will not try to circumvent your rules, they will leave and find something else to do with their time.

Also, the big question that's missing from the article is: who's the enemy? If the enemy are Russian genius hackers, then certainly very long passwords and maybe other measures are in order.

But the enemy is not always remote. I just bought a new iPad and had to reset my password and so-called "security questions".

In my experience, there are only two kinds of security questions: ones I don't know the answer to myself, and ones everyone around me knows the answer to (what was your first job, what was your surname when you were a child, etc.)

The problem is, in the case of the iPad, your enemy is not some James Bond villain in a cave in Ukraine, it's your 13 year old child who wants to use your account to buy apps, or your spouse during a nasty separation. And they both know, or can guess, answers to "security questions".

What I do personally is type random things as the answers, and write them down somewhere. But that doesn't improve security, it weakens it.
If you can't find a good job in the tech industry, then you're either not really looking, aren't mobile enough, or have personal circumstances, like kids, preventing you from moving.

I've never had a bad job. Every job I've ever had after high school, I was glad to have and reluctant to leave. Except the military. I was glad to leave that. But I was also glad to have it.

Jobs can be worked on, you don't have to accept bad situations. I've negotiated raises, perks, all kinds of quality-of-life improvements that were unheard of 5 years ago are on the table today. It's a great time to be alive.
> MD vs. DO, although there is little practical difference). Seeing either type of physician is treated equally by health insurance

Uh, not exactly. MDs and DOs do receive different sorts of education, and insurance can distinguish between them.
Regular forced changed of passwords is generally a net-negative for security.

There's nothing wrong with changing if you think it's been breached or just 'cause you feel like it, but a system forcing change every 90 days is likely to be a bad idea.

This is due to the fact that when most user groups are forced into periodic change they will stick an enumerator at the end (e.g. password1, password2 etc) which ruins any benefit you might have got from it.

That's why we've (finally) started to see good official guidelines saying forced password rotation is a bad idea (e.g. https://www.ncsc.gov.uk/guidance/password-guidance-simplifyi... and https://nakedsecurity.sophos.com/2016/08/18/nists-new-passwo... )
Oh yeah! Freedompop actually transformed a space into a "+" (or vice versa). And this is just free internet I set up for my dad. Took us like an hour to figure that one out.