skysight-inc/HackerNews huggingface dataset:
> 2) Have a single-threaded program, where that single thread runs an event loop whose job is to react to external events by invoking a callback function that has been registered. While it doesn't require the same kind of complex synchronization that preemptive threads do, the inverted control structure of this approach requires your own control flow to thread awkwardly through the system's event loop, leading to a maze of event callbacks.

Co-routines and callback based programming are great for dealing with I/O and for offloading "work" to black boxes, those black boxes can very well be other threads, CPU cores, hardware, or another computer.

When the work is complete, your callback is called, or the co-routine continues.

It is perfectly possible to be juggling multiple tasks this way, but have all the results appear in sequential order on one thread, and not have to deal with the complexity of real multi-threading.

This only works for tasks that are easily offloadable, you need VERY clean data boundaries, minimal shared state, and well defined points where you hand off control.

In other words, a well engineered program. :)
<img src="c://badfilename"> is enough. You don't need JavaScript.
I'm just saying I think that's what the parent comment is saying. As for whether Debian actually said that...well that's anybody's guess.
Isn't this similar to last week when the guy crashed all windows systems accidentally by using a reserved name in cargo the Rust pcg manager?
heaven praise the same origin policy
Ha.

I worked in Medical Imaging for a decade. I made it so that one Radiologist with my software could do the work of two Radiologists without my software.

Radiologists are highly trained, highly specialized, and earn big, big bucks.

And I was making machines that stole their jobs.

Everyone, and I mean everyone, is at danger of automation helping replace their job.
Generally, UBI schemes advocate some sort of drop-off in payout as people earn money outside of the program (but structured in such a way as to ensure no sticking points of greater than 100% effective marginal tax).

So in net you're not actually giving that $1k/month out to everyone, only the people who don't otherwise make anything. Then someone who makes $1k/month from other sources might pay $500/month in tax, thus reducing their effective, net UBI payment. (note, I made up these numbers completely off the top of my head)

Someone who makes much more than that would also pay much more taxes.

So in the end, UBI needs to be accompanied with some sort of tax reform, and isn't just about sending out checks to everyone (including Warren Buffet) on top of the existing system.
Is there an option between 1 & 2? Push the acquisition through but with an exit timeline for yourself.

How much does the business depend on your day-to-day interaction?
> much faster than waiting for a mechanism

Are you in a race to get going? I can't see you being in your seat, buckled and engine started before the mechanism closing? Not being snarky, it's just not that compelling a reason - to me.
Show HN: Retro Patents – Tech patents turned into art
Hmm, interesting to note that it doesn't allow for long-lived 'remember me' style cookies without the notice.
They should focus on Universal health first. Or at least a public option with premium caps based on income.
Developer Tips on How to Architect Your First Android Mobile App
Under capitalism, those with capital derive profit through the use of their capital (can be money, factories, machines, etc). A substantial pressure on that profit is labor costs. As labor gets removed from the picture through automation, that capital will be even more profitable.

> Could someone please point me to what kind of tax structure a country would need to have to realistically be able to afford UBI?

Personally, I would like to see no corporate tax, 10% for individuals, then X% for anything over $1 mil. I don't have a problem that X% being high enough to pay for whatever is needed to keep society stable and I'm quite sure those paying it wouldn't have an issue either. Far better that than the unemployed masses rioting.

The problem with universal basic income ... is that you'll only get it into law through bi-partisan action. Its appeal on the right primarily comes from the idea that it would replace all the myriad of programs we currently have. Welfare, section 8, food stamps, medicaid, etc. Getting rid of all that bureaucracy and replacing it with a simple system is appealing.

Problem with that is ... all those specialized programs are built so that you are forced to spend that money on specific things. Shelter, food, medicine, etc.

If you give someone a check for $1k and they blow it all on a nice TV ... what then?
And he's worse when it's an interview format where he can't prepare.
Sincere question - wouldn't welfare programs still be needed? I don't think 100% of UBI recipients would spend their money wisely and we'd still end up with people in need of basic services or food.
It goes across multiple files by default in a confusing manner and the flow to automatically replace or do it one by one doesn't make sense to me.
Algorithms are the new 10x developer.

I'm actually half serious: one can see how something that is slightly better can have a massive multiplier, e.g. a team of inferior intelligences cannot 'scale' to beat a single superior intelligence in some regimes.

This does not apply to all fields, of course. But in many regions of abstraction it may.
It bothers me somewhat that they say this is standardized, but not by whom. Is the idea that Yarn should fall in line or is it a case of https://xkcd.com/927/ ?
An Independent Interplay Takes on Tolkien
If someone is referring to Comcast, then they are allowed to use the trademarked name "Comcast". The main consideration in trademark infringement is whether someone will be confused into thinking that someone else owns the trademark. https://en.wikipedia.org/wiki/Nominative_use
> You could open a Comcast barbershop, or bottle Comcast Cola, or run a Comcast liquor distillery without infringing Comcast's trademarks

* Maybe you could, maybe you couldn't. Comcast is such a well-known brand and that also plays into the decision. It's not at all clear-cut.

I think if you did this today, you would get shut down at the discretion of the judge for piggybacking on the established brand, but if you had Comcast Cola established before Comcast Cable or at the same time as them, you'd have a better chance at keeping your name.

(I am not a lawyer but I did study at Slashdot U in the 90's.)
I don't get it. I used to drive a Mercedes 200D (W123) for some years, and 112 km/h was my preferred speed. Overtaking a truck does take some planning if I don't want to be an obstacle on the left lane, but you know, at that speed I had a lot of time to plan :-)

(For the others: that car is from 1978 or so; I had two models, one with 55 hp and one with 60 hp, both Diesel. The car is ridulously heavy at 1.8 tons or so, and so you really don't want to be in a position where you have to accelerate quickly -- it just can't do it.)
It only works when it comes in lieu of traditional entitlements (medicaid, social security, food stamps, etc). Which is also why it is so politically infeasible.
They are solving two different problems.

Arguments to its effectiveness aside, the current welfare systems seem to have the primary goal of providing for citizens until they can reenter the workforce.

UBI seems to have the primary goal of making sure people can maintain basic living standards when the jobs vanish. There will be a day when "just go flip burgers until something better comes along" will no longer be a valid retort.
Attempts to open the file are normally blocked, but in a move reminiscent of the Windows 9x flaw, if the filename is used as if it were a directory name—for example, trying to open the file c:\$MFT\123—then the NTFS driver takes out a lock on the file and never releases it.

Verified.
I use UltraEdit and find it much better than ST. I have genuinely asked to users of both what all the fuzz about ST is, in comparison to UE, but have never gotten any response.
Man, I loved working construction. Admittedly, I was young and strong, and my body could handle the workload. That stuff will flat out use you up over decades of strain.

But working outside, with my hands, making something tangible I could see at the end of the day? Fuck yeah man. It was deeply satisfying.

Unfortunately, I had the aptitude and training to do more demanding, less fun, arguably more important work, so no more ladders and hammers for me.
> Disagree. Developers were the ones that pushed Mozilla and then Firefox (and then Chrome) as soon as they could.

No, the DOM put into IE was legitimately better than that in the old NN. MS won that war because their browser was BETTER, period.

They then sat on their laurels and the rest of the world passed them by, so now they're still trying to play catchup.

But at the time? No, anyone who had any experience in the DOM of IE vs NN would hands down push IE. It was just better in every way.
Microwave: you can look for the excerpts from the magazine "Trud" from 13 June 1941 (in Russian). Scientists explained their experiments with using ultra-high frequency waves for heating up meat.

Lasers, TVs: check my previous answer.

If you want to know more about scientific success in USSR, please find yourself a course on history and philosophy of science / informatics. Soviet scientists did a lot contributions to the scientific community, including in such areas like chemistry, cybernetics, neurophysiology, psychology among others, just like any other big country in the world.

I was particularly interested in the history of sound synthesis in the 1930s, which I personally find fascinating (Evgeny Scholpo, Arseny Avraamov, Boris Yankovsky). They basically implemented spectral resynthesis and wavetable techniques using light and film! The sad thing is that this history has been stocking in archives until someone accidentally found them.
Oh, didn't know that! Thanks.
That's the core question.

It's probably better than pushing everybody into the federal disability program.
> Folks said the same thing before for every industrial revolution. I'd like to see more facts than religion on this matter.

I agree with you that the "jobs are running out" is an argument that requires evidence, given its history of being wrong, but there are good reasons to believe it's going to be true, eventually. To be clear "because it's never happened before" is -also- an argument that's always right, until its wrong.

For example, if you look at the list of most widely held jobs that don't require a college degree and pay middle class salary. It's a rapidly dwindling list and has been declining for a long time. Of the ones that employ many of people, there's basically one left: truck driver. That's the reason that the rise of automated automobiles is coinciding with this conversation.
The name that you want to look up is Common User Access.
> Generally, UBI schemes advocate some sort of drop-off in payout as people earn money outside of the program

That's the first time I've heard of this. Everything I've seen, everybody gets the same check.

Problem with tracking based on income, you're right back to the same welfare system we already have. You'll need a bureaucracy to track income and eligibility, deal with fraud, etc.
Is playing go as a team something that people do? It seems unintuitive. I'd expect a team of 5 experts to play worse than one expert.
There will be a day when "just go flip burgers until something better comes along" will no longer be a valid retort.

Jobs are vanishing and no amount of bootstraps will change that.
It gives you up/down arrows that only work in search (i.e. F4, Shift + F4), but you can enable recent files via settings. It looks like this.

http://imgur.com/a/6NOBG
Ask HN: Best resources to to understand BTC/Blockchain and its implications?
How Alleged Russian Hacker Teamed Up with Florida GOP Operative
Your argument is ridiculous.

Conferences and journals are merely marketing venues, and there is no reason to slow down the field by clinging on to flawed review process. If you adopt this attitude you will only find co-authors and students abandon you for fear of getting scooped.
I don't think it would make sense to have a single equal UBI for the whole world - Not initially at least.

To a poor person in Africa, 16K per year would be like winning the lottery - This is not the case for someone living in a developed country. We should take into account that poverty is relative. UBI is not about making everyone equal (not yet at least), initially it's about giving everyone the freedom to do what they really want.
ESET Smart Security Premium 10 License Key 2018 [WORK TILL 2020]
Anything that has shipped.

If you run an open project on GitHub I'll also look at your wiki and issues, to evaluate communication.
1. Open source code

2. See definition of a function - copy name of function

3. Open new folder -> say 2 folders above the current file

4. Right click -> Find in Folder, paste name of function, enter

5. Get an overview with:

- a list of files where the function name is found

- for each line the surrounding code is also shown

- double clicking on a filename opens said file in a new tab

I have yet to find any vim/emacs tool that can do this so easily and effortlessly. Even with Emacs Projectile, you have to define a "project"? And then grep in that (but the user interface is just subpar).

Maybe I'm missing something, but for me, this is effectively stopping me using Vim/Emacs most of the time. I use Vim for editing individual files, but anything more than that, it is either IDEA (ok, I do Java dev a lot, so that's a must), or any Commander clone (which has a Find functionality).
Often people set up trusts to care for the individuals who are unable to responsibly care for themselves. I'd imagine their UBI check would be deposited into one of those trusts instead of directly into the account of the incapable individual.
Atomic Design and React
The thing is, I don't even think that's an issue. Some people just want a Tesla. They don't care what model it is. Until the 3,they would have had to get the super. And some did. Now a lot of those same people will just get the 3. They're perceived as being equal in terms of Tesla-Ness, which is what Tesla buyers seem to care most about. So how is the S supposed to maintain its sales when now it has to compete with the 3?

Tesla has to convince people that they actual want an S. Not just want a Tesla.
Ask HN: Advice on an idea to democratize capitalism
I am seeking advice on an idea I have. I will try to be brief in my explanation as I tend to rant.

I am taking as an example Richard Stallman's approach to democratizing software technology.

I believe that we need to level the playing field for each individual person. The only way I see this happening is to compete and win at the current game. Only then can I expect my approach to become a viable alternative.

I propose the formation of one non-profit organization whose mission is to create 12 open-source franchises to meet the needs of a small population. By creating a decentralized and fault-tolerant network of franchises we can allow anyone to participate in the economy with no backing but their own.

An open-source franchise is defined as:

A business which discloses all decisions, operating procedures, legal frameworks, pricing algorithms and any other relevant information related to its operation for the purposes of replication by the public.

The 12 franchises I am suggesting are as follows (FOSI stands for my Free and Open Source Idea):

1. FOSI-Mart: A retail company
2. FOSI-Fast: A logistics company
3. FOSI-Farm: An agricultural company
4. FOSI-Build: A construction company
5. FOSI-Water: A water purification company
6. FOSI-Processing: A food processing company
7. FOSI-Waste: A waste collection and recycling company
8. FOSI-Law: A law practice specializing in corporate laws and regulations
9. FOSI-Account: A book-keeping and accounting company
10. FOSI-Manufacturing: A manufacturing company
11. FOSI-Energy: An energy company
12. FOSI-Storage: A warehousing and storage company

The basic idea is to start the parent non-profit and begin by creating the first FOSI-Mart. At first existing infrastructure will be used, but over time FOSI-Mart will start to source supplies from the other eleven businesses as they are created. The non-profit will maintain one instance of each franchise and use the profits to continue research.
I think we go through this arc where when we are young the world revolves around the opinions of others, then we think it resolves around us, and finally we realize that nobody gives a shit.

The virtuous cycle is to learn what and who you care about. The vicious cycle is to shake your fist at the TV.
We dropped npm in favour of yarn a while back, but I imagine we'll switch back once the stable release is out. Our needs are perhaps simpler than most, but the key issues we were having with npm at the time were directly solved by yarn:

1. Dependency install was taking too long.
2. Inconsistent builds between devs because of no lock file.
3. Could not search the registry from the command line in a timely manner.

Having just done a quick test on a random project, I'm pleased to see that all of those concerns are now taken care of, plus the install (for this project at least) is ~30% faster than it is with yarn.
This is it. Firefox feels half as fast, or worse, for JS performance. For example, I have Chromium installed just to use sites like Zillow and Google Maps. I know these aren't the best examples, for a variety of reasons (Zillow is a mess and of course Google Maps performs better in Google's browser), but those are the main two in recent memory.
Keeping the calculation back of the envelope, if the population is 320 million and you want $12k a year for everyone, that's 3.9 trillion dollars. If US GDP is 18 trillion, you would need tax an additional 20% of everything to fund UBI. The US taxes a lower share of its GDP than many countries (https://fivethirtyeight.com/datalab/u-s-tax-rates-the-big-pi...), but taxing 20% more would make it far and away the most taxed country in the world.
The only major flaw this editor has is that sometimes by mistake I enter only one character (or even just a space) into the 'Find in Files' input and run search. And it just grinds to a halt, so I have to force quit or wait 10 minutes for the search to end. All the while the UI is unresponsive, beachballing. Still my go-to editor.
/s is the tag for sarcasm ;)
> On the other hand, it's not like the demand for food, clothing, and housing will drop. And even though the COST to make food, clothing, and housing will drop, THAT'S NOT HOW THINGS ARE PRICED. They are priced by their scarcity.

But if the cost of making food, clothing, and housing drops, but the price doesn't, then a bunch of people are going to look at the situation and see that there's big money to be made. And this will increase the supply until there isn't much scarcity left.

(This argument sweeps a bunch of stuff under the rug, like collusion/cartels, regulation, lag time, and probably a few others. Still, I think the overall point is valid.)
Making firebase data searchable with little help from AWS
The bottom of the market is exactly where those depending on basic income reside.

A "move towards cheaper housing" by others would be competing against basic income dependents within this market segment.

This is what I meant by within some defined boundary. Here, its the lower end housing market.
Not to imply that UBI doesn't have its implementation issues, or that the country is culturally prepared to support it, but Kudos to Mark Z for using his platform to move the discussion out of the narrow spaces of tech and economics communities and into the general conversation.

The spirit of his statements is in direct opposition to the spirit of the recently released white house budget proposal. Hopefully the timing triggers a transformative debate.
A Ragtag Crew of Almost Journalists Created Running's Most Controversial Website
I think its about recursive types/members, e.g.

class Tree { Tree _left, _right; };

Won't compile because it has an infinite size. However

class Tree { Tree *_left, *_right; };

Compiles, but the author contends that a more explicit description of the ownership semantics is better:

class Tree { value_ptr<Tree> _left, _right; }

This is also why `value_ptr` is different than `optional`.
Yeah, I think that's a good comparison, except the upsides of yarn seemed much more obvious to the community than was the case with IOJS. There seemed a lot less controversy than with IOJS.

What a time those days were, feels like a million years ago already.
UBI is such a fundamental shift to the model that the back-of-the-napkin calculations would look even more basic and stripped away than that. The questions become much more 'fundamental' in nature.

"What is our net import and export? Do the resources we have and import support the mouths we currently have?" "Is there enough developed land to house the homeless who'd otherwise not benefit from that $1000 or whatever you allocate them?"

One of the beautiful things about UBI is that it has the potential to strip away the artificial excesses created in the pockets of the world today that have more money than literally they know what to do with. The sectors in which money simply indicates abstractions like "the degree to which person X has control over companies A/B/C" or "what their risk is if Y thing does or does not happen". The derivatives market, wall street - highly-dressed-up casinos and skill games, essentially, as far as their value to society goes.

> Could someone please point me to what kind of tax structure a country would need to have to realistically be able to afford UBI?

I'm right there with you hoping for this kind of analysis to become more common discourse, but to me the answers that even begin to get at the heart of the problem have much less to do with the money than the fundamentals you're trying to have that money "create".
With the caveat that it is a single, specific task. The team here of 5 is probably capable of more than playing Go :) That's not all bad, there are advantages to having something really good at one objective. But I wonder if there is a fundamental trade off.