skysight-inc/HackerNews huggingface dataset:
Do you get any kind of deduction for giving to non-profits/charities? I give about 12-15% of my gross income to non-profits/charities every year and get a generous tax deduction for doing so. The other thing that tends to be complicated with my taxes is selling stocks. How does the UK handle things like that?
For Java I'd agree, but for Python I've always preferred a good programmer's editor. I tend to use either Vim or Kate, depending on whether I'm in a CLI or a GUI mood.

IDEs are so bulky and heavyweight, they just feel like they'd get in the way for Python. Especially JetBrains IDEs... they're just so slow and bloated (back when I did Java, I always preferred NetBeans over IntelliJ).
I don't want to take anything away from requests. It's an extremely useful library. However, I do a code walkthrough of various popular libraries with my students and I've never been satisfied with requests internals. The emphasis, I've felt, is more on clean, stable, public API rather than internal consistency and cleanliness. I don't pick it up these days for my classes. Instead, we usually go through the python standard library. Especially the code from Raymond Hettinger.
I appreciate the lesson, but that wasn't a curly brace command. What I said was typing "3/{", which seems like it's what you're suggesting: "/" to search for the "{" brace, but prefixed with "3" to jump to the third brace, which matches my example. You could do that with "/{" and two "n" keystrokes, but hey, that's one more keystroke.

I suppose I'm not a Vim superstar, but I've been using it since before the 6.0 release, and still use it today. You're right that it's not the only editor that I use, but it turns out that even if you can't be very good at every editor, when you've been using computers for nearly four decades you can be reasonably good at two or three.
I'm an immigrant. I consider it a blessing to be able to do so.
Convince them to install Whatsapp? If they have a phone its an easy way to keep in contact and send text/image/videos without all the FB BS. I wished I used it sooner!
This is not a pro VC argument. You may want to believe that. But that's not what I'm trying to say
Until there's a stable Swift ABI I don't see a viable solution for binaries on iOS...
This is done right in QNX. In QNX, everything that can block can be given a timeout, using TimerTimeout().[1] This is useful in real-time code with moderate time constraints. If you're logging to disk, and the disk stalls because of a hardware problem, you may need to get control back so you can keep doing your real-time work. It's more important to, say, issue steering commands than log.

After a timeout, you don't know how the request that blocked ended. If you need that, a multi-thread or multi-process solution is indicated.

In general, QNX is much better at timing, hard real time scheduling, and inter-process communication than UNIX/Linux. In the Unix/Linux world, those were afterthoughts; in QNX, they're core features. Because all I/O is via interprocess communication, it takes an extra memory to memory copy; this seems to add maybe 10% CPU overhead. That's the microkernel penalty, a moderate fixed cost.

[1] http://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.neutri...
Socialism Requires a Dictator
Thanks for laying all of this out. I guess we will have to do more of this to get this crew here to understand what I'm trying to explain
Roads do need to make money. We just happen to have a larger concept of "make money" that encompasses increased commerce.

Mailboxes might be a better example of your point.

I'd argue that the current web looks more like roads than mailboxes though. We would have something more like Minitel if we'd gone the mailboxes route.
Lysator has been around since forever. The English information page [1] says it was founded in 1973. I remember it from the early days of the Internet and possibly even from Usenet days.

Among other things it has a large repository of historical documents and papers on C programming and standardization dating back to the 1980s. See [2].

For what it's worth, I bookmarked the latter link in 2001.

[1] http://www.lysator.liu.se/english/

[2] http://www.lysator.liu.se/c/
Weirdly-behaved processes that get stuck (which is usually why you want it in a separate process in the first place). Things that come to mind include hardware utilities making ioctl()s, tools that fetch data from the network that don't have built-in functionality for timeouts, and untrusted code running inside a sandbox (e.g. https://play.rust-lang.org/ with "fn main() {loop {}}").

You can sort of work around it by calling waitpid(...WNOHANG) every tenth of a second or so.
Facebook Presto - See my comment here: https://news.ycombinator.com/item?id=13626109
From NYC: "African-American and Latino New Yorkers are disproportionately affected by homelessness. Approximately 58 percent of New York City homeless shelter residents are African-American, 31 percent are Latino, 7 percent are white, less than 1 percent are Asian-American, and 3 percent are of unknown race/ethnicity."

You also need to be very careful with context and analysis of "latino". Statistically, Latino is an overlay term representing cultural origin. Many African Americans identify as Latino.
I was also wondering. The OP put it in a comment which is quite far down the page currently:

https://news.ycombinator.com/item?id=13851124
Yup. A few rules I try to follow when designing spreadsheets that will be used for more than 15 minutes:

- Any cell that contains a numerical value (as opposed to a formula) is highlighted. All such cells are at the top of the first sheet.

- Never ever use VLOOKUP or HLOOKUP, as inserting columns or rows will break them. Use INDEX and MATCH instead.

- Never use OFFSET, as it's a 'volatile' function, meaning Excel will recalculate the value for any cell which contains it, if any value in the sheet changes. Use INDEX instead.

- When you're tempted to enter a value directly in a formula (e.g. when you divide by 12 for the number of months in a year), just don't do it. Move the value to an input cell. This goes also for parameters in an OFFSET formula.
Without trying to start a flame war, while there is definitely good code in Rails, my personal opinion is that the architecture of Rails is not something you necessarily want to emulate. And this is really the problem when you are new, I think. Many people will love one thing while others will hate it. It's difficult to create an informed opinion.

My advice is actually not so much different than yours. Definitely checkout the Rails internals, but keep a reserved opinion. Then contrast it with other things. From a framework/library perspective look at Sinatra or other web frameworks that that a completely different philosophy. Try to understand the advantages and disadvantages to many approaches.

Again, I want to stress that my intent is not to be critical of Rails (heck it provides the bulk of my paycheck and I'm very grateful it exists!). My intent is really to say not to be so hung up about finding good code, but rather take a long term view of comparing different approaches and thinking through for yourself what you think is good. People who have a different view point than mine, shed light in corners that I won't look. That's always a good thing.
So questions to your proposal:

1) You make corporate political donations illegal, but that's pretty specific to a single class of interest group. What about those that regularly act in opposition to corporate interests, such as unions, environment groups, consumer groups? Your point 2 seems to imply they would be included, but why are you specific here as to the prohibition? Or do you propose to treat different association of people preferentially and on what basis?

2) Again you're specific to certain kinds of interest groups but this time leave out corporations when granting permissions. Again, do you have favored classes of associations of people?

3) How do you police such a thing? How do police communication through surrogates or the thousand other ways creative individuals seeking rent or hoping for regulatory capture will bypass "communications with the outside"? Isn't this the sort of creative thinking that caused problems with McCain/Feingold and the like? If you accept greater regulatory involvement from the state, the greater the rewards to those that can gain the ear of the regulator. Risk/reward continues to skew to creative evasion.

4) What makes a neutral group neutral, and, in some way, can there ever be such a thing? Don't get me wrong, I don't know of any instances of the CBO outright gaming information, or releases, etc. for clearly political purposes (nor have I studied the question). However, CBO Director is still appointed by the politicians. What if one political interest group captures congress and decides to politicize the CBO since they can't get sufficient outside support for their position under your proposal? Do you politicians like Trump would do such a thing? Even if we put those sort of hand-wavy humans-are-humans arguments aside, elected politicians are ultimately beholden to their constituents regardless of the CBO position; CBO says we spend recklessly on the military (or if then that sort of thing) a big military district politician will very much ignore that advice. I expect your funds for increased staffers results simply in increased "independent" research supporting whatever position a given politician wants to hold for whatever reason.

Unfortunately, I still think I'm on the right track and that just about any solution that doesn't somehow require the political class, their staff, and families to be quarantined into some forced monasterial existence cutoff from the outside world, seems corruptible.
SQLite/Fossil source tree is a piece of art, practically every single function is well commented, written in clean C, easy to read. DRH has done an astonishing work. I'm impressed by his work. In my company where we do embedded C, the programming style is based on him. https://github.com/symisc/
That you can change in preferences, right? And it usually excludes, by default - changeable, system files and the sort.

(Used Backblaze for one month happily during trial period, decided not to switch because of their, imho ridiculous, file/version retention/deletion policy. And an unhappy Crashplan customer for ~5 years actively looking around for similar feature set but sanely usable client and and to switch to. Arq doesn't fit the bill. I wish Backblaze wouldn't delete the files/versions/disconnected drives that soon if not not ever. And also website only restore actually is funny)
In some cases, you have knowledge that you're about to do a whole bunch of I/O operations, sometimes all of the same time, sometimes not. (It doesn't really matter.) Ideally, I'd like to transfer this knowledge — that is, the list of I/O operations — to the kernel wholesale, so that it also has complete knowledge of the task at hand, and can better figure out the most optimal way to go about completing that (which it really can't do if it can't see the whole picture). This might mean scheduling disk operations more efficiently, to avoid seeking, or batching multiple network requests into a single packet, etc.

You can't do that with synchronous APIs without hackery, since the very structure of the API is self-defeating when it comes to getting the complete picture to the kernel. If I have a 1000 I/O operations, I do not want to spawn 1000 hardware threads: relative to the amount of information required to describe an I/O op, threads are incredibly expensive.

I don't want the syscall to represent the entirety of the work, simply, the request to have the work performed. The kernel's response is then essentially "Acknowledged, beginning this I/O. Here's a handle/means¹ to obtain the result of the operation." Then, I can batch-request notifications of results through some kernel I/O event queue … e.g., kqueue or epoll.

¹if handles are too much, you could also agree to have it stuck in some sort of queue of results, that might be usable with kqueue/epoll.
Armour in the Islamic State, the DIY Works of Wilayat Al-Khayr
Literate programming is certainly a very neat idea. I wonder if he would consider IPython / Jupyter notebooks an approximation of it?
I equate this to the first time I paid my own rent. I loved it. I was paying my own money for my own place and it felt awesome. It seems crazy to love paying rent but there was a period of time where I did.
Facebook's open source C++11 library: https://github.com/facebook/folly
Basic use of rsync for web admin
Never underestimate the ability of people to romanticise a past that never existed.
The maker of tax return software doesn't want to lose business? news at 11.
None? I really, really don't care if the guy operating on my appendix can calculate torque. I care that he knows a lot about appendixes and has a steady hand.
You are right there is friction for customers to acquire bitcoins. My post was meant to expose the advantages for merchants, for whom there exists practically zero downsides (as opposed to customers.) But again I am not suggesting "forcing" customers to pay with Bitcoin. I am suggesting to add it as an extra payment option.

That said, it is becoming easier than you think to purchase BTC. There is no need to wire money anymore. In the US bitcoins can be purchased instantly with a credit card via Coinbase, as easy as signing up for Paypal.
I'm in Japan, not NZ, but the system here is similar to what grandparent described.

In over 10 years here I have never needed to do anything more than to sign a couple of forms provided (and pre-filled-in) by my employer, once a year.

If you make only the equivalent of U$400 in extra income, there's no need to declare it. I think the cap is around U$2000.

If you own a standard investment account, your broker will automatically levy taxes on your dividends and capital gains (rates are the same, BTW). You can still open a different type of account if you want to pay the taxes yourself. But if you're just investing for retirement and going buy-and-hold-forever there's little reason to do so.
Worth pointing out: the extreme polarization appears to be the straightforward consequence of our election process in the States.

Our government divides the country into a bunch of districts and forces each one of them to run a first-past-the-post election. Every position is first-past-the-post. The problem is that first-past-the-post seems to have a fixed point, where if parties get too popular they fragment over minor internal differences, or if not popular enough they polarize and demonize to try to suppress third-party turnout and collect those votes for themselves. The fixed point is therefore that 50% of the legislators belong to one party, 50% belong to the other, and everyone is filled with credulity for their own side and hatred for the other. And mathematical fixed-point theorems seem to be general enough to converge on this fixed-point.

It's worth pointing out that you can just look at the presidential election history and see a sequence of these convergences culminating in the US Civil War, and we seem to be falling back into it in the past several election cycles -- not just this last one.

What's even more interesting is that we use proportional methods in the States. The proportional system that you might know as the Sainte-Laguë system, we know as the Webster system and use to allocate House seats among the states. If we used something similar to elect parties to the House, we could probably keep the Senate and the Presidency the same and it would still give a sort of destabilizing effect to the two-party hatred-hegemony.
> I'm not picking on you specifically but when people say things like "Unix gives you brain damage" this is what they mean.

You understand that's still offensive and implies I have brain damage, right?

> every application should use a bespoke protocol to do simple things like working with a network file system.

It doesn't have to be bespoke, but I agree that the Unix VFS interface isn't appropriate for it.

What operating system are you aware of that provides a mkdir interface with timeout? Windows' CreateDirectory() does not. OS X is just BSD. We're departing the realm of mainstream systems. QNX mkdir does not appear to take a timeout. Plan9 uses create() with a DIR flag, which does not take a timeout. Help me out here?
It wasn't stolen, we're giving it away. And not just the web, but our freedom.

If you're using services that support surveillance capitalism or you are working on such products, please stop. Thank you!
Serious question: Where else am I supposed to put my change?
Also, four 1€ coins are already heavy and clunky enough, and I don't want to keep track of how many of them I have so I can awkwardly exchange them for a 5€ bill when the time is ripe. I'd much rather have bills to start with.
Right, that's why I think SpiderOak (and preferably the whole industry; Signal, WhatsApp, etc. are in the same boat) having a marketing term for this is important: "our product, if properly implemented, is designed in a way where nobody can build me that GUI" is meaningfully different.
A GUI, even a dead simple one - in fact preferably a dead simple one, that comes with some cron job or other ways to make it run all the time (file watching?) or as an optional feature would help a lot of people (including me) to switch to such excellent open source options.
How to convert dvd to ps vita
"Collectively, it leads to undesirable outcomes."

Clearly, there have been very desirable outcomes for most people using these services. Otherwise, no one would use them. I don't think the short-term vs long-term tipping point has been reached quite yet.
I took a quick look recently at id software's GitHub repos of their old blockbuster games (Wolfenstein, Doom, Quake) and gotta say it was the first-ever C codebase I encountered that I found eminently readable.. (whether it's "good C", I can't assess though)
Three Months with a Razer Blade
Oh boy, I really want to hear how you think the "Free Market" solves this problem.

Remember kids: If it's broken, apply Free Market liberally to the affected areas.
Your post inspired me to inspect element to see the front-end code on HN only to find out the layout is all tables...
This is not true at all. Conservatives in general
have extremely simple black and white thinking with no consideration of statistics or larger concepts. That's why they're so fear driven.

They don't like terrorism so get rid of muslims no matter if it's an infinitesimal fraction of Muslims who are terrorists...they don't like taxes so get rid of them, even though it funds the infrastructure they use every day...they don't like black people getting welfare so stop it, even though in a bigger context it's income redistribution which sends dollars through the economy.

Its very simple thinking.
Meanwhile dentistry futures are on the rise
I'm referring to the whole Education think not the Editor. thanks.
Something like Webstorm EDU
Oh, there is no good solution. You need to do something using ORAM. There some clever tricks you can use that might be efficient (e.g this paper does some very interesting things: https://www.internetsociety.org/doc/oblivisync-practical-obl...), but I wouldn't realistically expect Spider Oak to cover it. What I would expect them to do is clearly state what they don't cover. Metadata is a thing people understand.
"due to unspecified security features that prevent the doors from being opened except in "an approved security area""

I wonder what that means, public + private key checks in the door?
https://en.wikipedia.org/wiki/Gene_drive

Just a little time reading about this is sobering. There is certainly the potential for profound nefarious acts. However, also consider that you could have 'gene drive warfare' in which you release constructs that attempt to override the malicious ones.

Ultimately, while doing something like this is within reach of most moderately talented graduate students in molecular biology (and perhaps some remarkable amateurs), it does require a fair bit of infrastructure. Doing this as a 'black ops' project would require you to get together a good deal of laboratory equipment - especially things like Sanger sequencers - and oligonucleotides that are reasonably tractable. At least for now.
A rail gun? Wouldn't that only hit one narrow target?
I'm not disputing the 10% number (though I don't know what all it includes - does it include drug delivery systems, like what is under discussion in OP's article?). I'm disputing the overall conclusion in that paper that "drug costs aren't really worth focusing on." I also dispute the assertion that other areas of health care aren't also being focused on for cost insanity. 10% is still a huge number, and if you happen to be one of the unlucky souls dependent on a medicine that goes up in price by many multiples it's a gigantic deal to you.
The implementation of Project Oberon. It is so sensible that it can be hard to notice the magic.

http://www.projectoberon.com
I'm an immigrant. I consider it robbery to be intimidated by force into paying taxes.
Perhaps, but at what cost?

(I'm playing devil's advocate, I don't know what's the right move here, but I do know that the post I replied to only offered an incomplete picture.)
Thank you graycat, for the excellent thoughts and analysis.

I doubt you are a VC but maybe you should start your own firm.
While not as partisan as something like abortion, it isn't totally unpartisan.

Usage of civil asset forfeiture has substantially increased since the 1980s and the explicit justification for this has always been the war on drugs.

Democrats, on the whole, are increasing disillusioned with the war on drugs. Republicans, Sessions being a great example, much less so. Further there is an increasing "law and order" divide between democrats and republicans. Democrats, on the whole, are much more willing than Republicans to label police behavior as abuse.

So, should it be a partisan issue? No. Is it? I'll put it this way: if congress ever starts working on a civil asset forfeiture reform legislation, my money is on a largely Republican opposition.
This is just unnecessarily divisive. Look, this is the way commerce works. Checks on corporate behavior come in two realms, legal and ethical. Companies will violate ethics if everybody else is doing it. Companies violate the law if they are the proverbial bad eggs.

If unethical practices become normal, the thing to do is to get a law passed. It's the way this has always worked. Laws change the entire landscape of commerce. They shake things up enough to where a new status quo is found. Law isn't perfect but it can shift the ethical regime more in the direction of the people.

The author's recommendation of a world without kings is a fantasy. If you eliminate hierarchy that means everybody must become an institution. Being an institution is not fun. It's fun to fantasize about building your own house but only the really motivated actually do it. Kings do us a favor by creating structure where there once was none. Silicon Valley is ultimately a force for good.
We used this for an introductory programming course in university. Very informative.
The rise of Fentanyl, and it's more-terrifying relative Carfentanil, certainly speaks to the increase in potency that prohibition can bring. This, combined with the over-prescription of opioids, is a tragic injustice.
Microsoft Goes All Jimmy Kimmel on Girls, Says Boys Will Solve World's Problems