skysight-inc/HackerNews huggingface dataset:
I think making requests more atomic is pretty easy, if a bit painful--just make ATOMIC_REQUESTS=True the default, and rewrite get_or_create to occur in a transaction and
perform a second get if it creates a new object, then
rollback the transaction if more than one object is
returned and use the other object instead (similarly
rewrite update_or_create).

I agree intuitive validation is harder. I think it would
be a vast improvement to separate the parts of the
validation that are form-only from the ones that are
actually database constraints, e.g. in a form_validation
kwarg, because in my experience half the problem is that
developers aren't aware of what's happening on the form
vs the database. They could also add some of the validation
that is currently on forms to the database via CHECK
constraints. And they could also do validation in model
setters, not allowing a model attribute to be set to a
value it wouldn't accept via forms.

I have used DRF, and I find the serializers and validators quite easy to work with. My complaint only complaint with DRF is that, at least at the time when I used it 1-2 years ago, it was annoyingly easy to accidentally expose more fields for writing than one intended--in fact my first exposure to it was frantically fixing a bunch of security vulnerabilities I discovered in an API written using it.

For other frameworks, I have used Flask+SQLAlchemy (Core)
and found it a lot better than Django. Like any good
framework grump I am also developing my own, which avoids
all of these problems in exchange for what I'm sure are
a host of problems I haven't considered.
In order to get a generic approved you need to do testing that shows your drug works in the same way as the original. In order to have a control you need to have the original drug, thus a pharma company can stop production on a drug while still under patent and replace it with this "new" drug (often the same drug with an antacid added) thus making generic approval much more difficult and costly.
> How big of a break will [Django 2.0] be?

Not abnormally big at all if you're writing Python 3 code. The Django team is very good at communicating about planned changes in advance. Aside from dropping Python 2 support, the only reason they're calling it Django 2.0 is because they switched version numbering schemes to a modified version of SemVer.

I would learn now if I were you.

> A friend also expressed that it might not be worth it to use Django if just for the ORM and migrations (backend is just api), is he right?

I'm not sure, because I don't know what the alternatives are for you (I dabble in Django on the side). But I do know that some people do use parts of Django instead of all three layers, so it may not be ridiculous.
(more spoilers)

You do make an interesting point which I didn't emphasize: Aurora also makes a moral argument against generation ships.

But I think things get more complicated still. If you accept the book's argument, accept cryogenic sleep, but also accept that Earth is something like the biggest generation ship we have, then where do we stand? If we accept that cryogenic sleep solves that part of the moral argument, then we kind of walked into Woody Allen's plot for Sleeper (that is, why not sleep right here on Earth until things improve?) These are really tough questions to consider.

Needless to say, I think Aurora is the deepest, most introspective work that KSR has produced.
Currently a student in college and I'm working on https://www.60secondseveryday.com, the fastest way of keeping track of your memories.

You get a phone call every night and record your 60-second response to the question "How did your day go?". From there, your response is archived into your private online journal and displayed alongside your photos, twitter posts, check-ins, etc from that day.

Soon, you'll start getting Flashback emails (ex. "Here's what you were doing 6 months ago") with all of those cool things
so you can reflect on your past.
This guy plays on easy.
The US constitution is but one of many sort-of democratic frameworks. And not overly democratic in its consequences (see gerrymandering, and the effects of the electoral college, or just all the problems with first-past-the-post even in theory).

So while HOAs have their obvious deficiencies, your attack is one of the weakest complaints imaginable.
I think Cyprus will resist entering Schengen with all means available, and Greeks are known for their skill of protracting any negotiations indefinitely. So, not any time soon.
I use a 20 line batch file saved as "jot.cmd" which does this roughly, it appends one liners to a particular note-log-file and it prepends the date if it is the first note of the day so I have a chronology. Also it cats the note file if sent an empty entry.

It is just a small part of my note keeping system, but I have often found it really convienient to be able to jot "asides" in the terminal like this.
The thing I don't understand is why do you need a new underlying engine in order to achieve "smaller config files". To me that reads as a non-sequitur.

If you want an nginx directive that auto-magically does something, create one...don't build an entire reverse proxy just to add less verbose directives.
What does "a lot more versatility" mean? Just wondering what the advantages are.

Or do you just mean that R Notebooks are specifically better than the R support in Jupyter?
Project: A city marketplace of local retailers of all kinds, listing their in-store products for 1 hr delivery facilitated by our couriers, which offers more quality assurance and quicker delivery times, and it'll be cheaper than shipping. We're starting in NYC and would love any input/suggestions.

Problem: It's been frustrating to wait days after a purchase to receive the item from major retailers; also, everybody here has complained about Amazon recently, whether it's counterfeits or unreliability, but it's still commonly used due to avoiding a store visit. It'd be great to combine the conveniences of receiving the item quickly and avoiding a visit to the store for it.
I was helping maintain the /r/cubers place. We were neighbored with /r/bulgaria and ended up using the Bulgarian colors in the cube as well as helping maintaining their flag with them.

Was a really nice experience overall, I'm really impressed with how it all worked out.
What exactly is the problem? Finding the prime factors of numbers? Or doing it fast?
It is important to note that they aren't identical:

http://unix.stackexchange.com/questions/53633/does-using-ctr...
The first two points are, but not really the RAM. It's going to be an ounce at most. If they go from two 8GB sticks to two 16GB sticks, it wouldn't change size/weight at all.
FWIW, I've been using the touchbar MBP for ~6 months now and I haven't had any issues hitting ESC. It definitely feels different, but it works just fine. If anything my problem is that I hit ESC too easily now. I used to rest my hand above the ESC key when web browsing but that translated to resting it above tilde on the keyboard, which meant touching the ESC area. I've had to train myself to not do this.
There's really no need to edit accounting data, because any mistakes can be fixed with additional journal entries.
https://github.com/kahing/goofys/

I've been spending what free time I have on this. It started out as a curious project to learn Go and to prove that a useful and good s3fs like project can be done relatively quickly. These days it's used by companies moving PBs of storage into S3 to research labs trying to analysis RNA sequences with 100s of machines.

A couple things I hope to get done this year:

* a reasonably easy way to use it in conjunction of docker

* a reasonably easy way to expose this over NFS/CIFS (for devices/OSes that don't support fuse)

* a reasonably easy way to do caching

A bigger vision is to build more things on top of relatively commoditized web services so free software can adapt to the 21st century without a large operating budget.
Im working on http://www.OfShops.com
I decided to apply different organic growth techniques to an ecommerce project, to test out the different maxims that are being taught in Digital Marketing nowadays. I figured that if you're going to try to grow something, your best bet is to grow something that can be monetized. In the long run, if it grows enough, it could potentially become an interesting acquisition option for one of the bigger players in the ecommerce business.
That is impressive. Since before xmodmap on a device that didn't either have ctrl-key positioned so that "^]" was easier, or had the esc key closer to home row?
It's going to take more then a couple of weeks, been working on it for more then 1 year :) https://subzero.cloud/
That is not bullying, it is you taking offense to pixels. Which you are perfectly free to do, but nobody is bullying you by putting their art online.
Don't hold your breath:

> It’s worth noting that, when asked about a touch display here, in the context of efforts like Microsoft’s Surface Studio Schiller replies “No.”

> “That’s a whole other long discussion we can get into, but suffice it to say, it’s not a big need of the Mac Pro customers that we’re trying to address,” he says. “You mentioned again how we’re talking about both the iMac and MacBook – I do think that we have a two-prong desktop strategy with both iMac and Mac Pro, we think are each going to be important for pro desktops.”
POWr.io | SF | Full-time, onsite | https://www.powr.io/jobs

We help small businesses grow online. We’re a small team with a big user base. ie Tons of opportunity to make an impact & grow your skillset. We have never raised a VC round and we’re profitable.

Hiring:
- Sr full stack
- Jr full stack (1+ yr experience)
- Front end eng (strong design background)
- Biz dev
- Customer support
- Product manager
- UX eng

Javascript, Rails, Node, Backbone, React, Redux
----> More info: https://www.powr.io/jobs <-----
I was devastated when I first read it because I was expecting it to be like Red Mars for a colony generation-ship, but after I had some distance my impression is that it is super optimistic about how Earth is.

It's a relief to think that even if we do fuck up Earth in ways which seem like they may be very likely to happen, it is still such a good place for humans to live, ie better than any other planet we know of, even with serious terraforming efforts.
Yeah I hadn't heard Kay mentioned with hypertext either. I think he is profoundly mistaken about it too (or at least he was until very recently): https://news.ycombinator.com/item?id=14035411
I think there are a lot of interesting disciplines that make great minors but that are unlikely to allow the recipient to earn a living. If you're independently wealthy, it doesn't matter - otherwise you might find that humanities and STEM create an even stronger career.
Hi thanks for checking out Europa. sqlite dependency is on the roadmap. Can you open an issue on our github repo - https://github.com/distelli/europa

Secondly Europa does support public repos - just create a repo and then in settings make it public and then you can pull from it without a token.
Do you know which iPhone versions are affected? Is the problem patchable?
Soon You'll Be Able to Hijack Weaponized Police Drones in Connecticut
Ask HN: Should I feel pissed-off at having to pay double?
I've been asked by a SaaS sales guy to pay double the monthly fee as I can't afford to commit to an annual plan up-front. It leaves a bad taste in my mouth, but should it?

For context, the plan costs $99 a month, but because it's _slightly_ custom, they wanted 12 months up-front. None of their standard plans require paying for a year up-front. When I suggested that, as a bootstrapped founder, I couldn't afford to see $1,200 walk out the door today, he suggested I could pay monthly, but only at $199 a month (for the benefits of the $99 plan). Kinda feel a bit shafted, but should I?
Growing up on the farm, I had more than a decade of workplace experience, marketable skills, and exposure to life lessons like learning how to learn by the age of 18. In fact, I started my current career when I was 17. To just start thinking about those things after the age of 18 is difficult to imagine.

What I wonder is why we find it acceptable – desirable even – to shield children under the age of 18 from the reality they will face after that age? How did we reach a point where 18 year olds find themselves in your position? Historically, my experience would have been common. I think it is a travesty so many miss out in modern times. Learning about life has proven to not be a suitable replacement for engaging in life, in my opinion.
Too early for a sign up - but we will surely do a Show HN when the time comes.

Feel free to drop me an email (in profile) if you'd like to hear a little more about what we're thinking.
At some point there's a threshold beyond which alternative enegry sources become more profitable than fossil fuels, and at that point zillions of dollars will be spent on R&D. We're getting there, albeit perhaps a little more slowly than environmentalists would prefer.

One way to ensure that doesn't happen is to put a tax on carbon emissions. Governments then become dependent on fossil fuel usage for revenue and will enact policies that ensure that revenue stream never gets cut off.
A robust radix tree implementation to reimplement certain aspects of Redis. I should hopefully be a couple of days from the release.
Federal nutritional programs weren't available until 1932. Social Security Act passed in 1935. It's these programs that eliminated the starvation headlines in the US.

I agree it's not comparable -- many billions more people are negatively affected by the Great Recession simply because world population has grown so much since 1929.
Clickbait title. (technical deep dive? really?).
The sad thing is none of those logos and links have any meaning any more, almost all of them go to 404s, domain parked pages, or completely unrelated sites, and even when they were new they went to scummy ecommerce or porn sites. In 12 years, the imagery on /r/place will still hold meaning and the timelapses will still tell a pretty cool story.
> Anyway, aren't we all working 60-80 hour weeks?

Without a commute that's plenty of time for restaurants and bars ;)
I haven't read Robinson's book, but the interview is intriguing ... many speculative worlds based on the premise of man-made ecological catastrophe are positively grim (On The Beach, Jem, etc.) but Robinson's NYC is (apparently) coping quite well.

JG Ballard tackled a somewhat similar scenario in 1962 with The Drowned World. (1) It was London, not NYC, and the catastrophe was still progressing, which would lead ultimately to human extinction or the triumph of the reptiles. The beauty in the book was Ballard's language, the evocative descriptions of the world, and the sad main character living out his remaining days in a skyscraper penthouse. Worth reading (and comparing with Robinson's book).

1. http://www.telegraph.co.uk/culture/books/10273413/Will-Self-...
Show HN: Web Based Music Composition
Did... did you sleep through 2016?

If so, you might want to sit down. I've got a lot of bad news.
Just a heads up: Admin gems are only suitable for projects that are simple and stay simple. If you want to do something that's not provided by your admin gem, you'll be fighting it. I have gone through that arduous path myself multiple times, only to end up rewriting everything from scratch.

I would love to know if Django's Admin fares better in this regard.

More: http://rubyjunky.com/get-rid-of-your-admin-gem.html
Project: In early prototyping a IMSI-Catcher Detector.

Why another IMSI-Catcher Detector?

Mainly trying to address the problems with the current open source solutions which is that they are tied to phones, the phones must be rooted. Given that there is no such thing as a secure phone something that runs on other devices using software defined radio would be better, it is also unreasonable to expect everyone that would like the provided security to be comfortable rooting their phone. It would also be of use to organizations to prevent corporate espionage too as it could operate as a centralized security device.

Technologies have been carefully chosen so that it is as portable as possible. Currently it runs across Linux, Mac, and Windows and everything should be portable to Android also in the future.

Also it is completely absurd companies charge $40,000+ for a small embedded computer with a SDR, I built a touchscreen ARM tablet for the prototype for about $200, even with a amazing SDR it would have only been about $700.
Problem: Internet/phone access while travelling

Project: Building an Android-based cellphone that people can use while they are travelling
If that's not a metaphor for the history of the internet, I don't know what is.
I'm in your same situation and I think it really depends on your use case. Are you creating an API that's read-only and only for you or a small internal team? You could pretty easily write that in just about any framework (or even no framework at all).

Once you start adding on features like allowing writes, authentication+authorization, rate limiting, API discovery, client library generation, OAuth support, etc then something like DRF really makes sense.

DRF is pretty darn flexible and it uses Django so you get a lot of functionality for free, including the Django admin if you want a way to explore your data. DRF in no way forces you to use the Django models (or even any models at all).
It was neat how we at /r/archlinux were able to eventually come to an agreement with /r/sweden not to deface each other's logo, so that we had one less border to worry about :-)

Thanks /r/sweden!
Kaspersky Antivirus 2017 Crack and Serial Key Free Download
Yes ... the deck is stacked against her for other reasons which may make it entirely impossible to prosper in a tech field. I'm not saying that any of the other factors that might have led her to abandon the field that (from the writing it seems that) she loves. Mental health issues can have devastating effects on any career (not that that's fair either) but it's no secret that many of the homeless in the U.S. have mental health problems.
france tried to invade bitcoin but r/bitcoin fought them off after much struggle lol

very interesting social experiment!
Chip companies dive into machine learning race
SMS-based 2FA considered insecure (2016)
Maybe you could have people peer-review each other's photos and help them pick which one looks best. It could be based on a photo-liking mechanism whereby the most liked photo is the one shown to people first in the organic search.
EDIT: I went to your site and saw what you're doing. Good job.
There is a big difference between "I would prefer not to be routinely confronted with literal threats to kill me" and "I demand my own hugbox."
In addition to what I've already said, R Notebooks have native support for widgets, autogenerated TOC, and themes (although all of those can be added to Jupyter I believe). There's also the meta-support from being embedded in an IDE. (package management/variable explorer/etc)

Here's an example of one of my notebooks with all 3 things: http://minimaxir.com/notebooks/breach-network/

It's definitely a better fit for R.
I thought it was fairly enlightening. I was unaware of the computational limits that FIA imposes on CFD calculations.
IDK anything about GBA dev. But on x86_64, memcpy is traditionally implemented by copying 64-bit data until len / 8 == 0, and then copying the remaining bytes[0]. I suppose this is faster because accessing data with the proper cpu alignment is faster.

0: https://github.com/lattera/glibc/blob/master/string/memcpy.c...
Mastodon is (mainly?) a new implementation of GNU Social. It federates with existing GNU Social servers (which, as StatusNet go back to like 2007 or so). I hear it's a good quality implementation, though.
That's why I moved to Linux :)
https://support.apple.com/en-us/HT207688
I love this, but I would instantly want to access the info from mobile.

I'm a heavy Evernote user. About once a year I look for a replacement and consider rolling my own low tech CLI interface. Then I remember all the notes I take on my phone and how often I use the web version to look things up.
Not true, your code does not "become" GPL.

IF you release your code it will be in violation of the GPL and you can: unpublish the release, or switch to a different non-GPL codebase, or reimplement the GPL part, or ask the authors to give you a dispensation or switch your code to GPL.

IF you don't release it and use the code internally you are fine.

It's at least 6 options, only one of which requires licensing your code as GPL.
Looks great. Still not as sipmle as "priceline" for healthcare. Wish there was a market place just like that and providers operate like the Surgery center of Oklahoma. Similar to what pricepain.com did. Any effort in this arena deserves support.
Norwegian IoT sensor with up to 15 years battery life
My first CS class in college taught was in Scheme. I have a feeling this would be a very useful instructional tool.
I always was wondering: Godel proved his theorem regarding formal systems described in Principia Mathematics. In my understanding this is some higher level logic with recursive functions.

But how this can be extended to the whole universe of all possible formal systems? Who guarantee that there will be no some new system with quantum-oracle-operator, which will not be affected by incompleteness theorem, and can self-proof self-consistency?

Even well known m-recursive functions (which are essentially Turing machines) are wider class than primitive recursive functions used in the proof..
They just released new ones in September (the ones with the emoji bar)
I'm working on CauseGraph, a set of tools for analyzing cause/influence relationships between people and events over time. http://causegraph.org