skysight-inc/HackerNews huggingface dataset:
Most of the ternary implementations here are less correct than the original. You generally want min/max to satisfy the following:

1. min/max of NaN and anything is NaN

2. negative 0 is strictly smaller than positive 0

it's a fun exercise to implement clamp under these constraints.
I was introduced to SML via Dan Grossman's Programming Languages course [0] and it's quickly become my favorite programming language to work through problems and brain-teasers.

Shame there isn't more non-academic support for it.

[0] - https://www.coursera.org/learn/programming-languages
So how comes that Uber can operate in Switzerland a country where the state will always feed you and provide a home?
So how that works in practice? One of the major advantages of Uber for me was fixed price upfront. So now I don't know the price until I order the ride? What if the driver sets an excessive price - can I decline the ride?
> stocks have never been more detached from the underlying economy than now

maybe so.

> i mean look at the total market cap of US stocks to GDP - it’s something like 170%

but doesn't this make sense? I would expect the total market cap of public companies to be worth more than a single year's productivity.
You don't necessarily need to lift that mass to orbit for interstellar flight.

https://en.wikipedia.org/wiki/Bussard_ramjet
It’s amazing what a difference it makes when you just good names and formatting
Just found my 3-month-old post where I posted a cautious note against the hype:

https://news.ycombinator.com/item?id=23133623
> which means in-game item prices are artificially increased by up to 30% on _all platforms_.

Or means that Epic takes a 30% hit on revenue on the App Store and Google Play Store in exchange for the services provided.

Do you honestly believe that this is about Epic trying to lower prices for their users? It's not, it's about Epic getting all of the pie instead of just 70% of the pie. If Apple had caved before this stunt then prices would have stayed the same, but Epic would be taking it all themselves rather than having to pay Apple the 30% cut.
People work in different ways. We do in place upgrades across all components. In fact that's sort of why we use k8s in the first place.

Also, I have an allergy to complexity, so I need fewer moving parts for health reasons.
Possibly security. When the IBM 370-class mainframe was born, it was often in a data center with competitors running on the same machine. That machine was a "universe" and its many software components (various DBs, communications, file structures, language modules, etc.) EACH have its own security. No one can do ANYTHING without explicit tediously-granted authorizations - there is no such thing as a global "root" access. If anyone has EVER hacked the traditional core systems (where the data is), it's a well-kept secret - versus the not uncommon news of "modern" systems being hacked.
They're lucky to have that judge. Uber and Lyft have consistently flaunted the law with a basic attitude of "screw you, our service is too popular, if you try to regulate us out of existence then your constituents will be madder at you than us". But right now, the service is not popular at all. I was a relatively heavy user of Uber and I haven't even thought about calling one in months. Food delivery sure, but I don't plan on using ride-sharing services for at least another year... who wants to sit in an Uber with a stranger, breathing each other's air? Who wants to DRIVE for Uber, breathing strangers' air all day? Besides, there is nowhere to go. No events, bars are all closed, etc. The ride-sharing economy has just evaporated.
It could be the case that SRE recognized our accounts since we are hunting on a daily basis.

In rare cases SRE's reach out to ISE's who contact us on their behalf. In this case a file was added. I personally don't see any reason why this would be a bad thing, it's a managed service and we tried to attack it after all. No data was removed, nor is there any indication that there are no audit trails. I hold both the ISE's and SRE's in extremely high regard. (If you try to Hunt for bugs in GCP you will find out why)
You're right. I decided to move on... I agree. Thanks.
But I don't get your comment about "yours is not". You mean is not necessarily a $1, right?
Regarding the whole declining rides thing...

Wouldn't most companies keep performance stats for their contractors, and if one started refusing lots of jobs, stop giving them work? Seems like Uber is just automating what is a normal part of working with a contractor.

With regards to unemployment insurance, this is really a hole in our safety net. Regardless of whether Uber drivers should be considered independent contractors, we should have a solution for independent contractors being put out of work.
Birds and Frogs – Two types of Mathematicians (2009) [pdf]
The alternative is traditionally called a retainer. You hire the contractor for “various tasks over a set period of time up to N tasks and at least M tasks”

This is the indie version of being salaried. Very common among software engineers, for example.
I find the following much easier to read. It's certainly easier to maintain, deal with, for successive programmers, and likely has exactly the same compiled/interpreted operations for most common languages. Optionally replace t1 and t2 by overwriting num if needed.

Use full if else if you must.

If you're worried about speed, using built in min and max is not a good idea. There are many, many tricks to remove branches for certain datatypes, etc., as you need.

var t1 = num < min ? min : num; // clamp to min
var t2 = max < t1 ? max : t1; // clamp to max
return t2; // num clamped to [min,max]
Software estimation is something you can get better at if you practice.

Throwing your hands in the air because you or you're team is unskilled in the behavior is just unprofessional.
This myth of voluntary participation in capitalism has been debunked many time. When you need to sell you labor in order to feed and house you and your family, it isn’t voluntary by a long shot. It is not a free market because the employer has a significant advantage. This is why we need labor regulations and protections. When a workplace fills out their labor needs with contractors, it is an obvious way to circumvent these necessary labor regulations and protections.

So you are wrong—as California is proofing—unregulated gig-capitalism is not a system that can provide fair working conditions and cheap accessible transportation at the same time.
> I don't think anyone ever said that.

Yeah, Torvalds said pretty much exactly that, in his typically boisterous form.

That it is "only useful in special cases", "only exists to make Intel look better on benchmarks", and that "the transistors would be better spent elsewhere".

https://www.phoronix.com/scan.php?page=news_item&px=Linus-To...
> what's the informative version of this comment

Called out! But you're right, I should have been more specific.

I think it was covered well below: They are never around and have a low chance of coming if you call one, even if they say they are on the way.
Short emails tend to be either notifications, highly transactional (web based platforms are better for these as they can do tracking and trigger other outside actions), vague, or assume outside context.

These are the same problems as always-on corporate instant messaging platforms, just slightly improved by the cross-organizational functionality and store-and-forward.

IMHO organizations should strive to make email less like instant messaging and more like letters. Fully formed thoughts distributed less frequently and with more purpose.

In short, tax hassling others.
These are different implementations. The language spec they follow is slightly different so they are not completely compatible (although I've been able to use some OpenGL-ES Racket code with no modifications in Chicken by using macros).

Where they will differ the most is things like the packaging system (if they have packages, not all Scheme implementations will), as well as their main use-case.

If you are interested, just pick one and start to learn Scheme, using any implementation. Their differences will become apparent quickly.
That's kinda just moving the problem: What is this quality scoring algorithm and how do we built it?

If we had such a quality score, then the problem becomes differentiable and far easier to manage. But it's hard because we don't have (and don't know how to build) such a metric.
I don't think most people buy locks for that reason, they buy them because they think the lock is secure enough so that only serious criminals will do anything, and then they hope those criminals don't show up.

Besides, a lot of locks are so easy to pick that you might as well do it instead of making a lot of noise forcing it open.
How do you know that? Because of industrial revolutions, minimum wage and stuff was even thought about and eventually implemented! Without industries that afforded that, these social policies would have totally collapsed!
Amazon itself is in hot waters for antitrust, so perhaps you shouldn't use them as an example.

Still, there's a giant difference - Amazon's "customer pool" isn't forced to buy only on Amazon and Amazon doesn't force YOU to ONLY sell the same item to that "customer pool" (I like how you use a term that makes people seem like inanimate objects.) via Amazon.

This is a massive difference. All the benefits of free market (as opposed to command economy) are derived from customers being able to freely choose another vendor and product to purchase. Monopolized integrated services are just a corporate version of command economy where a single actor dictates pricing and eliminates competition leading to severe lack of innovation and worse products for everyone.
Lets regulate it to death!
Probably because I'm not a native English speaker, I failed miserably at this. I tried giving AI Dungeon a prompt that mentioned Hogwarts, Voldemort, the Sorting Hat, dark wizards, etc, and it went nowhere (it seemed obsessed with telling me about a "voice inside your mind", go figure). Can you share a prompt that will make it answer with something Harry Potter-like? (it can also be Star Trek-like, or anything from pop culture. I just want to see why my prompt didn't work)
This is what I love about kotlin. The standard library has a good coverage of these kinds of problems and it is done in a simple an clean way. I had the same feeling with Python, the language got you cover with mundane tasks and you don't have to spend time researching libs that do it for you (or spend your time doing a clamp implementation + tests).
It can mean a computer calculated that (like some dashboard with multiple buttons and one that says “pay everything” which was accidentally pressed) and it did not take any conscious action for that to happen, so that doesn’t say anything about intent.
He is a savvy politician. You are definitely onto something here. The guy has a very carefully curated public image. It is genuinely impressive how opinion of him is higher than the company he runs.

Edit: I was convinced by the arguments. I was holding onto old idea of him. Clearly things have changed.
> the 50th time we've had to do something bad and ugly to fit into what is supported by OCaml

Can you tell us a bit more about those cases? I've been writing front-end stuff using BuckleScript (and the OCaml syntax, which I for once really like!) for 6 months, and I haven't (yet?) stumbled upon those kind of pain points, I'm definitely curious!
I'm going to go out on a limb and guess that Epic's $99 doesn't cover the cost of Apple actually hosting and distributing Fortnite and its updates to users.
Apple is a giant 2 trillion dollar company, one of the richest in the world. I think they can recover from allowing other companies in this world to compete with them on equal footing.
if you're only dealing with five stocks, why not just rebalance your holdings yourself every month or so? plenty of zero-commission options these days.
Sublime. Just the slightest change in the context in which this was presented and Poe's law would be in full effect. :)
Hydrogen economy with mass production of high-purity hydrogen from ammonia
That's how nuclear thermal rockets work. Boiling and spraying is going to be much, much higher thrust than what you're getting out of the electric drive but the spray will be going much slower so the amount of boilable propellant you carry with you will end up being the limiting factor in how fast you can do. And at that point you might as well forget about the electric part.

Now, since you you can be boiling pure hydrogen rather than the water that comes out of a chemical rocket you can make the propellant faster. But you're limited in temperature by what your reactor can take without melting so that only buys you a power of 2 or so in efficiency.

I wrote a series about how the different types of rockets compare starting here: http://hopefullyintersting.blogspot.com/2015/03/rockets-some...
Your biggest mistake was failing to call this "robotic process automation" and collecting a VC cheque.
Well, they actually do, and that's the problem. And I say that as someone who thinks Trump is an utter arse.

For example, they're not keen on a huge influx of foreigners from a different culture. Maybe you're dismissive of that, but it's because you're not listening.

Or, for example, they want to keep their jobs, e.g. coal miners. Maybe you're dismissive of that, but it's because you're not listening.

Or, for example, they're tired of politicians saying they'll do something but then nothing actually happening. Mainly because there are downsides to that action, e.g. because mass immigration now drives growth due to falling birth rates, there are no real attempts to stop it. Maybe you're dismissive of that, but it's because you're not listening.

Look at what happened recently in most western countries and it comes across as rigged. Mass immigration even though the population opposes it, no consequences for bankers in the 2008 crash, widening wealth inequality, falling wages when you take account of inflation. And America has really weird political dynasties, Kennedys, Bushes, Clintons. It's supposed to be a democracy and yet somehow you almost have feudal-esque ruler inheritance.

You can see why Trump's anti-establishment message worked.
I have a similar list but with an attempt at writeups of their style and what is good about each individual author here: http://fuseki.net/home/ScienceFictionBookReviews.html
As a former IT auditor, this checks out. Depending on the company, they may have just grabbed whoever was available.
This is great news. i have long advocated for the use of ammonia as a liquid fuel: it is almost as energy dense as crude and ... clean!
> It's fine for a personal project, but if you're thinking of writing a custom parser and grammar for configuration for a commercial project: Don't.

I would agree. Even more so as parsers for S-expressions have existed... since 1960 or so?
Seems like a really good licensing scheme.

About Onivim. Well, not quite sure if I would use it over VS Code.
I think this effect becomes a strategic defensive moat for established social media websites. Anybody who tries to compete with established players will find that their earliest adopters are the most unsavory sort, banned by other sites looking for a new home. This is the more insidious side of 'network effects.'
It would also be pretty pointless to rely on people actively seeking out testing for a seroprevalence study. Not exactly a random subset of the population...
CA is 12% of Uber's revenue and 25% of Lyft's revenue
Matt Levine explains it well by summarizing that in the US. "Everything is security fraud".
> i would be interested to see how the return distribution varies (if it does at all) over the medium/long term 5yrs+

As the P/E goes up, the expected return goes down; see Schiller / CAPE:

https://en.wikipedia.org/wiki/Cyclically_adjusted_price-to-e...

This has happened to popular companies before:

* https://en.wikipedia.org/wiki/Nifty_Fifty
I don't think I consider myself especially knowledgeable about anything outside of algebra, and general IT. I have hobbyist interests in other sciences: evolutionary biology, chemistry, high energy physics, astronomy, cosmology, geology, philosophy, among others but I don't consider myself especially knowledgeable about them.
Dimensioned drawings documenting standard measurements and sizes
> It's very possible that this market only exists at the size that it does at a price that doesn't support what people in the US think of as "a wage they can live off of", and that by mandating more compensation, then there will be a whole lot of drivers for whom this just isn't an option anymore.

And that's different from many other hypothetical services how? If we accept that the floor should be lowered it should be for everyone, and if we don't it shouldn't. It should be an even playing field, not something where some companies slip through by not employing their workers.
> What would such a contract look like?

The obvious answer: perhaps more similar to the way it looks like right now? I just don't see why IC implies "let them decline rides without facing penalties by the platform".
Why the job market is so brutal for millennials and college students
Says the habitual liar James Clapper who verifiably lied under oath several times.
Quality is debatable but none of eBay, Amazon, or Etsy enforce prices. Fundamentally choosing prices is what defines markets, trying to set them is the actions of an employer.
There are a couple of new buildings on Elizabeth Street in the Melbourne CBD a few miles from the virtual monolith that are reminiscent of this. Not quite as tall (around 80 stories was my street level count). Looking forward to a post covid world and visiting Melbourne again, it's a fabulous city.
Whistleblowers are very rarely welcomed in any business or government context, which is most unfortunate.
Webpack 5 appears to still be in beta: https://github.com/webpack/webpack/releases
> You cannot install Fortnite skins/characters/emotes/etc without paying Epic. Epic has a monopoly on the Fortnite Store.

If the only thing in the "Fortnite Store" is Epic's own products, that obviously isn't saying much and is incomparable to a store distributing third party software.

If the "Fortnite Store" is distributing third party software, and there is no viable alternative way to distribute that software, then it is a monopoly, because that's what a monopoly is. It's a thing with no reasonable substitutes.

The issue isn't that Apple has a monopoly on "their app store" but rather that they have a monopoly on distribution of apps to the set of customers with iOS devices. If there were competing app stores that could reach those customers or some other viable competing distribution method then they wouldn't have a monopoly on that market even if they still had complete control over "their app store" -- what makes it a monopoly is that there are no viable alternatives to it.

It's the same way that Comcast has a monopoly on the network path to Comcast subscribers and uses it to collect rents from e.g. Netflix. Netflix can't reach those subscribers through any other path, there is no competition. You can't reach Comcast subscribers by peering with Verizon.
Wrap it in a function, verify the implementation once, then henceforth use clamp(x, min, max).
You're missing the point, S-expression parsers aren't "batteries included" in most scripting languages. The age of the format is irrelevant.
I assume Adobe and Canon were both racing to release this feature to users, but Canon got there first.
> Both min and max should return NaN, if any of their parameters is NaN.

That's not a given, though. IEEE 754-2008 defined min and max as returning the non-NaN parameter. They have been removed in IEEE 754-2019 though.
[10, 2, 100].sort()[1] //returns 100
Having a NaN at that point feels like a bug anyway, the solution is probably to check the arguments and throw an exception if NaN is provided (or use an input type that doesn't allow invalid values)
AI Claims “Flawless Victory” in Digital Dogfight with Human Fighter Pilot
Generally the board sets executive compensation
Automate Your Social Media Strategy
I wouldn't say this is accurate. Well, some might use it that way, but as a kid this is the word we were taught for black folk with no harm intended, it's also the name used in the bible--I believe it's originally from the bible.
IIRC the CDC said that COVID-19 was actually less dangerous for people under 30 than the flu is. Of course, the CDC has not exactly covered itself in glory this year, so who knows.
At a top 5 level, it's pretty straightforward to just invest in the individual stocks. You could rebalance now and then if you want to keep a particular weighting formula but there's nothing magic about the way that indexes weight.
Taxis sound way less reliable in the SF area than my experience with them in the Boston area.
Your two functions are not equivalent. std::fmax handles NaN, but std::clamp does not.
Funny how ridesharing companies have been successfully operating all over the world in countries that have very strong workers rights (like Finland, Sweden, Australia, France, and about 10-15 others).

So the issue is clearly not the ridesharing business. But sure, I'll bite. Let's follow this to its logical conclusion.

So you kill Uber and Lyft in California. Great. The California elite can pat themselves on the back for protecting all those workers from choosing to take "bad" jobs.

But wait. Now what? How are you going to ensure all those unemployed drivers get healthcare benefits now?

Will you go after all the fast food restaurants where they'll be forced to work part-time now (also with no benefits) to feed their children? And then after that, the next set of low wage jobs? I guess nobody thought that far.

My hunch is, the people who cared most about passing this law don't actually care about the workers. They just care about the narrative, and the self satisfied feeling of hurting the "evil capitalist" boogeyman. Once the boogeyman is killed, they will move on and leave the workers behind to fend for themselves. Because the goal wasn't to give workers healthcare. That would've been a healthcare bill.
Or maybe it's because they give cheap subsidized service.
What's the long game? How can they keep it cheap and make profit? They can't. Because it's an extremely inefficient endeavour.

I understand your point but I'm not sure it's relevant. Taxis managed to survive for a long time without any artificial money injection, it's probably at a stable equalibrium.
Allowing this artificial market to keep growing is just a endorsing a bubble. The bigger it gets the worst the collateral will be when it'll finally collapse.
The generation that had an issue giving kids on the losing team participation trophies, everyone.
What “tech” communities understand from tech is high growth low capital businesses.

What the author argues in the paragraph is that many of those business don’t actually invent technology but only do business using internet technologies.

For example, somehow Uber is a tech startup but WeWork is not. Realistically, they’re about the same from technology perspective but WeWork happens to have capital intensive business model that is not suitable for the high growth that is expected from “tech” companies despite that both essentially use the same level of technology - software to organize a business model with an UI to integrate the participants.
Thanks for the clarification. The Steam Link app throws a little bit of a wrench into the argument since you could purchase a game and remotely install it with the Steam app then switch over to the Steam Link app to play it on the platform.
Anyone with experience doing freelancing did know exactly what the "gig economy" was behind the curtain, but media just didn't care, even if scores of their own employees are part of this new, hot and awesome "gig economy"
System76 Launches new Bonobo WS Laptop with up to 128GB, 4K