skysight-inc/HackerNews huggingface dataset:
It's called "git reflog": https://www.edureka.co/blog/git-reflog/

Though you do have to have committed. One of the things I hammer on in my tutorials for work is that if you get confused in git, make sure you commit. If you commit, you can take your problem to the other engineers and we can almost certainly get you straightened away. Fail to commit, though, and you really may lose something.

Also, metapoint about git: While I won't deny its UI carries along some dubious decisions carried over from the very first design, in 2020, basically, if you thing "Git really ought to be able to do [this sensible thing]", it can. It has that characteristic that open source software that has been worked on by a ton of contributors has, which is that almost anything you could want to do was probably encountered by somebody else and solved five years ago. It just may take some searching around to figure out what that is. (And on the flip side, when you read the git man pages and are going "Why the hell is that in there?", the answer may well be "a problem that you're going to have in six months".)
Prelude: I am a HiDPI junkie: I had a IBM T221 200 ppi monitor more than 12 years ago. I currently have a Dell XPS 13 9350 with 3200x1800 at 13.3" (276ppi).

However my next ultrabook (with a 14" or smaller display) will probably feature what you call "a shitty 1080 display". 1080 at 13.3" is 170ppi which is just fine for a laptop because you're not as close to the display as on a smartphone or a watch.
Maybe Famine's also at work in our own world?

> "CHOW contained spun, plaited, and woven protein molecules, capped and coded, carefully designed to be ignored by even the most ravenous digestive tract enzymes; no-cal sweeteners; mineral oils replacing vegetable oils; fibrous materials, colorings, and flavorings. The end result was a foodstuff almost indistinguishable from any other except for two things. Firstly, the price, which was slightly higher, and secondly, the nutritional content, which was roughly equivalent to that of a Sony Walkman."

Neil Gaiman - Good Omens: The Nice and Accurate Prophecies of Agnes Nutter, Witch

Although, these particular preparations might be closer to MEALS:

> "MEALS was CHOW with added sugar and fat. The theory was that if you ate enough MEALS you would a) get very fat, and b) die of malnutrition."
Adboe XD Changing
Hi Creative Cloud Member,

Thank you for using Adobe XD. We want to make you aware that certain features will become Premium features in April 2020 and will no longer be fully available in the Adobe XD Starter plan. Beginning this week you will see a Premium tag added to the following features in XD:

Share Links
Invite to Document
Saving to Your Computer (though you will still be able to save to cloud, work offline, and download a copy of your file)

Full access to these features will only be available through a paid plan for XD in April 2020.

We’re updating each plan to better meet the needs of our users. All design and prototyping features continue to remain available to XD users, including Starter. For professional use where collaboration is required, full access to premium features is only available in paid plans. For more details on this update please see here.

What’s not changing is our commitment to listening to our community and delivering on-going feature updates to XD.

Sincerely,

The Adobe XD Team

So let me get this straight... You actually want us to subscribe to your plan to be able to save our own work locally without saving it to the cloud and downlaoding it?

Back to sketch it is then for those that have that option or Figma for those that don't
Not wishing to disrespect the coding that went into this, but I don't see the point? The "standard" map used by the author already shows a visualisation of the area concerned, I'm not exactly sure what this magical plot style brings to the party other than a different way of drawing the same type of thing.
Aren’t game studios and other creative studios meant to use “asset management” systems instead for their large binaries?

Diffing a PSD as a binary is impossible - whereas proper asset management tools will deconstruct the PSD’s format to make for a human-readable diff (e.g. added/removed layers, properties, etc).
Yes, this. I actually tried bk before git, and actually used bazaar and then mercurial before git as well. I was stunned at how arcane the UI in git was made (And how arrogant the community of users around it could be, too). Bk was clean and elegant frankly. I'm no idiot when it comes to the concepts -- but git's CLI interface is just awful.

Bitkeeper is in fact open source now, BTW. Too late, but it is.
Do we have evidence of those "less savory" things? All security research could be used for ill, but I firmly believe the ability to do such research makes us better off overall.
My experience is that exercise is a great way to get in shape, and other problems in your life require their own solutions that are also hard work. Nothing ever just fixes itself.
Clew: Universal search bar for all your cloud apps
Exactly. Forums optimize for quality content and this makes it hard to monetize them because when you found the good stuff you are not going to click on ads.

Also, mobile which is not ideal for long conversations helped their demise.

Still, I hope they come back big time.
I miss them.
Yeah, I've got a 4K Thinkpad, and the screen is gorgeous, but it's way overkill. QHD would have been good enough, but it was 4K or 1080p, and I do want a bit more than that.
A change that large (probably requiring new custom RAMs and modifications to fairly timing-constrained register renaming logic) doesn't seem feasible for somebody to insert below the RTL level without being noticed. It would be much easier to just make RDRAND somehow less random, while still passing whatever randomness test is used for qualification.
> I don't think it's an accident that analysis supporting unlimited block sizes assumes perpetual inflation instead of limited supply.

Agree, although this assumes that the free market cannot be trusted to regulate the size of the blockchain which seems possible with automatic transaction rebroadcasting. Are you familiar with the technique? Thoughts on it?

https://youtu.be/agppUdX9YvI?t=105

I'd be curious what you think about the approach. The basic idea is that forcing new and old transactions to compete for space on-chain pushes the blockchain into an equilibrium where data-in equals data-out. On either side of the equilibrium point block producers can increase their profits (and reduce costs) by moving towards equilibrium. So no need for a hardcap and no need for perpetual inflation.
I grew up poor even by local standards during a civil war in a former communist state. Had 5 younger brothers and sisters living in a 30m2 apartment, electricity regularly being cut off, days without food, etc.

I identify with nothing you said - I could clearly identify the causes of the poverty in our family in my dysfunctional parents.

The biggest problem with being poor is when you get stuck at 0 it's incredibly hard to get out of that. Hard to start well at a new job when you got nothing to eat at home, don't know if your power is going to get switched off tomorrow and you might get evicted any moment.

I would say the first time I lost the fears you mentioned was when I hit the lowest point - when you decide your life isn't worth living the way it is - what do you have to lose ?
the iPhone SE was new for $400. iPhones can be bought refurbished, be a hand-me-down, or on a long term contract (which really is a non-issue given the length of the contracts). Also they last much longer than competitors (still holding on to my SE).

So iPhones are very affordable, certainly comparable to Android (for a non-PoS phone) and are hardly a good metric to judge someone by.
That's a bit hand wavy - The Linux Kernel has been doing atomics in C for I believe over 20 years now, well before C11 came out. And even after it came out they don't use C11 atomics. `gcc` gives them enough guarantees on its own to implement correct atomics and define their own memory model, in some ways better then the C11 one (and in some ways worse, but mostly just from an API standpoint).

When that said, my concerns are more with the state of `unsafe` overall, the memory model is only one part of that (though it somewhat spurred conversions about the other issues).
late edit:
Instead of "would have fanspin issues until after some bios issues."
I meant "would have fanspin issues until after some bios updates."

After installing those it became properly functional and a great laptop thought it made me wonder how they managed to ship with such a big, obvious and easily resolvable issue in the device.
> No VBA

FWIW Google Sheets does have the ability to write macros in JavaScript. They even have an npm tool [0] that will let you edit offline via your preferred IDE and then push to your sheet.

[0] https://developers.google.com/apps-script/guides/clasp
Building the Best Magic Link
Coding Bootcamps: What Do New Graduates Earn?
An excellent read about this topic:

Scarcity: The New Science of Having Less and How It Defines Our Lives (Sendhil Mullainathan & Eldar Shafir)

The authors, through empirical research (awesome experiments) show that scarcity (poverty) makes people perform worse on IQ tests by ~17 points (which they regain as soon as scarcity disappears). Poverty makes day to day living an endless barrage of difficult decision making.
Rapidly after drinking a glass of milk (or any of the many, many things that include lactose) it becomes very very clear that I am lactose intolerant to both myself and everyone around me.
What happens to plastic drink bottles you toss in your recycling bin
> /dev/random assumes that reading 64 bits from it will decrease the entropy in its pool by 64 bits, which is nonsense.

It's not complete nonsense. Suppose for explanation purposes that you had a pool with only 256 bits (2^256 possible states), and you read 64 bits from it. Of these 2^256 possible states, most would not have output that exact 64-bit value you just read; on average only 2^192 of the possible states would have resulted in that output value. Therefore, once you know that 64-bit value, the pool now has only 192 bits of entropy (2^192 possible states). Read three more 64-bit values, and on average only one of the 2^256 originally possible states could have resulted in these four 64-bit values; since there's only one possible state, the pool's entropy is zero.

However, like you said "Linux’s PRNG is based on cryptographically strong primitives": the only known way to find which of the 2^256 possible states could have resulted on these four 64-bit values would be to try all of them. Which is simply not viable, even with all the computing power in the world. That is, once the number of possible states (the pool's entropy) gets above a threshold, even if you later exhaust all the theoretical entropy from it, there's still no way to know the pool's state.
It is okay to be "obsessed" with success or prestige so long as you are a satisficer and not a maximizer:

https://www.psychologytoday.com/us/blog/science-choice/20150...

If you are a satisficer, getting a better brand name company/school/accelerator etc will help you in the long run.

If you are a maximizer, you may be unhappy for all the reasons stated in the article and in the comments.

But we shouldn't confuse the benefits of a brand with the impossible standards.
Soleimani and beyond: 5 ways that drones have destabilized Iraq
Can anyone link? As a limey Brit id rather listen to John Oliver then this Tucker chap. (seriously this passes for news?)
Can you explain what you mean by fossil being a competitor for github, rather than git? Fossil is a scm with additional features for usage, but (the last I used it, and to my memory) it was just the command line fossil very much like git, and that's how I used it.

What makes it the case that fossil cannot be a competitor to git (or hg), in that they are both a vcs?

edit I haven't had a lot of sleep. What I'm trying to ask, I suppose, is why can't you use fossil just like git and ignore any all-in-one features it provides? (This is not to comment on how good, scalable, fast, correct, or robust it is.)
My hunch is that the ARM transition is coming sooner rather than later and instead of spending time and effort into rewriting a bunch of OS functions (like AirPlay Mirroring) to support AMD processors that lack Intel-only features like QuickSync, Apple is just going to drop the iOS pieces it has written for ARM64 into the MacOS (or whatever it's called) that runs on their upcoming ARM-based desktops and laptops.

I mean, I wouldn't re-write code to support hardware-accelerated video transcoding on Ryzen+GPU if I knew that in 2-3 years I was moving from x86-64 to ARM64.
I will be not so easy.

Big OEMs are bound by the supply chain. Small OEMs are dependent on solution providers.

Intel pays to solution providers to not to work with AMD in China. That's pretty much on the record, and not a secret to anybody in the industry.

And for big OEMs, the supply chain trumps everything. Idling assembly lines are extremely costly for them. One week idle can easily wipe out 1+ month of profits for them.

Before AMD is ready to offer the whole BOM kits with inventory in mainland China, and is ready to put money behind the availability guarantee, there will be no mass transition.
I also follow Perell and find him inspiring. Writing is a lifelong passion but since a big part of my work is writing, the flame has gone out. These days is all about relighting the fire.
Honestly if we can reduce the tooling churn for development that sounds great
I had become poor like this once in my life. I had to ration my food so that it would last a week. I had to think many times before consuming anything as to how important it was for me. I had to think about transportation costs to interviews. I had to tell people that I couldn't pay them because I didn't have money.

One important thing I noticed that I became more superstitious. Like you mentioned, I kept questioning the paths I had traveled in my life, kept wondering if what I was going to do next was going to help or harm. It was really crazy. I could, of course, see that happening in myself, but the rationalization was, "what's the harm?"

I also think that's tied up with one's faith in oneself. And the eroding of that faith was quite surprising when poor. I guess some people have a strong faith in themselves. I didn't.

I also noticed that we focus on too many petty things in our lives. Social structures, peer acceptance, comparing ourselves for a sense of worth. None of these really matter at the end of the day (or life!).
Ask HN: How to make an extra $2000 monthly?
Hey guys how do I go about making an extra $2000 monthly, I am a software developer who has tried the saas project angle before to no success sadly.
A 40% of American women are obese, men still chase after them. 2.2 million more women go to collage than men, that’s one of these signs that women slowly becoming the breadwinners is many relationships with a surprising number of stay at home dads (2+ million). In older couples it’s also not that rare for men to be unable to find work near retirement and women end up as the sole income.

Gender stereotypes may have some truth to them, but it’s far less than most people seem to think. Everything else being equal, most women would prefer to date attractive men and most men would prefer to date wealthy women.
> why SIMD intrinsics are "unsafe"?

Is important to note what is the POV of "unsafe". Is not unsafe for you or for your setup.

Is unsafe from the COMPILER ie: it can't PROVE is safe!

Static analysis can only decide a subset of the possible "safe" interactions. In the time of COMPILING. Rust can't decide if use of SIMD is safe AT COMPILE TIME because at RUNTIME maybe the cpu don't have it!
Not soon for genes. Right now it is a painstaking process to learn what nucleotides do what because you need to sequence and analyze groups of people for each trait/ disease at scale.

We do biobank analysis w pharma to uncover drug targets for nasty diseases.

I wonder if reinforcement learning could tease out patterns faster.
Unit testing C code with LD_PRELOAD
It's version three of this patch.
I would say this idea touches some of the fundaments of capitalism, including wealth distribution and therefore salaries. With less consumption maybe lower salaries would work.
I feel your pain there, definitely experienced it at most prior companies. Unfortunately good engineering management is uncommon in our industry :( .
Why not? Why pick on teachers? how having a NASA software engineer make $50k/year then?
Worth a read:

> Note that the OpenVMS time display and manipulation routines allow for only 4 digits in the 'YEAR' field. We expect this to be corrected in a future release of OpenVMS sometime prior to 31-DEC-9999.
What is the purpose of your blog? It heavy depends on this and your target audience.

If you do want to share things that usually end up a long essay, try to make it shorter and easy to understand. It means cut off ideas. Select only general knowledge, so that everyone can understand.

If you follow Medium.com, that’s what happens. Most of popular posts share basic knowledge. And posts with more technical details (some of them are great), often don’t get popular since less people want and understand it.

Also you can start writing random things and share it to learn what interest the audience
> The fact that you put Git in the same category as tools having a potential of inflicting grievous bodily harm if misused is telling.

They're just examples of tools.

> Mercurial was incredibly easy to use nearly right out of the gate, not after an afternoon of work.

I talk about this elsewhere in this thread, but I disagree with this assertion. I find Mercurial baffling and Git very elegant, though it could be an artifact of the order in which I learned the tools.
It kind of does, iff you have a file there. In which case it tracks the path to the file, and then creates the relevant directory structure to get to it.

Of course git is also incredibly painful and brittle if you want "exclude/except" behavior on the gitignore involving subdirectories.
Pensions are just deferred compensation, part of the total benefits package (salary, health insurance, etc). They're not entitlements, giveaways, lottery tickets, whatever.

Maybe the most insidious side effect of transition to 401k was tricking people without pensions that somehow pensioners are unfairly compensated.
Digital Avatars of Artificial Humans
Or a different PC altogether, or you hurt your hand, or you're drunk, or, ...

This probably wasn't meant to be practical and only a fun experiment, I hope. :)
To be fair, I took that particular medication for over ten years before the crisis. So it's unlikely that the medication itself was the sole cause.

And when the symptoms started, I wasn't going to go to the chemist to start concocting home remedies for what I feared could be a mild heart attack. I went to the ER. Again, I don't know how old you are, but I'm old enough to have had friends my own age start dropping dead of heart attacks and strokes. Hence I decided to take the safest route.
How to solve CORS problems when redirecting to S3 signed URLs
Truely amazing read.
I think 350k is a safe "lower end" baseline from which to build a rainy day fund, though.
two things leap out to me based on this.

1. Feels like almost all the mountain ranges are almost joined up.

2. These large Islands are much more mountainous than one would naturally expect.
Funding behind controversial ‘keep eating red meat’ study
"Why do people need to use a command line and a gui tool (usually) for git?"

You don't. The reason is that you're using a tool that didn't budget the time to directly work on git data files and it uses the command line under the hood, because that's a hard business case to make for most small tools. This is not fundamental to git; the very top-end git-based tools like Github or Bitbucket all do their own internal, direct implementation of git functionality for this reason. It's not a characteristic of git, it's a characteristic of the GUI tools you're using.

A perfectly sensible one based on perfectly sensible engineering tradeoffs, let me add; no criticism of such tools intended. Git's internals from what I've seen are not particularly difficult to manipulate directly as such things go, but you are simply by the nature of such a thing taking on a lot more responsibility than if you use the command line-based UI.
Cats drinking bowls of milk is a TV thing or people who don't know better. Almost all mammals, including humans, lose the ability to effectively process lactose at some point in their life. Keeping the ability to process lactose as an adult is somewhat unique to humans and even then most will stop producing lactase before they die.
> - Both creators of Lightning Drya and Poon have publically stated LN was never meant to be a scaling solution for Bitcoin
[citation needed]
The initial presentation of the paper was titled "SF Bitcoin Devs Seminar: Scaling Bitcoin to Billions of Transactions Per Day". If we didn't mean it to help scaling, what was it meant to be?
[note: am one of the authors]
lmao

god damn this site can be ridiculous at times
Why do the ellipses in the Star Wars opening crawl have four dots? (2015)
And probably less likely to include pathogens that come from animals.

I think all people need an occasional look at where their food comes from. The amount of animal shit (rodents and the slaughtered animals themselves) in commercially sourced meat has increased in the last decade. If you stood a person in front of a meat grinder and said, "Here, now we throw in the appropriate legally-allowed amount of poop into the mix", fewer people would be in line to buy the end product.

Or if they were allowed to go visit the factory chicken farms and see the sick, diseased chickens that end up on their dinner plates, I think they would be unable to eat it.

Do people not realize that the recent laws aimed at preventing information gathering from factory farms is designed to prevent them from learning what they are really eating?
Quite a few of these complaints are equally applicable to intel-based laptops as well, particularly regarding ports/quantity of ports, and thermals/cooling.
A single thunderbolt / type-c port is nice and everything, but since there's only a single one, that means I can only really plug a dock/hub type device in it, or else I'm having to give up something else I need - that goes double if the vendor supplies it with a type-c power adapter as well.
step 1: lie, cheat, sabotage your peers...

step 2: write bullshit blogpost/ book/ tweets glossing over your dishonesty

step 3: get followers

step 4: $$$
I certainly notice the difference between my 4K OLED 15.6" Thinkpad X1E and my old 1080p 17" MBP. The smoothness is unbelievable.

No idea whether that's the 4K or that OLED contributes too. I certainly think QHD should have been enough, but that was not an option, weirdly. Having to choose between 1080p and 4K is absurd. Give us some options in between!
You can say it even more strongly. Oracle bought SUN with the sole intention of using it as the basis to sue Google. Full stop. This is a shakedown and Oracle needs to go away.
> git was a major step back in usability for my group from bk to git.

What does that mean in concrete terms? What are the failures you're seeing with git that you weren't with bk? How long has your team used git? bk?
The problem with giving cash is that it incentivizes them to continue to panhandle, even if there are other ways they could be spending their time that are more beneficial for them. Maybe they could be waiting in a government office to sort out a benefits issue, or they could be relaxing indoors in a shelter or church, but they feel like they need to sit outside because if they don't they're losing income.

Give to nonprofits that focus on helping the homeless - they will be able to distribute the benefits in a way that is better in the long-term for the homeless themselves.