skysight-inc/HackerNews huggingface dataset:
I'm super excited about this release, but it got off to a rocky start for me. Prior to 3.7, all our tests worked fine, but something in 3.7 changed that caused the type-checker to fail previously valid code. What's worse is that I can't reproduce the issue in a playground. Thankfully the workaround is "make your code more explicit", which is fine, but it was just a surprise to see something like this break.

For those that are curious, here's the error that 3.7 introduced:

Type 'SinonStub<[string, RequestBody, (RequestOptions | undefined)?], KintoRequest>' is not assignable to type 'SinonStub<any[], any>'.
Type 'any[]' is missing the following properties from type '[string, RequestBody, (RequestOptions | undefined)?]': 0, 1

I think the issue here is that `[string, RequestBody, (RequestOptions | undefined)?]` is a tuple type, and `any[]` is an array type. That being said though, I'd expect that a tuple would satisfy a `any[]` type.
I don’t see the problem. If you are making 200k in one of these places you can afford to hire a couple workers to farm your land and deliver groceries. Problem solved and you are probably still saving money over living in SF or Seattle
They’ll probably face criminal charges but that won’t help recover the money.
And a third and a fourth because it’s only right when the rich people say so
This discussion is pointless. All these social media platforms can do whatever they like on their platform. If you really care about freedom of speech and no censorship, build it into your technology from the ground up so that it is impossible for anyone to censor anything, and that freedom is guaranteed because it is a fundamental property and requirement of the system.
We need to have at least some people living in small towns and sparsely populated areas to produce food and manage natural resources that cities depend on.
Why not? Public ownership of highways and water systems works well enough.
I had a friend I grew up with who smoked his life away over a period of a few years. It was really ugly. Funny thing was he was the only one in our group of friends that didn't party that much when we were younger. They say an addict has his drug of choice but maybe the drug really chooses you.

It really is a super drug. The Methyl group allows it to cross the blood/brain barrier. Few hits and you are up for days. When it gets ahold of your life people do things like give up their kids to pursue it. You all have heard the stories.

Anyway I'm thinking that you wanting to try meth could be a red flag. Or not. But why take the chance?
The definition of negligence doesn't matter. Even if they are proven to not be negligent and they did all the preventative maintenance, they are still liable. Under this scenario, it doesn't matter if they do preventative maintenance or not since they are on the hook either way. The only way to avoid being on the hook is to shut off power since that is the only way to reliably prevent even the best maintained equipment from causing a fire.
To understand what's going on I'd recommend "J for C programmers" (see links on Jsoftware site) and also the mailing list - it could be very helpful.
Economic collapse is going to be tied to massive environmental devastation. Those "large number of early deaths"? They're not going to go quietly. They're going to over-exploit any remotely exploitable resource first.

(I also have a hard time reconciling "large number of early deaths" and "It's all good bro!". One of these is not like the other...)
Yes, but... is there a listing somewhere which can be looked at discretely for accredited therapists?
Sounds like Three.js for C++
VW doesnt plan to make any.
Neither do monopolies, like PG&E. Their profits are guaranteed at 10%, they can raise utility rates as they see fit, to cover expenses (The state has some influence, but it does not exercise it), and the shareholders are not personally liable for any malfeasance by the firm.

It's essentially a license to print money, with no incentives to improve. If you don't like their service, there's no competing power provider you can switch to. If you don't like them starting wildfires, you can sue them, and end up paying for your own lawsuit out of your next power bill. If you don't like them deferring maintenance, while paying shareholders dividends, you can... Complain on the internet?

At least with a state-owned utility, if you don't like how it's ran, you can always exercise your democratic rights to vote someone in who can fix it. Surely, of the 39.5 million people in California, you may be able to find one politician who knows how to run a business? Or knows how to hire managers that know how to run a business?
The last paragraph claims police DDoS attacked a site. Is this legal?
Those are good questions and I'm not an expert. I was a part of a discussion once where someone mentioned that faraday cages mostly work for signals entering.

However:

1a) You don't know (because your phone can pretend to be off). You need to remove the battery (and also remove hidden batteries)

1b) some phones support NFC, which can theoretically be used when the phone is off.

2) I suggest being familiar with: https://en.wikipedia.org/wiki/Faraday_cage and your cellphone before making a decision

3) I don't know, but this would help with #2
Well, you'd presumable have some pre-existing financial relationship, all the legal agreements and stuff; it's just that instead of (or inaddition to) having a "long-term" credit card number you'd cycle through a bunch of disposable short-term credit card numbers. I.e. your relationship with the card issuer is long-term but the instrument you use to interact with merchants is intentionally limited to a short term.
You're not the only person wondering about whether PG&E has defrauded investors: https://www.courthousenews.com/investors-sue-pge-over-wildfi...
Have you ever, like, left the city, man? Do you really think everyone can just live in the city without anyone out in the rural areas, you know, growing your fucking food?
IBM sued yet again by its own staff over 'missing' commissions
What a cop out! "Every situation is different". Yet in every situation, money is the lubricant needed to make changes and meet those fire protection needs.
Apple opensourced ServiceTalk – a network-service on top of Netty
I'm not a customer, but I believe that Revolut offers something like this, though with some restrictions and I'm not sure if they extend this to USA - they have the concept of 'disposable virtual cards' https://www.revolut.com/help/getting-started/getting-a-card/... and an API for controlling stuff.
You do recall what happened the last time California opened up the electricity markets?
Interesting side note. OGRE3D was created by a British citizen and they chose to follow many British idiomatic spellings - such as Colour - one of the few libraries I have used which chose those spellings over US variants.
I can relate to that, I did live in a mountain town with some great local stores. However, I just moved to a larger city but further from the mountains and they have worse local options, at least that I have found.
> you still can't have a non-template function that works on a const std::shared_ptr<const *base_type> or any derived type

I guess you meant, you can't have a function that accepts a shared_ptr to the base type without indirectly using template machinery?

Because you can most definitely have a function that does this that is not a function template.

#include <memory>
#include <iostream>

struct foo {
virtual ~foo() = default;
virtual void bark() const { std::cout << "fork\n"; }
};

struct bar : foo {
void bark() const override { std::cout << "bark\n"; }
};

void poke_so_it_barks(std::shared_ptr<foo const> const thing) {
thing->bark();
}

int main() {
poke_so_it_barks(std::make_shared<foo>());
poke_so_it_barks(std::make_shared<bar>());
}
They didn’t have fixed rate debt?
Ben Thompson has actually suggested exactly this in previous articles: https://stratechery.com/2017/why-facebook-shouldnt-be-allowe...
Not necessarily, though that's a risk.

As Eric Schmidt famously said, Google's "policy is to get right up to the creepy line and not cross it."

http://allthingsd.com/20110120/talking-schmidt-googles-ceo-i...

A quote memorialised in a documentary whose title is take from it:

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

The problem is that such lines are not static, may move, and particularly in dynamic areas of evolving awareness and policy, do. Much as one can be caught by quickly approaching tides or sneaker waves at a coast, Google and much of the FAANG monopolists (as well as other tech and surveillance capitalists) are finding themselves in unexpectedly deep waters.

Which itself is a real and quantifiable business risk.
eBay is an absolute nightmare. They have a demo instance to test on and it's about 4 years out of date and half of it doesn't work anymore.
Unity is the other mature 3D engine from 2005 :). https://en.wikipedia.org/wiki/Unity_(game_engine). For some reason I thought Ogre was a lot older than it is.
For those cases where their range is sufficient, they are vastly cheaper. And their range is going to increase over the years as batteries improve.
Depends on the country, but in mine the breakup coincided with the internet boom that resulted in improved quality and reduced prices. Then they let the infrastructure rot for 20 years and the government had to step in to rebuild it.
Highly recommend the Swopper ‘Active Sitting’ Chair if you can source it at a reasonable price:

https://smile.amazon.com/s?k=swopper+chair

Bought one on Amazon in 2008, still love it.
BrowserFS: An in Browser File System
It came to my mind because I've seen some Angular templates (they had this syntax before TypeScript had) where the dev just threw in some "?." to fix only the symptoms of a bug. This resulted in some ngIf condition to be always falsy and never showing a specific element.

The real bug was that the property in question should never be null/undefined in the first place. It was a lot harder to find the error.

Also, I've seen some typos (or missed renames) being unnoticed without any errors. This caused some weird behavior in the frontend where there was no exception but there is definitely something wrong. Or, worse, the bug is never noticed and other code depends on that behavior.

So if the language is statically typed, the feature is awesome because the cases mentioned above will trigger a compile time error.
I've seen some misuse in dynamically typed ones.
The complete harvard classics (eireann press) - found this beauty for 1 dollar on Kindle.
How about Paper/pencil?
Agreed.

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.

Murdering cartels and private prison owners became billionaires off of enormous human suffering because someone wrote a law.
The NSA ostensibly provides "cybersecurity" support and services -- they should be partners in securing government infrastructure. Maybe they were with OMB (but clearly not enough).

Accountability is good and should happen. Thus far we've seen very little accountability for data breaches in the private sector, so they're not alone.

I don't know the answer as to how to make accountability really work in general -- because it becomes game theory of how to create that space without becoming paralyzed by fear to act.
Not really, but whatever works rocks your boat!
I was born blind. I have read only a single book in Braille in my life, though I used it at school for notetaking. I switched to using the computer in last year of secondary (age of 15). I wanted to do so before, but I was in a very backwards special school for the blind. For math, I have been using LaTeX, which, coupled with some speech dictionary hacks in my screen reader, works pretty great. Braille is still useful when drawings are concerned, but only if you have the right books, which is not always the case. Most book reading was either done by my parents (before the age of ten) or by audiobooks afterwards. I don't have that many spelling problems, and those I do have are usually detected by Word, which is what I use when I really do care. I think the warning beep that my screen reader plays when typing a misspelled word is actually a much better learning tool than any form of reading.
Sapiens (re-read) :)
It's one of those books that gives you a different perspective every time you read it
http://www.sjgames.com/ogre/products/ogrevideogame/
Excellent point. I've never waited as long at the DMV as I I do for weekend brunch.
There is no function in the world that should ever take 17 parameters. If the algorithm permits such configuration, as I am sure it does, then it should take a configuration object which has all these values. The object could then be constructed using special purpose factories that take fewer parameters, and then customized from there as needed.

It may be an indication that the whole thing needs refactoring though.
I'm guessing they have the same issue with Alcohol. Why would a poorly implemented existing example assuage their concerns?
= Design characteristics =

1. Simple, distinct concepts with unambiguous names.

2. Semantics are clear, following conventions as appropriate.

3. Minimize surface area without reducing functionality.

4. Clarity and specificity of ErrorCodes and messages.

= Operational characteristics =

1. Extremely low level of 500s.

2. Low call latencies.

3. The API does what it says it does.

4. Consistency is (nearly) always within its documented SLA.

5. Do not make backwards incompatible changes.

= Social characteristics =

1. Docs are correct, up-to-date, complete, specific, and unambiguous.

2. Clearly communicate service outages and resolution timelines.

3. Seek feedback on evolving the APIs.
Who would arrest them? The police routinely murder youths... just another day.
This is one of the most Hackernews comments I've read, hah. Three.js is closer to Ogre3D (or maybe more like openframeworks) for Javascript.
Building a Sales Team from Zero to Ten
I'm excited to take out a lot of lodash gets
whenever i read some ghoulish comment like this i think of elliot smith's lyric: "god knows why my country don't give a fuck."

call it what you like, writing ai for murder robots is wrong,
I understand its unpopular, but throwing out democracy because your side chose not to vote is asinine.
Strange, on Xcode 11.1 I get this: https://i.imgur.com/j5V1CHN.png

Whereas the web version doesn't have the beta tag: https://developer.apple.com/documentation/swiftui/text
Oregon was the end of the Oregon Trail, but the trail itself extended 2000+ miles back to Missouri in the center of the continent.
Democrats are the majority in the House: https://en.wikipedia.org/wiki/116th_United_States_Congress#H...
>but have no transfer payments between rich and poor members

You do if you count open free trade, least that is the ideology. Though the reality is very disproportional and for countries able and in a position to leverage that, did very well.

So you get some countries doing better than others, how do you balance that out. Well, with a membership fee based upon how well the individual member is doing in relation to other members and using most of that fee to invest in those countries doing less well.

Which seems a simple and fair way. At least on paper when they signed it all off it did.

I will say though, I've always worried about the aggressive QE usage by the ECB. Whilst great for exports, it has equally impacted imports. This with most consumer tech being imported, then it would be more advantages to companies that export outside the EU to have QE keeping the Euro from racing ahead than for importers.

Hence countries with a dominant export outside the EU, have done rather well out of QE and those importing, equally less so.

But then, how QE is not counted as currency manipulation is beyond me.
I am curious if a power company like PG&E could be bought out and made into a cooperative like a credit union, where every member have a part.

Would it be better or worse?
I hear you, a nuke is the ultimate tool for implementing widespread death. But I don't worry about getting nuked because to build something requires a lot of money, expertise, and parts that are closely monitored. Then you have to figure out how to transport and deliver the damn thing. Not a huge problem if you're a nation-state but bigger for individual actors and their followers.

A CRISPR based biological attack however is something you can pull off with lab equipment you can buy anywhere in the world. For an amount of money that can be acquired much more easily. The risk to the perpetrators has always been that they would screw up and die of their own plague.

The ability to create more precisely targeted biological attacks means that a person who is working on such an attack and doesn't have the necessary genetic makeup for what ever virus vector is being used to transmit it, can do so with much less fear of their own demise. While creating something that can be transported in disguise without being easily detected.

Perhaps an analogy would work.

My kids never had to worry about European teenagers bullying them, but today's kids have contacts all over the world on social networks some of whom can be quite hurtful. There is bullying that happens because the perpetrator "knows" that the target is so far away they are unlikely to be able to cause repercussions. Thus the 'risk' of bullying is lower, and in my estimation happens more frequently.
Is SoftBank looking to invest in PG&E?
> We have clocks which can measure it over just a few feet of height difference

Wait, seriously? Do you have a link??
You can even make your own definitions and syntax sugar using Babel. (If we continue to add more syntax sugar to JS, it will soon be more complicated then C++.)
Why would you be involved in their loans at all, if you're the seller of the house? How would you know what they were putting as down payments or what their incomes were?
Actually GUIs or websites, if done right, can be way better than anything that is text based. They include much more semantic information that a screen reader can use. For example, on websites, we have special shortcut keys to i.e. jump to next heading, table, landmark etc. We can even navigate within tables. This makes using most web/electron/chromium apps pretty easy. Most blind people prefer traditional win32 guis, but I actually don't. Problems arise when semantic information isn't provided, as in a web developer making the text whatever color is fashionable now and adding an onClick instead of using <button>. I don't see how a text-based OS would be different from that.
I think it's very far off. You can see how this model drifts off into gibberish after only 3 or 4 words. It does not really understand the topic, even within a sentence, and much less within a whole paragraph.

For it to understand the topic throughout a whole essay, that would probably require it to have full general intelligence on par with humans. And that's very, very far into the future, still.
What got me the other day was an article about how widespread drugs are in the prison system. If you can't even keep them out of such a locked down and controlled environment, it's a fools errand to think you can keep them off the streets.

Just legalize it, tax it, get rid of the criminal element here. Focus on education and rehab as a way of dealing with the negative effects. Way better bang for the buck than the war on drugs.
Well, that's five minutes of my life that I'm not getting back.

https://nepc.colorado.edu/sites/default/files/TTR-TchrCompen...

Consider me not surprised that there were serious methodological problems, including a general ignorance of the literature.
>I don’t know about this domain

So then why don't you believe me when I tell you that all of these variable names are extremely standard, and will be familiar to anyone who has written deep learning code before?
Atomic Habits - Certainly, I am building some of the habits which I wanted to create for a while.

https://www.amazon.com/Atomic-Habits-Proven-Build-Break/dp/0...
if only "hackernews" had more hacks like this xd
But on the flip side, being unable to pay the interest on your debt and also being unable to show any sign of growing the economy enough to fix its structural weakness has the same effect. It at least seems like an either/or situation at this point.
Sure. Structures like that already exist for rural utilities in many places. The question is, would one that large function effectively?
you are assuming a lot about GP, how do you know they don't also oppose alcohol taxes?

personally, I accept grudgingly that tax dollars may be necessary to "sweeten the pot" of legalization for people who are otherwise opposed or apathetic towards it. ideally, the tax would go directly towards funding rehab for those who want it and be revenue neutral overall, but let's not let the perfect be the enemy of the good.
Evolution of a Streaming Client (2010)
I have experience with municipally owned utilities. They are the worst run organizations. I really think a bunch of mayors will do a lot worse than bankruptcy. The mayors end up hiring an expensive executive - who still negotiates a golden parachute. The mayors look up to exec because of the exec's pedigree or career experience and don't have the guts or knowledge to fire him when things are going bad. Tax payers often don't know how bad things are because there is no stock price to reflect it, so they keep paying and paying. A bottomless pit.
It is not possible to have a tolerance that high. Fentanyl is 100x the strength of morphine. Morphine alone is enough to kill you, so it is not possible to need something more than morphine unless you're immortal. Drug traffickers sell fake heroin that's actually fentanyl + 99% baby powder or whatever. When they mismeasure the fentanyl dose, people die. There is no way someone would choose this in a free market where real heroin were available. Fentanyl is 100% the government's fault.
Emacspeak is something I always wanted to try, but keep putting it off for later. Emacs is a powerful tool in itself, and the way Emacspeak integrates with it is unprecedented. It's not just a screen reader getting stuff from OS APIs, it knows a lot about internals of most Emacs features so it can make the speech output as efficient as possible. It also has some cool features like sounds in stereo/3d, changing voice parameters for different text styles etc.
This is still somewhat true today anyway. Companies archive tweets for the public record and users can take screenshots or copy paste.
Student loans are basically a variable tax to attend college. There should be a relief valve of pay like 10% extra in taxes until the principal is paid off. People paying interest on the loans can get a tax deduction for the interest as well (it actually makes no sense to have interest on the loans because that interest is going back to the Feds in 90% of cases).
6 months of revenue would probably get the message across without bankrupting them.
Why We Sleep
https://www.goodreads.com/book/show/34466963-why-we-sleep

Firelfy Lane
https://www.goodreads.com/book/show/1472878.Firefly_Lane
The privacy mavens are going to lose. Controlling what can and can't be shared is just like copyright enforcement. If they want privacy, the answer is to not share information at all or share only with trustworthy people. If some post leaks, all bets are off. There is nothing they can do about it and that's how it should be.
I'm always weary of any telco pushing an "unlimited data" product, the terms and conditions attached to the product definitely makes one think twice and basically end up being "Unlimited data but [a lot of terms and conditions hidden at the very bottom that they know most people won't read and by the time they do it is too late]
Go to a library and use a computer to look at something like: https://www.psychologytoday.com/us/therapists or Google search "therapists in <City>" or "<disorder> treatment in <City>"