skysight-inc/HackerNews huggingface dataset:
I find curl to be a great tool, but a poor CLI. Problem is, I'm not sure how to make a great HTTP CLI. Many have tried, but everything I've always seen leaves me wanting.

There are several complications:

- URI building (things that need URL escaping)
- path components
- query parameters
- headers
- including common standard ones that should have
their own command-line options
- things like ETags that can benefit from storing
them in xattrs
- things like conditional requests and range
requests (think download restart)
- whether there's a body
- whether it's an "HTML form" or something else
- Content-Type
- whether to chase redirects
- trust anchors for TLS (HTTPS)
- what to do with response headers
- how to integrate filtering of response body vs
headers (can't use stderr for either)
- authentication options
- cookie jars
- proxies and proxy auth

HTTP is such a complex beast that using it from a shell feels fraught with peril.

For ease of use in a functional way, it'd be nice if, for example, one could set a header value as-is on the command-line, but also by reading from a file (or possibly a pipe, so read only once).

Perhaps something like:

$ VERB $base_URI [options]

with options for:

- appending URI local part elements
- adding query parameters
- adding headers
- specifying where to write response headers
- specifying where to write response body
- if a file, maybe set [some] response headers
as xattrs!
- specifying request body source (default: stdin
for VERBs that normally have a request body)
- trust anchors
- authentication

Examples:

$ # GET with various options:
$ GET https://base-URI-here \
-a local-part-element \
-q param value -q ... \
-H header value ...
$
$ # POST with file as request body source
$ POST https://base-URI-here \
--file file
$ # POST with HTML form specified on command-line
$ POST https://base-URI-here \
--form field value --form field value ...
$
$ # And so on for all HTTP methods

Besides the options shown above, which are fairly obvious, it'd be nice to have:

--rheaders PATH # where to put headers
--xheader header # save given response header
# value as an xattr
-T trust_anchors.pem # or a directory, or whatever
-C client_cert_and_key.pem
-U username # for Basic, DIGEST, SCRAM
--password-file FILE # for Basic, DIGEST, SCRAM
-N ... # For Negotiate. This could
# be key/value pairs that can
# be used with
# gss_acquire_cred_from()
-J ... # Get a JWT token and use it

A convention for using xattrs for storing Content-Type and ETag (and a few other things perhaps) would be very very nice.
Is it correct to think that because of entropy of heat, it is harder to make atomic structures stable enough to form a perfect path for electrons to run without loss at higher temps?
It's ~6000 Tesla Megapack stations [1], along with HVDC transmission lines (if we're upgrading transmission lines from AC->DC, drop those aerial lines underground while you're at it for reliability and to stave off the NIMBYs). I entirely appreciate the scale of the problem we're facing regarding energy storage (climate change keeps my up at night), hence my arguments for solutions available today, not those that might (might!) start producing power in a decade. You can buy these battery stations today (Tesla quotes a 3 month deployment cycle). You can recycle their battery cells today.

There are over 7,000 power plants in the United States run by over 3,000 companies. There are over 55,000 substations and over 450,000 miles of high-voltage transmission lines. I don't believe what I'm proposing is unreasonable. Hard? Sure. But unreasonable? Absolutely not. Going to the Moon was hard, and we still went to the Moon.

[1] https://www.tesla.com/blog/introducing-megapack-utility-scal...
150 Meter SpaceX Starhopper Test [video]
Here's my take: if Palantir were to magically disappear tomorrow nothing would change. ICE would still exist, they would still collect this data, and they would find some other way to analyze it and put it to use -- potentially using technology that's more prone to abuse than Palantir's.
> we have 27 SSH backends, and 18 HAproxy

No autoscaling? This load pattern is a prime candidate for it.
It was acquired in eight months, and founded specifically after Levandowski and Kalanick had a meeting. Otto looks like a prearranged sham legal entity to justify a huge payout, than a bonafide startup.
Aw, now I have to buy everything off AliExpress.com for a fraction of the price and free shipping.

Just hope I can remember ordering it when it arrives 30+ days from now.
Yep, though I am having trouble pulling up a good source and density map, I understand there are pockets of LA County both larger and more dense than San Francisco.

Edit: According to this[0], LA is "the single most densely populated urban area in the United States".

[0]https://la.curbed.com/2012/3/26/10385086/los-angeles-is-the-...
Can we please stop with this false equivalence? This guy ripped servers worth of company information, he didn’t walk out the door with a bunch ideas in his head.
Watching ESPN in the browser is a worse experience than ESPN’s app. I have the app on my phone for this. There are reasons to have apps on a phone. That said, it is infuriating that when I click an ESPN link on twitter, it opens in the ESPN app and not a web browser.
There are parts of America where people live on $40 a day.
That's an insane macro ratio for most people, though. You don't need that much protein unless you're doing some intense weight training.
What world leaders are saying about forest fires in the Amazon
It's hard to explain to anyone under sixty who didn't experience it first hand the impact that Life (and to a lesser extent Look) had on America.

The Life Magazine that I knew from the sixties was an advocate. The American TV networks may have brought the Vietnam war into American living rooms but it was Life Magazine that shocked people and got their attention.

I think it did a better job educating our WWII era parents something was deeply wrong on what we were trying to do in Vietnam. Vietnam wasn't anything like our previous wars. The magazine editorialized with words and pictures which led to a greater impact.
I'm not sure if they ever had four cops? They did have two patrol cars, though, so it could have made sense. They didn't want anyone to sneak through at 46 MPH.
WeWork trying to sell themselves as a billion dollar company seems pretty overambitious, but I don't think it's anywhere near the level of repeatedly lying about actually doing business and the progress of research and development.

If WeWork were filling with S1 never having actually rented out space in practice - then they'd be like Theranos.
I agree, but you must also concede that not all developers are as proficient at git as you and might not be aware of such debugging/detective techniques. These same developers tend to favor print statements for debugging instead of an actual debugger. Also, not every developer has the privilege of using a DCVS like git.

For them, a comment in the code could save a lot of time and hassle.
In school we used Tannenbaum's MINIX book (Operating Systems Design and Implementation). It was generally a pretty good introduction to "OS Theory", directly references the source code in the back. Useful for a desk book if you're constantly elbows deep in writing syscalls.
It's rock solid for me.
Under $30 a month for a 24 hour fitness membership via Costco with zero initial cost ;)

"Nice" gyms like Equinox are of course significantly more. It's important to segment the gym market into different tiers and niches, and figure out what the market size is for each. Same as for direct equipment sales like this.

To your point, though, I suspect the people who would pony up for a Peloton are the same people who would splurge for a $100/month gym membership instead of a 24 hour, Planet Fitness, or local hole in the wall gym.
It is somewhat amazing how reliable that rule is. A part of me wonders how many people actually do it on purpose.
Acceleration and Insights for Spring Boot Maven Builds
They also have to check what's happening in other authorities. From experience, there is no standardisation of anything, not of definitions, data structure, methods of data management. Government data systems are archaic, so doing those cross-authority tests to see whether business qualify for reliefs is real slow.

I'd love to see a standard schema for rates data, but that's unlikely.
I sell my time, by the hour or by the deliverable. I expect to be paid once (and only once) for work I perform. Sometimes I give away my labor for causes I consider worthy. In general, unless I've got a contract that specifies how I'm paid I don't on spec. I don't feel any entitlement to compensation for work performed outside such an agreement.

All work I produce for profit is expressly for-hire and "owned" by the paying Customer. I've got no rights in the products of my work. I've never produced work that my Customers have subsequently licensed or sold, nor would I take on such work. There's plenty of work to do w/o going down that distasteful road.

Any software, writing, photography, music, and other creative endeavors that I've pursued in my personal time and that I have distributed have been permissively licensed or disclaimed to be in the public domain. Fundamentally, I believe an idea can't be "owned". Anything I communicate to others is no longer "mine". It belongs to humanity. Attribution of authorship has a moral component to me (i.e. plagiarism is morally wrong), but making derivative works or exact copies of the works of others isn't wrong. All human expression is derivative.

The current copyright regime in the United States is such a perversion of the original intent that I consider it immoral to participate in it for profit and I have varying degrees of contempt for those people or companies who do. The social contract is skewed too far from the benefit of the public, in favor of the entrenched copyright interests (who, by and large, aren't creators). If the copyright regime were returned to the original term and renewal I might change my opinion, though I still wouldn't participate personally. That would, at least, bring works into the public domain in a sensible time period.

By and large the "entertainment industry" is the object of my ire, because their lobby has been the one seeking to increase copyright terms and to make draconian laws, like the DMCA, to limit individual rights. I think the "tech industry", as we know it, would function in substantially the same manner w/ shorter copyright terms (and w/o software or business process patents-- though that's not really what we're talking about here).

Have I benefited from the current copyright regime? Sure. A lot of the work that I do involves support of non-Free software. Like I said-- if we went back to sensible copyright terms I think the tech industry would be mostly the same.

Perhaps I'm a hypocrite who can't ever be redeemed for working in the tech industry. I was born into the "IP" regime that exists today (at least, prior to the Sonny Bono copyright extension act and the DMCA), but I'm trying to navigate it with the moral compass that I've got.
It's way too expensive for me and I have no interest in doing cardio indoors, but I think you're missing out on the value of the digital side of the product.

I think exercise bikes and treadmills are dreadfully boring, but what Peloton offers is exactly targeted at that problem. Adding an array of things to do and a social aspect has to be a big deal, and if that's all packaged together in a high end package that "just works", and works really well - that seems like a winning formula.

There's a lot of fitness subscription services out there, but there's more money to be made on hardware in general. So as long as there's a market for people to pay two grand for a stationary bike and whatever dollars a month for a subscription, it's a winning business model. I'm guessing it stacks up against the SoulCycles of the world very nicely.
Testing the Boundaries of Collaboration – Increment: Testing
> Good companies and good teams don't have attrition and don't have problems keeping employees.

Not always true. My last team was atrocious but nobody ever left because they were held all captive on their H1-B.
Well, that’s what the transport company requires. I’m guessing they’re brokering each package themselves, not as the entire lot at once.

I doubt US is letting them bring truckloads in if what I said about tariffs/taxes/duties is untrue.

https://support.chitchats.com/en/articles/1733099-what-items...

No minimum away-from-country time. That's for Canadians, not USians.
150 Meter Starhopper Flight Test [video]
I think the issue is more that they won't talk to each other. There are plenty of places on the internet where you could go to talk to people who hold different viewpoints from you, but most of them seem to follow a common pattern where one viewpoint becomes the majority viewpoint and then become more and more hostile to the minority viewpoint until everyone who holds the minority view leaves.
Why is it a trap, though? I think the whole "T-shaped engineer" analogy applies really well here. Expert beginner of a lot of things, true expert of a few. Sounds like a great balance to me.
It got as many upvotes as downvotes, actually.

People also name servers after Norse gods, which might be offensive to religious folks. Many naming schemes are not innocent unless you just aren't offended about the particular topic. Here's the thing, though -- once we decided that the metric was whether or not someone could be offended by something, then we made everything offensive. Whoops!
Often for video content, there isn’t a choice but to have the app on mobile. But for non video content, the app is usually worse.

Also, I much rather go to the Youtube site on mobile than use the app.
WebGL fluid simulation (works on mobile)
> then you never give your body time to do any other housekeeping tasks.

Do you have any links to describe what other tasks it would want to be doing in that time and which are blocked by an insulin spike?
> I guess the million dollar question is - who has the moral authority to tell Brazilians that they don't have the right to utilize their land and natural resources like China, USA, India, and every other industrial nation?

That is going to be a very thorny issue in the years to come, thorny enough to lead to armed conflict. Climate change is a threat to humanity, much less a huge threat to the national security interests of any nation with a military. At some point the situation is going to be serious enough that military conflict will occur over water rights, environmental destruction, climate refugees, etc.

I imagine that before that happens, some country (or countries) will get hit with sanctions for environmental destruction. Of course that will be fraught because who isn't guilty of that?

But at the end of the day, what does it matter when the future of civilization is at stake? Why should the world stand by while Brazil (or any other country) destroys THE essential ecosystem in combating climate change. 100 years from now if the Amazon is gone people will wish other countries had put a stop to the destruction with sanctions or even military force.
- climate change

- loss of topsoil in agricultural areas

- loss of biodiversity

- reducing dependence on cars in the US/Canada

- bringing down cost of infrastructure

- anxiety epidemic

- loneliness epidemic
Wikipedia Now on Brave
which is one of the reasons I like microrepos and versioning: you can do refactorings across subtrees. if there's an edge case you want to address later, you can address it later. if you eschew versioning entirely, you effectively have no choice but to do everything all-or-nothing.
Really good points -- this kind of cheered me up.
A spin bike is not really the same thing as a bike on a trainer because of the social aspect, and the classes. And the cost of a Peloton and the subscription is less than traditional spin classes.

I am surprised that people are willing to spend 2x-10x as much as competing products when you look at the total cost.
I think the author is https://twitter.com/PavelDoGreat

And the source is https://github.com/PavelDoGreat/WebGL-Fluid-Simulation
Well, the bias fact check site does give reason.com a favorable grade.
Luckily the hardest situations at least occur in cities and not on highways, and cities have good broadband. But yes, it's still "100%, but only here" a.k.a. not 100%

I think remote drivers will probably have to "rescue" cars without piloting them, usually just assessing a situation and overriding something (driving through an obstacle etc). A passenger (if there is one) could do the same. But sometimes actual remote driving would be required of course.
State Pressure Forces China Champion of Pro-Market Policies to Close
That, and air freight only costs around $5/kg at regular rates.

The low-rate consolidators are kinda shameful by only bringing goods to the closest port to the origin, not the destination.

E.g. in Canada, they only bring it to the Vancouver port, while wealthier countries will pre-sort and air it to the closest intl mail port (Toronto, Montreal or Vancouver).
So you would support a UK split but it's not possible because there is no ID card system in place? Really? You realise that there would be a transitional period, right?

I'm not looking to convince you that EU is better than you think but this[1] open letter may help you understand some subtle differences between EU and SU.

https://ec.europa.eu/commission/commissioners/2014-2019/andr...
Been suggesting we use it for a complicated bit of interface for a company I was working at two years ago, we were pleasantly surprised at how well it held both in requiring low (almost no) maintenance once written and how easy it was to improve on the codebase.

We migrated pretty easily from 0.18 to 0.19, we only had to import a bit of code here and there from libs that would not migrate or update where changes had been made, strong typing and the compiler made it a rather pleasant experience.

The only thing we did not do was migrate to an SPA ; the scope of the app was wide and the cost to achieve this was too high I guess.

Few pain points, amongst which:

- Sometimes you have to do something you would expect to find off-the-shelf (like a souped-up drop-down or a tag editing system) but it's ususally a matter of designing your ui well and can be fun (plus you get to really design the user experience).

- Sometimes you have to do a bit of JS for stuff that aren't designed in Elm (anymore, ie websockets) and use ports to communicate.

- If you're building incrementally, and make mistakes (over-design, useless code to conform to an unrequired philosophy, etc.) it's a good thing to sometimes challenge the bad old choices and get them smoothed down ; thankfully the compiler is your friend here too.

- The learning curve, especially if your team isn't fond of functional programming, can be daunting if you don't have an Elm advocate. That was me in my team, and we grew fond of it, but made quite a few beginners mistakes on the way. All very fixable though.

Well, that's about it ; if you want help getting people started and boosted on the functional programming paradigm, please have a look at my blog: it's Elm-centric, focusing on the most important functional programming concepts that'll get you up and running on what's happening there :)
https://medium.com/wat-the-elm-ist
And it might even explain what monads are ;)
To paraphrase Mark Twain, reports of the death of RSS are greatly exaggerated. :)
Not only that, but he has another account, @BraveSampson, which links to this one, @jonathansampson, but not the other way around. They used to have a nearly-identical pictures, and, IIRC, linked to each other, but not anymore.

Would I be the only one to find it fishy for someone to post such reviews for your competitors whilst pretending that you're an individual not on a payroll from Brave? Why should Mozilla proxy requests to Google through their own servers like Brave does? And the better question: Why IS Brave MITM proxying requests to Google and other services?

BTW, having multiple Twitter accounts is not against the rules if each account is for a separate purpose, but for someone working in the browser industry to be having two separate accounts where they write about browsers on each one, all whilst hiding their affiliation and pretending to be an unaffiliated individual on one of them?! Seriously?

---

Keep in mind that Brave and Chrome are the ultimate privacy violators, as it's not possible to disable autoupdates on either one; Brave developers repeatedly (see https://github.com/brave/browser-laptop/issues/1877) disregarded community's complaints about this issue (ironically, going against https://brendaneich.com/2014/01/trust-but-verify/); so, you're basically running a self-modifying binary, whether you like it or not. Any review anyone does is kinda meaningless, because there aren't any versions per se, and it can do whatever the hell it wants the next day, without any public record of what it did yesterday. With Mozilla, there's a public ftp directory with all the versions at `ftp.mozilla.org` — haven't seen anything like that for neither Brave nor Chrome.

In fact, many folks used various official guides from Google to disable Chrome from autoupdating itself, e.g., because the newer versions broke font support or other system-level features, only to find such officially-sanctioned settings completely ignored down the line.

How about doing a review of how much it costs in roaming fees to have Chrome/Brave download updates without your permission whilst you're travelling? Or how many hosts Brave does MITM to without any good reason?
What's amazing is that they get people to pay _more_ than they would - or would even think of paying - for a streaming service like Netflix or Hulu, but their content creation costs are obviously a fraction of what it take to produce even one show on those platforms.
Also the basic one that essentially all games work best on windows, if they even work for other platforms. And most applications have windows binaries keeps me using it at home. Love my mac for work dev, but once I'm home I feel very comfy with my windows 10 machine
Not a doctor, sorry :)

I have, however, spent many many hours over the last year reading all of the research I can find on the lipid hypothesis, metabolism, lipoproteins, nutrition, etc. I started a podcast, and have started chatting to researchers, doctors, etc.
A degree of this could be solved just by saying proceeds from fines, fees, and forfeiture go to the state or federal government.

Obviously that might encourage those governments too do such fines, but a. they already do that, and b. people have historically been better at limiting large scale abuse like this that is possible in each separate small town scattered around the state/country.

Also it might provide a more cost effective way to sue in response to disparate enforcement (one suit vs many).
I think the end result of something like this is call-by-meaning. Alan Kay and co. Have published several papers on this subject, but in a nutshell the code looks for a matching function to a signature and return type, then calls it.

Obv. There are issues with this approach if fully automatic (how many sum functions take two ints and return int?) but there's no reason why we can't use a sig/return to filter on ie. The same function can be in 2 modules if filtering by sig or by return type.

With typing similar to Haskell we can be even more strict - the sig/return is a contract, and we can have multiple types like userInputInt, randomInt which can differentiate similar inputs.

With good typing and behavioural provability we may be able to move towards a call-by-meaning system