skysight-inc/HackerNews huggingface dataset:
> "The issue I think is that people today read "GOTO Considered Harmful" without really understanding the world at the time. ... Just because it was a bad idea to do everything with a GOTO 60 years ago shouldn't mean don't do some things with goto today."

Every time this comes up, I always encourage people to read an excellent analysis by David Tribble "Go To Statement Considered Harmful:
A Retrospective" that goes over Dijkstra's essay line by line and explains what it means in a more modern context: http://david.tribble.com/text/goto.html It really should be required reading in CS programs.

I've used and still use goto in the few niches it makes sense to, primarily error handling and multi-level break in C/C++.
When it is in the normal execution path, the test avoids a function call, so there's a little bit of performance gain.

It can also be a bit self-documenting, or be a place-holder if there is for example stuff to delete in a loop (elements of an array) before releasing the pointer itself (the array).

I don't know, when you read it, sometimes it feels natural and meaningful, and sometimes you know that the author didn't know that free() handles NULL all right.
(1) is now solved with link to text fragments.
Your recent cleaning of your Apple(TM) product has identified the use of a non Apple(TM) cleaning material, for your safety and security, your Apple(TM) product has been disabled pursuant to the Apple(TM) end user agreement you agreed with.
Operation can be restored by visiting the Apple(TM) service area.....
For the Fed, this doesn't seem enough. Their policy has a predictable effect on the whole market, so I think they should not be trading in the couple of weeks leading up to a Fed announcement.
Hydrogen infrastructure is complex. If we need hydrogen as a storage buffer, why not do it on an industrial scale at centralized locations? Why do we need a hydrogen distribution network in parallel to the EV charging networks?
puts() always adds a line termination so success means that '\n' is the last char for that implementation.
> I'd rather spend my "weirdness points" on pushing radical ideas than on dressing unusually

Agree. This could be a post in itself.
Amazon for years just had an app in their store called "YouTube.com" which opened YouTube.com/tv in a webview. Worked absolutely fine, and was the preferred method until Google finally let them have an apk that didn't rely on Play Services.
Interesting that anti-vax is a "bad" meme that actually benefits real viruses. If there were a virus that could induce susceptibility to memes that promote the virus, that would really be something.
yeah but everyone knows that "there is no +"; It's an operator, and in C, anyways operators are special and expected to not necessarily do C-function-ey things, e.g, "take arguments of different types and add them successfully" not everyone is aware that C has "anointed functions" (including, I believe malloc) that the compiler is allowed to fiddle with.
Google would probably find ways to obstruct any of Roku's alternative YouTube clients, just as Google disabled Microsoft's YouTube client on Windows Phone years ago:

https://www.theguardian.com/technology/appsblog/2013/aug/15/...
Chair of the Federal Reserve has a salary of US$221,400.
It would be kinda interesting if each town/county/state/country had an associated index fund (maybe one for Earth as a whole, too) and elected officials were only allowed to invest in one "up" from their elected seat. I mean this would involve a ton of bookkeeping but it would be interesting to see

* how behavior changes when elected officials are required to have their interest in line with their constituents.

* what mixes people choose.
FWIW Sony sued BYD for patent infringement in Japanese courts and lost. Sanyo sued BYD in US courts and settled mostly on the side of BYD. BYD also managed to invalidate a Panasonic patents.

It seems to me that China bet on LFP, the West bet on Li-ion, and China's bet is pretty successful. You'd be right to say that patents limited LFP in the West, but generally Japanese/Korean firms seemed relatively uninterested in the tech. LFP was very much under-developped until recently and there was a lot of path-dependence and a lot of bets on Li-ion outside of China.
The standard range cars have a physically smaller battery and one fewer motor.
The best frameworks work well for the tasks they solve and don't make the other tasks harder.

The bad frameworks work well for the tasks they solve and can potentially make other tasks harder.
well harsh conditions breed ingenuity so it's probably a good offshoot and backup plan for human civilization.

Outside of anthropogenic climate change we know earth and humans can suffer catastrophes and extinction events from many other sources, so it's very wise to have redundancy.

I think your comment also brings up the "weak men create hard times" quote; part of the reason why many in the developed world seem to be floundering is probably due to our unprecendented safety and comfort
> But ultimately, friendship, like marriage and dating, is work... it's a choice to put in the effort to be someone's friend.

But see, that’s just not the case historically speaking. Why has it become so much more effort in recent times?
Background: I've been building a growing commercial social network. There are things about what I want to do that made that the better option for what my target market is.

With that said, I really like what Mastodon has done and as far as federated and open social networks go (ActivityPub!). It's in a class of its own IMO.
What would be my motivation for learning Haskell other than learning monads? Learning an entire programming language (one that expressly states practicality as one of its non-goals and ostensibly only exists to advance type theory) just to that I can learn a concept that only appears useful in that language, seems like a waste of my limited time.
Study Compares Coding Bootcamps with Universities
I've found that the problem with getting questions answered usually doesn't come down to poorly phrasing the question or whatever, it's when I write a detailed and high quality question and people just don't read it at all, instead choosing to just answer with some canned response to some other question because they didn't bother to read mine.

It's like that beavis and butthead episode.

Customer: I'm trying to ask a very simple question here, are your shakes made from shake mix or from ice cream and milk!?

Butthead: We have vanilla, chocolate, and strawberry.

https://youtube.com/watch?v=OQUaguZawJQ
(the problem of destroying which universe is also left as an exercise to the reader)
> This is also why the US keeps sales tax separate instead of rolling it into the price of the item like Europe.

Even in a relatively federalized (by European standards) country like Switzerland, the VAT is set nationally. This isn’t the case in the US, and several states even have different sales tax rates in each city. It would be a considerable logistical mess to coordinate integrated sales tax signposting, both from a business and consumer perspective. Amazon already handles this somewhat awkwardly by changing store prices if you set your location on Amazon.de to Switzerland, with the prices somewhat unpredictably changing if it decided to remember your location preferences, and no longer following common numbering conventions (e.g. x.99).
I actively don’t use notion because of how slow it feels. It looks beautiful, but feels bad.
They would still be required to report that they have in-app purchases, just like they are currently required to report they have ads, even if they aren't using Apple's or Google's ad APIs.
But thank goodness Nancy Pelosi still can.
People are often prevented from going down a path to success because of the assumption that something is impossible, when if they would actually check they might find a solution that makes it possible.

This is true in science, as in Einstein going down the path of considering time dilation, while others might have not even considered it worth another thought. But it’s also true in general life. People who have a can-do attitude often end up achieving more simply because they’ve tried.

Perhaps a way of learning how to do this is to sometimes stop and think which paths to success have been discarded as impossible, and then consider investigating if that assumption is true.
New model leveraging flu data generates accurate prediction of Covid-19 spread
> journalism was there to determine facts, reality.

There are definitely plenty of journalists doing just that, which is why you and I are reading about this.

The problem is that roughly half the US electorate is not tuning in to those journalists, but they still have the vote.

> The disconnection to facts you indicate would be a horrible disease.

It is a horrible disease and the US is suffering mightily for it.
The other commenter is correct that Colbert coined the term. It's true that there was a lot of talk in that era about who did or didn't adhere to "reality" and how that related to partisanship, and a segment of the blogosphere that described themselves as the "reality based community," in reponse to that Rove quote, but none of that background context has anything to do with anything when it comes to the fact that the phrase itself, "reality has a liberal bias" is something that came from Colbert.

Of course it was in an intellectual climate where those words were charged with political meaning that made them salient enough to set up the joke. But to say it didn't original with Colbert would be to say that phrase itself was coined by a different person, and if it was, you could say who it was, and when and where. Otherwise it's just a confused detour into the weeds that lost track of the original question of attribution.

This is a huge detour, so to tie it back to the original thread, I think talks of "bias" are poisoned by a false assumption sides are equally estranged from scientific truth. It feels fair to make a both-sides argument, but it really just doesn't hold water under any serious examination especially when it comes to which party affiliation more systematically aligns with, responds to, and believes in scientific consensus.
Making data visualizations more accessible
But Palm didn’t drive the CPU direction of the industry as GP claimed.
Patents have a 20 year lifetime. US5910382 and US6514640 have already expired. It might speed up climate mitigation, but it's not strictly required for it to happen.
You're opening a whole can of worms in trying to decide what LiFePO4 batteries to buy. There's tons of options, prices have been dropping precipitously this year across the board.

The first question to ask yourself is if you want the comfort of a high quality warranty or would you like the cheapest possible price per kWh?

In my RV, in May, I went with somewhat high-end Battleborn Batteries. They have a great warranty, which has come in handy as one of the batteries I bought experienced an issue and needed to be sent in for repair. They paid for shipping in both directions.

That being said, nowadays even just a few months later, I might decide to "self-insure" given how good the cheaper batteries have gotten.
"> I was ready to cite examples of the left playing fast and loose with the truth but I sense it will just create hostility.

I mean, sounds like an excuse to not participate."

Actually, I was exactly right. I'm sensing some hostility from you right now and I'm making the mistake of engaging when I should just let it go.

>"Can you find even one comparable lie to any of these spread by prominent Democrats (not some random Twitter account)?"

So on the one hand, the laundry list you gave is acceptable as "widely believed by Conservatives", but I have to provide counterexamples that are only restricted to "prominent democrats"? You also don't qualify what 'widely believed' means, so I can just as easily claim that people on the left widely believe other falsehoods. If it is so bad that some conservatives agree with the idea that "Democrats are Communists", is it not exactly the same thing as Democrats believing that "Republicans as Fascists"? This is a widely believed view by Progressives.

I'm not here to chuck a laundry list of "lies" at you. Quite frankly I see something like "Trump’s false or misleading claims total 30,573 over 4 years" and I roll my eyes. Am I seriously expected to believe that number is anywhere close to accurate? I dare say the majority of those are subject to interpretation, which we will not be doing here.
What information do you have on Tesla's progress towards humanoid robots or fully autonomous vehicles?
Valid complaint how? If I have never studied carcinogenesis why should I believe I should understand the description of a new treatment for bone marrow cancer?

The way any article is written reflects the audience it is suited for. If this article was intended for people unfamiliar with neural ODEs they would have put more effort into writing it in a suitable way.
Fighting the Misinfodemic: How quantitative misinformation misleads the public
I'm putting "indigenous" in quotes because no one owns rights to a place by virtue of being there first. It's a ridiculous silly idea when you actually understand what has happened throughout history. Are you going to start calling Europeans indigenous when you go to Europe? I didn't think so.

Stop throwing the r word around so nonchalantly or people might start realizing you don't really care about racism and just want sjw internet points.

The funny thing is you people throw that word around so much that I don't even care if you call me one. White's are inherently racist by default anyway right? I guess there's nothing I can do about it since I have a certain skin color. My bad, I'm sorry you hate my skin color.

Just a tip- name calling makes it look like you lost the debate.
This is critical reading for everyone we hire: http://www.catb.org/~esr/faqs/smart-questions.html
Poaching drove the evolution of tusk-free elephants
This is what ETags are for. Upon a user's first visit the server should return an ETag uniquely representing the current version of the page. The browser will cache both the page and the tag. Upon subsequent page visits the browser will send an If-None-Match header containing the tag for the version of the page it has cached. The server should compare the incoming tag with the tag for the current version and return a "304 Not Modified" response if the tags match or a full response with the newer tag in the ETag header if they don't.
Delivery or recycling/garbage makes sense first, due to stop and go regen. Long range never made sense as a first step but the FSD replacing truckers and truck-train angle was used to lure in investors, even though it has no relevance to diesel vs. electric (or even better fit for diesel to power the compute without impacting range, remember we're talking 2017/2018 compute for when it was announced).
Mayor pretends to be dead coronavirus body in coffin to dodge arrest
I think the science is pretty clear that solid state batteries are the way forward if they can solve the dendrite problem. They should surpass LiIon in capacity, lifetime and safety if they can solve this issue.
Yeah but who has time to do such an in-read depth of *checks notes*... the headline?
I wish I had your confidence in the financial system, but it's not the financial services I am concerned about.

Financial services are important for moving money around, and processing electronic payments, but it doesn't matter how effectively you can process a wire if there are significant supply chain disruptions, and systems failures that take down the platforms that major retailers and distributors use for logistics.

Even if ATMs and bank networks remain up, what about the encashment and physical security services that those institutions rely on to move around actual physical money?

The economy is more than just financial services, and all of those financial services are just proxies for the real world goods that people need to survive for more than a few days in most urban centres.
I've been on buses (and trains, and airplanes) where the wifi worked, in that I was able to read email and browse the web. It's probably OK if not everyone is streaming 8K video the whole trip? Like many other engineering tasks, the answer may just be to massively over-specify each component.
Of course not, and it is silly to try to paint my argument as trying to claim that. A battery discharging is not very intelligent, but the GGP implies that this exists as a gradient down to the lowest levels of physical dynamics.

Put another way, the complexity of the computation determines the complexity of the result. The sun+flower+ground system "recognizes" a flower by means of striking the flower and the surrounding area with photons and "recording" the result as the shadow.
(I work at Notion, bias etc)

Think about how content of any kind ends up published:

1. Ideate - what do you want to make? Brainstorm, keep notes of ideas. Make plans.

2. Draft - put your ideas down in their native media. Write, paint, etc.

3. Revise, collaborate - polish things up, retouch photos, etc. Loop in your editor.

4. Distribute - publish your creation, so others can get it. Transform it into a form that's sharable. Focus on reach.

A product like like Squarespace is really only concerned with step (4) of the creative process - publishing to the web. So you'll need to do the rest of the steps with other tools; maybe just pencil and paper or maybe Google Docs, and then bring that content into Squarespace for distribution.

But, Notion does (at least a passible job at) all steps in this workflow, especially for text content. People use it for notes, then share privately to collaborate with comments. Publishing is a single switch to make a page public. We're not as fully-featured as a Wix; for example Notion doesn't offer analytics or advertising placement. But since we're pretty good at all the other stuff, it makes sense for people who like Notion to find a way to augment the publishing use-case with something like Potion.
Not to mention that in places like SF they're kind of a liability. Protected parking is expensive, on the street they're likely to get broken into. In some parts of San Jose, you would also just have a hard time finding street parking that's not a half-mile away from your home.
YouTube makes ad revenue from Roku users, Roku wants a cut.
P/E does normalize by market cap.

Earnings is actually earnings per share.
Some?

How many people would compromise their ethics a bit for $1,000,000? how about $10,000,000? $100,000,000?

Most everybody.

It's easy to be virtuous when there's no temptation.
no one really wants to upturn their entire life for a discrimination lawsuit for a practice that doesn’t even effect them. if you’ve worked at any fang orlarge tech company you’ve seen it. But it doesn’t affect you really if you’re not on one of the teams.

and some of it may not even be explicit discrimination but self sorting. If i’m interviewing with multiple teams am i really going to join the one whose primary communication mechanism is in chinese/hindi and i’m the only american there? or choose the americanized team
> the answer is to redouble efforts to move to non-fossil energy sources.

No, the answer is to consume less energy. Reducing energy consumption (and consumption in general) is the only answer that's compatible with a sustainable future.
Table 5 says that they assume an average of 5 miles to the charging station (so 10 miles round trip) per fueling trip, and then they are effectively billing the costs of that driving time and the recharge time against the EV.

In contrast, the local gas station is assumed to be only 1 mile away, and (reasonably) refuel time is assumed to be small.

The result in the analysis is that EVs have 5 to 8 hours wasted per month on getting to charging stations and waiting for the charge to finish.

You can throw this study out the window if you are low mileage (so almost always can recharge at home), and/or have chargers at work or where you do errands (so you are not deadheading the trip to the charger and tapping your foot waiting for the charge to finish.

Also, this study is focused on the cost of fuel and fueling, not vehicle costs. There are interesting studies on depreciation and maintenance that are heavily in the favor of EVs.

As the ad says "your mileage may vary".
I agree with you wholeheartedly. A perfect human through this lens is

- smart

- hard working

- has many ideas

- wants to change the world

- gives back

Right?

What I don’t understand: why do you wish him to step back and reflect?
Ge surfraw.
One of the steps to produce it seems to be soaking it in mineral oil. Maybe I missed something, but it seems pretty strong to call it renewable if it's made from fossil petroleum.
Living in DC on 174k/yr with a family and a spouse whose job prospects are limited by your profession is a tough order.

You are effectively demanding that policy makers be self sufficient, which selects for those policy makers most likely to benefit financially from policy decisions.
> One of the best decisions we made was to auto generate the OpenAPI specs from our code.

I'm curious as to what they used to do this. It's been a major pain point for me for five-odd years that Elixir Phoenix (don't know if Brex used Phoenix for this) doesn't have an OpenAPI autogenerator, and, now, this is my third job where I'm building an OpenAPI API in Elixir, so I got permission to open source our solution later this year.

Would have been nice to collaborate, but I guess Brex is leaving Elixir, so, there's that. They kind of had a bit of a reputation for not contributing much code back to the ecosystem =(
I've used Roku in various incarnations (box, TV) since it was released and was excited when the official YouTube app was finally available. But lately, it's been painful to watch YouTube due to the constant and disruptive advertising. Part of me is looking forward to the app being pulled from Roku, since it's so much like the cable TV experience I thought I was escaping. I don't feel this way about the other premium channels I use (Netflix, Prime Video). Is it worth paying for YouTube? Will pulling the app make it impossible to use the premium (paid) service on Roku devices?
Congrats Rainforest! As a former early employee, and occasional customer, I'm glad you guys are still going. Turk UI testing is a brilliant idea, and automating that with machine vision is a great next step.
Very cool thanks for sharing

> This may mean that you need to put data_starts_at, data_ends_at columns on various other tables in your database to make sure you always know where you find your data.

Do you have a link to docs for this ? Does this mean literally put a first column named (xstartx) and an end column (xendx) as the last column ? How do you then utilize it ?

Thanks so much!
> Careful. "g" is a statistical regularity, not proof of a generalized "underlying cognitive ability."

I mean, the statistical regularity in question is the mean of all other cognitive abilities correlating. I'm not sure how else you'd define "underlying cognitive ability" than "the correlated first principal component of other, specific cognitive abilities".
You can also look at the Scala implementations if you like. Scala has HKTs so you can write it all directly.

trait Functor[F[_]] {
def map[A, B](f: A => B)(x: F[A]): F[B]
}

trait Applicative[F[_]] extends Functor[F] {
def pure[A](a: A): F[A]
def apply[A, B](f: F[A => B])(x: F[A]): F[B]
def product[A, B](xa: F[A], xb: F[B]): F[(A, B)]
}

trait Monad[F[_]] extends Applicative[F] {
def bind[A, B](f: A => F[B])(x: F[A]): F[B]
def join[A](x: F[F[A]]): F[A]
}