skysight-inc/HackerNews huggingface dataset:
It would be nice if you guys had an API that let people get the specs of a certain product.

I once worked on a 3D printer quotation app and it would have been awesome to have all this 3D printer specs together to make it easier to configure the pricings.
I can donate free time on a GeForce 1060 6GB and a 12core XEON. If anyone wants to make a web frontend for the code in the linked repo.
Compare again:

bind(StatefulFunction<a>, a => StatefulFunction<b>) => StatefulFunction<b>
flatMap(List<a>, a => List<b>) => List<b>

Look at the structure. Don't pay attention to what List or StatefulFunction actually are, that's not important here. The thing to focus on is that if you can provide this kind of general function for something, then that something is probably a monad.

I.e. a function that takes in Something<a> and a function from a to Something<b> and produces Something<b>.

So why is this pattern so useful that everybody freaks out about it?

Well, that syntax sugar I showed you at the end, let's look at it again:

do
a <- f
b <- g a
h b

The general idea here is that "a <- f" is translated into bind(f, a => ...). The whole block would turn into

bind(f, a => bind(g(a), b => h(b)));

Bear with me. Now, let's look at one more example:

bind(Optional<a>, a => Optional<b>) => Optional<b>

Optional<a> is just a data type that maybe contains an <a>. Think of it as a safe replacement for null. So, bind for Optional looks at the first argumenta and passes it on to the function and returns its result, if the Optional is not empty. If it is, bind also returns an empty Optional.

Now let' say we have a bunch of Optional producing functions:

getUser(userId) => Optional<User> // user may not exist
getAddress(User) => Optional<Address> // user may not have entered an address
getStreet(Address) => Optional<Street> // address may be weird

Now ok, what would we do in a language without monads?

user = getUser(userId);

if (user.hasValue()) {
address = getAddress(user.getValue());

if (address.hasValue()) {
street = getStreet(address);

// do something
}
}

Well, that's not great. But because Optional is a monad and we have that nifty bind sugar, that's how that code would look like in Haskell:

do
user <- getUser userId
address <- getAddress user
street <- getStreet address

Much better.

More generally, it turns out monads are literally everywhere. The guy that talked about CPS transformed programs being monads is right - that's the continuation monad.

Let's look at that. If you know node.js, you know that its API is basically asynchronous:

fs.open(path, callback)
fs.read(fd, ..., callback)
fs.close(fs, callback)

Now, let's read some file in node:

fs.open(path, function(fd) {
fs.read(fd, ..., function(result) {
// do something with result

fs.close(fs, function() {
// file closed
}
}
}

Well, that's ridiculous. But becase we have the continuation monad, we can write exactly the same thing in Haskell:

do
fd <- open path
result <- read fd

// do something

close fd

So why are monads so useful? Because they are so general. They can be used to abstract over many many things that exhibit the basic pattern (S<a>, a => S<b>) => S<b>. Not to mention that when you write a function to generally work with monads, it will work for ANY monad. List, State, Maybe, Cont - doesn't matter.

There's not much more to it than recognizing that pattern. That's it. Once you see that that's literally it you'll start seeing monads everywhere :)
Post PSD2, would a PSP be able to act as PISP and hold customer funds while acting as PISP since it already has authorisation to hold funds as PSP?
4Mbit/s is slow nowadays?
I don't know if it's still a thing so much these days, they always used to be used likewise for international calling using a cheap international calling card. Make an untimed local call to the international call provider, they then use VOIP or something to route the call to the destination country, and turn it back to another untimed local call. Great for calling family back home when backpacking.
i did not, but your best bet is biology. biology is easy to learn, because knowledge branches out pretty fast, unlike physics where you need a whole undergraduate degrees worth of knowledge just to understand subdisciplines.

traditional biologists are not mathematicians - they wont expect you to know much about computers, therefore you are "overqualified" at least in your area of expertise.

biology has a whole bunch of unsolved problems in areas like protein folding, that are basically problems in mathematics. in order to understand those, you dont really have to be a biologist, but if you spend a couple months studying the underlying biology, you will be good enough.

degrees in "bioinformatics" are popping up everywhere, because they need computer scientists who know a couple things about biology.

and you get to tell yourself that you are a small cog in the machine that works towards a world that is free of disease. if thats what you want to do, i'd go into biology.

how do you get there? apply for jobs. maybe rearrange your resume a bit in such a way that it says "numerical simulations" instead of "iphone apps".
Some prolog books have chapters on how to implement ExpSys on it. I don't know much about this field, but in case you have nothing better ..

ps: this book https://www.amazon.ca/Prolog-Programming-Artificial-Intellig...
I've actually run mitmproxy on my phone in a chroot before, somehow (several years ago now). However, I can't remember if it was a rooted phone or not, sorry.

Suffice to say it's perfectly possible, most phones are plenty powerful enough.

[EDIT]: if it's not rooted, I know you can still use it with a large portion of mobile traffic by adding the trusted cert it generates and then setting it up as a network proxy through standard settings changes (ie: no iptables transparent proxy necessary). I believe some apps will detect this.
It's interesting that, in order make life livable, I don't actually write pure CSS anymore. I write Sass w/Bootstrap (and I like it). I know that it makes for a bloated stylesheet, but it beats drinking myself to death, mumbling about how the W3C failed to do their damn job.

And fail they did. Rather than hammer out an explicit standard, they just kind of winged it and left the actual implementation details to the browser builders. Those guys were never going to play nicely together, but at least we'd be able to blame someone else.
Even better, it would be cool to decide what parameters to take in account so that the comparison is as accurate to your needs as you want.
An open letter to Trump and Putin: The world needs Nuclear Zero
don't make me laugh. slaps xor1 around a bit with a large trout
Pitty
I didn't know it was flawed.

That said, I have seen the behaviorial attitude switch in every profession that yields power over another individual.

I have three classmates who became cops. I knew two in high school, one was my best friend in college. They literally turned into different people once on the force. I now just cringe when I go to their FB pages. Actually, I don't go to their pages anymore. The change was so dramatic--we have nothing in common anymore on any level.
Thank you so much for writing this @cocktailpeanuts, I'm surprised there is so much discussion around the 'yes/no' how to make the decision.

Ask better questions, and you'll get better answers.

So, the question shouldn't be 'Is there room for another search engine', but perhaps 'Would a better search engine ...', 'what comes after search engines'.

I think even looking at the 'flaws' of google aren't really going to give you a game changer. You'll find a whole that Google can easily fill.
Ideally, yes. But the cat's out of the bag, I don't think we can go back. Best case option is cool heads and seeking common ground, rather than divisive politics. That starts at home.
Yes, I wasn't sure about the rolled r. I could certainly make it out once I had shifted gear, but I have extremely received pronunciation myself; I wonder what someone with a more modern ear would make of it.
Isn't their history with Linux about making their games wine compatible? I think that was the case for wow
Thanks! I feel good knowing that I'm doing my bit to help make the world a better place. I just love seeing the smile on my clients' faces after a good quarter.

The management fees and bonuses are just the cherry on top.
I'm not hostile to them per-se, but I don't see much usefulness in systems like this one these days.

For some kinds of video game agents, traditional logic programming might be fine.

But for anything that I would consider using in the real world, I would want to use probabilistic knowledge representation and reasoning.

Even for many kinds of video games you'd want that instead. Like in a first person shooter where the agents have limited knowledge of the world state, you want to be able to reason about the other player's position and status without cheating, so that the agent can be more realistic and fair.
That would be great. I was actually thinking of coding a plugin like that
Is it still fake news if it makes you feel good?
Directory traversal in a dishwasher
GP has not missed the point. The deactivated account should have been secured with a decent password (if the "lack-of-an-account" was important).

It wasn't reactivated without any user input - or at least we can't possibly know that.

We just don't know who the user was who did the reactivating.
An effect somehow related to the Donkey Kong shots at the middle of this article[0], where being "too crisp" breaks the "blend" between the sprites and the background.

[0]: http://nerdlypleasures.blogspot.fr/2015/03/the-case-for-comp...
If there's only a 0.1% chance of getting a job from a completely cold contact, but you send out 1000 of them, your chances of getting a job out of it are pretty high.

Of course, there's also the matter that if you keep it up, your name is going to be instantly associated with application spam and probably blacklisted.
3 Billionaires on Failure, Gamification and Growing Pains
I would say that rather depends on what OP means by "properly".

If OP already knows Scala and would like to get better at it and one assumes that "Scala as Haskell in the JVM" is more desirable than "Scala as a better Java", then yes, that's a great suggestion.

If OP wants to learn Scala from the ground up, I disagree pretty strongly with starting there. It's a great book, well written, with a wealth of challenging and mind-opening exercises, but I wouldn't recommend that as anyone's first exposure to the language. The second or third, sure, but it purposefully restricts itself to what its authors consider a sane subset of the language.

I happen to agree with their definition, but, in my experience, knowing a programming language is about reading it as well as writing it, and by restricting your learning to a subset of the language, you'll find yourself unable to understand perfectly valid, normal code - code that is part of the standard library, for instance.

I would rather suggest reading Odersky's book while allowing oneself to skip large chunks that go rather in too much details about fairly useless things like the XML API. Or going through scala-exercises (https://www.scala-exercises.org). Or the coursera class - its first incarnation was pretty good, I assume the new one is at least of the same caliber. They might not make you an expert overnight, but they'll get you to know most of the Scala features you're likely to encounter in the wild, and to be able to read and learn from most Scala OSS projects.
European media reported opposition rallies happen all the time.

Rallies need permission from city authorities to happen. Permission was applied for the Kremlin square and denied. Alternative venues suggested by authorities and refused by organisers, which maintained original plan thus engaging in illegal activity and defying authorities.

Organiser and several protesters arrested.

Is there a country where protest marches and rallies do not need permission from, at least, city authorities to happen?
Some years ago I tried to use python-for-android, but found it too much of a burden to do what I wanted, which was just to simply integrate existing python code in native android apps (with Java). Don't know how much has changed since then, but python-for-android's bootstrap used pygame and pysdl to start an opengl scene, where you would have completely non-native widgets.

I rolled my own solution [0] which uses crystax distribution's of CPython for android (Python 3.5), and I did a very simple JNI bridge between java and cpython using an RPC-like mechanism over json. Basically, on the java side you call a function and pass the arguments [1], and on the python side you "route" it to your own functions [2]. I think all pybridge's code is very very simple for those who understand a bit of Java, a bit of C and a bit of Python, and I explain in the readme how everything works, including which classes/files are relevant.

I have an app where I use this [3], and although it hasn't earn me much money so far (~20 downloads, 110€), it is rated 4.7 in the play store, so the performance of accessing python functions on android is not bad at all..

[0] https://github.com/joaoventura/pybridge

[1] https://goo.gl/sw4JLt

[2] https://goo.gl/17SlVb

[3] https://play.google.com/store/apps/details?id=com.flatangle....
Your simple example of associating a Customer/Client to an Address is a great one - it could be that a really simply approach is required, or you may actually need the powerful features around such things that some high end ERPs support.

In a previous job I spent a lot of time trying to get a shared understanding of what "customer" actually meant (this was initiated by realizing that the Customer Loss Ratios that execs wanted were really nonsense). This eventually turned out to be a non-trivial problem.
that sounds more like a symptom of forgetting to include refactoring in your agile loop, than an inherent issue with small iterations.
Could you explain why Kotlin is more productive for you?
Lots of PR-ish tone here. Image fusion is pretty standard in video cameras, it's part of the imaging pipeline. The IP on that dates back 15-20 years.
Shit Startups Do: Spending too much money on hosting
Time to get your hands dirty, then!
They aren't aware of suspicious activity because they think OP reactivated his own account!
This is a good question, I don't have a tidy answer, it just feels like that is the way of things, born, grow old and die, if we change the die bit I do feel like something is lost, if I could freeze time, no more births, no more deaths, would I, no, I don't think so, and we are still evolving, so perhaps that is a good reason to let things run their 'natural' course?
> get blocked by terrain

This made the green race (forget their name) in Supreme Commander quite overpowered - as artillery doesn't suffer from line-of-fire and that race had the most powerful artillery.

The simulation of projectiles also made the game run like a dog, but we loved that slow dog.
You've described a marketing agency.

Whether or not a startup can justify the expense is really between you and your investors because it will likely be a very significant outlay. There's a reason most people DIY as much as they can.
DealWithHemorrhoids.com is for sale: $1,300 (18 bids)
https://news.ycombinator.com/item?id=13964206
This is super impressive and something that I didn't think would be possible without someone very skilled in photoshop going over the images.

As a photo enthusiast, I am very excited about this, but also a little worried that soon very simple apps are capable of doing the craziest of edits through the power of neural nets. Imagine the next 'deep beauty transfer', able to copy perfect skin from a model onto everyone, making everything a little more fake and less genuine.

The engineer in me now wants to understand how to build something like this from scratch but I think I'm probably lacking the math skills necessary.
I also went to Strathclyde :)

In Scotland at least, student loans are only used for living expenses, similar to your experience. Tuition fees are paid by the Scottish Government, as education is a devolved power [1].

In England, tuition fees are paid by the student, usually through a student loan, and are capped at £9k/year.

[Warning: political] I couldn't answer on Labour's priorities. They're becoming increasingly irrelevant north of the border, and increasingly impotent south of the border.

1. http://www.parliament.scot/visitandlearn/12506.aspx
Try this one. Haskell in pictures:
http://adit.io/posts/2013-04-17-functors,_applicatives,_and_...
You are right that 256^15 is a large search space. This number implies a 24bit color scheme.

(2^24)^5 = 256^15

Many of the colors in the 2^24 range are similar which is why most of the linear search space is boring. Our eyes don't care much about #f67368 vs #f67468 but we do care about #f67368 vs #f6e668. Why?

0x73 x 2 = 0xe6

Instead of blindly incrementing RGB color values, look at colors which differ by powers of 2. For example, choose 15 random values between 0 and 8. Let's call them c0 to c14. Then assign those numbers to your color pallet as 8-bit RGB values as follows.

Color0: R=2^c0, G=2^c1, B=2^c2
. . .
Color5: R=2^c12, G=2^c13, B=2^c14

Rounding 2^8 down to 255. You will find non-boring color schemes because the search space better fits how our eyes see color. This new search space is only 9^15 which is just less than 2^48, far less than 2^120 and a lot more interesting.

You could also search the HSV color space in this way and you don't have to only look at powers of two. Consider for, example powers of 1.25. The point is that by organizing your search, you will find interesting colors pallets easily.

I'm betting that your GANs already encode some sort of exponential search based on how you trained them vs your initial attempt using L1/L2.
So supposedly OP was allowed to reactivate the account without any hassle at all, but then to actually sign in ID has to be shown? That is even more ridiculous since that just leaves the account in a limbo state for no reason at all. Should have asked for ID prior to reactivating if going down that road.
OOP is definitely not dying down - outside of the startup bubble it's still the predominant way code gets written. Silicon Valley may be building everything in Scala and Haskell these days but the rest of the world is still built in Java, PHP and C#.
Cool. What does `k` stand for? A function?
Does anyone know how long it takes per image? The only piece of information I could find was that the run script uses 8 GPUs, which suggests that it takes a while.
What I would really want is just support for the common Windows-like case: Disallow opening the file by another process for reading or writing, paired with a flag you can pass to open(). Just these two:

open("file1", O_CREAT | O_EXCL | O_LOCK_RW);
open("file2", O_CREAT | O_EXCL | O_LOCK_W);

First atomically creates and locks a file if it didn't already exist and forbids other processes to open it for either reading or writing. Second does the same, but permits other processes to open it for reading. If you want to release the lock, maybe you can do it with fcntl, or maybe you just open the file again and close the original descriptor. Locks are always tied to descriptors, not like epoll. You aren't required to combine the lock with creat|excl like in the example, you can open and lock an existing file as long as the lock won't conflict with another process's open fd. That is, if process A has opened file X for reading, process B can open file X with O_LOCK_W, after which no other process can open file X for writing, but process B can't open it with O_LOCK_RW. Multiple processes can have O_LOCK_W but only a single one can have O_LOCK_RW. If the file system can't support locking (NFS et. al) return -1, set errno to EINVAL. You can pair this with fcntl to take a lock with an optional timeout on an already open file.

This covers the usual case of "I don't want someone else to mess with this file while I do things with it", while avoiding the explosion of intricate states that region locking brings, and lets you create-and-lock atomically a file.
Go is the new C
H1b visa holders can be Scoop drivers
Python is Turing Complete, so yes.
Here's the clip! https://www.youtube.com/watch?v=EErpYvOdRf4
The Starcraft 2 modding is incredibly in-depth* and that scene is slowly dying.

* I am pretty sure that Blizzard actually made an entire other game, Heroes of the Storm, using those same tools
And what about a jammer?
I think you should take a look at create react app. (https://github.com/facebookincubator/create-react-app)

It allows you to build a react app without any configuration, with dev/prod builds, hot reloading, tests etc...

If you really need to configure your own, just "eject" and there you go, you can change everything.
For many third-party websites your facebook account is your identity, i.e. they are super duper important.
No they didn't! go back and read your own post and the screen shots.
OSInt Framwork
You know you're in a place for nerds when you see social interaction being explained in terms of TCP/IP instead of the other way around.
I don't know whether you noticed it, but the paper reveals it is co-authored by people from Adobe. There very well might be intentions towards that later on.
I hope they are angry; at their own leaders for failing to provide the same, and not based in some misguided theory on Scottish subsidies, which is a far more complex issue than many tabloids would have their readers believe.

Stats here paint are more nuanced picture: http://www.independent.co.uk/news/business/comment/are-the-s...
IQ is strongly hereditary and is pretty well correlated with economic success, so I don't see how this is troubling...
If you are not attractive the likely scenario is that not many will want to be around you long enough to discover substance.
I would agree and disagree.

The first course is the one that's dedicated to Scala the language, whereas the rest are more focused on reactive/parallel programming that happens to be in Scala.

The first course is good, and acts as a good introduction if you've encountered functional programming before.
Android 'O': Google was ‘inspired’ by me?
Which makes "Git is the standard now and has been for years." pretty much false, right?
Wow, this is BY FAR the best C++ code I ever saw!

It should be a study in itself.
BT fined £42m over delays to high-speed cable installation
This doesn't affect Google Voice yet afaik.
The White move to f4 put the Black king in check; if White hadn't put the Black king in check, Black would have checkmated with Queen to a1.
extra-points for using permanent markers if whiteboard markers are not handy
Care to elaborate? What exactly did the person do wrong? Seems like a very strange thing to be upset about.
Beautiful, modern and high-quality photo galleries in JavaScript
Which is why I always prefer working on technology to working on culture. With right technological landscape, people can become "green" by just doing what they always do. Trying to change human behaviour directly is a bit like asking water to start flowing uphill on its own.
About SEO Manager – Thomson Reuters Community
Nicely written!

I've been in a similar situation to the one you describe and I've learnt the hard way to optimize DevOps to cut off costs. Now I feel confident that I'm not going to cry when I get next months bill.
Goliaths are derpy as fuck because they are running on node.js
Yeah no problem if root is required, I just wanna know what did you use as a layer in between it and android. Maybe there's a relevant tutorial I could follow?