skysight-inc/HackerNews huggingface dataset:
Deferred means you eventually have to do the work.

Not quite. What you save with deferred reference counting is what is generally the biggest cost of reference counting: assigning references to local variables and having local variables go out of scope. Deferred reference counting only requires an RC update if you store a reference in a heap object or in a global variable.

You will, of course, necessarily incur the overhead for allocation and deallocation, which one can make cheaper (bump allocation in generational and copying GC, memory regions) but can't entirely get rid of, especially in non-copying/compacting schemes.
I second the exercise suggestion. Its the hardest thing to start doing but you'll recognize the benefits after only a week.

How often do you smoke/drink? Cutting weed/alcohol out of your diet can be really hard but if you've found yourself in a bit of a funk I'd recommend it. Also, cutting masturbation down has helped me have more energy in general which I think is often over looked.
I would be happy with just OTR style encrypted messaging that actually works on android, ios, windows and osx as a big first step, with the text contents being government subpoena or hacked server proof.

Can't find it. ChatSecure on iOS is a crashy mess and TextSecure is android only. TextSecure oddly requires phone numbers vs some sort of login system too, so I can't even use it with an android tablet for example last time I checked.
I once read an argument that went something like this: if you're actually going to go to the trouble to build something, its expected return to the business should be so large that how long it takes (within reason) shouldn't matter. Conversely, if a project is only economic to undertake if it can be done within a certain amount of time, it shouldn't be done at all.

I find that I often don't have a good feel for how long something is going to take until I'm about 1/4 the way through the project. If I absolutely had to produce accurate, high-confidence estimates, I would just do 1/4 of the work first, then estimate the rest.

As to why estimating is so hard, here's how I like to think about it. Tasks form a tree: each project has a number of steps, each of which itself breaks down into sub-steps, and so on. We tend to estimate by thinking about the tasks near the root of the tree; but the actual time required is proportional to the number of leaves -- tasks we can implement without further breakdown. Without planning the entire project out in detail it's hard to know what that number is. But to plan to that level of detail requires making many design decisions; and researching and making those decisions is much of the work of the project.

The bottom line is, good estimates are expensive to produce, and my experience aligns with yours: it's rarely worth the trouble.
You don't scrape Facebook, Facebook scrapes you!
Glad someone mentioned this. The creator DJ put a lot of work into this, and it works very well.
Take vacations, find stuff totally unrelated to what you do to get into (for me, it was professional wrestling), and take long breaks. The issue is that we all only have so much attention we can use up over the course of a day, a week, and the more that's used, the less likely we are to give a shit about anything. So you gotta refresh it and not worry about being "on" or not. If you do the refresh, you will be.
I remember picking up the Whole Internet Users Guide in high school in the early 90s when I became seriously interested in the Internet. One of the first books I read on the subject. Ah memories.
> This fixation on the moon in a country with stark poverty for most of its rural majority is a sign of China's tyrannical government.

India's political system is far from that of China's, but they've been in the news lately for the preparation and launching of their Mars probe. That probe has no direct application to improving the lives of the many Indian peasants who live in 'stark poverty' as well, but it sure as hell doesn't signify anything about the Indian government's commitment (or lack of) to basic freedoms. This is a non sequitur.

> I wish there were a higher percentage of participants on Hacker News who have both thorough knowledge of the language and culture and regular access to the Chinese press and mass media to comment on stories submitted here about China.

I do too. Maybe we'd get a more nuanced view than the caricatures which always show up about modern China (recycled from those about Cold War China) here on a regular basis.

> ...thoughts of a British space scientist (not a Sinologist)

I'd trust a space scientist more than a Sinologist on this (or just about any other matter).

> (the Chinese term is "taikonauts")

The Chinese term is not taikonauts. 'Taikonaut' is a made up word used by English media outlets that is meaningless in Chinese (it lops off the latter half of 'tai kong', space, and splices the '-naut' suffix to the end).

> The big priority for China in the next decade will be opening up the political system to more dissent and more effective participation by the masses, especially the rural masses who make up the majority of the population, and avoiding the "middle-income trap" of economic growth stagnating while China is still a relatively poor country on a per-capita basis.

There is no reason China cannot do that and maintain a robust national science program at the same time. None of China's recent third plenum discussion points had anything to do with their space program; many of them involve economic reforms intended to address the urban-rural divide. To claim that their space program is anything more than an afterthought in terms of national priorities and decision-making is utterly daft.
But you lose the promptness of deallocation. Furthermore, I think the biggest overhead of reference counting is not the count manipulation (especially if you aren't making it thread safe), it's the inability to handle cycles, which DRC does not address.
And I'm saying how long you are alive has nothing to do with how much it costs to keep you alive for one day.

Unless you are arguing the ideal lifespan is less than one day.
Is there a way to replace this robots.txt with a null robots.txt? :)
>and self-served advertisements

For which is has a very limited market -- after all, how many legitimate businesses want to advertise on 4chan?

There are some, but not many.
I find IRC being perfect for a desktop app, when I tried this previously I just found myself constantly forgetting about it and closing it just as another tab. Anyway, it's a great service but I just can't get it to fit my usage pattern.
I have ipv6 on all my nodes, but we still get connections from a single outbound source.
Yeah but it doesn't have scrollback support so you can't see any messages you received while you were offline, so it's not really so useful.

Or has it recently got such support ?
Trying to build a website
I'm trying to build my first website from scratch, where I will create a online business. I have all the basic ideas of what I want on there etc: However I've never created a website before..Should I use a website hosting company and pay yearly? If so which one..? Do I learn to code? I also aim to add adsense, what are your opinions?
Don't put anything more than 10KB into a CSS file as a data URI.
I have been in the exact same position: Nice big apartment, home office full of expensive hardware, weed dispensary pass. I'm not going to tell you what to do, but at some point realized all the drive I had before was just to buy that stupid lifestyle.

Make sure you are not doing the same.
Plain text vs rich text.

as a result, despite the awesome features of XMPP, IRC is simply more extentable and easy to develop around- whilst also being basic to implement.
Wikipedia's philosophy sections are... okay.
Here's a long quote by Rob Pike, which whether you agree with the points he makes or not, explains why Go does not have generics.

"Early in the rollout of Go I was told by someone that he could not imagine working in a language without generic types. As I have reported elsewhere, I found that an odd remark.
To be fair he was probably saying in his own way that he really liked what the STL does for him in C++. For the purpose of argument, though, let's take his claim at face value.
What it says is that he finds writing containers like lists of ints and maps of strings an unbearable burden. I find that an odd claim. I spend very little of my programming time struggling with those issues, even in languages without generic types.
But more important, what it says is that types are the way to lift that burden. Types. Not polymorphic functions or language primitives or helpers of other kinds, but types.
That's the detail that sticks with me.
Programmers who come to Go from C++ and Java miss the idea of programming with types, particularly inheritance and subclassing and all that. Perhaps I'm a philistine about types but I've never found that model particularly expressive.
My late friend Alain Fournier once told me that he considered the lowest form of academic work to be taxonomy. And you know what? Type hierarchies are just taxonomy. You need to decide what piece goes in what box, every type's parent, whether A inherits from B or B from A. Is a sortable array an array that sorts or a sorter represented by an array? If you believe that types address all design issues you must make that decision.
I believe that's a preposterous way to think about programming. What matters isn't the ancestor relations between things but what they can do for you."
Wait, if the RC scheme has a cycle collector, how do you ensure there are no CC pauses for acyclic data? Every CC algorithm I know of uses heuristics to determine when to scan the heap for cycles (usually when an RC drops from >2 to 1) and those can result in pauses proportional to the size of the live set on the heap, even when there are no cycles.
It's a situation that more software developers than you may think find themselves in.

- exercise regularly (once a week to start with, ideally every day). A lot of software people are obsessed with the gym, which I personally hate. Find something that fits you. It could be rock climbing, swimming, playing basketball, etc- just do something. It has clear effects on your brain.

- eat well. Software companies like to feed their employee redbull and Doritos; don't touch that crap. Making a salad at home is cheap, quick and healthy.

- as another commenter suggested, maybe seek out something more intellectually demanding than software engineering if you're bored. Pick up a number theory or quantum physics textbook, or get into chess- whatever works for you. Making CRUD web apps is not all that it's made out to be.

- try to cutdown the weed. Force yourself to never smoke before a certain hour. Ie if you get home at 7 and go to bed at 11, no weed before 10.

- cut the crappy websites like reddit. Modify your /etc/hosts, block the IPs in your router and then change the password to garbage, etc. those sites are a giant black hole and are designed to make people do exactly what you're doing.

- go out in nature. It may be just me, but living in the city kills my brain cells. Drive out once or twice a month for hikes, etc.

- other things that have worked for me, but ymmv: getting rid of most of my gadgets that waste time (iPad, super fancy phone with a million useless apps, etc). Installing Linux on a cheap netbook so that i can't get distracted by video games (heck even YouTube videos are rendered choppily, which is great). Meditation. Reading more paper books and less blog posts (a kindle+tpb is great for that). Making a list of leisure activities that I find acceptable and making sure that I do at least one of them a day (reading, drawing, playing an instrument, chess, etc)

- finally, you may be depressed or burned out. It happens. Think about going somewhere exotic for a week or two, isolated from your daily environment & work. Think about seeing a psychiatrist. They're trained to deal with this.

It gets better, friend. Hang in there.
Once you pick out something, head over the Standford's Philosophy department to read more: http://plato.stanford.edu/contents.html
Is this supposed to be ironic? Considering JSON.parse( {a: "B"} )
Yes, "Feminism is for everybody" and/or "Gender Trouble" are just as, if not more, notable than "The Second Sex." Or maybe some of the earliest publications, like 'A Vindication of the Rights of Woman.'

Regardless of the details, there are certainly more than one notable work inside of feminism.
This article actually gives me a little faith in humanity. Despite the fact that SO MANY people had access to launch a nuke nobody actually did... presumably they knew what the resulting shitstorm would be.
a - This way you'll still have valid sqlite context (object), which would contain the error message (and the memory allocated to it), but it would be in erroneous state. That could embed much more information rather than just returning an error code.
c - My guess is that would put more memory pressure in terms of rewriting the SQL statement, which could explode more than what a typical sqlite user would expect (there is much tighter memory usage limit, and it could be even more limited).

e.g. SQLite is not trying to do everything, and does not encourage you to. I guess you basically wrap your style around it, rather than other way around.
Crowd-Pleasing Holiday Gifts
To clarify: I meant the implied use case (of holding thousands of books), not to the fact that modern devices can easily store that many.
I also started with computers and programming at very young age (10yrs), and with a lot of ilusion.

3 years ago when I was 29, my daily routine was going home after job and be with computer untill going to sleep.
I had periods of gaming, of programming of discovering-linux, install-and-review the latest open-source inovations, reading books, etc...

I always had a big passion for computers, BUT 3 years ago I suddenly got to a point when I realized that computer-time was not satisfying me as much as before... and although my habbits continued to take me home and be with the computer, I started noticing more and more that I was missing other things, like socializing and relating with people in other contexts...

Some months later, I had not really made any real change to my lifestyle, and was becoming more and more apathic and frustrated with everything (including my passion with computers)

Then, one day, I took the resolution of stop thinking and inscribe myself in the first group-activity that I saw... and that is how I got into a class of martial-arts... It was not easy for me the martial-art, and people where not very warm at first sight, but everytime I was there, sweating and feeling like "maybe-I-should-go-home" I remenbered myself the void sensation of being home alone tired of the computer... and I kept going to classes... some 6 months later, I started to know better my colleagues of the class, and my skills improved naturally, and I started to enjoy the classes by themselves and not as a refuge :)

Even still, somedays I got out of job late, or it was very cold and I skipped classes but then it I was at home and feeling frustrated by being there alone with computer, again with that feeling... and that reminded me that I knew I could change it, with my decisions... And that were important frustrated-moments, because helped me see that I could make things to feel better, or I could just not do anything but I would finally feel bad about it...

The martial-art classes have been to me the first intent to change my lifestyle, but since those early days, it has given me much much more than I could expect... I made friends, discovered much more interesting persons than I thought there were, and had great time... some special ocasions just happened after a class which I almost missed because of staying-at-the-warmy-home, and I try to not forget those special days because they would not have happened if I had not forced myself to go to class... that for me meant a huge personal lesson

I also recommend one of my best-books: "The Magic of Thinking Big" from David Schwarz... while reading that book I rethinked a lot of my own actitudes and it helped me be aware of some personal blocks

Hope sharing my experience helps someone :)
Save up and take a year off.

Just do it.

You need to LIVE.
Do you have an email?
This doesn't have any member of the Frankfurt School...

Bonus points for also having no Derrida, Althusser, Fichte, Bergson or Simmel. (Apart from others, like Schleiermacher, Schlegel etc.)
I've seen (and done it) myself in other code - for example trying to shutdown integer-conversion code early on, I would (rather prematurely) decide what the type would be, and later not having the warning (as guiding light) I have to rediscover what I did and fix it back. Hit me couple of time when converting 32-bit -> 64-bit c/c++ code, while trying to shutdown the warnings (part of the project requirments).
"A Vindication of the Rights of Women" by Mary Wollstonecraft is already listed under "modern philosophy", as is "The Subjection of Women" by Mill, and Thomson's "A Defense of Abortion" is under "bioethics".

I would think that such works as "A Cyborg Manifesto" by Donna Haraway, "Anarchism" by Emma Goldman, or "Gyn/Ecology" by Mary Daly are at least as worthy of being listed here as "The Book of Five Rings" or Russell's "The Problems of Philosophy".
I disagree.

The way I like to look at it is that you simply need to work a little harder. You see athletes in their 30's and 40's (and even much later) doing things that most people can't do in their teens. Why is that? It's because pretty much everyone is so far from their potential.

In theory some particular aspect of you may start declining but almost always this means that if you work harder at it you can outperform your younger self... So while there are some biological processes at work most of it is in your mind.
ah, perhaps the domain in our list doesn't have an AAAA record. let me know if you want us to update it.

we always use ipv6 if an AAAA record exists, and fall back to v4 if that fails.
Show HN: ForkFox - Culinary Tours and Classes in SF
How to publish your App on Apple App Store in just 6 days
Who do professional football players or rock superstars exploit?
Those are some really broad questions there bud.

I've been building websites professionally for the last 10 years and learning for the last 14. I never build a website from "scratch" anymore. I start with Twitter Bootstrap, a previous website, etc...

Step 1: learn HTML. You can open any text editor of your choice, start writing some HTML, save it as index.html and open it in a web browser. Done. Add a few more pages and you have a "website"

Step 2: get a host. I like 1and1.com - their basic Linux server is super cheap. Based on customer needs now a-days it's a toss between digitalocean.com or rackspace.com based on their needs.

Step 3: if you want your website to do more then just present some images and text, you'll need to learn some programming. Javascript is a scripting language - that'll get you some pretty stuff like form submission without page reloading, fading elements in and out, drop down menus (doable in pure css also), etc...

For an actual programming language, PHP is widely used; a lot of people like Ruby, Perl, etc... It's a matter of what your needs are and what you get comfortable with.

Adding AdSense will be done using Javascript. If you've never built a website, I'd say thats the least of your concerns right now.

Good luck. I've been "practicing" web development for 14 years now; it's a constant learning experience.
How stressful/demanding is your day job? When I was working 12 hour days at a start up, the only thing I was able to do when I got home was surf reddit and go to bed. I was so drained; physically and mentally exhausted.

It wasn't until I left that I was able to put more energy into the things that I enjoyed outside of work: coding, commenting, creating shit, etc.

I dk, it might be worth it to consider doing something else during the day.
Another open source alternative https://kiwiirc.com/
(but it doesn't yet have persistence built in)
Lessons from building a b2b e-commerce API
Stop masturbating to porn (no moral judgement, it's just draining).
The best source of information at this time seems to be Youtube videos showing how people download apps from various app stores. One said that it was quite disappointing, that apps were crashing. The one he displayed shut down due to missing Google Play Services. I think this will be the main problem, as Google puts more and more effort in these APIs and less in the general Android ones.
Have any leaked documents mentioned industrial espionage?
I've seen websites promoting sites where you can just edit templates without ever actually doing the coding yourself, are they worth it if I'm just looking for a simple website presenting a few images and text, and thanks for the quick reply, really appreciate it.
Let me fix that for you:

Developer estimates are regularly off because "experienced development managers" are all too eager and willing to allow organizational politics and external influences to add complexity in ways the developers cannot anticipate. Inexperienced developers' estimates are even further off because of their relative lack of experience.

I assure you, the first time a "development manager" tries to scapegoat his subordinates for his own failures to deliver to these external influences his subordinates realize that their estimates impact them eventually, and directly.
Judging by the huge volume of the prototype, I guess this is far from prime time. I guess the DPI should get a lot higher in order to get some real user attention (and usability).
What a cool idea. Hope he finds a way to make it scalable.
Yes I work there. You can easily verify it.
Exactly. There is zero reason to suspect non-US clouds are any more secure.
My computer or more accurately the operating system came with dozens of fonts, maybe hundreds. Why can't you use one of those?
Paul Graham Essays - mapping the cross-references
I am not sufficiently familiar with the inner details of Nimrod's GC implementation to give you a full answer, but, no, you don't have to scan the entire live heap to reclaim cycles.

The technique is called "trial deletion" and only has to traverse potential cycles. Strictly speaking, a type-agnostic implementation may have to traverse all objects reachable from an object whose reference count was decremented since the previous pass, but in a strongly typed language you can skip that for all objects that can't be part of a cycle. Nimrod at least makes use of that information in asgnRefNoCycle() in system/gc.nim.

Obviously, if everything on the heap is part of one big cycle, then, yes, you'll have to scan the entire heap.
I've been wondering about this effect... is everyone else feeling it? I'm loathe to use anything other than a static site generator. Managing a database feels burdensome. I'd hardly think of running my own mailserver. All things I've done in the past without a second thought.

Do I just have less time? Are the services just better? Or is something more fundamental changing in the fabric of the web? (Maybe this is what the indieweb folks are trying to harken back to?)
That's a a ridiculous stretch.
you can host a basic site on https://neocities.org/ for free!

Learn HTML, CSS and Javascript (in that order), perhaps using http://www.codecademy.com/
Anyone know how the compilation times compare with regular Scala?
Make the web better for all forms of content so that people don't resort to proprietary tech?