skysight-inc/HackerNews huggingface dataset:
This is a very interesting comment. I had not considered this perspective before and I haven't really heard anyone else use this line of thinking before either - so I appreciate what you wrote.

But if you look at a bit of the historical context of the war on drugs, you see that a significant part of it was originally racially motivated. Having a pseudo-war instead of a real war gave the people in control more leverage to selectively target the consequences of banning certain substances like Marijuana or Cocaine.
Nth Fibonacci number in O(logn)
Cool! Now I just need the JVM as a clang target, and then I'll never have to use anything other than C++ ever again!! :D Webassembly has a tad more promise than ActiveX.
Politicians play the politics game.

This game involves people acting with self interest, and relates in some ways to access to/control of resources.
This is the case regardless of economic system.

"Capitalism is moloch, yes, but government is also moloch. Anarchy is also moloch."
It won't, because the only way UBI can work is to completely redo a countries spending as well as its taxing. A negative income tax/UBI where, say, outreach programs for the homeless are paid for won't work. Maybe even things like public housing. Further afield, even if we can conservatively say it would cost the USA a trillion dollars, that's an amount that seems implausibly high to get through.

I do wonder though if it would be possible to fund with a combination of a sell off of public land plus technology. Theoretically, with a UBI, there would be little to no need for the government to provide subsidized housing, and a technological solution where money could be sent directly to landlords rather than via recipients would provide the sort of risk reduction that many landlords need. That could lead to a boom in sub $1,000 a month rentals, where landlords are guaranteed they will be paid.

Combine with a sell off of some public housing assets, and it might be possible to fund a UBI for several years, not so much to push the can down the line, but to see if the trillion dollars is recouped with economic growth as the entire amount would be spent by all recipients up to and slightly above the median US income, so there should be some positive economic growth.

That's the rub though, this is hard to pass. The left in particular won't like the replacement of programs for direct cash and a public assets sell off is kind of the left's idea of heresy. Conversely, the right won't let it through without MASSIVELY reducing the number of programs that are currently funded. There is virtually no country in the world with a sane and rational enough parliament to be able to perform the sort of radical surgery their budgets need to introduce a UBI.
AltaCoin: A highly efficient, centralized cryptocurrency
If the problem is just that US employees demand higher pay, wouldn't a simpler (and legal) way of solving this for TCS would just be to offer a salary that they were planning to offer the Indian workers? If US workers are happy to work for that then fine; nobody loses out.
Manchester United’s Martial and Lingard Hit the High Notes at Everton
While I quite enjoy Jordan Peterson’s work I’m not sure that this belongs on HN.

It doesn’t go against the guidelines I suppose but it still feels out of place to me.
Copyright violation is a crime. Has been since the right to monopolize the public domain was enshrined in law (before copyright, there was only the public domain). It can also be a civil matter. But the JAIL time and $500,000 per infraction are criminal penalties.
Oh I totally agree, and not all Indian companies are body shops. IBM is in my mind at the same level as infosys these days.
Make is simple... Who ever pays the most money gets the H1B. That would force companies to decide if they really need that foreign worker over a US Citizen. If they do because the person is an expert in their field they will pony up the money for the visa.
Yes the “war on drugs” has been a sideshow of the forever war on the underclass.
But this is not funny.

Everyone keep saying about bribes, but yet nothing is being done.

This is like everyone would know Johny from 2B raped and murdered Marry from 7C, but yet noone is going to do anything about it.
Supermoon closes out the first day of the year
Also the total number of unemployed people in US is 6.6 million. The number of H1b visas granted every year is 65000 (that's 2 orders of magnitude). If you were put in charge of solving the unemployment problem of USA, would you focus on the 99% bucket or the 1% bucket? So you would agree that the backlash is driven by xenophobia and not any possible rational or data driven argument.
I have been a founder at 2 startups that were acquired. In both cases there was a "noshop" with no bailout penalty. But the "noshop" didn't say we couldn't look for additional investors. I don't see anything in this writeup that implies that the noshop was unusual.
RaiBlocks: feeless, fast, low energy, decentralised, proof of stake cryptocoin [pdf]
It is fine to pay doctors way more than the janitors, but only if the janitors are given an equal vote when it comes time to determine salaries.
And if you were really wanting to get as much performance as you wanted out of python there's plenty of options like epoll...
Adrenalin driver breaks Command & Conquer games
So, GP says "Vote for people who aren't interested in taking bribes" and you say "eliminate the donor class" -- those seem like pretty distinct policy recommendations. How are they related?
Jvm certainly tried this with applets
Not WebAssembly but still fully Linux in browser- https://bellard.org/jslinux/
And xenophobia is ok - it is a deep human flaw and an artifact of evolution and resource constraints. As smart logical people we should be conscious of our xenophobic biases. Not being aware of that is what leads to things like 1930s Germany.
Kooplet is a search engine specialized in music scores
How did I improve the latency of a go webapp by 700%
> fast random access memory

That term is misleading and implies actual RAM-type memory is needed, which is untrue. Monero scales quite well using a database on SSD up to transaction rates far in excess of anything Bitcoin can or will realistically handle now or any time soon (certainly hundreds and possibly thousands of tx/sec).

Likewise the total data that needs to be stored grows slowly at realistic tx rates, roughly 80 GB/year at 10 tx/sec. That's similar to the rate of growth of the bitcoin blockchain (unpruned) and well within the hardware capabilities of both existing cheap SSDs and even more so the visible trajectory for future cheap SSDs.
Some ideas:

1. Rename the constraints to mimick the classification of keys described here. E.g. require UUIDs for artificial keys.

2. Make joins with foreign artificial keys much lighter syntactically than free form joins on natural keys. Make joins involving non-ubique columns in the WITH (today's syntax) harder still. People should be able think of foreign keys as references to be dereferenced separate from full joins.

2. Going further, break apart "tables" to represent the are used for different things people use them for, e.g. key-value maps vs "join tables" (a term I had never heard before but immediately could define from experience) vs cannonical data. In math terms, distinguish sets of aggregate data from relations. Having full algebraic data types for the sets of agreggate data but not relations could help. (maps are a special case of relations.) Another final related distinction is tables-as-types vs tables-as- collections. I suppose that relates (no pun :)) back to what joins are allowed.

4. Keep the references pointing in the right direction. For example, à la Rust and capability theory, the owner should point to it's uniquely owned children. But, in SQL today, we instead invert the back reference, having the children refer to their unique parent. Supporting lists (of children) and unaliased foreign keys directly would make the cannonical back-reference an implementation detail.
I predict that in 5-10 years the evidence will be overwhelming that sugar/carbohydrates for some subset of the population are essentially poison. Cancer, heart disease, Alzheimer’s - I think we will start to see more and more mainstream connections of all three with carbohydrate intake.
Don't forget sandboxing. Browsers routinely execute unsafe scripts (hopefully) without compromising the user's account or event the browsing session. OSes are still far behind.

I always say that this situation is a bad solution to a bad problem. Had Apple, Microsoft and the FOSS world agreed on some standards, native code could be portable and the norm.
I'm not sure why you are down voted as all that is true and easily verified.
> 12 years is not close to forever at all. Humans live for much longer than that and they know they've to plan beyond that.

Depends on the country and the quartile. Read the program, and they target the poorest of the poor in Kenya. I'm not really sure that the poorest in Kenya have a life expectancy approaching that of westerners. Happy to be corrected!
Nepotism runs strong in India. Nearly 85% of the country’s businesses are family-run, and Bollywood is dominated by just a few families. Even job-seekers with impressive resumes have to fall back on personal connections to find work.

https://qz.com/889524/the-us-says-oracle-is-encouraging-indi...
The Lipson-Shiu Corporate Type Test
They actually have real slavery in Dubai and I'm guessing because this guy is in real estate that he is probably involved in that.
GP's literal words were "stop voting for people willing to take lobbyist money". The lobbyists and big donations / bundlers come from the same class of people - the wealthy. These dollars come attached with policy positions that favor that class both explicitly (in terms of policies that are explicitly favored) and implicitly (policies that will not be given strong support, i.e. various forms of redistribution).

The only way to run a modern political campaign is with lots of cash, so the cash must be procured somehow. Your two options are to level the playing field with public funding of campaigns (unlikely to happen in the wake of Citizen's United) or for a candidate to raise small dollar donations. The Sanders campaign proved that the latter is possible.
It's not a prank, it's a deliberate attempt on someone's life.

And it takes advantage of US police officers' lack of training in de-escalation. Compared to other western countries, American police officers receive less training, and their training is more focused on shooting, less on de-escalation. Better training would go a long way towards preventing them from being abused like this.
The most important property of surrogates, which I never see mentioned, is that two tuples, anywhere in the database, have the same surrogate key if and only if they are (believed) to refer to the same real-world entity. This is a crucial difference wrt auto-incrementing or randomly generated values that are independent in different relations (which is a common practice). Among the rest, with surrogates defined as above you may freely join relations on surrogate keys being sure that you are joining related data.

In his landmark 1979’s paper, Codd defined surrogates and pretty clearly, and that part of his work was based on an earlier paper entitled On Entities and Relations (I don’t recall the authors right now), so this is not exactly news.

Unfortunately, current DBMSs provide little to no support for properly implemented surrogates.
A personal ode to the Boeing 747
It's been extended, regularly, several times. The recent 1976, 1998 have extended it massively (doubling it) and applying their extensions, retroactively much further back.

https://en.wikipedia.org/wiki/File:Tom_Bell%27s_graph_showin...
Assam muslim news--assam muslim problem think india gov: RAINBOW POLITICS NEWS
Not to mention chronic conditions can easily depress someone.
You could raise income taxes regardless, though. And I don’t know how much welfare you would be able to eliminate, since the bulk of those costs are Medicare (which you would have to maintain) and Social Security (which you would also have to maintain but might offset UBI).

Regardless, you’re still introducing a large amount of net new spending—an amount that could be productively invested in infrastructure, research, and other productive projects.
Obviously, where we are going is just exposing all the system resources (like file systems, GPUs, USB ports etc) to JavaScript/wasm APIs and replacing the whole GUI stack (X/whatevr, WM, etc) with just a browser. A browser is just a cross-OS compatibility layer now (and this is quite cool as you can now run considerably exotic OSes like Haiku or Solaris and use almost all the stuff other reople do). I have also heard ChromeOS is probably going to replace Android at some point.
The problem is pragmatism. The tax cuts that were proposed in the USA could actually be a massive windfall, because currently a lot of companies (and individuals) keep profits offshore, so pay no tax at all.

The USA is different to most countries in that it has almost all the world's biggest companies. The number one way to maximise US tax revenues is to reduce the incentives to offshore cash, and even a small change in the monetary strategy could have huge results.

Contrast that with Iceland (~330K people) and their best way to maximise tax revenue is to sell their cheap geothermal power to aluminium smelters and have them pay virtually no company taxes, as taxing the wage earners the smelters generate is their best bet.

Pragmatism is often extremely ugly.
Chrome and Firefox consume more memory. UC browser is faster. It can act as replacement of sports, news and Facebook app.
You can't generalize across all languages that modifying an argument modifies something visible outside the function. It is true in languages that have pass by reference (C++ with &, Pascal, others) and it isn't true in languages which have pass by value (C, Java).

And yes, passing a reference or pointer by value enables you to have effects that are visible outside the function, but if you copied the reference or pointer value to a local variable, you still could have effects visible outside the function, so that isn't a question of how arguments should be treated; it's a general question of how functions should behave.
hi, I don't want to reply for cmeik (creator of Lasp), but I think eventually Lasp will be its own language.

from the github repo: "Prototype implementation of Lasp in Erlang"
I believe it is a reference to die as in manufacturing dies https://en.m.wikipedia.org/wiki/Die_(manufacturing) basically the phrase is like “the mould is set”
This. Time and time again, drugs and their legal status have far more to do with their most common users.
The post was intended as a reference and not an introduction, the docs on Lasp provide a good introduction: https://lasp-lang.readme.io/docs/what-is-lasp
"Lasp is about writing correct distributed programs.

The goal of Lasp is to allow you to write a program once and know that it will behave the same whether it is executed on one computer or distributed across many."
In the UK, the situation you described is called 'wrongful trading', and company directors can be held personally liable: https://www.icaew.com/archive/library/subject-gateways/law/i...

Is there any similar thing in the US?
Rodney Brooks' January 1st Predictions for the Coming 32 Years
Differences in Angular Js Services, Providers and Factories
> Unfortunately, current DBMSs provide little to no support for properly implemented surrogates.

UUIDs instead of per-table autoincrement keys seem to be a solution which covers the part of the problem that involves DB support as opposed to data model design, and several DBs have adequate support for UUIDs.
I believe your parent has it right: cast in this case means thrown or tossed. "to cause to move or send forth by throwing cast a fishing lure cast dice", sense 1a here:

https://www.merriam-webster.com/dictionary/cast

- https://en.wiktionary.org/wiki/the_die_is_cast

- https://idioms.thefreedictionary.com/die+is+cast
>Modern SQL is supposed to abstract from the physical representation. Tables model relations, and should not expose an implicit order in their rows. However even today SQL Server creates a clustered index by default for primary keys, physically ordering rows in the old tradition.

Which is why the UUID (or GUID in SQL Server speak) can have other drawbacks there in comparison to auto incrementing bigints, namely delays due to the data being ordered randomly on disk. There are obviously ways to counter that like adding extra non-clustered indexes or changing the clustered index to something besides the primary key, but at that point the extra time and overhead might defeat the benefits you gained from going with UUIDs in the first place.
Welcome to Linux Journal 2.0
Running T-Mobile's Erlang powered LTE network.
since browsers originally only displayed documents, some of the assumptions are nicer than the assumptions that came out of desktop metaphors. For example, most UI text in a browser can be copy/pasted, and that's almost never true in native UIs.
you are the hero Hacker News needed, good sir.
China manages to do both:

https://en.wikipedia.org/wiki/Chinese_Lunar_Exploration_Prog...

https://www.google.com/search?q=china+weapons+development
Caring work like this is vastly underpaid and very critical to people's well being. Maybe if someone could lobby for a specific tax credit for people formally working in caregiving for the elderly and disabled to make up for the lower income. Too often these jobs become jobs of last resort and unlike you, not everyone has high standards.
Does she like Tim Burton? Jokes aside, I'm really digging this sketchy art style.
Those who worry that UC browser is not sticking to standards... not thinking about end users. End users or layman are using it because it is easy and lite.
Every time I see such news, I tell myself maybe it is the time we port a browser into the Linux kernel and build METAL, like Gary Bernhardt foretold.

https://www.destroyallsoftware.com/talks/the-birth-and-death...
How? Can you explain?

Also aren't political views geographicaly tied?
PG a guy from “Pittsburgh”
Category:English pluralia tantum – Wiktionary
"For instance, a database of hobbyist club members could include uniqueness on the two columns first_name, last_name of members. Duplicates are likely unintentional at this scale, and if necessary the constraint can be dropped. Until an actual conflict happens the key is a reasonable precaution."

Absolutely do not do this.

People have names that are duplicates. A situation where someone is unable to join a club because their name clashes with an existing member is not OK.

Expecting a club administrator to be able to drop a uniqueness key from their database in order to resolve this situation is not a reasonable solution!
Trivial detour. Remani hits the point.
Stumbled upon in my spam mailbox today... insane what the web comes to; advertisers have no shame at all!
Unity removed support for their web plugin over a year ago: https://docs.unity3d.com/Manual/Web.html

You can now build html/js that uses webgl directly: https://docs.unity3d.com/Manual/webgl.html
Such things should be anathema to anyone with the slightest shred of decency.

The current war on drugs 'cure' is worse than the disease by far. Those actions you describe are the actions of a state that believes it owns its citizens and can exterminate them at will.

The Phillipines are getting close on point 3, having allowed anyone to literally get away with murder if they say the victim was a drug dealer. Most people I know consider that policy to be a monstrous.

I would hope that in most democratic countries we would see open revolt against the government, though I know in reality that authoritarianism and rule by a 'big' or 'strong' man does have mass appeal. Humans are such weird apes, and will often gladly watch the 'other' die for transgressing entirely arbitrary rules.

tl;dr - it reeks of a "final solution"
Big tech companies hire only a small percentage of H1Bs. You are generalizing a special case. The vast majority of the visas are used to undercut American wages. Period.
Dolphin is still going strong. I've been happily using its "lite" version on my old Android 2.2 phone until it (the phone, not the browser) completely broke.
Nanoporous materials for weapons applications
Intellectual property entering the public domain after the original creators are long dead is not an extreme.

Perpetuating private control over what was already promised to be in the public domain is the extreme.

Anything taken out of former copyright limits probably already is in the public domain even in spite of the legislation without compensation to those who have standing, which just happens to be the American people. Legal has never pursued that avenue. Pity.

As for your username, wow.
These concepts are orthogonal.

I can use composition and inheritance to define an IS_A relationship and I can use them to define a HAS_A relationship.

For example, in Kotlin:

class A : B // IS_A via inheritance
class A(b: B) { // HAS_A via composition
class A(b: B) : B by b // IS_A via composition
Trump admin considers tweak that may lead to mass deportation of Indians
This is a popular suggestion but I don't think as well as people make it sound.

Lots of problems don't have solutions that would be viable for a new startup (especially not for lean bootstrapped ones).

The problems tend to be either so very specific where the solution would be "just use Excel" or "you need a custom made software", or somewhere in between there.

Or so common and obvious and popular where the solution is already hyper saturated with million dollar and billion dollar companies.

For example very few businesses have customer service support software needs that are not already satisfied by the huge array of existing solutions.

Even if they do, that knowledge is not suddenly going to give you any advantages. You end up at the position of building a feature of a much bigger software ("We like Zendesk but it's missing ____ feature").
It sounds like you should be doing something else besides working on CRUD apps, something on the forefront of technological or scientific advancement. Maybe dip your toes in ML with Tensorflow? There are definitely some problems out there that you can't do in your head.
Another company asked me to create a web application based on a short specification. I liked that I was able to pick any language and framework I wanted to. Furthermore, the project was related to the company's business and was described very well.

So basically they asked you to solve a problem for them, without compensating you. Personally I would have either rejected the task or asked for compensation. But then again I'm a freelancer, so I know what my time is worth.
Vegan Clothing
Isn’t that exactly what the NEWSEQUENTIALID function was created for?

https://docs.microsoft.com/en-us/sql/t-sql/functions/newsequ...
What a motivating call for talent! I'm applying right away, I love being a slave to my employer.
Sounds reasonable. Why don't people use it then? Are there any frameworks already available so one won't have to invent a GUI toolkit from scratch?
It’s too late. Been going on for the last 15 years and the ladder is already stacked with nepotism.
Maybe with more context I'd have enough information to agree with you, but with the info I actually have, I can't say it wasn't their job to play devil's advocate. Maybe they had good reason to be skeptical of the direction things were going and needed to ask enough questions to be sure it was right in order to best represent the concerns related to their role on the team.