skysight-inc/HackerNews huggingface dataset:
This can be solved in so many ways, from writing good instructions to giving people pre-made environments to having one install session at the beginning of the course (if you can't get Java/Python running in 1hr something on the system is horribly wrong) to using one of those online education platforms that allow to run tons of stuff from the browser.

But if you're introducing people to programming, letting them know command line exists may also be not that bad of an idea :)
What’s going on with Intel and OpenStack?
Generally JP and Chris (can't say that for every person in New Hampshire) are respectful and polite when going out and filming police. It's only when police instigate by interacting with and attempting to disrupt the filming that either comes off as disrespectful.
I'm the last person to want to really defend ORMs. But there's a flavor of Greenspun's Tenth Rule [1] that applies... it would go something like "Any sufficiently complicated database-using app has a buggy implementation of half an ORM with major cache-consistency problems, some broken/outdated assumptions about the schema, and a few SQL injection holes you could drive a truck through."

A decent ORM can help manage the impedance mismatch between SQL and the app language. ORMs are very leaky abstractions and definitely restrict design, but metaprogramming SQL in an app language has its own drawbacks.

[1] https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
Because it violated their agreement with Apple and accessed private APIs, infringed on user privacy, and they geofenced the behavior to try to sneak it past app review. It's another example of Uber knowingly being evil.
Depends on where you are. In some states 30 round magazines are quite easy to come by. A quick internet search will provide many legal retailers.
By squishing loads of bugs on some plastic. Reminds me of the playground!
That's why I subscribed to the economist through my iPad. Unsubscribing from newspapers is a pain.
What are some of the other languages that run in the browser that we should use instead?

Here's an exhaustive list off the top of my head:
Can't help but think that selling cars for $80K and up is really leading a revolution of any kind.
"No IDE" is not exactly a plus in my book. Surely, you can write code in vim (or notepad) but doing any proper work requires proper tools, and good IDE is among the first ones you'd need.
If I bought the game in 1989 I can still legally play it in digital form, yes? I'm not sure why copyright now means a company can charge me 100 times for the same product in different forms. It didn't used to and I'm not sure how this changed mindset in any way helps creators or society.
But wouldn't color allow to observe the features a lot better?

To me you lose a lot of details when you remove the color (although I would think there isn't a lot of color in space).
My sentiment exactly.

It did a good job of acting as an improvement over C++ as the language in which business apps were supposed to be written but at some point things like InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState started coming along and ruined it.
Very vague article.

Chinese production methods and quality - or lack of it - may be a defining factor alongside domestic demand volume.

Getting EV's to mass production is very tricky, Tesla are striving to get to profitability in what could be a make or break year.

http://www.reuters.com/article/us-tesla-assemblyline-idUSKBN...
My problem with landfills is that it's so inefficient. Particularly for things like wood waste or construction demolition, it makes a lot more sense to grind it, burn it, and make power from it, then bury the much smaller amount of ash that is left over.
The letter he wrote to the court was an interesting read(https://www.nytimes.com/interactive/2017/04/21/technology/do...), still don't know what to make of it though.
Important businesses are the ones that need restrictions the most. "Too big to fail" doesn't work, for society or consumers.
I guess the point of codifying existing handwritten forms is probably true for the Chinese simplified characters also? Many of the simplifications were made by taking a cursive form and declaring it the "official" version.
Range anxiety ... any word on the hydrogen powered car revolution? Perhaps we should move on that one.
Other CRM providers would probably deserve a closer look too.

Marketcircle for example has never been able to offer reliable SSL support for its CalDAV / CardDAV server. And they are switching to a cloud solution too – closed source and proprietary …
Ueberfällig
Python has its own engine which is not based on PCRE AFAIK:

https://github.com/python-git/python/blob/715a6e5035bb21ac49...
The only answer I see when I click that says this:

> Biologically Asians are quite different from Europeans which results in quite different cultures. However because of Political Correctness and lacks of good methodologies, most sociologists ignore the fact that the brains of Asians are naturally different from those of Europeans just like the brains of females are different from those of males.

Which seems like total nonsense.
Yea, I find that one of the primary benefits of Django's orm is query set methods, which allows me to define and compose query fragments. I've rarely worked on a code base whwe you write a query once and then never change it, the queries are constantly changing. If you have these query fragments that can be composed, it's a lot easier to change the resulting query without changing much code.
> introductory programming language

> make students workforce ready

That's the problem right here - the idea that a single introductory programming course can make anyone "workforce ready".
Well, first of all, you need to somehow administer the LSD dose. From a tactical perspective, the coffee makes sense.

Second of all LSD, has a bit of a stimulant "excitable" effect. So you might want to give them Decaf to compensate. You're right that it's a confounding variable though, and there's a good chance that people like me would be less productive because of the decaf, especially if the LSD dose was too small. https://erowid.org/chemicals/lsd/lsd_effects.shtml
What happend with instagram and pinterest
Seem instagram and pinterest down today? anyone know what happend
How to build offline web applications with CouchDB and PouchDB
Pgweb – Cross-platform client for PostgreSQL databases
The simple answer: Never.
Related: An off-grid social network (3 weeks ago) | https://news.ycombinator.com/item?id=14050049

> Scuttlebutt is [...] a peer-to-peer system ideal for social graphs, identity and messaging.
Ask HN: YC rejected twice. Why? How can we improve without knowing the reason?
Took me a while to find:

https://github.com/mholt/caddy/tree/master/dist/init/linux-s...
Windows is a brutal operating system to be learning on; I'd hope universities have something a bit easier for their incoming CS students.

I bet they don't, though :/
ORMs are like any technology choice, they allow you to get by with less-skilled engineers. You have to work with the tools you are given, and if the only readily-available devs to hire in your area are all .NET guys, guess what your tech stack is going to look like?

Trying to make these decisions based on the merits of the techs themselves doesn't derisk the business, it does the opposite.
I had this with facebook. I'd like to see things in their original language, but I'm not perfectly fluent in two languages that I'd like to see in their original language, so I have the choice to "autotranslate" or not have a translation button at all.

I turned off the autotranslate button because one day I was reading a facebook post that made no sense at all, and it turned out it was a very poor translation and facebook didn't show me the original text. But now, I don't even get the button for translate, even though my spanish isn't the best and sometimes it's very helpful for me. So it goes...
It would be a very interesting world indeed if you were worried about say, your car becoming infected with plastic-osis and disintegrating!
Roald Dahl comes to mind D:
The merry-go-round of the mind
And another: Fixes/Changes.

If you rely on input filtering but you miss something, there's a bug and filtering doesn't work, or there's a new type of text that needs to be filtered (eg: a new tag added that didn't exist at the time), you have no recourse -- that text is already in the database.

A software update can fix/change the output filtering, and since that runs at display time (when the vulnerability is actually activated), it can address it.
Ask them, not us.
Related Economist article: http://www.economist.com/news/science-and-technology/2172112...
Mathematical notation is a language, and its abuse can be justified if it facilitates communication. Even professional mathematicians do so when writing papers: The audience is not an automated theorem prover, but other humans, and we don't throw syntax errors if we encounter an expression that does not conform to a narrow set of formal rules.
Rust and Go should probably also be considered for b), don't you think?
The reason for that is that Chinese cars are notorious for being unsafe.

Thing is, they don't really need to export anything. Car sales are already higher in China than e.g. the US.
More or less horrible than choking the earth with plastic refuse?
> If I bought the game in 1989 I can still legally play it in digital form, yes?

No, that's not how copyright works. That's a myth. In some cases you can make a backup of the game if you do it yourself. But you still can't download someone else's copy.

> I'm not sure why copyright now means a company can charge me 100 times for the same product in different forms.

Because copyright means the company that sold you the product retains the right to copy it. That's not a right you bought when you paid for the game.

> It didn't used to and I'm not sure how this changed mindset in any way helps creators or society.

I'm not sure it's been a help either. Someone should change the laws to align them with modern society. But this isn't the way to do it.
> Apart from huge money opportunities

It's...amusing that you brush that off like it's nothing.

Not to mention things like job security(people have families ya know?) and that having Google on your resume is still a powerful boost for future opportunities. That might not be true someday, but for now it is.
Agreed on all points. I just tried to keep my response concise for the "non gun people" here.

And for the last point I know states have defined the term individually. However the ATF has never issued a letter defining "assault weapon" like they have for other grey area weapon classifications. So it's just a hodgepodge of messy rules random states have (mostly based on cosmetic features).
And as soon as that starts becoming common, programmers will implement workarounds that avoid AI detection.
So many authors write multi-part serial entries without actually providing bidirectional linkage between the parts. But each member of this series links to its preceding part from the first paragraph, and its following part in the final paragraph.

Thank you!
Thanks for the intel. I love the disclaimer. Don't worry, I won't try to claim you :) My business is running under the current name, so i'm going to make it a goal to start the trademark app process via the USPTO sight by the end of the year. I don't have enough money to hire a lawyer as yet. I'm hoping to get into YC so that I can take care of this then. It's a unique name and I already own the domain and have a website running. This is all new to me, so I appreciate your intel.
(context: I used to be a senior engineer on Airbnb's deployment infrastructure and have also met Kate in person)

I think Kate and the rest of the team at Opsolutely are building the right product to solve this problem - she's extremely well informed about where the technological landscape is currently and is building something that represents best practices (in particular, being able to configure and ship Docker containers directly onto a hosted k8s infrastructure).

The real challenge here is that the market is bifurcated - on the one hand, products like Heroku or AWS' Elastic Beanstalk mean that smaller firms don't really need to do too much work to get a simple deployment set up, whereas on the other end (e.g. Airbnb) deployment becomes so specialized that there's basically no way for a third-party firm to address the peculiar needs that have emerged. I suspect that Opsolutely (and other firms in this deployment-as-a-service) space are going to need to figure out how they cut into this market as early in their client's infrastructure build-out as possible.
> While this is technically true, many ORMs force you into database access patterns such a multiple synchronous roundtrips to the database that do not perform well and cannot be resolved simply by dropping to raw SQL. A highly performant data layer is going to interact with the database in ways that ORMs generally cannot.

No, lack of thought in using the tools isn't the same as the tool forcing you to do it. Put the complex and efficient query into a view and map the view with the ORM, problem solved and SQL used appropriately and the ORM used appropriately.
1) People get massive political signalling points by talking about global warming. Where's my social love for being concerned about loneliness? Just being realistic about things, you are far more likely to suffer from loneliness in the future than from global warming.

2) Also relates to attitudes toward having children, such as not having them, or trying to raise them into my ethnic cultural beliefs, or let my culture die and the kids can get their culture from TV and the internet (which you'd like to think would be PBS and HN, but could just as likely be "married with children" reruns and 4chan)
There _are_ many patterns that exist already, and have been widely discussed in the React world (such as "Higher Order Components" for code reuse).

You may be interested in several of the sections in my React/Redux links list at https://github.com/markerikson/react-redux-links . In particular, check out the "React Architecture", "React Component Patterns", "React State Management", "React and AJAX", "Redux Architecture", and "Project Structure" sections.

To pick out a few specific links related to your questions:

- http://reactpatterns.com/

- https://github.com/vasanthk/react-bits

- https://medium.com/@dan_abramov/smart-and-dumb-components-7c...

- https://daveceddia.com/ajax-requests-in-react/

- https://daveceddia.com/visual-guide-to-state-in-react/

- https://hackernoon.com/redux-step-by-step-a-simple-and-robus...
This is lifted from https://www.nytimes.com/2017/04/23/technology/travis-kalanic....

Submitters: the HN guidelines ask you to please submit original sources (https://news.ycombinator.com/newsguidelines.html). Articles that cherry-pick a sensational detail, wrap that in fresh bait, and hawk it for page views are not original sources.
You can't improve your odds at a roulette wheel either.
The best solution would probably be to bubble up state mutations to a single place per data model area, and factor out the http calls per data model area, grouping as needed. I'd rather just use redux with thunks that use async/await though personally than write this from scratch.
I like how LSD was discovered [0]. It's so potent that it can be absorbed just by skin contact, that's why police must use gloves when seizing it.

Imagine yourself coming home with your bicycle and having a massive (250 ug) LSD trip only having experienced it once, pretty scary and interesting at the same time [1].

[0]: https://en.wikipedia.org/wiki/Albert_Hofmann#Discovery_of_LS...

[1]: http://www.thegooddrugsguide.com/articles/lsd_accident.htm
If I integrate this into my app/saas product, is their support for one-off in-app purchases or can I only sell subscriptions without being able to sell digital goods as well?
Apple cuts App Store affiliate commission from 7% to 2.5%
VR Game 'Vyom – The Combat' Released for Samsung Galaxy S8 and S8
This has been my experience as well. Being very comfortable with SQL, I initially thought very poorly of ORMs, especially given that my first major exposure was to a "buggy" half-hand-baked implementation. But, like a lot of other things, they definitely exist for a reason and can often be the best option given the particular tradeoffs you're given.
> How can we improve without knowing the reason?

Add a zero to your KPIs, then apply again. Repeat as necessary.
You don't.

The trip logic works like this. Your brain-organism evolved in the context of our 4-dimensional universe. Psychedelics tend to alter patterns of perception in a way that releases a flood of images. Your brain itself is a hyperdimensional problem solver so when flipped on its head with DMT you can experience really fascinating hyperdimensional universe-images.

As to revealing anything of the real structure of existence...nothing can be said. They reveal the structure of our brains, which themselves are a micromodel of our universe (compare the branching pattern of the brain's neurons to a zoomed out picture of the universe to the branching pattern of a tree to the lichtenberg patterns of lightning to the branching pattern of mycelia...they all tend to converge to the same fractal).

DMT can never give you "real" knowledge of the universe...but neither can any kind of experiment. All of our observations are really just images formed via some form of interaction. All you can really do is get hunches, and hope that as a prt of the universe, its greater structure is reflected in the microcosm that is you.

If I was forced to guess, I would say we exist in a 4d pocket universe within a fractally infinite hyperdimensional bulk multiverse. Universes are constantly being born and dying, with the net effect that the fundamental nature of reality is timeless (time is a psychological abstraction). But that brings us no closer to true understanding, which is probably an illusion anyway.
Controlling Robot Swarms with Augmented Reality on Your Mobile
Also an extremely high cost of ownership for automobiles, due to a required $50,000 certificate of entitlement. This means that the cost of the actual car is less important. Or rather everybody buys a luxury vehicle. See [1]

[1] https://blog-cdn.moneysmart.sg/wp-content/uploads/2014/08/tr...
And so the debate rages on...

There are two sides to this, illustrated by the parent post and you post. Ultimately, it comes down to style preference and his little actual tangible TECHNICAL benefit. The benefits to team process/organization can definitely be argued for ( or even against ) but, that is why the debate will rage on for eternity, IMO.
Ask HN: Django hosting recommendations?
Hey everyone. I've been looking for a webhost that allows me to run a Django app but ALSO has an email server that allows for my employees to have their work email on. The django app will also need the ability to connect to the email server to send account registration emails.

I really like heroku, but they don't have email hosting as an option.
Hostgator has email hosting, but doesn't allow django apps.

any recommendations?

thank you
I bet YC or IndieBio would jump at a project like this, great startup potential.

Scaling up enzymes ftw! Anyone interested?

IndieBio, $250k seed investment: http://indiebio.co/companies/
Exactly. Everyone wants a perfect solution for multiple use cases and that simply doesn't exist. Use what works for the task at hand.

For example, Laravel's Eloquent database layer is awesome for the 95% use case. When stuff gets complicated I can drop down to the query builder or raw SQL if things get real hairy.
You don't appreciate democracy? That's a pretty annoying way to start a discussion, if that's your intention here...
> front-loads all of that overhead, which makes you handle it before you're even sure that you want to use a given tool in the first place.

Bang on. I not only found the same thing but found that the unknown potential complexities, as well as known complexities, outweighed the potential benefits. And since the potential benefits (React Native, primarily) are so great, that indicates a bit of an issue!!
You are incorrect that gay sex is a sin or compromises your soul, and this is not the right place for you to try to spread those outdated prejudices of yours. Your homophobia is just as unacceptable as racism or misogyny, so keep a lid on it.
Still waiting for one wall st exec to be charged for their roles in the crash ...
Does this use of personality differ from the qualitative "culture fit" concept? How so?
I can't comment on the Lisps, Python, or Ruby, as my experience with them is limited at best. However, I believe that C/++ is a fantastic pedagogical choice - admittedly, though, I am biased - this was how I was taught in college. I feel that C allows you to get up and running with the basics very quickly (hello world, basic operations with numbers and strings, file I/O, etc), and builds strong habits around using data structures efficiently.

>I think you can really see that when you look at courses that teach both C and C++, where too much time is spent on doing things in C and not really learning how to work idiomatically with C++.

I think teaching a language should not be the primary goal of most software engineering courses. Instead, a language should be chosen that complements the syllabus. This usually suggests that it plays well with a particular paradigm and doesn't have too many quirks that delay a student's progress with the material. C++, in my experience, is used to introduce students to OOP, and I think it makes a fine choice for this.

>If you compare C to a Lisp, I feel like the latter is far more applicable to modern everyday programming than the former, especially with the resurgence of functional programming.

I think it's a bit early on to say that functional is more applicable to modern programming as compared to OOP. Iterative is obviously a no-go, but most developers today are immersed in OO and BAs/product managers speak it a bit more fluently than they do FP. That said, if you're just starting out, you can probably jump in to FP more easily than you could if you were to learn OO first.
If you are a leader and you aren't looking out for the people under you then you are a shit leader. Applies to the Marines, applies to Amazon.

My manager there largely did what you are talking about and it did nothing good for anyone involved. It's pretty much the reason why one of the guys who worked for him as an engineer is now moving up to senior manager well my former manager is still stuck at the same place.

Acting the way you describe just leads to poor performance from your subordinates, up to them just leaving. That reflects poorly on you.
Just got through doing this with another subscription. I was considering just putting a block on them with my CC. Would that be legal?
Well I did recently apply to YC and prior to applying and read through the "How to successfully apply" and watch several video on their YouTube page. They advised against creating legal entity prior to YC because a mistake could be made and they even ask about this on the application. I have not created a legal entity as yet. However, this prompted me to investigate on the trademark matter. I just want to make sure i'm focusing on the important items first with the resources I have available and not jumping the gun.
If there are areas where create-react-app is a leaky abstraction, please file bugs. My understanding is that the maintainers aspire to have it completely shield you from configuring the underlying tools.
Schemats v2.0 – TypeScript interface generator for Databases now supports MySQL