skysight-inc/HackerNews huggingface dataset:
One good resource for learning and inspiration is Robert C. Martin's book Clean Code. Opinionated, yes, but a good read none the less.
> In a one-person-one-vote system, buying the votes of individuals requires mass fraud to have an impact.

More specifically, even if you do go to the trouble of outright buying people's votes, since secret ballots are generally considered the way to go (though they haven't always been, even relatively recently), it's extraordinarily difficult to have confidence in the value of your 'purchase' because you have no way of knowing if the person you paid off did it.

In this system, the scaling may make it a lot easier to identify that a person followed your directions and spent a particular amount on the vote...
Soviets tried to keep to common people away from culture. Culture is for smart people (it makes you think). Smart people don't like communism. The few exceptions were, of course, artists whose creations were commissioned by the CPSU to support their agenda.
Well it might but they're such a necessarily small part of the group that they're not indicative of the entire mass.
> can static: sections assign to an array that will be available at runtime?

The answer is yes, but it's a tad trickier than just accessing the compile-time list from run-time code (which doesn't make sense, and is illegal). Instead, use a macro to generate a bunch of run-time checks against a specific value. Eg:

var eventNames {.compileTime.} = newSeq[string]()

proc defineEvent(name:static[string]) =
static:
eventNames.add(name)

macro checkDefined(name): stmt =
# begin new statement
result = newStmtList().add quote do:
echo "Checking for '", `name`, "'"

# loop over every known event name and
# build a run-time 'if' check for each one.
for n in eventNames:
result.add quote do:
if `n` == `name`:
echo "Found it!"

# add some events to compile-time list
defineEvent("foo")
defineEvent("bar")

# define some runtime values
let eventName1 = "foo"
let eventName2 = "blah"

# check runtime values againts compile-time list
checkDefined(eventName1)
checkDefined(eventName2)

# output:
# Checking for 'foo'
# Found it!
# Checking for 'blah'

Note: This will inject a bunch of 'if' statements for each call to 'checkDefined', which might bloat your code.. it's probably better to make a macro which defines a proc, then just call that to check run-time values.. but I left those kinds of details out of this illustration for the sake of simplicity.
Setting that amount to something that's actually a barrier and allows for grassroots movements to actually participate could be quite difficult.
Yes.

I recently bought "A Game Of Thrones" (book one in the series) by George R. R Martin.

It's just something different.
Let’s embed some classic games in tweets
Most of it is warts and is completely useless. Sometimes things like knowing that an array is an abject are pretty important if you're writing production code.

The bit at the end (integer and float casting) is almost essential knowledge now for anyone writing JavaScript code that does anything mildly intensive.
A nice twist about environment constraint is mere people presence. My last mission I was shifted one hour later than the usual schedule. At 6pm the office emptied, and as soon as I was alone, felt like my mind expanded against the walls. Freedom and motivation rushed, I could bubble in my ideas without thinking of anything or anybody else.
80 pages for that, with one user and one implementation of one algorithm ? Sorry but the rate knowledge/size is very low, so don't be impressed by the page number, it harms the paper more than anything else. Even for a bachelor thesis, it's mostly "filling"
We won't, because it doesn't exist within the time period, lifeform type and distance that correlates with ours.
I agree, but counting issues (type 424B5) in Solarcity's SEC filings[1] I see >$150m in solar bonds, and that's excluding the $90 mio from SpaceX. I try to understand who is buying them and why, given all the good reasons you've just mentioned.
I do not think free finite element libraries are representative of commercial software. They usually include a mix of different languages, and that includes lots of Fortran, which is used both in the core (in solvers and linear algebra libraries, for example) and at the highest level for user subroutines. I have seen people using either Fortran or C++ with Abaqus, LS-Dyna or MSC, but nobody writting C (except for some very experimental solvers).

Most users are usually fine with whatever the GUI allows and a bit of Python, but for those of us developing new models, Fortran is probably the most useful language, followed by C++.
This is also the impression i get from the first chapter where his point seems to be that no amount of hip software methodologies can replace an intelligent, experienced software engineer.
I do enjoy reading a physical book more than an ebook but only by a little. It's interesting to me that people here so far seem to prefer technical books to be ebooks due to their short useful shelf life. I've reached the opposite conclusion - that I prefer technical books be paper only and novels/non-technical books may be either. This is because, in my experience, technical books tend to have diagrams or tables that don't render well on the Kindle and similar devices.
It'd have to be something that really had to be hidden, because most of these edge cases are very very slow to run.
Why? I believe you have more sophisticated ways of obfuscating code. Those tricks seem to be easy to reverse.
Rewording: Half France police is "Gendarmerie", which is an army corps, and unions are illegal in the army.
What you're describing seems like a bias towards event based (vs time based) memory.

I always wondered whether the former is predominant in people with ADHD...

And interestingly computers/smartphones allow us to easily turn the latter into the former.
Completely Obsessive Leisure Oriented Ragemachine: C.O.L.O.R
Comments should clarify, not repeat what the code already says.
Generally. It's so easy to get overloading on the phones and laptops these days that it makes it much easier for me to stay focused on the task at hand when the book is physical. Other reasons I enjoy having physical books is I love sharing them with friends, they make my bookcases look nice, they're much more prescient than e-books, carrying them in a backpack with a computer and notebooks can be a small but nice addition to the moderate exercise that is walking, they don't die on me, paper doesn't bother me like backlit screens especially at night, and finally I don't particularly mind if I spill or damage one (I can bring them poolside, or to the beach, etc). Obviously to each his own but I can only read one book at a time and I usually have a backpack or big coat pocket so carrying them doesn't bother me.
I have had huge issues with WiFi on my rMBP 15" late-2013 on Yosemite. Mavericks had no problems. At home it's fine, but at work (with a huge amount of access points/repeaters), I can only connect to the WiFi 1/10 times.

Have tried creating a new location and delete all access points and re-connect. Nothing works..

10.6 were the best Mac OS of all times. Super stable, no nonsens release. Since then, it's just gotten buggy, unreliable and slow. Really hope that Apple steps up the game with 10.11. I don't need new features. Make a release like 10.6 where you polish everything and make it rock stable.
Yes, I don't care for DRM content.
I'm considering writing a GC for Rust next. It won't be as easy to use as the other GCs, but you will be able to put the ownership of stuff in the hands of the GC if you wish.

Yeah, a lot of people are excited about Rust for webdev, but there is a steep learning curve and it's quite different from the languages most are used to. For webdev I personally think Go will make it, it feels a lot like Python/Ruby when programming, even though it's compiled and probably faster.
Good readings for a CEO/CTO to grasp basic CFO notions
Nowadays more and more startups kickstart with a strong technical knowledge base.
Sometimes the common scenario includes a low, if not completely absent, finance knowledge.

I'm not talking about basic economy/financial knowledge that impact business plans.
Is more about having a big picture of the growth process in the mid/long run.Talking about funding, IPOs, stocks admin, forex.

From a tech-CEO/CTO point of view, I do believe is important to have a rough understanding.
What would you suggest as a good reading? What pitfalls to look after?

Thank you
You could do with some learning about what's possible with static analysis.

For example, will the Rust compiler prove that your program must follow some state machine? (SLAM2). Will it compute a useful upper bound on the stack usage for your program? (a3/stack) Will it compute a useful upper bound on the runtime of your program? (a3/WCET) Can one prove (in certain cases) zero potential execution errors? (Astré)?
Can one automatically prove generic first order logical specifications of a program? (Caveat)

A lot of these are decades old theory that have been put into practice that simply don't work in the context of a compiler. I'm sure they could be made to work with Rust, but they haven't.

You can do a lot more with static analysis with time and money than you would want to do in a compiler for a language that's a couple of years old.

Furthermore trusting Rust's statically derived guarantees means trusting the Rust compiler to have no bugs. One does not need such a leap of faith for C; they can use a formally verified compiler: http://projects.laas.fr/IFSE/FMF/J3/slides/P05_Jean_Souyiris...

Writing a formally verified compiler for Rust would be (I'm sure of this) a right pain in the arse.
Have to agree here. Your mileage may vary on the sponsor interviews at the end of the podcast, but the guest interview each week is generally pretty awesome, along with the news chatter. Great podcast, highly recommend giving it a try.
I am on year 3 of what was originally a 6 month trip. 6 months, I find is when most people decide to go home, but it is also the crucial wall that allowed my travel personality to take over.

There was no magic pill for me. My first 6 months was miserable, it was an adventure, sight seeing and meeting fellow travelers awt hostels was still something I wanted to do. I ended up very lonely at the end of 6 months and didn't make any friends.

After that is when I mentally stopped thinking about traveling and seeing the world. I just exist and tried as hard as possible to listen to that voice inside. I went for crazy experiences that I only hear in passing. That hermit in a jungle that someone talked about in passing? I went and visited him. The cult with promise of salvation? Yeah that too.

Then I got too many friends. The experience didn't just transform what existed in me. I am literally a different person. But I had to leg go of the notion that I am just traveling and that I am going back later.
This is assuming that quadratic voting isn't really linear voting. Participants in a process like this aren't "honest" they can't be counted on to follow the rules.

In a QV system one can bypass the quadratic penalty by buying people's votes directly for a small premium.
Build Windows apps from your Objective-C code
I strongly prefer ebooks. Occasionally I'll buy a physical book, for example if it is cheaper (used) than the ebook or I think my spouse might be interested in the book, too.

And children's books, I buy all of them in print.
Yes, I do. I enjoy the feeling of physical books and I like the fact that I can easily pass them to another human without trying to circumvent DRM or use some service that allows me to 'lend' books.

Also, I like to give people books I've read as gifts. One night at SFO flying to the UK I was with a colleague and I had a battered copy of "Antifragile" which I was able to hand to him so he could read it on the flight. No messing with technology; no thinking about what lending restrictions there were; no thinking about whether his technology was compatible with mine.

I've also written two books and there's nothing like being able to give signed copies to people.
>carrying them in a backpack with a computer and notebooks can be a small but nice addition to the moderate exercise that is walking

to me, heavy books aren't 'nice additions' but 'more strain to my back and neck'

I actively did NOT enjoy slugging around my calculus books or actuarial mathematics books with me ...

My kindle has made me read more. It also has reached it's 'break even' point in terms of value bought (10+ books read).
I tend to buy a bunch of used books
Remember that this was an API, exposing the `&[Attributes]` to external consumers. I may not want to hold pointers to the insides, but a consumer of the API might.

Also, iterator invalidation.

Also, runtime overhead of shared_ptr.

(I added a footnote to the post to explain the issues with shared pointers)
Are you serious? This makes no sense. Does that mean Authy won't work if it has no internet connection? That would be an important limitation. I hear they do backup the seeds for 2FA. But why is that not optional?
I don't think its that simple, the myriad of billing formats would be problematic. That said, a credit karma like service to connect with your insurance company could be a lot less problematic IMO to implement.
So how did Bellatrix Lestrange escape from the Azkaban?
What is not silly? Someone invented a way of enjoying things after you die? Or is there a template for being happy that we all must adhere? Let me guess: "spend quality time with the people you love", "travel the world and experience more", "achieve something that will remembered" and other typical b..it.
I prefer a physical book over an ebook every time. I use my kindle only when I have to (travel).
"New gravity particle" - I wonder what is the point of inventing such things? Does it have any meaning at all? I suspect it is us clinging to our bias of human perception.

The only reason it could be useful is maybe if "particle" implies a certain set of behaviors all particles have in common?

To make it clearer: what I mean is that the notion of a "gravity particle" only gives us the illusion of something we can grasp, whereas presumably there is no such thing in reality.

Edit: downvote, why? It's a serious question.
gc only statically links to compiled go objects, and (may have changed recently? or soon?) only dynamically links to c libraries (via cgo).
Actually having a constant reference as a member works as expected in C++ because the compiler will force you to initialize it a construction.

It is true it will not check at compilation that you access a const reference of a destroyed object, but to be honest with RAII this is not really a problem as the lifetime of your objects should be pretty clear, by construction.

In debug mode your program will quickly assert if you access a destroyed STL container.

To be honest I think in this case:

- either you want to snapshot the value and therefore you should clone the container (almost no performance cost for small containers)

- you want to access the current value but then it means you know about the lifetime.
Yeah, and I put mostly physical books on my amazon wish list which makes it easy for people to gift me things... After moving recently though I'm looking to digitize some, physical books are annoying to move. I don't have a preference for physical books over digital books, apart from I can't stand "ebooks" that aren't plain PDFs or web pages. I don't like e-ink. I have a collection of PDFs that I read on my tablet, phone, or usually my desktop setup.

I also must say I got some mirror glasses last year (http://ecx.images-amazon.com/images/I/61HShDnJT6L._SL1200_.j...) and while ridiculous, they're damn convenient sometimes.
I also wonder if there is a place on earth where doctors genuinely care about you outside of an emergency.
Absolutely. The main reason is the abysmal typesetting of e-books, I don’t think there is a solution yet for having beautifully set type in a responsive electronic document. The library on my iPad is getting larger then my physical one though. Lots of scans of books that are not available anymore. And the amount of media we are able to carry around in electronic form still amazes me.
When companies are large enough, there are no consequences for their actions.

Governments often suffer from the consequences of their actions.

But I suspect you're taking such an ahistorical and afactual view not out of a rational weighing of the evidence, but because the far right has steeped the U.S. in anti-government propaganda for decades, and many people have simple fallen for it, hook, line, and sinker.
"cycle...Compression, release, distribution, re-compression..."

Not a physicist, but that idea has always made the most sense to me. A big bounce rather than a big bang. http://en.wikipedia.org/wiki/Loop_quantum_gravity

"An actual true beginning requires an ultimate creator, an entity that can exist outside of all that exists."

And... that argument has never made any sense to me at all. A "creator" is in no way needed for an event to occur, most especially an "entity". Events happen all the time without the intervention of an "entity".
50 mil...ouch
new ready to use templates have just been added, feedback is welcomed!
Seconded, I'd always wondered how the vietnamese and Cambodians came to dominate the nail and hair cutting business on the west coast, now I know.
Just like vanilla JS: http://wtfjs.com
I have been reading all ebooks for a couple of years but recently switched back to physical books.

The main reasons for my switch is: easier to see what I have read or not, the tactile feeling, the thrill of getting the book (when ordering online :), my old eyes sigh has it easier with books.
We are here to experiance different things and the purpose of life is to be happy! Maybe the higher dimensions in a quantum world gives us experienced to teach us things that takes many life times to learn. For example humans have not yet learnt that living in peace is better than war. It's basically where science meets eastern Buddhism values.

Maybe the universe reborns in cycles expanding and collapsing in forever ending loops and there are parallel universes that exist to this one in higher dimensions.
yes just bought one today (Andrew Gelman's Bayesian Data Analysis). I still buy paper copies of math and classic programming books. I prefer ebooks for fiction
China's Qihoo360's certifications and rankings awarded revoked [pdf]
Well, frequently the vulnerability of those CVEs is breaking or downgrading the crypto... or in other words: if exploited, the connection could become as insecure as HTTP.

So your argument is that since locks can occasionally be picked, doors shouldn't have locks? What exactly is the massive burden with HTTPS? The computational cost is tiny and will continue to become tinier, there are free cert providers like StartSSL and more coming soon, and the implementation is simple enough that anyone managing a server should be able to handle it easily.

The number of websites where I wouldn't prefer encryption and identity authentication is around zero, and the number of websites where I'm okay with someone injecting arbitrary JavaScript is exactly zero. The time people spend making flawed "if you have nothing to hide, you have nothing to fear" or "crypto libraries/CAs are bad, scary, and hard to use" arguments would be much better spent actually trying to improve those circumstances for the inevitable and necessary shift to HTTPS everywhere.
I prefer audio books: you can listen while traveling, cleaning, or doing other otherwise dull chores.

If there is no audio book, an ebook is the most convenient. I usually upload the text to my server and make it a big font on a dark background so I can read on any device anywhere (since it's only text, even 2G internet suffices). Any laptop, desktop, tablet, smartphone or even a feature phone with GPRS internet works. And I can then link it to friends also if I want to show them something.

But of course a real book is a real book. I like holding it as much as anyone, but like a superb meal that takes 3 hours to prepare, it's just too much of a hassle most of the time.

I should mention that I don't really read non-fiction. It's not in the question but most people here probably read a lot of technical stuff. I've never really worked that way (following tutorials or reading learning books when not required by school); instead I google what I want to know and learn the ins and outs by experimenting, taking from tutorials only the parts and pieces I need. Not sure how common this is, but it works for me.
PrEP stands for Pre-Exposure Prophylaxis, PEP is Post-Exposure Prophylaxis.

Basically you need to start PEP treatment within 2 hours for it to be effective.

Also, it appears he didn't start PEP treatment[1], they probably didn't deem it necessary at the time; PEP itself can have some serious side effects.

[1]: I read in the article linked by @Grazester that you need to take PEP for about a month, and I wasn't aware of him drinking any special medications during that time.
Not if I can help it. Physical books are too inconvenient for me, plus I move around a lot and it's hard to carry a bunch of books with me.

I've gotten into photography recently, and those books are very hard to translate to a digital format, due to the layout. Those are the only ones I buy physical, the experience is good, but it's frustrating enough that I prefer digital.
Using Emacs as a Terminal Emulator
The GNU Make Book
Nope. Well, yes, but only as gifts for other people. I got a Kindle a few years ago as a way to have a lot of reading material in a small space (and weight) for long trips. It has served that purpose admirably. Even at home, being able to change the type size as my eyes tire in the evening is pretty nice. I can read any time and any place on my phone, including times and places where I probably wouldn't have bought a book (e.g. at lunch alone), and my reading progress is even synced with the Kindle back home. The reading experience itself doesn't seem much better or worse, but the various convenience factors add up.
Another reason is in the Indian sub continent many books (assuming you don't purchase illegally) the "Indian Sub-continent" edition physical copy is cheaper since Kindle books are almost always on the global price (though often cheaper than global print editions). This is especially true for many technical books.
There was a reference to this article about 2 months ago. I read though the original paper quickly at the time, intending to go back and try to understand it more thoroughly. Toward the end of the paper, I was startled to see the conclusion about the universe having no beginning or end.

Struck me as remarkable coming from physicists, then again, they were using "Bohmian trajectories", and Bohm was in his own way an unconventional thinker. In my imagination, Bohm would not have been surprised by an "endless" universe.

Fascinating. How strange it will be if "science" winds up "proving" an age-old "spiritual" idea.
Same. And I'm still surprised to see how often this is the case.
If that were released in book form I'd buy it in a heartbeat.
It's because the myriad formats are problematic that this would make for a good startup. And you could initially schlep it: as new formats come in, do just-in-time research to figure it all out.