skysight-inc/HackerNews huggingface dataset:
Well in relation to business ideas, the more you are exposed to different environments and people the more ideas you'll find. I probably have 3-4 or more ideas a day pop up, but the reality is most wouldn't make a profitable enough business. But I jot them all down and keep them.

Oddly, when I first start developing I had tons of ideas, then I got into the grind of working on some problems and I couldn't seem to think of an idea to save my life. What I realized later is I had gone from asking tons of questions and being super inquisitive to trying to look for ideas. Today, I find ideas because I talk to people all the time, online, in person etc and I like to ask questions and learn what issues they have. What this has done is I can come up with all types of ideas and at some point potential solutions. Then the key is just what might be worth doing.
In Nim, each thread has its own heap :-)
Source? Or did you just compare clock rates? Intel has improved single-thread performance by much more than 1% from Sandy Bridge to Skylake
Twin parent here...2 years and 2 months into it, and I would really like to know the limit of this "at least 2 years", because that original brain hasn't shown itself one bit, and I'd sure like to have it back.
That's true, the compiler does optimize away the explicit dependency on the world. But it still makes sense; when you call "print", it returns a "new world" that is the state of the world after printing. You can't inspect the state of the world, so it doesn't really matter whether it's just a token or an actual description of the universe. The behavior is indistinguishable either way.
the eBay analogy would be that nothing stops people from posting the exact same product on multiple sites at the same time. If I were looking at something on eBay, and I could do a quick google to find that same product on another site for 15% less, eBay will very quickly find themselves in trouble.
The payment for selecting "don't know" was less than the payment for selecting the correct answer.
I haven't used Firefox/Firebug dev tools in ages. What advantages/disadvantages does Firefox/Firebug dev tools have over Chrome dev tools?
https://www.reddit.com/r/programming/comments/5iv1ti/rolling...
And that's why i said users who have listed their phone number.

They can get phone number from users who use their phone number to log in but not have listed it in their profile (me), people who have enabled 2FA or from messenger. It's just a simple sql join. Ofcourse not at FB scale but this is me thinking about this problem for 10 seconds and also i'm in probably not even as intelligent as the dumbest guy working at fb.
How are Lisp's macros easier to handle than syntax-rules? On the one hand, you have a function that receives an s-expression, manually deconstructs and transforms the s-expression while (hopefully) carefully, manually aliasing any symbols to avoid inadvertent capture, and constructs a replacement s-expression. On the other hand, you have a pattern-matching facility that automatically takes care of deconstruction and hygiene for you. Yes, syntax-rules is strictly less powerful than defmacro, but in practice it covers the vast majority of use cases very well.

I'd also like to mention that avoiding variable capture is only one part of macro hygiene. The other part is referential transparency in the face of shadowing. Common Lisp partly provides this because names in the standard package can't be redefined, but it's still wide open when it comes to other names. Consider this (admittedly contrived, for simplicity) example:

(defun square (x)
(* x x))

(defmacro hypotenuse (x y)
`(sqrt (+ (square ,x) (square ,y))))

...

(let* ((square (make-square s))
(diagonal (hypotenuse s s))) ; ERROR! tried to apply
...) ; #'* to a square!

In the expansion of `hypotenuse`, `square` refers to the local variable bound on the line above it, while the macro author clearly intended it to refer to the "global" variable up top. This is a situation that's fairly easy to run into, and horribly confusing when it occurs (especially if the user of the macro didn't write it). Hygiene ensures that the reference to `square` in `hypotenuse` will always refer to the binding of `square` that was in scope at the time the macro was defined, thus avoiding the problem. On its own, `gensym` is necessary but not sufficient for hygiene.
Makes me think of Shadowrun, where you have UCAS, CAS and Aztelan (to name but a few)...
But ryandrake didn't say that. 2 weeks is not 1/4 of a year. Many people believe teachers spend the entire 10 weeks of summer vacation literally on vacation, as well as the week of spring and winter break. There's a big difference between 2 weeks and 12 weeks of vacation.
Encrypt Everything – Email
Anyone know if you can use the authenticator app on more than one device? My wife and I share the same Amazon account and it would suck if I had to generate a token for her whenever she wanted to buy something. I don't want to have separate accounts because I don't want to pay for Prime more than once.
Yes, for all the complaining about Apple, I do intend to buy the 12" after the next refresh, which I hope for in spring. As my mobile compute needs are modest, I am intrigued by this tiny and most of all, fanless laptop.
I really think those people would be better off with an iPad. At least that is the skill level you are describing.
I wrote a long comment, but was rate limited at the time.

I'll summarize instead with a simple list:

- It's better to map your input to some game actions than pass around the raw value

- You don't need to do anything creative like queue function pointers themselves, just the raw values.

- You can have an input "queue" but that is typically different from a queue that is going to act on those inputs.

- You need to deal with multiple inputs potentially, like someone pounding a button. Hopefully your input lib deals with this some already, but always be aware of validating the input and deciding which one matters most. To that end, priority queues are good sometimes. You also sometimes want to cancel inputs. If you want to read more about it all, I'd read some about "intention systems" as related to input.

- Once your input is mapped, you can operate it in multiple pieces of codes, systems, etc. that might be downstream in your game loop

- You can transform an action into yet other new state as you go along

- Queues are indeed great for doing multi-threading, just be sure you select the appropriate kinds of queues. Mostly this ends up being thread-safe queues that are lockless. But sometimes you want to just use queues for FIFO, and these queues are generally faster and/or more flexible if they use a non-thread safe approach.

- You can have many queues in your code as mailboxes to distinct systems. Again, think something that is agnostic to the world around it and just receives some state it needs, and has its own "inbox" of things it might need to process this frame. It certainly could be that you can't process them all that frame.

- Keep in mind with queues generally once you pop something off, that's it. So you need other ways of hanging on to state and things that aren't ready. To that end, simple arrays are your friend, especially if you can pull things out quickly by index in relation to some id (ex: entity id) and keep them tightly packed. Dynamic vectors are garbage and mostly not used in serious game engines unless the developer had a wtf moment or the use case specifically calls for it. That's a longer topic though.

- Attaching functions directly to input again is a pretty bad approach. If you need more than one function, you'll have to implement something more complex. If order of function calls matter, you again need yet more. The order should be well-defined in the game loop itself.

- Regarding order, it also relates to communication as well. Note that you don't need to always process every new input or piece of state every tick. Sometimes you actually don't want to do this and defer it to a later time. There's no 100% rule, but an easy thing that helps is to think if the player or game sim will suffer because you didn't process that state during that tick. For some physics related things, that can be bad, but for other things, it's more of a "as long as this happens very soon, it's alright."

- There's no 100% rules for any of this.
> what is the purpose of offering your anecdotal experience if you acknowledge that it is an n=1 datapoint?

What is the purpose of using large-n datapoints anymore when the primary motivation of "research" is becoming less about finding meaningful information and more about getting published (in for-profit, paywalled "journals") so you can get more grant money for your institution?

Haven't you seen the articles in the last year or about little scientific research is even reproducible anymore ? You can just repeat your experiment until you get the results you want to see.
For Germany it's the year the Protestant states of the Holy Roman Empire adopted it. The Catholic part had adopted it ~120 years before.
The major misconception I always had was that thought experiments were tools for teaching, i. e. cute little metaphors to make special relativity accessible to 16-year olds.

The reality (on the macro scale :) was apparently that especially Einstein strongly relied on them to allow him to use project intuition into these rather strange realms he was working on.

(The book I got this from added something like "because his math skills were relatively shallow", but people always misunderstand that because they don't see the unspoken context "... among physicists winning two or more Nobels")
I don't know much about the reality of 'baby brain', but in the study under discussion the researchers tested cognitive skills like memory, verbal skills, and working memory, and there was no significant change over time. It looks like the after-pregnancy tests were given late enough that kids were probably sleeping through the night (or at least in 5-6 hr chunks).
I think rolling your own crypto, as a learning exercise, can be very helpful when choosing which trusted crypto solutions to use for a particular use case.
would have appreciated a real demo...

Per usual, the media will go crazy with this marketing/promoesque video, and ignore the actual state of the tech.
In a previous thread, I mentioned that Paul Bettany would be the best voice for this sort of system. That said, Morgan Freeman is a fine alternative.
"there is no incentive or a very small incentive to choose the candidate with the best policies, because the chance of your vote making a difference is so small" is a theoretical argument about rational actors, not an observation about actual people. The paper I linked argues that it doesn't hold. It also argues that there's some real-world evidence that people vote for social reasons.
It's good. Show your app.

When you talk about it, don't use words like "illegal" or "scraping" or "illegally obtained". Really, no need to insist on that ^^
Whereabouts in the UK do you live? This isn't at all my experience...

Old people might still commonly use Imperial gallons, Imperial pints, pounds, Fahrenheit, inches, and so on, but the cutoff age for this is rising. I'm 39 and I don't routinely use these.

I use some context-specific Imperial units: feet (people), stone (people), Imperial pints (beer), miles per Imperial gallon (car fuel economy).

Miles are pervasive, and will probably never disappear. (Miles per Imperial gallon is obviously stupid - but it will probably become outmoded before it's changed.)

I bet there are young people that don't use feet or stone. If you don't drink beer, you won't encounter pints very often. (Family-sized milk containers come measures in litres.)
Configs should be in config files, state in a database. They are coupled in Jenkins and both are on the filesystem, mainly in XML files that are undocumented. Sorry if I wasn't clear about that.
I have yet to find a XMPP client on Android which supports voice and video, is free, and usable.

The power and notification issues seem to be solved (at least somewhat) with some clients.
Prime lets you share with members of your family

https://www.amazon.com/gp/help/customer/display.html?nodeId=...

https://www.amazon.com/myh/households
It appears you are in the minority. Apple has disenfranchised a lot of loyalists for a lot of reasons.

Think of how absurd it is that you can't even plug in your new iPhone 7 into your new Macbook Pro.
Anaphoric macros are used frequently in the HN source code, so "rarely useful in practice" strikes me as incorrect on both counts. Used well, they make code both shorter and more readable. That's a win-win. The arguments against them, by contrast, seem largely theoretical. Win-wins, a.k.a. having your cake and eating it too, are rare in programming, so those of us who think this way will choose that over theoretical purity any day.

These arguments boil down to little more than personal preference and, above all, habit. Anaphoric macros are the kind of thing you like if you like that kind of thing. http://quoteinvestigator.com/2015/09/09/like-sort/
What happens when one or many Node processes die with items left in the queue? Related, how are graceful restarts handled? (These are issues solved by existing message queues.)
People rarely apply the trilemma to other religious figures, like the Budda.
How do you upgrade like that? I have one of the same models.
Swift has a garbage collector.

https://www.amazon.com/Garbage-Collection-Algorithms-Automat...

Check chapter 5.
> maximize revenue and minimize the cost of doing business

Often doing both at the same time is difficult, and near impossible. To increase revenue you need a sales staff, and engineering time on building new features for new markets. Reducing costs requires your engineering staff, and maybe a business staff to negotiate with suppliers (or whatever your other inputs are). The engineers are often different kind of people. The type of engineer who is great at maximizing a process is probably not the same type of engineer who is good at rapid prototyping, and building something that "just works".

There's a transition in every startup that reaches a point of maturity where they start to build processeses, and start to rebuild existing systems. It's usually at the same time that the founding staff starts to leave.

Startups concentrate on Revenue, and hope they reach the level of worrying about costs.... and VC money makes that SO MUCH EASIER. Bootstrapping usually means you limit your input costs, which limits the rate of growth you can achieve.
That's odd indeed. I have a different 2FA seed for my retail and AWS account, but I've never tried using the wrong one but it's conceivably they allow you to use either
My Apple devices have problems, but so did my PCs and feature phones before them. It feels like the Apple devices have fewer problems, but that could just be a feeling or the fact that devices in general have become less problematic in the time since I've started using Apple's products.

But where I think Apple distinguishes itself is the user experience when there is a problem. It's the main reason why I recommend Apple to my non-tech friends and family. When a PC fails, you have to call the manufacturer and run the gauntlet of phone support. If there's something amiss in the hardware, you'll likely have to send it in to be fixed/replaced. With Apple, it's a Genius Bar appointment. I've always thought that the "Genius" in "Genius Bar" didn't refer to the slightly-above-minimum-wage tech support person helping you but, instead, to the person who realized that giving users friendly and non-scary tech support was crucial to the user experience. My mother, who is from a generation that will never be comfortable using computers, doesn't fear to make an appointment and resolve issues when I'm not available. Back when she had a Dell, she was too afraid to call their support line without me being present.
Over 100,000 people say good morning to Alexa each day
Why can Google give me unlimited storage and Apple charges for more than 5gb?
I wonder if Pandoc being written in Haskell is what's stopping it from being the default Markdown engine everywhere. Or am I misunderstanding the technical needs here?
Everything you say is true. But it is also true that I like it and find value in it. I like to see a numerical representation of how much time is left in a year, as a year is an important tax construct.

If you look into the French Revolutions attempts to fit the 24 hour day and the 12 month year into units of 10, decimal time, they were much more unwieldy.
Vacuum the living room... Open the garage door... Mow the lawn... Switch TV to HBO... Compose an email with Jarvis...

There are a lot of things I'd like to have my personal assistant do, along with the proper connection to some real equipment. I hope this finally gets past being a gimmick. Maybe Zuckerberg will help to spawn the market.
Python for SAS Users: The Pandas Data Analysis Library
The four most dangerous words in CS.

But it's good that people look into it -> for fun and learning. Just not for realsies.
Hadn't tried those yet but thanks for confirming its not just Safari! I was in a meeting and running a tail and wondering why my fan was going nuts.
Demand does work that way.

Why does a drug dealer give free samples at first? ... Creating demand.

What they will not have for long though is a monopoly on supply in India.
So one important fact is that most of the knowledge taught in school is not directly useful. Combine this with the fact that transfer of learning is almost nonexistent (e.g. http://amzn.to/2hExO6u ) and you discover that most education is wasted.

There is extensive evidence of a sheepskin effect, and most studies of educational effectiveness are consistent with signalling theories and ability bias (more able individuals get educated).

https://www.nas.org/articles/The_Sheepskin_Effect

There is likely to be some benefit to education, but it's far less than what politicians currently believe and what current policies are predicated on.
I have a scanner with a feeder, so I use that sometimes, but or anything that's meant to last, like documentation for a project, I tend to type it in.

More ephemeral things like todo lists, I only scan if I have a reason to want to keept it.
That was actually pretty funny and cute.
I compared loc of C++ JDK9 vs JDK8.

JDK9 651408(C++) lines

JDK8 497588(C++) lines

I do not know the reason but newer JDK seems to have quite a bit more C++ code.
> Those interactions are held in the queue only as long as the server needs before dequeuing.

How sure are you that this invariant holds? Under what conditions do you expect it to fail?

Clearly this is a fairly new project. 148 commits. No tests, benchmarks, or specifications.

Keep at it. :)
I have to say I don't think the article supports that at all. The study looks at a 2-year stretch and the changes in all but the hippocampus are still there at 2 years. Even friends who have reported "baby brain" don't claim it lasts 2 years, and synaptic pruning is not correlated with feeling foggy in any other study (and there have been a bunch!).
This is the more accurate headline, only government facilities are renewable not the entire city itself.
For a bunch of reasons:

1) he doesn't want the signal community to fracture with incompatibilities (like say XMPP)

2) he doesn't want the security of signal users compromised with less secure clients. Thus he's against SMS since it leaks metadata like crazy to 100s or 1000s of entities.

3) he doesn't particularly trust f-droid to distribute clients since they use a central key (an attractive target) instead of the developers key.

4) he wants to be able to quickly iterate improving the clients and server in sync, on his own schedule.

So generally he wants to target a large number of users with a very secure client and doesn't want to sponsor anyone that takes his source with free server infrastructure.

So he believes in audits, security, and opensource. He even will allow a GCM replacement, as long as it only runs when GCM is not available. He expects the battery life and user experience to be terrible. The main problem seems to be that google negotiates with cellular providers to not time out connections to GCM, but they silently do that (without an RST) to other connections. Thus any GCM replacement will have to spend much more power/battery maintaining a connection. Moxie specifically mentioned that even 50 seconds was too long and that some providers time out connections even quicker than that.
How does Stephen proof that Jesus rose from the dead? And why does that evidence convince (or not) the Sanhedrin? Remember this is not long after it all happened and these are the same men who asked Pilatus for Jesus his execution.

People are free to belief what they want. But people behave according to their beliefs. And sometimes when people think they know the truth, they feel justified in limiting other people their freedoms. More so if they think the creator of the universe agrees, and others are sinners.

So I look for that "liberal" spark in believers. You clearly have it, and that number is growing, but many christians do not. Many others who belief in unknowable and invisible things are even worse. (Non religious people can also lack it.)

As for what I believe:

Was Jesus a real person existed, likely. Did he rise from the dead, no. Was his message misunderstood, yes. Part of Jesus his message was, it is not about what you do, but why you do it. It is about your heart. An eternity in heaven or hell are exactly the wrong motivation.

I think Jesus meant humanity can go much further if we all follow the golden rule, and are less biased towards foreigners and outcasts. More grace more forgiveness, less judgement. When two or more people cooperate in that way, they can do more. That is the holy spirit, not some supernatural force. And that will bring the "kingdom of heaven" here on earth.

It might not feel like it, but we are getting closer to that. How many lepers did god heal? 50 total? Science has healed 5 million.

Only after our thinkers had the "liberal" spark, and were less bound by the dogma of religion, did we finally start to make strides into removing human suffering.

People forget, but in the time of Jesus, over 50% of children died before they were 15. In the rich areas of this world, it is less then 0.2%, in our poorest countries, it is less then 10%.
Actually C++ got a tracing GC API in C++11.

As for the rest, RC is GC.

Check chapter 5 in one of the most widely academic accepted books about GC algorithms.

https://www.amazon.com/Garbage-Collection-Algorithms-Automat...
If you are interested in more than an article, this course is very good.

https://www.coursera.org/learn/crypto

Sorry to spoil it, but the conclusion will basically be the same as the article, as in "just don't".
Apache Groovy also has "undocumented features", e.g. from your scripts:

matchingSecret = secrets.find { secret -> secret.id == id }

can be written as:

matchingSecret = secrets.find { it.id == id }

Those scripts look fairly basic, without any looping. Perhaps Java 8 with lambdas, or Kotlin could be used instead.
This was my feeling too about the article (again, feeling, no factual base at all) but shanemhansen from the comment above seems to have a good experience with this type of approach so who knows, maybe we are overengineering by putting nginx in front for defense.
But i would suspect the "security through obscurity" also helps quite a bit in defending most of the attacks
only if they point blank ask, you could just say you "worked with" an outside company to get the data. They don't have to know that "worked with" meant scrape off their site.
How easy is it to extend the tooling to support these opcode customizations?
A breakthrough in miniaturising lidars for autonomous driving
I've read horror stories about people who's personal and seller Amazon accounts were conflated. As such, I recommend keeping AWS and retail usage completely separate. Different email, different card, different name too if possible.
Significance Arithmetic