skysight-inc/HackerNews huggingface dataset:
Ask HN: Best way to view a repo's Git history quickly?
I find a lot of value in looking at how other's organize their codebase via digging through their commit history. Especially if I know how that person thinks already

I normally fork a repo, and open it into VScode. There's two well known extensions called (1) git history and (2) gitLens. But I don't know how to configure it the way I want easily. Youtube didn't have an answer either.

What I want to do is the following:

(A) Quickly see all changes and commits to one file

(B) See normal commit history to master branch for everything

---

For (A), I want the following workflow

- Pick a file of interest.

- Run a command

- Pick the first commit done on file

- Left side, see previous commit, right side see changes

- Hit →

- This shows next commit / diffchange

---

For (B), I want the following workflow

1. Show git history of entire master branch, similar to stackoverflow.

2. Freeze the commit-history pane at the top, kind of like what you do to microsoft-excel header-rows.*

3. Click a commit date, organized with most recent commits down bottom

4. Git diff log is shown, similar to what you view in github commit normally.* *

5. Hit →

6. Autofocus on current item in commit-history pane

* This shows commit message / history overview only. Fills up 10% of screen, with it's own vertical scrollbar. I want the first commits done on a repo at the very top, b/c I want to see how it was created and the rationalization behind each commit.

* * Fills up 90% of screen. Shows file changes top to bottom, left shows previous file, right side changes

---

Side note as well, if anyone knows how to do this or knows of a service

I want to subscribe / watch a github repo, but only see commit changes only to master + a small preview of changes right in the email itself. As of now github shows you issue / PR requests, and just a commit name overview change.

This way I can just learn things faster since github is just a massive learning resource that I haven't really used properly
>Here the hivemind effect is pretty damn strong too, so it's going to be frustrating to try have a fruitful discussion if your opinion doesn't align with the group.

Entirely correct.

For fun, sometime write “I’m aware of the issues in speculative modeling, misleading headlines, and also I don’t feel like a tax solution is the correct response to global climate changes” and see what happens!

Edit: and even posting an example phrase - proves my point. Thanks for the downvotes!
Yes, you’re right that is the important assumption which needs to be proven or disproven, all I’m saying is that the $6T is immaterial, if the investment can be done profitably it can happen very quickly, if it can’t then it won’t.

Also worth saying that how many years in the history of the electricity grid has demand not been growing? That may not be the normal state recently, but it has been for the majority of the history of the industry.
> Yes, it's unavoidable in certain cases (space rovers, critical health-related equipment), but in most cases, it's not.

I'd still like it in my filesystem, though.
This is just site promotion disguised as a question.
how many times Lehman defaulted before Sept 2008? how many people believed Lehman could go bankruptcy that month?

btw, you are talking about credit ratings made by agencies that consistently rated Lehman's products as AAA.
I would love to do the following experiment:

- One coder writes his product with a high quality code base.

- Another coder sits next to 3 users of his product, and hacks stuff in as fast as possible.

I would bet on the 2nd one for having the better user interface.
Seams, Stitches, and the Decline of the Mac
How about using tmpfs?
Elastin is an important protein in tissues that need to be elastic to function well, such as alveoli. For example, the breakdown of elastin is a major mechanism for the breathing difficulties suffered by people with emphysema.

Which isn't to say that lozenges are likely to cause it - it's still primarily caused by inhaling irritants - just using it to illustrate how something that interferes with elastin production might affect your breathing, even if you aren't inhaling it.
No other store does this and everyone seems fine with it. I don't think anyone likes waiting in line after paying to leave the store, right? I certainly don't.
A friend and I managed to gain superuser access to my school's systems (including remote screen access to every teacher's laptop) when I was in secondary school.

After a little playing around we handed the duty technician a post-it note with the superuser password on it and told them we would explain how we found it if they wanted.

I was summoned to the office of the head of IT, congratulated, asked to explain how we did it, and told that we had to keep the password a secret until they had a chance to fix the issues. A week later they told us it was fixed. After I graduated my school hired me as a freelancer.

This is in Australia, but I'm unsure how well my experience generalises here.
I've a good 'decent' friend, who had to take a shit on the station platform. Because there was no other option available at the time. Some people can not hold their bowels. I'm sure he'd have surrendered to the station toilets if they were open. UK trains and stations frequently have shut or out of order toilets. I've foolishly hung on, thinking the train will be an option, only to discover it's a no can do. I'll go alfresco every time given the opportunity these days.
To be considered suicidal, I believe you need to have formulated a plan. Feeling worthless or not wanting to be alive is not the same, that's just bread and butter depression.
Monster Party 2018 Film Izle 1080p Full HD
This is an article summarizing a 90+ page paper. It lacks details because it is a summary broadcasting news about a study.
"Every single app...."

Unless you have some unusual high and crazy usage of new apps then this isn't the problem you try to make it. Rescue time isn't just some random app out there, they have a long track record. Calling that balance is quite puzzling.

". If I think Apple got it wrong, there’s always Android."

Yeah just like if you are worried about privacy there is always the option of not using a phone at all.

This is not an argument for anything.
That article makes no reference to age groups, and suggests that a sweet taste increases desirability across the board. It seems like a stretch to then say they are targeting a particular age group, especially when the participants in the study were well outside of the alleged age group:

> We enrolled 16 occasional/intermittent to light smokers (4 female; M = 27 years, range 19–45;

The paper _does_ link to a more to a more targeted study[1], but there is a fairly major limitation ("does not allow direct estimation of flavoring’s role in initiation of tobacco use among youth") and it does not necessarily suggest that flavouring is targeting the young per se and not merely being what users in general are looking for.

[1] https://jamanetwork.com/journals/jama/fullarticle/2464690
Suicidal ideation is different than having a plan and access to the method to follow through.

It’s when ideation proceeds to having a timeline and decision to die by suicide is when hospitalization is absolutely necessary. At the end of the day, if I a person wants to die by suicide, there is very little anyone can do about it.
Downvoting is simple disagreement (by policy) not some attempt to quash discussion. I know folks guard their karma jealously, which leads to resentment about downvoting. Add to that the 'greyed out' feature on downvoted comments which does look like censorship. But as an automatic mechanism for self-moderation it works ok, not perfect. Just look at the stuff at the bottom of a long discussion to see the quashed stuff, and tell me it doesn't belong there.
I'm talking about using the Lambda@edge console to push a new, numbered version of a lambda function written in node.js. I have pushed 100s of versions in this way, and I would guess that the mean time until the new version begins running is on the order of one minute. By "begins running", I mean that the new version number appears in CloudWatch output.

No other changes to config.
I've been finding visidata (http://visidata.org) the perfect vim-inspired spreadsheet tool.
If they become like taxis, and a taxi company owns a fleet of cars, then we could see similarities to how trains are engineered: an expected life of several decades, with refurbishment of the interior if it starts to look worn and dated. Replacement will only be when key parts like the chassis are worn, or no longer meets modern requirements (step-free access for a train, perhaps crash-worthiness for a car).

In some countries, buses probably already follow this pattern, but in richer countries improving emissions standards obsolete the old ones.
It's VS Code + the vscodevim extension for me lately and it's been great. I am not a first-rate Vim user anyway, so the convenience and ecosystem of VS Code won me over easily.
Psych meds for something like schizophrenia or acute psychosis are very different than for things like ADD, Depression, etc. Additionally, it is objectively true that these disorders are overdiagnosed (there are many studies backing this up).

Some psychiatric issues fit much more closely with the disease model of medicine (like psychosis), and others are in a huge gray area.

Most of psychiatric work is in that gray area and does a poor job of it.

Even a former DSM chair thinks so. I highly recommend reading "saving normal" for more info.
What about the owners of the device. They don't have a say?
(I contributed that one.) It's kind of annoying because when you first see CycleGAN, you think, 'this is amazing! I can use it for anything, like turning faces<->anime!' And then you actually try and you realize your photo<->anime CycleGAN is just learning the steganographic encoding because the roundtripping is too good ('wait, how does it reconstruct even the minor details of their hair so perfectly?') and so you wind up needing complicated regularization & tricks like "Improving Shape Deformation in Unsupervised Image-to-Image Translation" (https://arxiv.org/abs/1808.04325), Gokaslan et al 2018, to get anywhere and the results aren't great. You know the NN is intelligent enough to do it because the models are huge, it just refuses to because there's easier ways to meet the letter of the loss function but not the spirit...
Except that downvotes do exactly that. A couple and you’re marked as downvoted by fading, a few more and your comment is collapsed.

“By policy” or not. It’s treated as a “make the bad man who said the mean things go away so he won’t fool or sway other people”. Just like Reddit.
I have no comment on whether the grid can support the electricity demand. The charging network is the bigger picture item. Basically, locations where you can charge your car have to become as ubiquitous as gas stations, or, more likely, more ubiquitous because you want to rely on dormant vehicle periods to charge to avoid humans standing around waiting.

It's very easy to picture this in a modern metro area which probably already has a well-planned (and mostly Tesla) charger network. But just the U.S. alone has 2.3 billion acres of land to cover with chargers at homes, businesses, parking garages, apartments and dedicated charging points. It's not trivial, and it absolutely does not yet exist.

(But I believe it's a surmountable business/engineering challenge, if not an expensive one.)
They boys are clearly tech-savvy to a degree (they build their own PCs, mined crypto, understood Windows user permissions, etc.), but I seriously doubt that they would or could have broken into the district's systems without two things: 1/ an admin password left on a sticky note and 2/ clear text storage of other user passwords in an excel file published in a shared folder on the first machine they accessed (a public machine in the middle school library!). Other issues: old user accounts left still active; no review of access logs or logs of server usage (which would have spotted Monero mining). Note: the boys reported that passwords on sticky notes was routine throughout the district (and how they got access to the security cameras, too).
AWS Lambda@edge only supports the node.js runtime, so a comparison between workers and lambda@edge isn't so unreasonable; they have very similar execution models, I think.
Vim keybindings are not Vim. The same claim is made about Vim emulators in IDEs. IntelliJ has the best Vim emulator I've ever seen, and it's still useless to a Vim power user.
Well, none of the land was owned by the US government. I'm not sure if land owned by the Republic of Texas (now State of Texas) really counts as "privately" owned.
How to Validate Bitcoin Address in JavaScript
Can You Have Too Much “Good” (HDL) Cholesterol?
It’s obvious that additional abstraction layers will add overhead. It’s also assumed that they add liabilities, no matter what you choose. So I’m not sure how your point is really applicable to container tech only.
...and a downvoted post hasn't just been downvoted by the small group who can downvote, it also hasn't been upvoted by the much larger group who can upvote.
I've definitely seen it happening, and I think it's been referred to as "p-fishing".
Arguman.org is an argument analysis platform
Your threat model is crazy. Yes people can cheat the government but only at a greater cost to themselves. Working 6 years at a good job to do nothing but repay student debts is still far preferable to being bankrupt and ruining the first 6 years of your career.

I'm not sure how bankruptcy works in USA but I doubt it is instantaneous. In Germany you have to liquidate your assets and your income is taken (often everything above minimum wage) to repay your debt and only after 6 years have passed is your debt fully discharged if you cannot cover the whole debt within those 6 years. This means that if your goal is to pay less back than you owe you will have to earn below minimum wage which is far more damaging to your career and well being than just paying the debt without bankruptcy.

Even if for some unbelievable reason degrees are now worthless and only give you access to below minimum wage jobs then the demand for them will shrink and therefore the cost per degree will also go down until it is possible to pay them via minimum wage jobs.

Different degrees have different rates of ROI. When people declare bankruptcy banks have to increase the interest to cover the loss from bankruptcies. If engineering students have a lower rate of bankruptcies because they earn a lot of money then they will pay less interest on their loans which reduces their debt burden and encourages more people to study this degree. On the other hand if a degree has a 30% bankruptcy rate then the interest will rise which increases the debt burden and discourages people to choose that degree.

This is exactly the type of situation that calls for a free market solution.
I genuinely believe there’s a group of people out there who’s goal is to make us all live long miserable lives. I’d far rather optimize enjoyment/time to just time.
We don’t think linearly (we’re extremely parallel) and computers don’t think exponentially (just quickly, ironically enough that’s because it was easier to run ten times faster than on ten things at once).
IIRC "The Garden of Forking Paths" is an interesting story by J. L. Borges, from where the title of the paper is probably taken.
I remember when desktop computers had total RAM measured in single megabytes. It wasn't that long ago. (Get off my lawn, you kids!)
A change like the transition to EV won't be linear. As more ICEs get replaced by EVs, people and businesses will realize that it doesn't make sens to sustain an aging ICE infrastructure for a shrinking fleet of old, toxic cars. Dense cities will gradually ban them, gas stations and car dealerships will close, banks will stop financing ICE leases (and more important, they will stop financing the entire fossil fuel industry), etc.

As the resale value of ICEs will plummet and their cost of ownership/operation will increase, a vicious circle will accelerate to quickly make them a liability.
I feel it greatly depends on what subreddits you follow. I find that limiting it to only a few (at a time) and those aren't toxic (socially, work related, or effect you emotionally) aren't bad and actually are about one of the only places to stay up to date and learn.
Wow, expelled?!?

After a similar inicident in middle school, my only punishment was that I had to start a computer club at the school and run it with the IT guy that got pwned.

Although I detested the punishment at the time, it turned out to be a lot of fun. I got to build PCs on the school’s dime.
If all you want out of life is to work and consume, I guess that’s fine. I want more than that.
> but there really ought to be equivalent taxes on vaping too.

No need to demonstrate health risks first?
Cryptocurrency will replace the dollar. A world currency free of any nation’s policies is too attractive. Transferring all your wealth to it allows the rich to escape all these massive debts that have been accumulated by governments and the financial system. This flip will be quite violent as the money moves from one sector to the other and is called hyperbitcoinization, although I don’t believe bitcoin will necessarily be the actual coin used.
Brooklyn's Secret Subway Vent
Fresh Red Delicious from a local farm can be good. The ones in cafeterias or cheap supermarkets are beyond terrible. My point is that good versions of traditional varieties can be very good, even though they are less sweet.
This is an interesting conversation for me, but I still don't quite understand your reasoning.

IMO, using exceptions doesn't preclude treating errors as data.

In your example with parallel processing, you could throw an error as exception, let it unwind the whole stack, catch it and return as the result of the task.

This way you don't couple the code that does the useful work with the code that handles errors.

In other words, I don't understand why you dislike exceptions.

IMO they are a good tool for any task that doesn't require different actions to handle different errors.
I do appreciate the irony of a popup dialog covering the article promising to "fight[...] distraction"
Social media use Pavlovian conditioning to drive adoption. Even the notification icon is – a bell. I stopped using all of them and I suggest you do too. If needed to stay in touch, send your friends and family a voice message as an email attachment, they'll appreciate the sound of your voice more than generic emojis.
I'm trying to articulate something, please humor me:

Lowering coordination and transactional costs are factors too.

Gig & sharing economy leading to better allocation of capital & labor, leading to less stuff & work overall, leading to less economic activity (production & consumption, as currently measured).

For example, it's looking like we're going to have fewer cars per capita. A virtuous cycle of less inventory, greater density (less land for parking and roads), more mass transit, fewer miles traveled, and so on.

Unless that paradox where cheaper makes consumption rise kicks in.

So many variables, trends and countertrends, technology colliding with policy...

It's hard to figure out what's going on, much less guess what's next.
> Have a pro-gun discussion on HackerNews and tell me how it’s so much better than Reddit.

You're not meeting resistance to reasonable opinions.

You're breaking out of your US filter bubble and discovering that the rest of the world thinks US gun ownership rights are fucking weird.
It seems school district security practices are pretty atrocious universally. In my junior year of high school me and a buddy realized that all passwords for our district were 6 digit numbers. We didn't have to be mad geniuses to realize how easy that would be to crack. And sure enough there was a webmail login form on the district's front page that apparently didn't involve a nonce or security token. So we whipped up a visual basic app (because that's all we knew) and cracked a teachers password in two days.

Once we were in, we eventually found access to the district website server and found the admin password for the entire district (it was a big district) sitting in plaintext on the school website server.

We were smart enough never to do anything malicious or even questionable, apart from getting there in the first place. And we kept it a secret for years. But the amount of sensitive info we had access to was unreal. That same password was used for every major system (school lunches, grading, etc).

And whats crazier is that about ten years later I had bumped into somebody at a bar who was on the IT staff for that district. He was stunned to hear the story, and even worse, that the same password was still being used.
I use a Trello board. I have my to-do today column, to-do soon, future project ideas, and a read at some point column.
What is the iPad mini’s role in the iPad lineup?
When they come for my flavored pipe tobacco I am going to be so upset.

At the rate things are going, it’s only a matter of time.

No good do-gooders on a rampage to take away everything enjoyable in life.
Wouldn’t Foursquare make more sense as a much much cheaper acquisiton if none of the things actually driving most of Yelp’s value don’t matter? Yelp is still valued at close to $3B. If it recovers half of what it lost, Apple would have to pay close to $4B for Yelp. If it doesn’t recover at all, still talking over $3B.

While Foursquare wouldn’t even be for $1B. It was last valued at $300M 3 years ago and just raised money again. So at worst it’s 4x cheaper. At best, 5x or 6x cheaper. The business model probably fits better too with having an enterprise package with Apple Maps.
I certainly don't look forward to this future, but keep in mind that the maintenance cost of an EV will be insignificant (compared to an ICE) so that makes it hard to expect people to resist this trend.
Why don't you write all of this in just one post?
It's not unheard of for market makers to have returns well above 100%, and one you get into certain latency arbitrage strategies the returns can grow significantly.

The issue is that these business are capital limited, so you can't reinvest your massive returns to compound them.
I don't know how this is related to press freedom. It's more related to the quality of the press these days. They are more interested in click-baits and twisted quotes.
Safari Reading List. No need to keep tabs open and it's seamlessly synced and available on all my (iOS) devices. The bad thing about this is that's only on Apple devices and it's one of those things keeping me part of their ecosystem.
Perl's OO is interesting in this regard. They use a function called bless() to mark something as an object of a specific class. No magic keywords, methods are just functions in a specific namespace/package, etc.

So, while it has it's warts, OO in Perl is very easy to follow.
Forecasting Is Fallible, yet Necessary
> Thought "who is this crazy lady"

Did you become a psychologist?
I wonder if the security guard or the librarian who left the post-it notes on their machines are reprimanded in any way. Or the librarian who left the student list excel file unlocked on the machine, that contains sensitive information.

While what the kids did is simple to us, it is magic to these other people who can't even fathom the security implications of such a system. And that's the scary part. The technology is adapted faster than it is being understood.
First Nvidia DGX-2 Supercomputers in U.S. Arrive at National Labs
Note that the average Tesla supercharger costs ~10x less to build to operate than a gas station.
No need to speculate about what the situation would be without Apple’s policies and review process. Just look at the dumpster fire that is the Android app market.

To each their own. Feel free to cry for the government to come and save you every time a company does something you don’t like.
Early Adopters Are Not Enough to Assure Your Success