skysight-inc/HackerNews huggingface dataset:
Interesting. They now have a policy that prohibits the sale of medication. I wonder if there are other less scrupulous competitors of Alibaba...
Maybe 3d dates from 2005?

I thought OGRE was older, too. But maybe just 2d.
Is there a good "tutorial for modern c++" resource out there? The last c++ I used heavily was c03 and a sprinkle of c11. I find reading modern c++ to be somewhere between frustrating and an exercise in hieroglyphics thanks to how much it's changed. Something along the lines of "basics of why to use the different std pointers/views instead of raw pointers", lambdas, all the new const-like bits, and whatever else have become "core" features.
Symantec Is Now NortonLifeLock
There is more software out there than just desktop apps.

At my work there is code from 1980's written for IBM mainframe in PL/I language still running. Has seen minor changes over the years but very much 40 year old code at the heart of it. This code has basically had continuous uptime since then. I work at industrial plant I have heard not uncommon for Banks, insurance companies, power plants etc to have similar setups with same vintage of software.

We have C and C++ code from the 90's originally written for RS/6000 era Unix boxes. That stuff is pushing 30 now. still actively maintained.

There is Fortran with genesis dating back to 80's still being run today.

A 30 year lifespan for industrial equipment is not uncommon it would be nuts to replace control software and things like that so often.
How to Hide an Empire: a short history of the greater United States. It includes an excellent discussion of how technological advancements in the 20th century (such as synthetic rubber, airplanes, and radio) changed the physical structure of empires, with the result of the US empire existing primarily in bases scattered around the world rather than the large swaths of conquered territories that had traditionally characterized empires.
" About 5 million people in rural areas have to travel 10 miles or more to buy groceries, according to the Department of Agriculture"

is that supposed to sound like a lot? It's probably a 12 minute drive. I know people who drive 60 miles to and from work every day in Texas without batting an eye.
> Morphine/heroin would be a dirt cheap commodity without government prohibition. Morphine is a natural product. It is harvested and extracted industrially not unlike stevia, cacao, or coffee. There is nothing uniquely capital-intensive about the process except the smuggling.

It would become a lot more efficient without prohibition. A lot of heroin is derived from laborious manual processing of opium from poppies.

The agricultural-industrial complex would plant a field of a potent strain, fertilize it, let it grow, chop it all down, crush it up, extract out the goods and probably 5x+ crop yields with a team of 2 or 3 operating thousands of acres.

That's not happening in Myanmar or Afghanistan!
I just want to say thank you for sharing. I'm also one of few female engineers at my company. It's hard to find friends as an adult and it can feel even lonelier when I see people at work getting together to play sports or generally have "guy hang out time". When I have brought up complaints at work I also feel like people don't take them seriously. The response has basically been, "Can you just wait for him to retire?" and "You should be grateful". It's hard. One thing that has been helpful is finding some sort of community. Treat it as a non-negotiable part of your life. There are lots of people out there looking for connections and friendships, it can take time before you find the right group. Everyday you wake up and do things for your employer. Everyday you should also wake up and do things for yourself. Like having lunch with someone or playing a boardgame with a group. In the moment "playing a boardgame" may sounds silly and trivial compared to important "work" and "career", so instead I call it, "maintaining my health". Don't neglect your mental health. It's important. Also, dogs are almost always better than people.
If a company virtue signals, and something actually virtuous happens in the process (blind kids getting the bricks), does it matter that it happened for selfish brand related reasons?
Thank you. I was doing mental math and I think I was lazily confusing 24 with 25 and noticed my zeros were off and after a few tries decided to just ask.

The 24 months explains it. I figured a pay period was a month because I think of it as how often I have to pay.
Liberty: the quality or state of being free

This is where the Internet blurs international borders, meaning netizens are mingling with a mix of individuals and organizations that do not possess freedom or liberty.

Unless we know the source or the origin of any said content online, its just as easy to disregard the information/context, rather than parroting data placed on social media by bots, international PR firms, foreign governments or other unknown individuals.

When it comes to social media, it should be no surprise that compliance, filtering content and policing users will lean towards the lowest common denominator, since there are fewer individuals with liberty than without.

Perhaps we'll see a localized or domestic addition to the Internet in the future where, for example in America, it is assumed that an individual has not forfeit their liberty, freedom or privacy, meaning they have not had their rights compromised when using public platforms. Unfortunately, it seems like many US citizens have forfeit their basic rights for a few hand-outs and unfulfilled promises, so local platforms may be just as tainted.
First rule of inhousepharmacy...
or schedule 2
In the game of thrones, you've got to keep your head above the parapet. If your head gets on one of the poles you're in a hole.
Would you provide some examples of where you think CBC is being left-wing partisan? Also, I wonder why you are so focused on left-wing partisan examples and apparently not at all on right-wing partisan examples?
Laser headphones would sell well to audiophiles.

Laser sharp imaging. Unlimited soundstage. Fast as light bass.
> . If your goal is to overthrow the Constitutional order and replace it with a dictatorship, a theocracy, an ethno-state, etc. etc. etc., you forfeit the right to shield yourself behind the document you're trying to tear up.

No more free speech for communists?
The TypeScript team is only implementing features that have a chance of 100% of landing in JS or 0%. Therefore, they wait for Stage 3.

If they start implementing features at an earlier stage, there is the risk of implementing a feature with different semantics in TS than in JS, since the JS spec can still change (or event get rejected). Both cases will result in diverging languages, which is something they try to avoid.

Edit:
In the past, that didn't work that well. TS 3.8 is planned to ship with JS private fields support (the one with the # syntax). TS had private fields for a long time. In fact, it's one of the first things that the language had.

However, these private fields behave entirety different to what ended up in the ES private fields spec. They can't change it afterwards. So in the future, we will have two semantically different ways of declaring a private field in a class in TS.

Another case are decorators. They are still in stage 2 and may change. They already exist in TS, behind a flag. But every Angular application depends on their current implementation in TS. If the spec changes, it will get interesting.
Can we write a protocol + type like that?

https://forums.swift.org/t/how-do-views-like-emptyview-confo...
I thought the Feds owned the vast majority of the forests under question?
You'd have to have the rule going in and have the parties present evidence on the amount attributable in the appropriate phase of the trial. Intuitively, the actual number awarded seems far below the minimum plausible if the treble-gains rule proposed were used, but I'll freely admit I don't have hard data to set what the likely actual damages should be under that rule.
> I know languages like Rust and Swift have ways of safely dealing with memory without a GC

Those are very different things, to my knowledge. Rust is "no-GC" in the vein of C and C++ (but the borrow checker makes the memory management portion easier to deal in that you generally don't have to manually free stuff). Swift is "memory managed" in that is uses reference counts to automatically check through the used variables and free ones that are no longer references. In my eyes, that's pretty clearly a type of garbage collection, even if it seems the term has become specific enough that it's less often applied to that case.
OK, now we just need a bivariate color palette generator
Microsoft confirm their new Chromium-powered Edge browser is coming to Linux
Direct link to the submission: https://news.ycombinator.com/item?id=21455739
Seconding the earplugs, also - blackout curtains and an eyemask.

Wishing the parent poster the best of luck with everything.
Alternate reason: you'll figure it out anyway, because it's one of their biggest integrations. It doesn't matter how hard it is if your users and your business wants it.

They have no incentive to improve their docs. They're Facebook, there's no competition at all.
I just did some refactoring on a medium size code base and here are a few things to watch out for when adopting optional chaining and the new null coalescing operator:

foo && await foo();

is not the same as

await foo?.();

this will work in most cases but subtly, the await wraps the undefined case into a Promise, while the original code would skip the await altogether.

String regular expression matching returns null, not undefined, so rewriting code such as:

const match = str.match(/reg(ex)/);
return match && match[1];

is not the same thing as:

return match?.[1];

because the latter returns undefined, not null, in case of match failure. This can cause problems if subsequent code expects null for match failure. An equivalent rewrite would be:

return match?.[1] ?? null;

which is longer than the original and arguably less clear.

A common idiom to catch and ignore exceptions can interact poorly with optional chaining:

const v = await foo().catch(_ => {});
return v?.field; // property 'field' does not exist on type 'void'

This can be easily remedied by changing the first line to:

const v = await foo().catch(_ => undefined);

Of course, these new operators are very welcome and will greatly simplify and help increase the safety of much existing code. But as in all things syntax, being judicious about usage of these operators is important to maximize clarity.
In 1923, avg wage was £260, avg house was £350, a whopping 1.3 times avg wage. Only idiots would breed to support the establishment and continue to vote for their puppets.

The UK is also on a different economic cycle to Eu, noted by the EU recession that unfolded after the Euro went live. People in Northen Ireland went south to take advantage of recession prices and vice versa. IMO the real reason for Brexit is the Good Friday agreement has failed, the gloss of Buy To Let has tarnished so some of the IRA are looking to get back to their old ways. Making Northern Ireland a gateway into Europe is similar to what the British did with Hong Kong being a gateway into communist China when it cut itself off to the world. Northern Ireland has if the current agreed Brexit deal goes through, so make NI a new Hong Kong which will force all parties to keep voting for it every 4years and keeps them all around the table something the GFA has failed at considering theres been no assembly at Stormount for a few years now. Thing is the political class don't want to give away the above info because then everyone will pile into NI property and make a packet, forcing out the ruling class who benefit from this insider knowledge.

So do you vote for Brexit knowing what you know now or not?
Wow, some samples are frighteningly good. I was impressed by previous models and I don't know if I'm just lucky this time, but... wow. Can anybody who is not into climbing even tell this is all fake?

Jain Kim is an experienced climber.

In 2006, she became the first woman from Korea to climb all five 8,000 meters (24,064 ft) peaks in the Swiss alpine ski run Alps in 24 hours. In 2009, she made history again by setting the record for the fastest time to climb an 8,000 meter peak with a team from China and South Korea.

She made the first ascent of 8,832-meter K2 in China, the second highest mountain in the world, in 2009 and the third highest mountain in Europe. She also is the first female Korean to summit a world-class peak.

During her two years as a mountaineering professor at Sogang University in Korea, she established two new routes in the Yalu River area. The first of these routes is a 3,547-meter peak named K2 on Mount Long in China. Her second route is on the same mountain, called the Lomonosov Ridge, at 3,632 meters.
I'm honestly aghast at the attitude of some of the posters in this thread, with their "The Bank of England had it coming" and "It's fair game." posts.
They had a great blog post on how they manage API versioning a couple years ago: https://stripe.com/blog/api-versioning
Might be a little out of topic, but in this video there are some FP concepts being applied to DOD.

https://m.youtube.com/watch?v=g1TsP60z2OQ
I can remember coding with Irrlicht around 2004, 2005. Ogre seemed to have a much larger learning curve, so I never dived into it. Glad to see it's still around, though.
> ...and it's nice to have 110% of your maximum expected needs covered rather than 80%.

That depends very much on the person. For someone with no kids and that needs to move very large cargo every once in a while, it may be the pickup truck that's the 110% and the SUV that's the 80%.
IDK - I've seen what a heroin addict can do not only to themselves but their family and community; and a natural product can easily be evil that needs to be restricted.

It's wishful thinking to expect that all people are capable of full responsibility for their actions and deserve the ill consequences of their choices given unrestricted access to everything. Our free will, motivation, goals and core values can be chemically altered - probably even more so in future. There's a tradeoff, there's an optimal amount of restrictions which results in best outcomes for most people, and while I'm not certain where exactly that optimum lies, I'm absolutely certain that zero restrictions is not that optimum.
Drugs are not gambling. Almost can be addictive.

Drug legalization is about harm reduction for those already addicted. It makes it possible for them to get help for actual problems. Also it makes it less attractive to younger people as it's no longer recognized as "rebelling". AND it cuts off the flow of money to organized crime!

Portugal. Look into the drug situation in Portugal.
MSI GT76 TITAN (128GB RAM) with 17.3" 4K/UHD and NVIDIA GeForce RTX 2080 / 8GB
Screen is at 3840x2160

I use it to render high res panoramic images.

But I know - it not exactly everyone's go to laptop...
Yeah, that's probably true in a lot of cases.
you're right, i mixed up how the scheduling system works -- schedule 2 is significantly more legally risky and difficult to procure in grey markets, schedule 3 (basically anything that isn't a prescription version of a narcotic) is typically easily available.
Ebay does have a "RESTful" API:
https://developer.ebay.com/api-docs/static/ebay-rest-landing...

Definitely agree that the old SOAP API was/is horrific. But the XML is about as easy to work with as JSON/REST.
How much each member contributes to the EU budget is a drop in the bucket compared to the transfer payments I'm talking about (healthcare, social security, defense).

The Eurozone should either go all the way like the US, or they should scrap the currency union. This halfway step only serves the wealthy.
What I'm waiting for is orbital unlauch vehicles. That is, spacecraft that methodically collect and comoactify space debris.

As we launch more and more cheaply and frequently, the few thousand miles above Earth become littered more and more, even with all deorbiting or parking provisions.
I agree:

In the IR community you will see image2image search implemented by passing an image through a headless CNN and then do ANN search on the embedding space. Then that can lead to discussion about cross-model hashing which you suggested. I think also you touched on LTR techniques w/ siamese networks. For example we can use a siamese network to learn the diff between two embeddings.

In the Recys community for collaborative filtering you can take interaction data between users and items and decompose that matrix into two parts using SVD which is called the user and item embeddings. Also in the recsys community you see people doing item2vec (what I did) for the item embeddings and then aggregating those for the user representation (embeddings).

Maybe you will grant me the novelty of this method in making the connection between queries and converted restaurants as a similarity metric and then applying it to the IR use case of search query expansion? Should the post be more clear that I am not claiming to have invented item2vec or ANN (approximate nearest neighboors)?
Yep, your comments were largely correct. I just wanted to add a bit more context and detail. I didn't intend it to come across as a disagreement.
I doubt any CEO's compensation is tied to anything beyond five years; and, I bet even terms at five years are sparse limited to a few giant names who have to (like Tim Cook) otherwise the stock price would collapse and that's it.

I'd like to add: there is no incentive for it either, shareholders want returns NOW, and so they want CEOs to act in their interest NOW. Most shareholders aren't looking at their "ownership" stake with compassion for employees at the company, or any form of responsibility to other stakeholders, but solely for their own bottom line.
True about the resources. But back in the day we also turned it off because of the "theme park" feel it had. It felt like the classic desktop with clown makeup.
> Also, I wonder why you are so focused on left-wing partisan examples and apparently not at all on right-wing partisan examples?

Because I and others are not forced to pay for National Post et al to exist via taxes. Nor are the other ones claiming to be neutral.

Why else would I be talking about CBC and the implications of state-sanctioned media? That's the context. The misguided idealism they'll be neutral.
Most satellites are on orbits that will eventually decay due to atmospheric drag.
How does this type inference stuff work? Is the if expression overloaded in this case? Or does if always return the disjunction of two types in swift?

In other languages like rust and Haskell, the branches of if need to agree on their type so I found this a bit confusing.

Is there some kind of embedded DSL stuff going on here?
Shouldn't that be

foo?.bar?.baz ?? "default"
I don't believe that rural Americans are any more or less dependent than urban Americans. It is just different. In a lot of places there just isn't enough population density to have everything.
Show HN: BetterWeb – A Fun Chrome Plugin to Help You Identify Online Media Bias
If you have a set number of possible view types you could in theory have it hold onto an enum of the different types.
How to Manage Your Money – 50 20 30 Budget Rule- Home of Finance
I've read "A Tour of C++" by Stroustrup. It was helpful in trying to catch up to modern idioms for C++.
The patent thing is the real difference. With the amount of citizens India has, it's the perfect storm. Any company can make anything (but the output is monitored), and the amount of people and their low salary make most drugs fairly cheap.
One place where this shows in a fairly technical way is in discussing instruction sets: https://en.wikipedia.org/wiki/Orthogonal_instruction_set

"In computer engineering, an orthogonal instruction set is an instruction set architecture where all instruction types can use all addressing modes. It is "orthogonal" in the sense that the instruction type and the addressing mode vary independently. An orthogonal instruction set does not impose a limitation that requires a certain instruction to use a specific register[1] so there is little overlapping of instruction functionality.[2]"

Its use here is more general, but I hope the specific example helps.
Meh, I have no way to DM this person
From that article:

> If you want an even more stark illustration of gravity’s effect on time, take the Sun - the team calculates that the Sun’s core is around 40,000 years younger than its surface.

Wow!
Still not as much as those Almond trees
That was really a great explanation! Thanks.
> "If there is no national economy, but a bunch of independent producers who search for whatever personal advantages they can get for themselves"

I am surprised to see you argue against it, as its the first tenet of capitalism.

I am not clear what you mean. How is the person that "works hard" in your understanding contributing to national economy above an beyond working at a place where he creates the most value, and gets the highest pay?

I allege those precious hours are better spent helping the community / the homeless / whatever. It would probably benefit the national economy more and teach you valuable skills.

A friend of mine has a pretty successful career in London city, he works at a charity that monitors marine animals in his spare time.
It probably leaves him happier as a result.
This is peak "Hacker" "News".
I grew up in the backwoods as well. My parents are getting up in years and at some point they will have to move closer to a city just because there is no healthcare near where they live. My father had a health scare earlier this year and they couldn't even get an ambulance to pick him up.

Everything worked out but that made them think that living out in the middle of nowhere was going to have to come to an end soon.
It translates to nothing for the party who was damaged. Literally they will get nothing. And if they don't like that deal the government can make it hurt more. Your life here ruined over an ounce of weed, but rob multiple people access you get a bonus and the company gets a small tax that mostly goes to lawyers.
This seems to the be case given that so far all they have done is freeze accounts and blacklist attractive options of used for this play.
Why not simply cancel their government-mandated monopoly, as was done with the phone line carriers, and let companies like Tesla compete on a per-city basis?
Most trafficking is not forced or exploitive. It's some poor person seeing a quick payday and going for it.

Beside, most drugs flowing into the US are from underground tunnel, or shipping container, or the back of a commercial truck. At one point they were buying used 747s, flying them full of coke to the US, and then just ditchiing the plane because they made way more than the cost of the plane.