skysight-inc/HackerNews huggingface dataset:
Most of those meat alternatives are either soy or wheat based and not necessarily the healthiest kind of food. IMO if you don't want to eat meat learn how to cook vegetables in a tasty way. There's some pretty amazing dishes you can make from fresh(and not processed) vegetables.
There's been a lot of doubt cast on Flow outside of Facebook when Jest announced it was moving to TS.

I'm curious to hear how Typescript vs Flow discussions go within Facebook, and what engineers there think of each.
except a low carb diet is completely possible without the use of animal products, so that point doesn't really hold water.
It’s possible to have to solve issues like this even inside of app development. Think back to every time your app has performed poorly: has there been any cases where you didn’t know how to make it faster without giving up in the way you had designed it? Maybe the app was reading from the disk to populate your data model, and that was too slow? Maybe you were performing an O(n) operation for each row in your table view?
Please take a look at your 1040. My comment was about marginal rate. I would like the portion of my income above $100K to be taxed at 83%, and my income below $100K to be left alone. I would not like all of my income to be taxed at 83%.
Covered here: http://medium.com/@therealsexycyborg/shenzhen-tech-girl-naom...
Yep. Assuming you live in SV, would you like to disprove me by putting a TRUMP 2020 sign on your lawn?
How does this relate and compare to actual type inference? For example, Common Lisp implementation SBCL is able to infer types pretty nicely now and it doesn't need neural networks for "predicting" the types with some kind of chance.
If you can't handle simple data structures problems you need to stay far, far away from software architecture.
The link only shows a login page for me.

Here's a good alternative resource on EarthSky. [0]

[0] https://earthsky.org/astronomy-essentials/how-do-i-watch-the...
> Can you identify movies by recording audio?

Wait how can you do this? I've tried searching in English (can't write Chinese) to no avail.
I feel that is an appropriate response to a comment like "Don't use Google"
It has pretty low risk, Scandinavia has the highest oral tobacco use, but the lowest oral cancer risk in europe.
That URL is screwed up.
You’re right. I’m fairly embarrassed.
> Right, but you used libraries to do it, right? You didn't actually need to know how BFS works, did you?

For BFS? Almost never, no. Libraries are generally useful for reference implementations data structures and algorithms that work on collections; I have yet to find an algorithm that works well for graph problems or when you need to subtly tweak the data structure (for example, a binary tree that counts the number of elements on its left and right). The issue with libraries is that they are built for the general use case, and a lot of time in the real world it is non-trivial to transform your problem into the format that the library will expect, so you end up having to do this yourself.
The portal is a very nice piece of hardware. I would have bought it with little hesitation if it wasn’t tied to Facebook. Oh well!
curious why the author wants to work in the Bay area. does he actually enjoy the area, or is he excited about all his career opportunities there?
I tried it years ago but is this still being developed actively?
> And how you are keeping track of that and other such minutiae. What data structures are you using and why?

This is a good question, IMO, because it tests “I need to do this, which data structure would work well for it”, which does come up often in real life.
A low fat diet is completely possible without the use of sugar. What's your point?
Honestly i don't know what you are talking about. There are many products that launch on hacker news.
Nutrition is so much more nuanced than any of us really know. Everytime I think i know something, I learn more details and learn that there's even more to it.

Sure, Sugar can be acceptable if you use it responsibly. You can even safely consume a Soda if you're in a glycogen depleted state such as after a marathon or from 16 hours of fasting. But, do you really wanna waste you're precious calorie/sugar alotment for the day on a soda?

In any case, it's good that people are starting to think about these things, the pros and cons. Hopefully, people can learn why it's good/bad and thus enable them to make better decisions the next time they need something sweet.

On a related note, I heard Dr. Berg say, sugar craving are a sign that your body is not getting enough potassium. Evolutionarily that would make sense, since fruits are higher in potassium than almost anything else except vegetables.
So you can get out at any time if you don't mind ruining your life in the process? I think the phrase is apt enough.
Programming is exactly about handling such "minutia". It's a totally fair question.

As for pleasing the interviewers, of course it is about pleasing the interviewers. They're making the "buy" decision on the talents you're "selling". Of course the seller needs to please the buyer to close the sale. I don't know how it could work any other way.
Or maybe it is good product people use. Just MAYBE.
Yeah, sorry I meant they either accept only cash or don't accept mobile payments. Most places take credit. But many still don't (often Asian / Mexican places). Even credit card is a poor experience, you insert the chip, have to wait like 15 seconds versus an instant QR scan that takes no time. And you have to do a signature with a pen...how antiquated!

My point was more that mobile payments are not ubiquitous yet, and enough places are cash only that you still have to think about carrying cash just in case. I only mention cash as an extreme, as opposed to China, where everywhere accepts mobile payments even like street food, which is funny given SF is a tech center.
No, like, this was overt politics and a shameful reminder of some campuses today. Examples:

1. I was one of three male students in the class of 25. She then goes on to bash white male privilege. (Oddly, she is married to a white male.) I can feel the eyeballs on me.

2. A TED talk about abusive behavior against women online. Critical topic, sure, but it began with 5 minutes of the woman reciting out-loud the worst examples against herself with extremely colorful language, then going on to partially blame... white men. (Again, I can feel the eyeballs!)

3. This was REALLY offensive in my book: She forced us to read a 10-page-long (fictional) story, in class, about someone wrote about a man showing up at somebody's door and trying to coerce the girl to leave the house so as to rape her. No joke.

I could go on. I am not going anywhere near her office again.
Saw the same thing in Guangzhou.

New neighborhoods the size of downtown San Francisco, and barely anyone around. A few police, the odd person riding a bike, but otherwise you could throw a bowling ball down most streets and not hit anything.

The more I thought about it, the scarier it became. This is a bubble that makes all before it look insignificant in comparison. The question is whether the government can guide it into a soft crash landing.
I don't disagree with you. I just wanted to give the first poster I responded to some credit. There needs to be a balance between quantity and quality of life. For some, they will enjoy drinking and smoking. Personally, I think meditation and mindfulness is a better path. But quality of life matters a lot.

Edit: I also didn't mean to imply that I think the key to a long life is simply not worrying. The key to a long life is definitely a combination of genetics and how well you take care of yourself. But part of taking care of yourself is worrying less.
I am like you. For me, the solution has been build something and show it off. Building a great and useful app rarely requires Herculean feats of logic and puzzle solving.
Is it possible to even get into software architecture without pretty significant experience? From my experience in the workplace anybody making purely architectural decisions without having to implement them is a team lead or higher in the organizational architecture.
or is it actually MSWord that microsoft owns?
this is the nature of TM issues, a trademark cant however disable someone from using common speech.
this whole thing would hinge on a reasonable person not being able to distinguish the "eBay" from the "Barter Bay".
if Barter Bay is used in text or asset to mislead a user into thinking they are on eBay's barter area then there is a problem. The Barter Bay page looks nothing like an eBay asset. I believe the real attempt is to financially exhaust this fellow in court to win de-facto regardless of legal loss or win.
[addendum]
easy fix/dodge would be a migration to 13arter 13ay or something like that.
There actually are businesses that will validate your account for you (if you are really willing to give them your username and password), and others that will send you money through the app that you can then spend to some degree (1000CNY max balance, 200CNY max sent at a time) without having a Chinese bank account of your own. They do charge way more than the exchange rate for this service.
please consider the statement from the position of a student just learning the material (like the OP). if you are working through a book with 1000+ problems, like pinter (as some people are suggesting), and you have to keep looking up stuff like how to verify a subgroup, how long is that book going to take you?

to me, memorization means to recall the important parts of something accurately and precisely so that they can be used fluently. that is not to say textually (rote memorization). i do not think it is enough to say "well, that's what learning is" because i doubt most people learn most things to that level.
Your source says that China ranks third after USA and Eurozone by total number of non-cash transactions. It does not imply anything about the share of non-cash among all transactions. Considering that China has more inhabitants than either of the other regions, the share of non-cash transactions should be quite low, or they wouldn't rank third.
I think people want to feel like they have some control over their fate. I certainly do. But, I am not sure that the data supports that. But, for me, in a situation where the data is not conclusive, maybe the best thing is to enjoy your time. I admit I could be wrong.
“The threat of tariffs is not going away, even if there is a deal,”
I can tell you really don't know what you're talking about because you can't just "use libraries to do it". You can use a library to parse a given input, but you need to traverse the tree in a specific way. Here, I'll give you an example of the first step of the problem with proprietary info stripped out. https://gist.github.com/tohsa/2d906942f8712abdfc7df72128479c... You plain and simple need to know BFS to do these sorts of things. You're acting like its some act of algorithmic wizardry when its not.

It's not a question of speed. It's the fact that tree traversals are the best way to analyze parsed text. Although, it was quite resource intensive and we ended up distributing the workload among multiple computers so we could scan all pages at once. Luckily this was easy because pure functions are trivially parallelizable.
Yes, it's generally a Qualcomm SoC underneath. Already several Lumias were reverse engineered to run Android. [0]

A month ago, MS announced Project Mu - opening up their UEFI implementation on github. [1] Extending that project to their legacy ARM phones would be the way forward, perhaps.

[0] https://www.xda-developers.com/microsoft-lumia-525-hacked-to...
[1] https://blogs.windows.com/buildingapps/2018/12/19/%e2%80%afi...
I don't at all recommend limiting yourself to self-study when you start this endeavor, it's too daunting given all the unknown unknowns. To start with it helps a lot to take courses, even if it means sitting in/enrolling in night courses at the local community college. It provides a reference point to what others understand, allows real-time querying with an instructor, and is more motivating than self-study. Once you have completed and fully grasped a difficult proof-based course (real-analysis, algebra, etc), then you can possibly embark on a successful self-study. I'm not saying it can't be done, but you will get to mathematical maturity faster this way and there will be less risk of early abandonment.
> ...allows programmers to write code quickly by not requiring to declare the types of each variable which are determined at run-time based on the values assigned to that variable, thereby increasing programmer productivity

Modern compilers for statically typed languages are really good at inferring types of various identifiers based on multiple hints in a deterministic way (see Kotlin, Swift etc). Mentioned statically typed languages C,C++ and Java are pretty old and therefore carry some baggage of verbosity that is no longer needed.

> ...since the variable types are not declared in the source code, the source code becomes difficult to understand and extend

> For programmers working on the large code base written in dynamic languages, it is hard to understand the control flow of the program if the types are not available at the compile time.

Dynamic languages as a result of their "dynamicness" tend to allow much better expression of control flow when compared to static languages. Only recently available statically typed languages have targeted expressiveness as a first class goal in designing the language. In fact, statically typed languages are notorious for obtuse control flows as a result of their type enforcement (see C, C++, Golang)
> Modern farming is a mess from head to toe, been in the making for 40 years.

Longer than that. The Grapes of Wrath springs to mind.
I've never seen 'fundamental evil' in real life. Just people who don't care, who care too much, or who are not clear headed. That's enough to go pretty deep into the pit without adding 'evil' to the mix.
Seems costly to fire, not just because of HR and management process overhead. People are trying to build successful teams, and regular firings distract from goals, ruin morale, and create an unsafe environment.
I do think stress plays a role. Full disclosure, I work out every day and eat pretty healthy, I am not dismissing science, just saying, enjoying life is, IMHO, and important component. Enjoy your time on this planet. It is wonderous, all the beauty and ugliness are in an existential way, amazing.
Security as Rust 2019 goal (Rust Secure Code WG)
I don’t have to do anything to figure out if I should murder you or not. It’s just wrong and there are only two options. However, I have to do something active to be obliged to not offend your beliefs as there are as many sets of beliefs that might offend as there are people. And what offends one might please another. Big difference.
It’s the same reason high school students apply to Stanford and MIT; there are amazing programs everywhere but top-level universities carry prestige and may have higher quality opportunities.
Wow -- that is very fascinating !
The Apple Watch is in a different regulatory space than the devices listed in that source, since it's cleared as a class II medical device by the FDA. HIPAA laws will apply in some use situations, so their lawyers will have thought about it and made recommendations. (Lawyers aside, the feelings of both the medical community and Apple are generally that you shouldn't leak customer information. This seems like the kind of data that people would accidentally leave behind at the store without thinking about it, which doesn't feel right.)

https://hipaahealthlaw.foxrothschild.com/tags/class-ii-medic...
I took Intro to Psychology in my mid to late twenties. We were required to participate in a study as part of the class. IIRC, the study was being performed by a grad student in pursuit of their degree.

So, really, both the "scientist" and subjects of the study were kind of compelled to participate. No one was there of their free will. We were all trying to tick off an educational checkbox on our way to a sheepskin in hopes of a better paycheck someday.

So they played some audio tape of a black person and white person talking. The theory was that they would switch the labels around and see if the same words were interpreted differently depending on whether you thought they were said by a black person or a white person.

The problem is that this was about as effective as switching the labels as to who was male and who was female on an audio recording of a discussion. None of us were fooled by labeling the black speaker "white." We could tell by the sound of their voice.

I participate regularly in unpaid surveys to get points for a reward program. They are often stupid questions like "Which pet would you prefer? A kitten? Or a puppy?" And I randomly click one when the real answer is "I'm not a pet person. I'm not likely to ever own either." But "None of the above" is never an option.

It's rare for me to see a survey that I feel is well designed and well executed. I think most of them are pretty sucktastic even before getting into questions of "Was this some Machiavellian plot?"

In many cases, it makes more sense to attribute it to unconscious bias or conflict of interest, not Machivellian plot. I rarely feel that the people involved are talented enough to successfully pull off some Machivellian plot. The grad student thought she was all clever at telling us the black guy was really white, as evidenced by how she behaved at the big reveal, while we looked at her like "I can't believe you think we were really fooled by this."

(I am not simply inferring this. Another student, coincidentally a black guy, outright told her "We weren't fooled. You can tell he's black when he speaks.")

Food interactions with the body are quite complex and there are myriad other factors involved. We really need to move past the fat vs sugar debate entirely. It's overly simplistic.
The Science rebuttal raises an interesting philosophical question - if evidence about industry influence is not slam-dunk, as it asserts SRF's influence here was not[1] - then to what extent is it appropriate that meta-conversations about nutrition science invoke external "machinations" to strengthen scientific shifts? For example, if, say >95% of the shift from "bad fat" to "bad sugar" was driven by improved scientific methodology (which the Science article seems to suggest), it seems like a risk of disproportionately highlighting the remaining negligible influence may artificially support the new status quo.

[1] "As we have also shown, the sugar industry approached Hegsted only after learning of
the results of his dairy industry–backed study suggesting that fat and not sugar was a factor in heart disease. “There was no, ‘We’ll get money from them and make the results come out this way,’” recalled Lown, who worked in the department. “It didn’t happen that way,” he said."
This is because it's actually not allowed to use IQ tests as a screening mechanism for most jobs (you need a valid reason and "software engineer" probably isn't good enough to justify the liability). By using algo questions they can select for something that might correlate very well with IQ, that also makes sure the candidate has real coding knowledge, and which has much less liability
Guess the most expensive domain name
>To answer it, we'd need to know why ...

This page is good: https://en.wikipedia.org/wiki/Radiocarbon_dating
I think if you make things consistently typed (as typescript will help enforce), then your JS will run faster already. Because a lot of techniques JS JITs use are basically guessing the type of variables, and then bailing out into a slow path if it turns out they guessed wrong. Codebases like lodash make use of this, which is one reason why they're so fast.
For those who care to provide constructive criticism, the TLA+ Toolbox issue tracker is just a click away (https://github.com/tlaplus/tlaplus/issues) and - since today - even has a UX label.
I don't understand why they would use a hall in the first place and not a studio where they can both control outside noise and any color the hall environment adds via uncontrolled echos. It's very odd, the sound engineers seem to know what they are doing but it baffles me why they made this choice.
Spotify is supported by some 3rd party DJing apps which would need access to the PCM stream (pacemaker and I think edjing). However they probably have some kind of secret licencing deal/API access.
so, in real world application, what's the most useful/valuable topic in mathematics?

Although I wonder for 90% people of this world that math is just a tool to pass the exam at school, not any real application (or they just can't sense it).
What does a list of your music has to do with your personal data?
Which makes sense right? Same reason a military general doesn’t start as a general. Architecture takes experience in the weeds to give a breadth you can leverage as you reason through architecture. Architecture isn’t aslways black and white decision making based on some specs which is where experience can help a ton.
More than "reductionist" I'd call it naive. It's the same mental short circuit that's behind the usual "this one weird trick" and "doctors hate her": the idea, or dream, that we can find a single culprit- and therefore a single solution- for all our problems. One time it's fat you shouldn't eat, then it switches to sugars, then you should eat proteins, etc.
I don't think I've ever lost my car keys so does that make me a NULL pointer!
It's not taking over anything - it's popular because the government in China restricts competition to two-three "state endorsed champs" and heavily controls and censors everything so it's become very expensive for new entrants and impossible for foreign apps.

The app is too "heavy" compared to WhatsApp, by the way.
You don't even need to call out to an external API to get good coverage for this rule, in case you're averse to doing such a thing.

You can just do a case-insensitive match against this file that I compiled a while back: https://github.com/robsheldon/bad-passwords-index

It includes the most commonly reused passwords according to in-the-wild breaches.

I'm a bit embarrassed to see that it's been 2 years since the last update. I was thinking recently about updating this again. I think I'll do that.