skysight-inc/HackerNews huggingface dataset:
Being cool is a matter of marketing, not engineering. The Prius design is beloved in Japan, where it was designed. The Bolt is considered extremely stylish for a compact sedan/hatchback. And both are considered cool within their target markets.
Erm, and we just need the software to run it all :)
You are just repeating exactly what I am saying as anti-pattern 3
I can see this getting easily confused with emoji subject lines: http://www.emailmarketingtipps.de/2015/05/11/animated-emojis...
Functional Programming: Pure Functions
Website you like that invites discussion has a very shitty comment system, that doesn't notify you of the responses to your comments.

Or perhaps you want to monitor mentions of your name, and join the discussion.

Or you want to not lose your past thoughts, because discussions were deep and some may be interesting to re-read in the future.

Or a website is known to allow users delete their comments, or website itself bans users and hides all their content from others for flimsy reasons like "ISIS" in the title, no matter whether it's pro/against/neutral/irrelevant.

Or you want to organize the information differently than the site does.

Or the website is bloated and slow as hell, and you want to use it over gprs, so you create a lightweight/fast/better organized/filtered mirror.

Or the website doesn't have search or it is crap/slooow, and is not indexed in google, like some IRC logs out there.

Or you want to have content available offline.

...
That is not at all what I am saying. I cannot explain this to you better than I already have. Your diverging definition of heterosexuality describes a behaviour or a feeling. It does not apply to people being heterosexual. This is how definitions work. It describes a thing that this word can mean. If what you want it to mean does not fit into the definition, then that's not what it means.
For me, I have phone notifications, so the moment I saw the fraudulent transaction on my phone, I called them, and the transaction never completed. The money never left.
Man is not killing earth, man is killing man and there will be casualties along the way, but earth will continue without man. Species go extinct all the time, and homo sapiens shall join the list in turn.
From the demonstration video [0] in the link, very interesting, but also very noticeable where the GAN attempts glasses or other "items" (see around 0:58 and 2:35, respectively). Has any research been done into GANs which aim for realistic artificial objects, instead of faces?

[0] https://www.youtube.com/watch?v=G06dEcZ-QTg&feature=youtu.be
The problem with trying to correct this is that it's not wrong, because it doesn't really state a hypothesis.

Are you trying to say that brains are quantum computing devices? Maybe, but we don't have any particular evidence for that, so it's on a par with saying "The Flying Spaghetti Monster has a tiny noodly appendage that reaches through hyperspace into each neuron, and that's how we think."

We can observe brains in a lot of different ways - active electromagnetics, chemical sampling, microscopy, MRI... and we can say that injuring certain areas of the brain will impede certain functions. We know that excesses or droughts of some chemicals are associated with emotions, depression, and some diseases.

But we don't have a good model for how brains think, and among the good models we don't have, quantum computing is one of them.
This is exactly the kind of non-human PR speak that saturates Google's response to customers in all forums. Promises are half-made and always broken. There doesn't seem to be a will or desire to aggregate and manager customers' concerns.

I hope this time is different, and your team really does share more information as it becomes available and relevant. I doubt it, though, and will switch to a mail provider that I pay for and has good customer service (which is my inclination toward all Google services these days).
Just checked, and Tesla now beats even BYD, although it’s close. Tesla sold more in Q4 2017 and Q1 2018 (each at just under 30,000) than BYD, so recently they have even eclipsed BYD: https://insideevs.com/byd-increases-plug-in-car-sales-to-ove...
“…elimination…”

…more accurately, consumption, and more charitably, harvesting.
Using the battery pack enclosure as a structural member instead of bolting batteries on to the same old frame or body was an innovation.
Refreshing article. We hear so many religious arguments about one side or the other in these days, we really need more of these.

I think there's a deep issue that causes all the misunderstanding, the elephant in the room : the definition of a "unit". Words have a meaning in a certain context : if people don't mean the same thing when using the same word they're doomed to misunderstand each other forever. Just ask 5 different people what is a unit and you'll have at least 3 different definitions. The most common one is : in OOP, a unit is a class.

From my experience, a unit should be defined as a much higher abstraction level than that. A better definition would be : "a set of use cases that belong to the same module". In other words, unit tests should be we written in a language as close as possible to your domain language. Or : "test your use cases, not your classes". When you do that, you usually write tests for a few major classes that use all your other classes that are just implementation details. This leads to tests that are far more reliable and easy to maintain, because they have very low coupling to the rest of your application. Typically, this means testing classes at the very edge of your app, classes that directly communicate with the end-user, usually services or something like that.

Let's say you "unit test" a simple car with a steering module. It has all sorts of internal complex mechanism that IMO you generally don't need to unit test directly. What you need to know is if the business value is correctly delivered to the driver, ie :

- when he turns the steering wheel left, does the car turn left

- when he brakes, does the car stop

- when he presses the gas pedal, does the car accelerates

- etc

Under the hood there are dozens of other classes that perform actions that you don't really need to care about when you test. They will be tested indirectly anyway, because they're used by the high-level classes you do test. I think many people blindly try to unit test almost all the classes they write and it leads to code duplication all over the place and all sorts of other problems that make projects fail, people angry and think unit tests are bad.
Mind Hacking for Programmers
Tesla doesn't advertise (yet). They have a huge word of mouth / Elon Musk cult following. He must be doing something right for getting all that loyalty and hype. A few hundred thousand preorders with 1000 bux down is something.
Which is why I personally use Gitea, which is super light and performs very well. But it only has a fraction of the features of GitLab so it's not an apples to apples comparison, but my personal projects and my friends it works just fine. I combine it with Drone for testing and it totally suits my needs, and I host everything myself on a $5 VPS.
Not shameless at all.

Your paper was referenced after all. [17]
Agreed. I really would prefer to use Gitlab, but at the moment I'm using Gogs on my Linode instance because it runs smoothly in <1GB of RAM.
The most upvoted issue on VSCode
I don't think any such thing exists because then what does the community benefit from. A no-clone licence is pretty much a 'You can look and build for yourself and make PRs for me' deal.
Java references are closer to C++ references than anything else. They're like pointers until you access/call them, at which point they're just objects. C++ references are identical, but the syntax is a bit more explicit.

It is a funny language feature to have when you think about it; it just so happens to be useful. References and pointers are distinct in languages that have both (C++), so not mixing the terms between languages is helpful. If Java programmers started referring to their variables as "pointers," because internally, that's more representative of what they are, I'd be a bit irked.
In the US, hockey is synonymous with ice hockey.
I really long for the day where we can grow in the lab the stuff we currently harm animals for, but a big "if" will be whether we can replicate the nutritional profile. A lot of vegan-friendly food I find is bulked up with carbohydrates and/or soy protein.
So every time you get in your car and start personally spewing excess CO2, that's a crime against humanity? Or you fire up your oil or gas furnace? Or you eat a burger or pretty much anything else produced by Big Ag? Or you build a concrete structure? And so on and so forth.

As the old saying goes: "Those who live in glass houses should not throw stones."
Making babies: How to create human embryos with no egg or sperm
> People have never and will never be strictly heterosexual or strictly homosexual.

Horseshit. I am attracted to the opposite sex and only the opposite sex. Trying to redefine sexuality in terms convenient for you, is frankly offensive. I'm sure if I tried to define your sexuality, you'd have an issue with it.
> At this point you might just decide that there’s no way around this and put your milk in plastic bottles. This is what most smart people would do. But I know that most of the plastic milk bottles in New Zealand are not actually recycled. And so I built my own milk factory.

This where I stopped reading. Don't let lesser issues get in the way of solving a major one.
Most CMS security is basic stuff like file permissions (where Wordpress sites often get into trouble), applying community patches quickly (both Drupalgeddons), and managing JS library dependencies (a notable hole in the Drupal patching ecosystem).

It takes some expertise to do these correctly, but it's not rocket science. I taught myself and have self-hosted Wordpress and Drupal sites for 8+ years with very few security incidents.

That said, I'm moving my Wordpress and Drupal sites to platforms like WP Engine and Pantheon. But not because of security concerns--because the platforms will accelerate our development process by making it easier for developers to create staging instances and deploy to production.
BMW has revenues of 120 billion USD vs Tesla's 12 billion. I think that would qualify as "much larger". And BMW knows how to produce cars profitably.
> I asked John how his product was doing, and he said that he’s looking to hire a CEO with more product experience...when I talked to him further, he said he was still looking to launch his MVP...So after 1.5 years, John basically spent $10,000+ attending financial conferences, collected no revenue, and hasn’t even launched a working website

Laughing at how real this is. This is exactly the situation with me and a friend. We both had an idea for different businesses 2 years ago.

He prints business cards, incorporates a business, talks about partnerships, a launch party, worries about getting too big....and has no users.

I quit my job to code away in the morning, reply to user feedback in the afternoon and emulate my competitor's marketing at night. I did this every day....and just passed 100,000 users. Hardly anybody knows what I do.

The difference between us: he works for a big tech company where everyone talks about their app idea™ over lunch and lives in a city where splashing $1000 on bottle service is seen as smart instead of foolish. I don't. Instead I grind for two simple reasons: to be free of a boss and to make something people find valuable.

I love my friend and I'm not knocking his approach, nor saying mine is better. But printing business cards before gaining users is a bizarre way to order one's priorities.
Disagree. This startup is using genetically engineered yeast to produce milk proteins which can be used to form things that are exactly like milk: http://www.perfectdayfoods.com/ They're launching soon.
Concerned about carbs and protein... keto?
Look at this startup! http://www.perfectdayfoods.com/
Yup :) http://www.perfectdayfoods.com/
I switch to gogs (and now gitea) for this reason 2 years ago.

It does much less in term of features though
I'm a Ph.D. student in operations research (OR). My suggestion would be to first build a strong foundation in linear programming. This will introduce you to the notion of duality, which is heavily emphasized in many mathematical programming courses. Here's a good open source book on linear programming written by Jon Lee, the current editor of Mathematical Programming A: https://github.com/jon77lee/JLee_LinearOptimizationBook

Then I'd suggest studying more general methods for continuous and convex optimization. The book I see mentioned a lot is Convex Optimization by Boyd and Vandenberghe, although we didn't use this in our coursework. Instead, we used a lot of the material presented here: http://mitmgmtfaculty.mit.edu/rfreund/educationalactivities/

If you read the above (or any other two books on linear programming and convex optimization), you'll probably have a better idea of what you want to study next and how you want to go about it. The next natural step would be to study combinatorial (i.e., integer or mixed-integer) optimization. (Jon Lee has another book on this subject; I've also heard good things about the Schrijver book.)

It's also not a bad idea to start getting familiar with the tools people use to solve mathematical programs in practice. The theory you'll learn to solve linear programs is different from the theory for general convex problems, and similarly for mixed-integer programs. As such, there are various "solvers" that are used to solve various problem types. Because of this, there are a lot of frameworks that are used to develop general mathematical programs, which can then interface with these solvers in a generic way. For example, Pyomo is a modeling language based in Python, and JuMP is a modeling language based in Julia.

If you want a general introduction to discrete optimization in a course format, you should take this class on Coursera (https://www.coursera.org/learn/discrete-optimization). It's a fantastic introduction to operations research in general, and it will give you a good intuition of the types of problems you encounter in the field as well as the various techniques that are used to solve them. (Full disclosure: Pascal is my adviser.)

Let me know if you have any more questions. I recently became a moderator of /r/OperationsResearch on Reddit and love the idea of having a larger community that can answer questions like yours. Operations research seems somewhat overshadowed by machine learning at the moment (at least in popular culture), but they truly go hand-in-hand. I'm somewhat surprised that a lot of useful techniques from OR are not heavily discussed by machine learning practitioners. Both fields are, fundamentally, trying to solve difficult optimization problems.
The word “wasteful” is only meaningful in the context of a valuable resource that is being consumed. Automated manufacturing of disposable containers uses very little valuable resources, as is reflected in their monetary cost. The logistics of reusing more durable containers consumes substantial valuable human resources, resulting in the use of the solution that is consuming the least, on a value basis.

Human time is not free, and manufactured goods are far less expensive than people imagine, because they are not produced by human labor. The cost to mechanically produce a disposable package is not the same as it intuitively would cost you personally to make a package.
I'm surprised cause my 2 year old nissan has the features you mentioned
Concerned that google has so much info (https://myactivity.google.com/myactivity) I visited https://myaccount.google.com/activitycontrols to turn off Web & App Activity, but left Voice & Audio Activity on.

This breaks my google home.

I do not want Google to save 20 years of search history so I can use a stupid google home. For the first time I'm considering Apple's device.

This is a dark pattern Google
In Portugal all carriers have had free sms between all carriera for a few years now on almost all plans. I believe people still reasonably use it. Mobile data cannot be assumed to be always on as it is too expensive most of the time and never forget that having mobile data on drains battery too fast. If anyone wants to be sure to that someone replies to something in urgent matter better use standard sms/phone calls. I havr no idea in what kind of bubbles people are mostly nowadays. Anyway, almost everyone has whatsup or telgram too and most people also use those as a main way to communicate and mostly to be in chat groups. I'm the weird one using only sms and signal and very little of facebook messenger.
We use GitLab on prem at work because we want the features. For private stuff or super small teams I'd chose Gitea as well. And/or GitLab.com.

GitLab's performance is a major pain point for us. We throw an absurd amount of hardware at it for mid sized teams.
This is my favourite line: "You are responsible for obtaining, at your own cost, all third party permissions, clearances, and licenses necessary to secure Eventbrite the permissions and rights described above, and you represent that you have done so."

Licensed some background music for your event for that specific use? Think again, from now on you have to license everything for worldwide, unlimited use, just in case Eventbrite wants to maybe make a buck off of it.
> Java calls references, works more like C/C++ pointer, rather than C++ reference

What makes you say this? You can't do pointer arithmetic on Java references, and the internal memory model is completely obscured. C++ and Java references look similar to and are accessed like variables. The major difference is that Java references can be reassigned, like a pointer, which is necessary in a language without true pointers.
Because of how confusing all those labels are, here in Seattle some grocery stores display a cheatsheet explaining the difference between them and even some info about the certifications.
> proactive monitoring is cost prohibitive compared to reactive punishment and a legal framework for doing so

Just let ad networks pay for it. Ad networks had a chance of self-regulation but they failed.

Also, how are you going to catch them if you don't watch them?
Don't. Stop. Why?

Just harvest their data! Sell that.
> nothing more than CNN disliking that Youtube is challenging them in viewers and ad money

Which is also what's behind journalists, bloggers, etc. all hating on Facebook too, but nobody ever wants to hear that.
Hi, I'm Nobody. And I doubt iMessage or similar SMS-like services that blend in seamlessly are on the same level as IM apps.
Stockton to Sunnyvale is 80-100 mils one way. And I imagine working people who have to live in Stockton or Tracy because they can't afford living near work in SV probably aren't buying extended range Teslas. Most likely don't have any chargers at home either.
Try the pause button on your TV remote.

The play/pause/stop buttons on my TV work just fine with the Chromecast, and I have an old 2009 TV that was bought well before the Chromecast was a twinkle in Google’s eye.
They have a dedicated section about performance improvements in the release notes.

It links to a list of 53 commits from this release targeting performance:

https://gitlab.com/groups/gitlab-org/-/merge_requests?scope=...
I think these people being "real" is a secondary concern. Most readers of gossip magazines only see the characters from them only in the same magazines, or TV. Soap opears about completely imaginary characters faced a lot of success. I don't see why algorithmically generated soap operas won't have a chance, especially when adorned with "photos".
Reference values are part of the Java language. It's the reason "==" doesn't do what you'd expect it to, and why "a = ..." inside a method (assuming "a" was a parameter) doesn't affect the caller.
My point is, a smaller system is a more easily managed system for everybody involved.

You don't even need to "educate" them. It might be enough to judge a prospective leader's character.
Why was the CDC asking about firearms?
Yolk color is fully controlled by the producer using feed supplements: https://www.dsm.com/markets/anh/en_US/products/products-caro...
I think the argument is that when every value inhabits the sole type and everything accepts that type, you get a system that works the way "untyped" languages do. Why have two separate concepts when you can gain some true conclusions by unifying?

I think Harper would take issue with it being explained this way, but one can think of Ruby and Python being languages where everything is a pointer to a HashMap and everything else is just sugar on top of that (similar to the above argument about Java and the sugar with the pointers).

I don't think Harper would like that way of explaining it because it's over-focused on an example instead of sticking to the concept and because it conflates (statically-knowable) types with (runtime) classes, which is big no-no with him.
"I have seen projects which have well designed feature code, but suffer from tests with huge code duplication, hardcoded variables, copy-paste segments and several other inefficiencies that would be considered inexcusable if found on the main code."

I agree with "code duplication" and "copy-paste segments" (although I fail to see how they're two different things. It looks like example duplication to me?)

I don't agree with hardcoded variables. In tests, they're okay. Tests are not production code. In this case I side with Misko Hevery - see https://youtu.be/jVxmk-tVo7M?t=2m54s

Tests should hardcode values, and (ideally) not contain any logic, not even of the simplest sort. That's the point, that's how we can reliably confront them with production code without risking bugs that fall off off our radar because the same faulty logic leaked from production into tests. Tests should be kept all dumb, all naive, all hardcoded.

That's the thing which proves to be the most difficult to convince fellow developers about, as they're typically used to mechanically transferring over all the usual best practice from production code into tests.

"Ooh, this is so hardcoded" - "good". "This method name is so verbose" - "good; will we ever call this method from code?". "This could be private" - "it's a class with unit tests, how will this code possibly be called from some other class while it executes? Visibility modifiers are waste of space here". And so on
Dont worry, its the Americans who live in a bubble.

I live in one of the wealthiest and advanced countries in the world. Ask a 12 year old girl what SMS is and she will not know. She will know WhatsApp.
> My feed often randomly recommends "SJW owned compilation" and "feminism fails".

I had the same videos queue up in mine and nothing I watch seems even remotely related to that. My YouTube usage is pretty "family friendly" so it struck me as particularly odd to see such blatantly divisive hate videos.

I've even seen weird ads about deep state conspiracy stuff on there too. Their algorithms seem totally broken because I'm definitely not the right target for that stuff.
I thinks it’s a matter of how we educate our arm-chair security experts, actually.

What is the difference between blindly trusting a script piped directly from the source and blindly trusting a script packaged in a tarball? Can you honestly say that you’ve audited every piece of code that you execute on your system, and can say with complete confidence that no data on your system has been tampered with? Do you reverse engineer and audit your unsigned binary installers before executing them? If not, then I’m very curious to hear why you believe that you are somehow avoiding the same risks posed by a curl | sh script such as this one.