skysight-inc/HackerNews huggingface dataset:
You can return stack values assuming you're willing to transfer ownership to the calling function. For example, this is totally valid (and does not heap allocate):

struct Point {
x: i32,
y: i32,
}

fn add(p1: &Point, p2: &Point) -> Point {
Point {
x: p1.x + p2.x,
y: p1.y + p2.y,
}
}

You'll also find that a lot of common data structures already use the heap under the hood (e.g. Vec and HashMap), so there's no need to Box them.

I'm not quite sure what you mean by "the lifetime of a function"; lifetimes are associated with references, but not with functions themselves. In particular, it can be totally valid to return a reference to something that needs to last beyond the current function call; lifetimes are used to enforce that you'll get a compiler error if the memory your reference points to won't survive long enough. For example, it's totally valid to have a function return a reference to a field on a struct as long as the struct was also passed in by reference:

fn x_val(p: &Point) -> &i32 {
&p.x
}

Since `p` is passed in by reference, the compiler knows that the reference to `x` will still be valid after the function returns, so it allows that reference to be returned. The compiler will even catch it if later you drop the Point while the reference to the `x` value is still alive:

fn main() {
let p = Point { x: 1, y: -1 };
let x: &i32 = x_val(&p);
std::mem::drop(p);

// Without this line, this will compile, since the compiler can tell that `x` isn't
// used after `p` is dropped. However, since `x` is used here afterwards, the
// compiler will generate an error stating that `p` does not live long enough.
println!("{}", x);
}
The Long Time Project
Oh, by the way, I remember reading this really interesting narrative of how the Litvinenko polonium poisoning went down and some of the backstory. It's by a Guardian news reporter who tried to investigate.

https://journals.sagepub.com/doi/abs/10.1177/002581721770737...

I believe you can grab it off of Sci-hub in case you can't access the above for free...
> it is nearly a logical definition.

Your having to hedge with "nearly" is an indication of the weakness of your position.

First, there is no such thing as a "logical definition". There are only definitions. Perhaps you meant "logical tautology" but in fact the idea that evidence is a reliable guide to truth is neither a definition nor a tautology, it is an assumption. And it is an assumption that is open to reasonable doubt. To wit:

> it assumes reddish color indicates red

It is far from clear that this is true. What does "reddish color" even mean? How can you define it without begging the question? How do you know that your subjective perception of "reddish color" is the same as mine?

A better example: solid objects are in fact not solid, they are mostly empty space. So the assumption that "solid appearance indicates solid" is actually false.
There is both a lot of survivorship bias and probably misattribution of what leads to failures and successes. I imagine a lot of it too is really indescribable, in the sense that a professional basketball player may write a blog post about how to play top-tier basketball, but reading won’t actually make me any better at basketball, nor will it give me the character/physical traits I need to be talented.
How is it "affluent and contrarian" to keep repeating some information that's so well-spread that repeating it is just adding meaningless noise?

Masks don't protect 100%. Oh really? You don't say.
If you take to time to set up incremental compilation, it's really quite fast. For reference, updates to the vscode repo (~5k files) take generally <300ms to recompile, and even incrementally updating after pulling in a batch of hundreds of commits takes only ~10 seconds.

It's concerning to me that the deno folks chose giving up on type safety over figuring out how to set up their development environment to better meet their needs.
>Completely anecdotal but I bring this question up every time I drive in an Uber and overwhelmingly the drivers tell me they want to stay independent. No one is forcing drivers into their jobs. I really struggle to understand why we need bureaucrats imposing their idea of what a market should look like on an fairly efficient market.

Everyone who works for Lyft or Uber is making an active choice to work for Lyft or Uber. It isn't surprising they would choose to continue working for them rather than risk losing that job entirely. That doesn't mean these people aren't being taken advantage of by these companies.

It is comparable to someone being paid below minimum wage under the table. If that person entered into that arrangement voluntarily, they likely did it because that is their best option. If that person is given the choice of supporting a lower minimum wage or being fired, they will likely support the lower minimum wage. That doesn't mean that society as a whole would benefit from a lower minimum wage. We should instead enact laws we think are best for society as a whole (I'm not convinced that AB5 is necessarily that, but I am speaking generally here) while also implementing social policies that can take care of the people like this who are caught in the transition of raising labor standards.
> Uber and Lyft will be free to go back to exploiting drivers for <$10/hr

Exploiting? Can you please cite another industry that has the capacity to employ millions of unskilled labor people at $10/hr and ALSO allow them the freedom to set their own schedule?

It's clear you've never worked a minimum wage job before. Flexibility on hours is next-to-impossible at these jobs. If people are willing to make a few bucks an hour less for that flexibility, who are you to call it exploitation?

It's not like these companies are minting profits. The alternative is these people go back to work at McDonald's and also get no benefits while being scheduled at such bizarre hours they can't even go to school and educate themselves.

Shrinking the pool of employment choices for these people does nothing to help them actually get healthcare. My mind is still blown at how the American solution to workers not having healthcare is to attack individual businesses instead of looking across the Atlantic at how the rest of the world solved this problem.
Well, i just meant i had not heard this - so i was curious if a glass of wine a night causes damage.
Technically, you paid for product A and now you suddenly have B.

They should either restore it to A or give your money back.

I think a lawyer could turn this into a class action issue if they refused.
Love how they fight for drivers rights and working real hard to replace them with self driving fleet.
'zoom' tells you that you can video/audio call people, 'for developers' tells you that it has features that help with development. It's quite clear for me.
This can be true, but a lot of nerds don't need a company to make a machine. A side project becomes a business solely owned by the nerd, for example. I'm assuming the nerds do have this freedom, however (I certainly do in the US).
“Corporation, n. An ingenious device for obtaining individual profit without individual responsibility.” Ambrose Bierce 1906
House Costs Just $20k-But It’s Nicer Than Yours
It's a social science paper. Many of them are not quantitative. A lot of them look like this.
There's a psychological reward to having other people read what you write, and possibly getting upvotes.

This reward exceeds the reward from learning the actual information.

Many platforms are plagued by people more interested in being heard than learning facts.
>However, if every single time you want to change any piece of logic in your game, you have to do the edit/compile cycle, your development will be extremely slow. Especially if you compare with the ability to change code while the game is running.

1. I'm working on a game in Unity right now that takes about 10 seconds to compile and reload the assemblies for the scripting language (only about 2 seconds of that is actual compilation, the rest is time that would be applicable to an interpreted scripting language).

2. I've built games in C where the entire project took 4 seconds to compile. Incremental compilation and modular architecture can get that down to near instantaneous for most changes.

>Especially if you compare with the ability to change code while the game is running.

Take a look at handmade hero for an example of an architecture that allows you to hot-reload C code while the game is running.

>Not having all the game logic in C or what have you makes the game easier to mod too.

That's completely architecturally dependent. You can make a game easy to mod for non programmers by storing data in a human readable/editable format. If you want to make it easy for players to write code there's a lot more work that needs to be done than just using a scripting language. For most games worrying about allowing modders to easily edit code is premature optimization.
SpaceX appears to be doing a form of agile for Starship.
Is he though? I thought he was pretty much considered a fratbro. The stories of the bro culture that permeated Uber HQ were pretty damning. There's also video of him drunkenly arguing with an Uber driver. The stories are plentiful. If that's the image he's curating, then it sounds like lots of politicians past and present, so maybe you're right.
Economics IS a science. This anti-Economics bias rears its head whenever people find economic evidence contradicts their ideological narrative.

It's similar to the anti-Medicine bias exhibited by anti-Vaxxers, who frequently cite the many mistakes made by the Medical establishment and orthodoxy, in an attempt to discredit it.

>>Unfortunately it also has one of the worst children mortality rate among the 36 most developed countries

The correlation between per capita GDP and quality of life is not perfect, yet it's there nonetheless.

Pointing out an outlier doesn't invalidate my point that development is generally a measure of per capita productivity.

And while we're on the subject: the US has unique attributes that have nothing to do with its economy, that result in higher infant mortality statistics.

For example, the US has a much higher proportion of its population of sub-Saharan African ancestry, which is a cohort that has higher infant mortality rates in European countries as well.

The US also has the best neonatal facilities in the world, with a much higher proportion of premature infants being counted as live births and subsequently cared for, than the norm in the developed world. Counting the deaths of premature babies as infant deaths, instead stillborn, is the biggest contributor to the US having higher infant mortality rates.

The rest of your comment is you veering even further from the subject matter, to attack the US. This shallow and overly emotional treatment of Economics doesn't do the complexity and importance of the subject justice.
This happens all the time, I worked for a company that was audited by a security firm. The security firm compromised every part of the company by pretending to be employees, third party vendors or competitors looking to hire away current employees. Some of their existing employees gave away every single detail you'd need to compromise the infrastructure during interviews.

Fooling auditors isn't going to be all that difficult, most auditors get confused if there is too much going on in the room . I've literally seen a publicly traded company pass an audit just by making the audit frustrating and then providing every perk you can imagine outside of the audit room (including attractive men/women). As you can imagine, they didn't do a very thorough audit.
The author does say the following:

> I'd rather be as library independent as possible, ideally with my SDL being my only cross-platform dependency to worry about.
The software industry is going through the “disposable plastic” crisis
If you REALLY want to know some tech details, the freely-downloadable Redbooks can tell you more than most humans would ever want to know. Two of many are available below (and you can browse the library for others too):

IBM z15 Technical Introduction (3.3m PDF)
http://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/sg...

IBM z15 Technical Guide (22.1m PDF)
http://www.redbooks.ibm.com/Redbooks.nsf/RedbookAbstracts/sg...

(Please forgive my URL handling, newbie here!)
Another absolutely childish article from the media.

"Despite the more relaxed approach, only 7.3% of people in Stockholm had developed the antibodies needed to fight the disease by late April -- well below the 70-90% needed for herd immunity."

They both condemn Sweden's approach but then seem proud hahahaha not enough people caught it.

As a society we need to stop supporting this media. I get people are dumb in general. But there needs to be someway to stop this.
When's the last time you've worked a minimum wage contract job? At that level of employment you're not exactly shopping around for better offers.

Uber and Lyft can offer benefits to contract workers. Do you think they don't because they want to give people the right to choose?
Please open a Webcompat issue; if it's breaking in Firefox, it may be breaking in development versions of other browsers as well.

https://webcompat.com/issues/new
> " this sounds like every parent of every killer ever “he was a good kid. he would never do this” "

I understand that the HN mentality has become very cynical, but if your only contribution to this conversation is a sardonic simile, comparing someone you don't know to a murderer, you should consider biting your tongue.
I understand that there is significant power disparity ,
however this is true for most contract gigs .

If you turn down some projects and/or get back feedback most companies will give you less work .

Consultants have to be really niche and highly skilled , hard to replace to be able to meaningfully negotiate their own terms .
And when the US military drops a bomb on a wedding party in Afghanistan, it is a certainty that those pilots/operators trained on a simulation at some point.
The article is quite explicit. Here is a small sample:

It has the features you would expect in a video call tool — like audio, video chat and screen sharing, but the UX and the integrations were built exclusively for developers. You can easily share your code and do pair programming. We are building integrations for all the IDEs. This enables you to collaborate without screen sharing (so it's faster and and consumes less bandwidth), directly from your IDE and independently of the IDE that other people are using.
I follow the tech news a bit more than the average person (but perhaps about average for the HN crowd), and my opinion of his leadership really couldn't be lower. Perhaps it's lower than Uber itself though as well because while I have little to no respect for the Uber culture, I generally agree that actions like theirs in the rideshare space, despite being heavy handed and pushy, spur innovation and put regulators on the defensive, which in turn forces regulators to adapt faster than they normally would--like a forest fire can lead to a stronger ecosystem.
Being a lefty I would say no not really (GMO and anti-vaxxers are on both sides), that being said ... I believe the left has really turned the heat up on cancel culture, and that has had a massive impact on discourse.
The sentence you object to was not thought of as a teleological dogma of what humanity is meant to do or not, but an evolutionary perspective of why our brains are not very well equipped to handle some questions and/or scales of such dimensions (maybe it wasn't the most apt expression -- I am not a native English speaker). The sensory and processing equipment that has evolved by giving early hominids the advantage to use tools and language stumbles somehow when it is confronted with the vastness of the universe -- it loses track of the local reference frame...
The market is just people and they decided not to openly revolt against government, tacitly approving it doing the work it’s long done of lifting up the bottom of society no one else wants to invest in.

The majority is not high tech types, nor does it need to aspire to be.

How do you separate this all from physical reality so easily?

Economics is not physics. The math is defined by biologically biased humans. Physical reality works how it do regardless of the syntax you want to emit about sound economics.

You really are just asking questions that have been debated forever. The answers haven’t changed. The narrative you would choose to recite isn’t the same as many others. And westerners aren’t a literal majority
its a relative measure - meaning it’s never been higher than it is now

specifically it’s the ratio of the wilshire 5000 over GDP
Because Uber is easier.
Just go to upwork or similar sites and see how people are refusing to hire workers (including programmers) in CA because of AB5. This affected way more people than just drivers.
See also https://en.wikipedia.org/wiki/Priest_hole
Apparently someone didn't appreciate the jab at OOP. Well, I call it like I see it - seen more messes made by class inheritance and cascading, than without.
I think the true importance of GPT-3 is its general learning ability across multiple domains. David Chalmers wrote about this recently:

> More remarkably, GPT-3 is showing hints of general intelligence. Previous AI systems have performed well in specialized domains such as game-playing, but cross-domain general intelligence has seemed far off. GPT-3 shows impressive abilities across many domains. It can learn to perform tasks on the fly from a few examples, when nothing was explicitly programmed in. It can play chess and Go, albeit not especially well. Significantly, it can write its own computer programs given a few informal instructions. It can even design machine learning models. Thankfully they are not as powerful as GPT-3 itself (the singularity is not here yet).

source: http://dailynous.com/2020/07/30/philosophers-gpt-3/#chalmers
This is just fundamentally wrong.

As a kid I refereed soccer games. There was a set cost structure for each game depending on age group and whether I was assistant referee or center referee.

There was a system where I could sign up in advance if I wanted the work or not. Uber drivers know exactly what they are getting into and they are free to quit at any time.

I was not an employee of the soccer leagues, I was an independent contractor who was able to work for multiple leagues if I wanted to and who was able to quit at any time.

There is a fundamental role in society for temporary work.

The employer will always set the price in any kind of business relationship. If I hire a contractor to remodel my house for 4 weeks does this mean he is a full time employee of mine and I need to provide him benefits. If he doesn't want the work, he doesn't need to be there.
> A old times radio receiver, it cannot be detected? Or can it

Old times radio receivers are low power transmitters. Their local oscillators leak out of the antenna enthusiastically.

The physics hasn't changed. There is far less leakage in modern receivers, but our detectors are way more sensitive as well. And if you're a nation-state and free to fly drones over rooftops looking.... yeah, don't believe anyone that claims they can operate anything involving electromagnetic energy without risk of detection.
Again, assigning blame to a single party is simply incorrect. It shows bias. From today[1]. And previous reporting on this identifies the party[2]. Not the GOP.

Fraud occurs[3], and it is not only from one particular party or group. The idea is to simply reduce any potential impact from attempts at fraud. We aren't there yet. We need to be in order to have an election that people might accept.

I am, however, of the belief that no matter how this November 3rd goes, about 50% of the population will not accept the outcome. Just like in 2016.

[1] https://www.foxnews.com/politics/paterson-new-jersey-voter-f...

[2] http://www.shorenewsnetwork.com/2020/06/25/fraud-charges/

[3] https://www.newsweek.com/top-five-rigged-us-presidential-ele...
True, but radiating 30-40% of your waste heat isn't that easy.
Did you miss the part where I said "risk analysis of the health effects of the virus on myself and people I care about"?

I've included everyone I come into contact with. The risk to them is insufficient to justify me becoming a hermit. If they have a vastly different risk profile from me, they'll become a hermit of their own accord and I don't have to worry about them catching it from me.

> The primary problem with this disease is the asymptomatic spread.

If that's the "primary problem", then it's probably not something to worry about, don't you think?
On some level I agree ... but I can't in all honesty get behind this statement 100%. For example I enjoyed seeing the videos of Richard Spencer (the "dapper" white nationalist) and Billy Steele (guy shouting on the tube about how black people are "less than him") getting punched in the face.

Don't know if this makes me an asshole or a human.
I'm pretty sure if you could show that your bank made a mistake and transferred them 10x your mortgage payment, that they would give it back.
If a surgeon pokes your brain in the right place, that desk in front of you will disappear. You aren't experiencing reality directly, as per Plato's Cave. Reality seems precisely to be an illusion.
I thought the corporate shield prevented employees from criminality. Isn't this the argument used against all of the financial malfeasance?
30 years ago as a student I tried calculating how big a space reactors cooling fins would need to be be. 1MW of power means 2 MW of heat you need to dissipate via radiation. I can't remember the numbers but I remember the result was dismal.

The problem becomes yes you can use a reactor or nuclear battery to power and ion rocket, which fuel efficient, very energy inefficient, and sloooow. Or you can use a nuclear rocket which avoids the need for a radiator by tossing your waste heat out the back end. Better fuel efficiency than a chemical rocket, can go faster, difficulty gamma radiation. Between those there isn't anything in between that makes sense because a high power thermal power reactor is too heavy.
Why site speed is critical for SEO
Their monolith was written in Rails so Ruby alone was not the source of slow performance. In fact the solution was more to do with cloning the database in order to be able to isolate reads and writes so not even a programming language problem at all.
Cognitect dev-tools (Datomic dev-local, REBL) bundled (+ free)
The chips are huge and numerous & you would have to boostrap a market to compete, that's hard. Technically it can be "duplicated", but in the same sense that Apple can make a state of the art processor better than Intel: you have to assemble a big first class team, a shitload of money, and persist during 10 years. If you want to compete on a similar field as mainframes you also need extreme reliability, and that's even more expensive to design. If you relax the requirements and make some quite special purpose hardware arguably it should be "easy" enough to make some fast I/O that can handle volume; but then your market will be small, niche most of the time.
How is this better than Visual Studio (Code) Live Share [1]?

Adding a third party dependency for code-sharing seems like a non-starter for large enterprise companies which already have a hard enough time with the first party offering.

[1]: https://visualstudio.microsoft.com/services/live-share/
I'm not even living in SF, but I can understand the reasons, and they are - who would guessed it, mostly money related.

The last couple of months during the quarantine I saved more as double than I did in the two years before that.