skysight-inc/HackerNews huggingface dataset:
I've watched the first case: amend a commit then undo. And I believe it shows serious shortcomings :

- The interactive interface of `git undo` is probably too hard for beginners. Designing simple interfaces is hard, and you can't pplease everyone.

- It seems `git undo` simply does a `git reset--hard` toward a designed commit. The user probably expected to return to the state before the last git action. Instead `git undo` reverted the amend, but also reset the index and remove the local changes. At this point, the beginner could scream "Undo lost my changes! I just wanted a second commit instead of an amend."

Undoing could mean `git reset --hard {hash}`, but in many cases `--hard` would have unwanted effect and the default `--mixed` would be more suitable. But even in this case, it's not a full undo, since the index is not preserved: you don't end up in the same state as before the `commit --amend`.
Yeah and this one is a nice read, too:

> http://web.archive.org/web/20210126003211/https://upvotes.cl...

Frankly, it would be enough for dang to buy one and ban all these accounts. They would have to gather all their karma from zero. Ethically grey though.
Venture competition charges startups a fee?
Yes—as with everything else one may wish to do, it's easier to dress well the more money you have, and it's very hard for single parents with two jobs to do it (again, like everything else). That's true.
> Texture coordinates can be encoded as Blender UV maps.

Will note that one minor detail about the Quake map format you may find interesting... Quake does not encode the texture coordinates for vertexes in the map. Instead, Quake encodes the coordinate system for textures of each face. This is transformed to screen-space during rendering.

This is different from modern renderers, which record the texture coordinates of vertexes.

Quake's system is less flexible, can't be used for character models, and can be inconvenient during asset creation, but it is a bit faster and more convenient at run-time. When you're rendering, you want to know the gradient of texture coordinates in the X and Y direction on screen, which is easy to calculate using Quake's system.

(Obviously the author knows this, but it wasn't spelled out in the article.)
There is a design for undoing changes to the staging area: https://github.com/arxanas/git-branchless/issues/10

The similar project [Jujube](https://github.com/martinvonz/jj) has experimented with backing up even unstaged changes after every command, and apparently it works well for them, so we could do the same in the above design.

Undoing even untracked changes might be a bit much.
Have any of you heard about Ukrainian startups and if so, which ones?
I want to share the latest list I have found with young but globally promising technology startups. Maybe someone will be interested, or get some ideas)
Are banks finally buying into Bitcoin?
If you want to move into a more senior position, it's faster to change employers than to stay where you are. Yes, you can advance with the same employer, if you're willing to change projects, skill domains, or sites.

But statistically it's faster to advance by applying to the many more numerous senior openings arising elsewhere than within your own company. You probably have the same chance of promotion in-house that you do for acceptance to a job out-of-house, but you'll get many more shots-on-goal by applying out-of-house.

So in brief, to advance quicker, change employers.
GitHub is the reason. Turns out giving beer to developers globally is an effective way to get a technology adopted.
I'll just say this is pretty obvious to anyone who been reading the comments in wave after wave of "The Federal Reserve is collapsing tomorrow, buy gold!" articles that swarm the site every single month regardless what's actually going on in the economy.
Ironically, you have to wonder whether this post was submitted as a test case or to raise awareness that yes, even HN can be gamed sometimes to a certain extent.

I receive a number of emails and DMs asking for upvotes info HN, and my immediate response is to flag the post and not visit the link; send me the link directly if you believe I might be interested and I might share it if I think it's really cool. Don't ask me to spam through my social accounts.
If you are so insecure that you need to buy upvotes to make the front page of HN, then you are probably in need of some psychological help.

Seriously - get help.

https://www.mentalhealth.gov/
Related: Adam’s on why following your passion is BS...

> https://www.scottadamssays.com/2013/02/21/follow-your-passio...
National Collegiate Athletic Association vs. Alston [pdf]
> Creating money is wrong because it benefits those who have the power to create money vs. those who can't. It's only ethically acceptable because people don't understand it, or don't have any choice.

It's actually the opposite, it depends on what to do with the created money.

Creating 1M$ to give to every American is an effective transfer of wealth from Bezos to everyone else, because his billions are worth less relatively.

Creating the same 1M$ per capita and giving that to banks that buy Amazon stock is a transfer of wealth to Bezos.

Only wealth inequality matters, the numbers printed on the bills are just fictions.
And every Xcode installation on macOS comes with FileMerge.app.
> No, my point is the morality of it doesn’t matter in the end

I don't understand this mindset. If enough people take actions to punish immoral behavior, then it will have a real and meaningful impact. For example, apartheid in South Africa was eventually seen as immoral by a critical mass of people who then took action via sanctions and boycotts. Which eventually resulted in the fall of the apartheid regime.

Is it your belief that we should never take action against moral injustices? Or that we should indulge in anything that benefits us, regardless of morality? If that's not what you're saying, please explain your response in this context

>>> We should have kept so much stuff in the Pacific

>> None of that belongs to the US

> Nothing belongs to anyone. It’s about what you can occupy and defend.
In terms of learning options, fundamental analysis isn't relevant: the "why" doesn't matter. If you're wearing a bunch of 20 delta call spreads, and the underlying jumps 10% it's more important to learn what that means for your risk than it is to learn why the underlying moved.

Now of course you want to do both, because ultimately you'll want to know why vols are trading where they are, which will be determined by the behavior of the underlying. But at first you just want to get a qualitative sense of how all the pieces fit together. Then once you do, you can do you fundamental analysis and incorporate that thesis, and start to develop a vol thesis.
> so far things have been quite nice.

Mostly because of a thoughtful design and the hard work of the mods.
Home is just a feeling, part one
Also because there's a substantial portion of our population that is radically opposed to anything that acknowledges the virus as anything but business as usual.
Lawyers, like any other profession, are 95% incompetent.

Finding the 5% that are competent is harder than it looks.

And the hourly rate and/or physical location of said lawyer bares no correlation to competence level.

And once you find that person they usually get scooped up and become GC for some VC funded startup or whatever because word travels.
It's probably true that they cannot resist cloning existing feature that's already working.

But to cheer you up, FB is putting lots of efforts (rumor goes 10000 folks) working on AR/VR. That's quite a lot innovation :)
There is a huge world of difference between cold calling lawyers from the phone book and getting a referral to someone who’s dealt with the same situation and had the outcome you seek. This becomes clear if you ever try to ‘find a lawyer’ without guidance.

> Competitors who by default do not have your best interests in mind.

FWIW ‘competitors’ are not enemies or out to sink you in all but the most extreme cases. Two things that are definitely a bigger danger to a small startup are: yourself, and patent trolls.
It’s not like the big promoters don’t have a taste for this just as well.

Welcome to the machine!
Wait, you can buy comments too? That is a much bigger can of worms. Comments are publicly attached to an account, and someone has to write them.
obligatory mention of fossil-scm.org just in case someone don't know yet and would like a version control system++ that actually works for/with you.
The pockets are turning out lint, Mark.
The Torvalds effect.
Yes, agreed.

I wasn't meaning to be dismissive of those that enjoy or make use of these types of game modes, but really just invoking how hardcore mode ends up on average with the average user for analogy only.
Yeah, and pottery is great for stationary storage of water but poor for portable water storage… the pot can weigh almost as much empty as the water it contains!
"building something of my own has been consuming me lately."

How bad is it consuming you lately ? Do you think about this every day ? Do you feel like if you don't do something about this, you would be very unhappy say 5 years from now ?

Let me be brutally honest hoping it helps. Most people think about doing this own thing since it is a "nice idea". But the execution part is where a lot of us fail.

So the question is: what are you willing to give up today to start something of your own ? Are you willing to give up the salary cushion you have ? Are you willing to grind day in day out for 5/7/10 years ?

Let's say you do your own thing today and 5 years from now, you decide that it is not for you and you want to go back to a job. Would you regret your decision in hindsight ? Would you hate yourself for losing all that cash you could have made in 5 more years from your current job ?

For me, the answer is No, not at all. I did not fail so you can call it survivorship bias but 7 years ago, I quit my very high paying consulting job to do my own thing. I was able to make it work but even if I had failed, I would have 0 regrets. I cannot die knowing that I never tried my own thing. Can you ?
BBC is a racist organization. (I am not white).
HN has such a good reputation of detecting voting rings that at my old company, when we launched a product, we'd send email blasts to remind people not to upvote.
This came across my email. At first it sounded interesting. Then I saw they are charging startups hundreds of dollars to enter, up to $850.

Is this common these days? My first reaction wasn't positive. That said, I just don't know.
The Secret Lives of DNA
My current savings give me a runway of about 2 years with the current lifestyle, if my income went to zero tomorrow. I have been saving for this for the last year or so and would have a runway for 4 years if I continue my job for another year.

I do, I have been validating my idea and have enough to put a pitch deck together. I get commits from the first 3 potential customers as well, to create a strong case for the business.

Yes, I have some potential partners.

My biggest dilemma is financial outcomes. With my job, I have a guaranteed path for good financial outcomes (a million in savings or more, conservatively speaking) if I stick it out for another 5-8 years. But is giving this up a good path? I could make a lot more or nothing at all.
This was pretty common before the financial crisis, though the typical contract length was a year back then. The idea is that it was a 2 way street- the consultant is committing to your company as much as you are committing to them. And if you are a mega corp, honestly one person's salary for a year isn't really that big of a deal. The cost of hiring and firing a FTE is not much less.

Though the length of it is pretty head scratching. The whole point of using consultants was that you needed a short term amount of specific work done, unless you are talking about engaging large consulting companies to deliver a project.
You should check out the rest of the git-branchless suite mentioned in the article: https://github.com/arxanas/git-branchless. `git restack` is really useful for some of the rewrite cases. There are some other improvements to rewriting in the devel branch.
There's definitely no privilege with a competitor.

Telling a competitor that you are being sued by a patent troll does not impair confidentiality. And if they are a true competitor, it is very likely that they have also been sued by the patent troll, or are next on the list, and may join in multi-party litigation against the troll.

You signal to your competitors the very weak and vulnerable position you're in.

Maybe in your particular industry or geographic niche its dog-eat-dog.But especially outside of tech, most companies will band together against outsider threats.

I wouldn't put it past some Machiavellian type competitor to tip off the troll to let the troll take you out for them

The only way this would happen without backfiring on the plotter is if they were already targeted by the troll and lost.

Businesses aren't as ruthless as you seem to think they are. They are run by real people, and they and act like people. The kind of ruthlessness you describe is something you see at the largest levels (i.e., Amazon and Apple) where sociopathy is a virtue rather than a hindrance, and even those companies will band together against patent trolls.
Only until the administrators notice and mandate some terrible buggy, expensive proprietary solution instead.
James Hutton's Theory of the Earth
A water computer that works
> And if I push without first pulling, must it always punish me with a merge commit? Can't I say "oh shit I don't want to do this, go back and git pull"?

This is a source of probably 50% of my "ah, fuck, time to undo..." moments with git, these days. I hate that shit. Muscle-memory gets ahead of me and I commit on a shared remote branch, which would be fine given our workflow except that I didn't pull first. What a pain in the ass.
It doesn't run on my Chrome for Android either
I think you're drastically overestimating the competitive nature of business. I don't know your personal experience, but this sounds like a naive perspective. The number one thing a business cares about is the bottom line. None of these options specifically help the bottom line, especially considering that OP is a one person shop. There is simply no way they are big enough to matter to a large company, (why would they worry about this if they had large pockets), and other small companies wouldn't take the risk of themselves getting sued. The advice was to see if the same troller targeted someone else, and I absolutely would help my competitor take down a patent troll.
The most painful mistakes beginers endure with git are irrevocable code removal from the current working directory because of bad usage of `git clean`, `git reset` (or `git merge` if you're brutish enough). This problem cannot be solved by using git, because git doesn't have any reference to such code.
It's probably less of a personal thing and more of a marketing/advertisement campaign thing.

The website itself claims to be organic advertising, and it's certainly something that would work. This is actually used in practice on sides like Reddit[1].

[1] https://www.youtube.com/watch?v=FxNvUWN3vYk
It's a bad metaphor, because if you take the image from the gallery, other people cannot enjoy it anymore, while with the right click/save you make a copy, so it's still there for everyone.

A better analogy would be if you make a painting of a painting without paying the original artist, is it stealing ?

It's not : it can be construed as counterfeiting though, and it might cause the artist to stop painting because he does not make enough money, but calling it stealing is simply wrong.
This is fascinating. So they are essentially harvesting the gravitational potential energy of the iron ore at altitude to charge the batteries (and then some) for the cargoless return trip. Outstanding.
Bitbucket used to provide free (and pretty good) Mercurial hosting.
That sounds strange. If you have really been sued you may be able to find out on PACER (https://pacer.uscourts.gov/)
There's still the potential for extorting a settlement based on the business value of the patent to the operating company. But it does seem like that would mitigate risks to other assets, like you said.
> I'd prefer if the language only had a single number type (maybe configurable at once by an external option) and a single sqrt function.

If you meant a numeric single type class, like haskell's Num, I think it's a great option. If you mean a single numeric type, like javascript, it unfortunately leads to a bunch of issues. Integers and floats really are both necessary very frequently. For example floats to represent something like speed, and ints to represent your bank balance. And you need different sizes of them (like float32 vs float64) are still necessary in a ton of applications, so you'll need them eventually if you want the language/numerics library to be truly general purpose.

It's also a huge convenience to be able to apply e.g. `+` to arrays as well as numbers and other polymorphism niceties.
I’m not a patent expert. How much is a specific patent like this worth of the generic pattern is available since ages and it is called “cache” or “offline mode”?
Lastweekinaws just published an article about whether you should get a certificate: https://www.lastweekinaws.com/blog/is-aws-certification-wort...

While this is focused on AWS, the same holds true for Azure and GCE.

And I'll note that if you're at the point where you're getting the expert-level certs, those do stand out and are trusted by hiring managers across the industry.
Stay away from Ukrainian startup scene due to rampant fraud:

Ukrainian startup Sixa vanishes after attracting $5 million in investments https://ain.ua/en/2020/06/02/sixa-fraud-ivestigation/

Ukrainian crowdfunding project suspected of fraud https://www.kyivpost.com/article/content/business/crowdfundi...

Ukrainian police arrest a hacker group after stealing $500M from companies in South Korea and the US https://ain.ua/en/2021/06/18/ukrainian-police-arrest-a-hacke...
Working on putting ads in VR by the sounds of it

https://news.ycombinator.com/item?id=27532243
While this opinion is written by someone with a vested interest in this technology's success, I'm interested to hear this community's opinion on inductive wireless charging at scale. As someone with little knowledge of electricity and these kinds of systems, the idea sounds great at face value, but what are the downsides?
>Once a new tax is imposed, its limits and brackets are probably the easiest things to change about it.

Just introduce a tax on money held in bank accounts. Doesn't matter if its above $100k or $1 million.

>Moreover, if they aren’t inflation-adjusted, the Fed will make sure we’ll all get there pretty soon, just by printing money like they are doing these days.

When people are stupid enough to "invest" into money you run into an obvious problem. The supply of money is limited. Every dollar that is being saved makes it harder to save the next. So you have to create new money as people save money. The conventional way is to run a government deficit. The better way is to stop regressive saving in money by introducing a negative interest rate for big accounts.

Investments don't matter. Even if the rich HODL all existing stocks someone can start a new company that you can invest into. Old businesses can also issue new shares without people being angry. None of this is zero sum. But saving money? Oh boy, that is the most zero sum way to "invest". The only reason the system hasn't collapsed is that the Fed is making sure that every time a dollar is being hoarded there is a new one to replace it.
Why You Should Not Get a History PhD
I really love the Jetbrains GUI built into their IDEs for this.
This is not working on Safari browser.
A right handed person can write in reverse with their left hand without much practice, by holding a pen in each hand, pretending to write with their right and mirroring the hand movements. It's even easier if you just "write" with your finger, eg on a foggy mirror, rather than holding a pen. The scripts we use are definitely optimized for right handed writing.
There is a design to address undoing changes to the index: https://github.com/arxanas/git-branchless/issues/10

It runs a `git checkout`, not a `git reset --hard`, so it will stop you if there are incompatible changes. Of course, if `git undo` can be made to lose your staged or unstaged work, then that's a bug.

Fortunately, you can undo the result of any `git undo` with another `git undo` that goes one more step back in time.
Amazon destroying millions of unsold items including TVs, laptops, masks
> In most legal scenarios, you want to get out of the conflict as cheaply as possible - vindication is very expensive.

Sorry but no. Patent trolls are no better than ransomware gangs. If you pay them once, they'll be back for another helping tomorrow.
For glasses glare a couple of things: First, a circular polarizing filter can help. Second "key lights" don't have to just be your monitor. You can dark mode the monitor you have in line with camera and leave it at low brightness, then bring in the primary lighting from the side (another monitor, or a cheap/home-made soft box would work - a diffuse desk lamp may serve well, or a strong harsher light bounced off a white wall ). You can't stop light reflecting off your glasses, but you can make sure most of it doesn't bounce into your camera.

Not if you go very directional on the light you may need something to fill from the other side so you don't get strong shadows. One source should be ok if you only give enough angle to loose the reflection.
Clubhouse has been amazing though. I hope it can sustain.
Discussions on it are much, much better than Twitter nonsense.
Strong agree. I'm still a little bewildered about how Clubhouse got so much hype in the first place considering the actual product obviously sucks.

With that said, I think Clubhouse could be in a way better position if they'd used their head start to actually work on making the product not awful.

I have listened to 1-2 conversations where I've thought hey this has some value, but every time I open up and scroll through it it looks like early 2000's email spam except with emojis. Super low value topics like hustle harder or marketing nonsense.

With social apps the algorithm is everything. I mean just look at Tik Tok. I feel like Clubhouse could have tried harder to make a magical experience where you opened it up and an interesting conversation was tossed your way. Oh well.