skysight-inc/HackerNews huggingface dataset:
Are you using a specific back end framework or just plan old node?

I generally don't ask questions about databases like you are here but I have used both mysql and postgres with large node projects (as well as others!).

Popular: I would say this feels like a toss up. Both are pretty popular. I think they go back and forth on pure popularity. Both have strong communities. Mysql is "owned" by oracle so I guess you can take that into the popularity equation.

Easy to set up: again, a toss up. Both are relatively easy to set up initially. Both have a huge number of optional configurations depending on your needs. Anecdotally, mysql has a lot of engine options depending on needs. Out of the box, they are fairly similar on setup. Also fairly similar on node setup and configuration.

Scaling out: these are both RDBMS systems so scaling out is always an adventure. This has little to do with node and a ton more to do with your scaling needs. Both have the capability. Neither is easy.
I just sprained my ankle on Monday, and I've not iced it, and been trying to use it lightly.
CCD is an economic problem. The varroa mite wiped out feral North American honey bees --- which are not native to North America --- a long time ago. Supposedly, any honey bee you've seen in the wild for the past decade has been part of a proprietary hive.

So, ordering more honey bee queens off the Internet seems to be a pretty reasonable response to the problem of a 10-20% increase in overwintering hive failures.
> being right over half the time is generally considered the acceptable standard for probable cause.

Care to cite that?

Because that means that in a neighborhood where 51% of the houses contain narcotics, the police have probable cause to search every single house.
#geeksplaining has massive potential
Why Outsourcing Software Development Is the Right Choice, Always
Yes, I have had the intention of just cloning a couple of services, but then again trying to win on the customer acquisition front seems to be another difficult matter.

Most SaaS businesses use the exact same techniques: Cold calling, cold e-mailing, ads... so the differentiation factors are very narrow.
How does it do DNS? Like Namecoin? Reading the site now..
>I disagree with at least one of your premises. In a deterministic universe, one could (assuming perfect knowledge) predict this exact comment you would make now, thousands of years before you were even born. How is that free will?

How is that not?

Your objection just restates "for me free will shouldn't be deterministic and its decisions shouldn't be known in advance".

Whereas the core of my argument was that it doesn't matter if it's deterministic and known in advance, because it's still the inevitable expression of one's self (which has a certain history which makes it itself).

What you're saying would imply the need not just for a self, but for said self to be independent of your history, like an external agent, and able to make decisions that are not depended on its past (and hence its presice state).

But (my argument is) the core and sole essense of one's self is it's past (as expressed in your state this very moment). That, and nothing else.

Note also that traditionally "God knowing everything" in advance didn't sound conflicting with free will. Free does't necessarily matter that the decision has to be taken on the spot -- just that it will reflect what you want it to be.

Put another way: you StavrosK has to take a decision now.

What would "free will" be in this case?

Some thinking thing (your soul?) standing above your brain and making decisions that might or might not fit with your past, brain wiring, memories etc?

Or you (your brain wiring etc) making a decision by drawing upon its very state, which in turn is affected by its past experiences and previous history, to the very detail, so that it can only make a single specific desicision (the one you end up taking)?

Where would any other decision besides the one you take come from? That would be like a third person being inside your head, given all the details and told to make a decision that might be whatever...

P.S. Not also that determinism != ability to predict in advance necessarily, even if you have perfect knowledge. For some systems (e.g. certain finite automata) you have to run them and you get the state piecemeal, by running them only.

There's no shortcut function that tells you the state at moment X(10000) without having to do through the previous 10000 steps (unlike say ballistics, where if you know the initial power, angle etc, you can calculate in O(1) the path at any later moment).

Of course you could always run the steps faster. But if the universe is deterministic, then you'd have to run the universe faster, which is not doable.

(This argument or similar is put forward by Wolfram IIRC).
One more vote for Python/Django.
You can trust hosted things as long as you trust the deployment targets. Or, more specifically, have a trusted relationship with the deployment target.
Life finds a way. I think in some ways, CCD has probably "pruned" the bee population in a good way. Beekeeping allowed weaker hives that would have normally died off in the wild to continue to spawn new hives. CCD has reversed that trend, and may have improved the overall strength of the bee population genetics.
This is perhaps at least as prevalent. Sometimes people really do want to do X.

If you're nice, always answer the question as asked, and then speculate about better solutions to possibly related problems.
Almost all alphabets have been lab-bred, especially ones with short histories. Languages are another thing though.
How+to+get+Free+Education+with+Elite+Universities+(MIT,+Duke,+and+Harvard
We'll need a bridge into the current (centralized) DNS system. For now there is a domain that does that automatically for you.
Thanks for the report, we're on it.
>> It's an interesting heuristic, but I think your limitation that it be less than the square of the Nth prime is a case of overfitting.

Maybe, but the result is obviously guaranteed to not be a multiple of any of the N primes. Since the smallest factor has to be greater than N, that means prime for up to N^2 (or (N+1)^2 I suppose).
Change UI from background after changing Scenes in cocos2d [Objective-C – iOS]
I just submitted my first app to the app store for review (www.kingof20.com) and am already thinking of the updates I need to do.
I am making a board game app kind of like Words With Friends in Spritebuilder (Objective-C). It is made up of a MainScene and a GameScene. At the moment the computer opponent must think for about 30 seconds in a background thread in GameScene, in this time the player cannot exit to the main menu or the computer move will be lost (I prevent this from happening with some brute force methods at for now).
How can I update the UI on the MainScene after the player starts the computer's thinking in the GameScene and then ops to leave to the MainScene (and perhaps return to the GameScene before the computer has made it's move)?
I hope I have explained myself properly. Thanks.
So a software development outsourcer says that outsourcing development is always the right choice. Forgive me if I suspect that there may be some bias at work here.
I created Startup Championships as a way for startups to compete for prizes, but more importantly as a way for all participating startups to receive user feedback.

To accomplish this Startup Championship will use Amazon Mechanical Turk to provide independent and transparent scoring to determine a Champion and otherwise provide feedback to all participating startups.
A small number of bees when placed with a queen will quickly produce a full size hive. Bee hives have a size limit, so dividing them into two smaller hives produces rapid population growth. A queen bee can lay 1000 eggs a day.
> I don't know what you mean exactly. Do you mean you want to test the code that will result after the merge instead of the commit in the feature branch? It would be a nice option to test the merge of the feature branch with master instead of the feature branch itself (you will have to retest all MR’s every time master is updated). BTW The new build trigger API (to be released in a month) is one of the upcoming features that will allow more build customisation.

No, I want to trigger additional types of tests under two circumstances:

- When a merge request is created

- When additional commits are added to a branch for which a merge request exists

The utility is: I don't want to run integration tests if someone is just pushing to a feature branch - that takes up worker time. But I do want to run integration tests before that feature branch gets merged upstream. Achieving this by having everyone submit merge requests to an intermediate branch doesn't work, because we don't know the integration test result until after the merge to the intermediate branch is done, meaning developers might be trying to push a bunch of failing code to the same branch, just to get integration tests to run.
Thank you thank you thank you. I couldn't stop chuckling for at least five minutes.

I waited 24+ hours to respond because I didn't want to call undue attention to your comment. I didn't want anyone to downvote you for violating HN's unwritten proscript about humor.
This is really exciting, thanks for sharing. OpenCL is probably the future of everything. AMD is going to be an important part of it for sure. Fantastic to see this explained in the Clojure context; it feels right at home!
> but contempt for javascript

Opinions like this make me very sad. And not because I love JavaScript: I love all the languages (take a look if you want to see the list: https://klibert.pl/articles/programming_langs.html). It's sad, because we have now more languages than ever before, yet almost no one uses them, because they all "contempt" some of them, "dislike" others and are "not interested" in the rest. "Using the best tool for the job" was never that easy, yet nobody wants to do it, choosing to try and translate completely incompatible semantics and features of one tool on top of another. It's really disappointing.

This presentation sums up my dreams about how development should look like pretty nicely: https://www.youtube.com/watch?v=qluiQgbXZBQ
Fermilab experiment sees neutrinos change over 500 miles
I like this. I've started to try to call my friends more instead of messaging them through some social network, this seems like the natural extension to that. Does iOS or Android offer some kind of built in conference function? Or do you use a service or something self hosted?
Why was this downvoted? Does CCD selection pressure help or hinder bee genetics?
Payment isn't necessarily in cash. You pay with your time, commitment, interest, attention. If there is literally anything else you could be potentially doing but are spending time with a girl with the hope of getting sex out of it then you are paying for it.
Bitcoin. Cant ask for more crazy, more potential, or less regularity.
Yes, because we need another negative preoperative targeted at our community.
"Quality" here means the quality of your result. If you are learning to paint/sing/code, it means how good the painting/singing/code is. The advice is to not "worry" about the quality, in the sense that if you are not producing good quality output, that does not mean you are doing anything wrong. When you are just learning something, the output will not be good quality! You need to produce a lot of crap results, and that makes most people uncomfortable.

I can relate what you're saying to my experience taking singing lessons, though even there, I find that making progress is all about turning off the inner judge while you practice. All you need to practice something is a bit of intent and a bit of awareness; it's not important that you "worry" about the quality of what you are doing, per se.
I think it would be interesting to do away with search engines.

It's so easy to find stuff these days, if we could instill the idea of discovery and actually exploring the internet again, I would dig that.
If we could convince the suspects to repeatedly drive by the same officer and dog n number of times so they could be pulled over and a trial run, that might just work.
This is my exact frustration. If you want something intellectually exciting with no ads, no filter bubble, and no click-bait, I'm building Canon of Man.

You can sample it at: https://canonofman.meteor.com

It's not launching until Monday, but follow @canonofman on Twitter or sign up on the site and I'll let you know when it's live.
That's one the advantages of Rosetta Stone - http://bhami.com/rosetta.html

It was posted elsewhere in this thread first — https://news.ycombinator.com/item?id=10023535 — so don't vote my comment up.
IPNS (The Inter-Planetary Naming System) is a step in that direction...

http://gateway.ipfs.io/ipfs/QmTkzDwWqPbnAh5YiV5VwcTLnGdwSNsN...
What an awesome list. Props!
Actually, this library appears to be MIDI only.
Common Cassandra data model traps
Isn't this basically the More Everything plan? Line access fees plus data buckets aren't new here. The lack of a two year agreement is new though.

I wonder if the whole "we'll buy out your plan for you to switch" thing is the big motivator for this. By killing off contracts, these carriers end their need to buy out each others' ETFs and such.
While these things may or may not be interesting developments in the infrastructure of the internet, it doesn't really counteract what OP is saying. Streamlined, boring, closed garden social networks and ad-filled "news". And only the techies are left on the IRC servers :(
The weirdos are all still out there.

Something has definitely changed though, the internet communities of the past used to be very VERY tight-knit.

There just wasn't that many of us, so you'd talk to people unlike you. I knew my bbs friends all by their first and last names, had photos of them, would talk to the better ones on the phone, they were some of my best friends despite them usually being completely different from myself.

These days, I don't know a single person on the internet, and I rarely interact with people on the internet who are different from me, so I never get into the depth of conversation I once did. That's something lost.

The internet used to be like a dive-bar in an ivy-league college town, full of geniuses and weirdo townies. These days it's more like the city of New York -- no one knows you, and no one cares to.
USB Drives. Just distribute USB drives to everyone everywhere:

On the subway.

On the bus.

At college campuses.

At bars.

At night clubs.

...
Did you miss that I responded to you? You asked, I answered the question. That prompted me.

It's great that you intend to treat your employees well. I hope every company does that.
> but it doesn't explain where they come from.

Sure it does. They come from the Internet, it explicitly stated that.

Joking aside, from my understanding, the issue with bees is a combination of multiple factors, such as pesticides, disease, parasites, etc.

Those are primarily local issues. So it's perfectly feasible to find some isolated spot in the US, grow a ton of bees, and ship them across the country to wherever they are needed to make up for any local losses.

We can easily engineer around this issue, by increasing the bee population, genetically engineering them to be more resistant, wipe out parasites, or change the formulation of pesticides. It seems the market is responding by simply growing more bees to make up for the losses, which should be a viable solution in the short-term.
... and if you consider that bad, inefficient process beyond your influence in the foreseeable future, then intentional incompetence is the good strategy to avoid doing it. Such situations easily arise once you work within larger organisations.
Please resist commenting about being downvoted. It never does any good, and it makes boring reading.

https://news.ycombinator.com/newsguidelines.html
Not sure what most people do. I sometimes hit the new and the ask pages to see if there is some good content that I can upvote or comment on.

I recently began writing and have posted a few links to articles. I just recently found that an article that never made it to the front page of HN, accumulated only 3 points and no comments generated about 20 views of the article originating from HN.

Twenty page views from readers of HN is not "great" but it is 20 people with exposure to my thinking that I didn't have 3 days ago. I view this as a net positive.
Can you elaborate on what you mean by the "very large/significant complexity drawback"? From what I've seen (which is admittedly small) Rust is much less complex than either C or C++.
The point about ethereum's internal state is good, but consider what could happen if two nodes disagree about the state of a contract: You'd wind up in a situation where different nodes could potentially authorize different payments.
On the nature of getting sidetracked
> Are you talking about Python limitations?

Yes, but:

> for 1) if you can put your sockets 'close on exec' no?

Yes, if you're the one that opened the socket. If you're using a library that opens that socket for you (e.g. a memcached or postgres library in my example), you don't necessarily have access to the socket itself. And now instead of children corrupting the parent's socket, you just have children with closed sockets. So you still have to solve the inherited-resource-sharing problem, FD_CLOEXEC isn't magic fairy dust.

> 2) how about using shared memory?

Possible but has its own downsides (you can't lock with regular posix mutexes, you have to make sure that the memory you're sharing is all in the shared block so you can't just use malloc, which means that you can't share objects that you don't control the allocation of, like, say, libraries' objects).

Yes, these are solveable problems. There are lots of other ones, these are just easy examples. Like I said:

> Yeah, you can design around it. But with threads, you don't have to.
Van, Taxi Latest NY Lodging Option for Bold, Cheap Visitors
What would a non-native honey bee in the wild look like? I live in California and the bees in my garden and in the local parks are various. Some look like bumblebees and some look like just bees but I don't know bees from bees.
Being disconnected.
Thanks for the feedback. So they're basically comparable, with a slight edge for MySQL. Guess I will play with both and pick whichever feels more handy.

I have seen many discussions on Postgres and MySQL on hacker news, so I thought I might ask. What's the argument against asking such questions? Sorry, I only just signed up, after being a passive follower for a very long time.
It's mostly pesticides.
I didn't realize the pricing changes. Mandrill is super easy and its $10 for 25k emails. But Sendgrid sounds fine too.
What your describing is the best part for me.
Obviously spending days languishing in confused and lonely impotence is horrible, but no job (in my experience so far) has the same high of going from producing nothing (ie. program doesnt work at all) to producing a perfect working product in one second, one line, one moment of insight.

As I get more experienced I get stuck or encounter problems less and less, I think I just keep doing more challenging or unfamiliar work in order to keep chasing that high.
Likely most server boards before 2011, and some server boards before approximately 2013.
Thanks. That is one of the essential elements of blogging for me. It allows me to link to larger text from short comments. ;)
I tell you what is boring: people voting down responses because they don't agree with them and then having nothing to contribute other than a lame rationalization. Better?
It will reach front page as long as people are interested.
Eh you're probably just looking in the wrong place for a community.
I don't think there has been any empirical evidence regarding the idea that proof-of-stake method can reach consensus, so I'm not sure about the quality of this document. It is sort of implied, but in reality one can easily fake n chains and there would be no way for a peer to independently figure out which one is valid. In proof-of-work a peer can always rely on the idea that the chain with the most work is the valid chain.

Proof-of-stake is an interesting idea, but until I see empirical evidence showing that it actually works, I remain skeptical.

Here's a good read on the subject: https://download.wpsoftware.net/bitcoin/pos.pdf
That was kind of the original beauty of the internet, friendships across nationality, age, sex, religion, etcetera. {An,Pseud}onymous or not. Now we're back to hanging out with the same people on the internet as we do in real life.
> I can't figure why would a browser double as a PDF reader, for instance, when a native app is invariably faster, more feature-rich, more customisable and more secure.

A native app is less secure. They're all written in memory-unsafe languages, are not guaranteed to be up-to-date, and do not run sandboxed. Integrating a JS PDF viewer into the browser hurts performance, but it's more convenient (no separate app to open, can start reading before it finishes downloading), and much less likely to be a security risk.
I actually think that the scenario of Rust versus C++ is going to be quite interesting to see unravel, precisely because I don't think one is going to definitively weaken the other, but both be on their respective tails. This is because of the abnormally dramatic evolution C++ has seen over the past 5 years or so, and is hectically continuing.

Though this has pretty much definitively made C++ too large for any single person, and there are some fundamental semantics that ensure Rust will always have the high ground in some areas, the lines related to functionality are getting blurrier.
...except for the regular drilled holes in the monolith?
For me it's when the page itself moves. This can be JS like some annoying ad that pushes the page content down until it is acknowledged and closed OR the worst offender is when on mobile I click something and somewhere in between my physical click and when the click event is actually executed in the browser some additional asset or visual element loads and now I end up clicking on something entirely unintentional.
Agree, this happens extremely often
This is old enough to have been Neanderthal?
With external pdf-viewers the browser asked each time before downloading and showing a pdf. Now it displays pdf's by default. That's why an exploit could sneak through as advertisment. It couldn't have done that before.
If it weren't for that stress, I wouldn't be a programmer. It is that variability, and challenge that keeps me coming back and satiates my desire to problem solve. But I understand, in the moment, it is hard to step back and see programming this way.

The only thing I do when feeling stressed, is to physically step back. I walk away from the computer, go on on a run, or get some sleep.

It is often within this absence that the solution to my programming problem emerges.
I thought Google hangouts allow for conference calling. I'm not sure what the limits are in terms of how many people you can have on a hangout at a time.

I'm pretty sure this was one of the selling points of hangouts to begin with.

http://www.google.com/+/learnmore/hangouts/
How I Failed, Failed, and Finally Succeeded at Learning How to Code
So... Don't use a search engine.
Just consider the laptop fan additional ambient sound!
Here's a good starting point:

http://www.pollinator.org/PDFs/MontanaBeeGuide-Final.pdf
Ask HN: Is it possible for a startup to be too lean?
I was wondering if it is possible for a startup to be too lean? Is it possible for a startup to be so tight with compensation that they can not afford to hire the talent they need?
I'll go ahead and move the usage examples to the top level readme so they're easier to see.
Over the regular phone network?
My current dream: Rust compiling to C, WebAssembly, .NET and JVM. We could finally have a fast, powerful, memory-safe language that can run anywhere without requiring a runtime or GC.
Also see my other HN thread on how to fix it.