skysight-inc/HackerNews huggingface dataset:
Total Relighting: Learning to Relight Portraits for Background Replacement
Squash was the thing that convinced me that the emperor has no clothes. Realizing that I was going to either have to train every junior, every four-month community-college student brought in on co-op to modify their history in an awful UI with tons of gotchas, or I would have to accept the downsides of squash?

It's so stupid.

Git desperately needs a layer above the commit that groups related commits together into a semantically commit-like object that you can show in history and jump to its HEAD and cherry-pick. Because the squash is a dumb hack, and meticulously editing your history is not productive work.

I want squash. But I want squash without all the boneheaded implementation-detail downsides of squash. I want squash where I can put up a PR and keep working and then not have to deal with the cherry-pick pain if I want to build off that work after it merges. I want squash where I can leave the branch up after the merge and still see that it's behind the main branch.

But git's simple "everything is a commit" model makes that impossible.
> 15 gallons of gasoline store 500kWh of energy. That is 5 tesla model s worth of energy.

Yes. However, the Carnot efficiency means that most of it is lost as heat. Suddenly the advantage is not that large anymore.
BuildZoom (better way to build custom homes) is hiring a Principal Engineer
Also, imo the platform walled gardens considerably hamper your ability to move away from a given vendor just because they made the current model less repairable. Plus, as other vendors see Apple's snowballing profit, they also adopt similar construction and thus you are left with pretty much no choice when you go out to buy a product. The only counterpoint I have in this regard is Microsoft Surface: their earlier models were terribly unrepairable but the newer ones seem to have considerably improved in this regard.
Not sure I agree with that. I don't think you realize how many cars have switched over to hybrid powertrains, but are not advertised as a main selling point like the Prius or Volt. Volvo's entire lineup is now hybrid or electric along with their new performance brand Polestar. Mercedes is switching over to hybrid powertrains even on their AMG models. Audi's using hybrid powertrains even on their highest performance models like the RS6 and their ultra luxury vehicles like the A8. Hybrid technology is great for sports cars and offers many advantages over fully electric, most importantly being the weight savings.
Audacity is a simple tool that does simple things quickly, efficiently, and for free. That's why it's popular. Generally I wince whenever people go monkeying around with tools like Audacity, because their instinct is to "improve" it by adding layers and layers of new features when simplicity was always the core appeal.

That said, Tantacrul seems to have his priorities straight. It sounds like he's going into this carefully and thoughtfully, which is a good sign. And Audacity does have one glaring problem I'll readily admit to: it's not simple ENOUGH. There's a lot of UI/UX etc that could be cleaned up, re-orged and better labelled so that people can actually find what they're looking for and use it more easily. As-is, the program can be a little thorny when you're first getting into it.
Yes you are referring to another insanely complex thing that is very cheap relative to making one of cost due to mass production. But it isn't machined metal :) I didn't say I don't appreciate electronics too.
Use the search function? Things don't need to be on new or on the front page to be dupes.
Technology can do amazing things to either benefit or cause endless distractions for Autists.

As designers and developers we need to be aware of this in our work to make sure individuals have the options available to customize the user's experience. Often we think this as just a feature but in this instance, and many like it, customizing can make a tool life changing or basically worthless and even harmful.

Also, this article is a great reminder that Autism is a spectrum and we must be aware there are a fair number of people who go undiagnosed.

This is especially true for females as they are very good at masking. I encourage anyone who may think they or a loved one might be autistic to get a diagnosis. It can literally change your life.
I have no direct insight, but I'm getting a bit of a 'tip of the iceberg' feeling, like maybe there's some other stuff going on.
Two theories I've seen:

1) Coinbase's corporate culture is more libertarian (where an argument on "don't focus on politics" may go across more reasonably) while Basecamp's entire corporate brand is based on power for employees.

2) Coinbase was about to IPO and thus taking a buyout is harder to justify financially, while Basecamp equity is essentially worthless.
Largest Filipino government data breach
FWIW, I know the message in the original communication was very appealing to a lot of people, so they could get more interested candidates because of that.

I wonder if what you'll see is companies sorting into "politics encouraged" vs "politics discouraged" environments, and will be interesting to see the outcomes of these different types of workplaces.
Look into the problems with batteries when e.g. an electric car gets destroyed in a collision. Batteries can re-ignite days later; wrecking yards have to isolate EV wrecks, etc.
I used the search function for the page I wanted to post.

Looks like it has been unsuppressed now:

https://news.ycombinator.com/item?id=26999082
ergodicity. the makeup of a 60 person company is much more about the company than the population average "anti-politics-ban" (which coinbase, a ~1500 person company, is probably closer to, even when not considering that you are probably of a certain leaning when you work at a crypto company)

but also i think the founders kinda blindsided all the employees with the announcement which probably made it worse.
I'm not talking about replacing a memory module. I'm talking about replacing a defective 4Kb memory chip on a $1000+, 384Kb ISA card.

When I built PCs in the late 90s, the BOM included motherboard, cpu, graphics card, sound card, nic, sometimes a parallel port board, memory, hard disk, etc. At this point, it was only really feasible to repair modules that failed, few humans with the skill to replace a component would do so due to the economies of scale and cheap price.

Now, it's motherboard, cpu, memory, disk. The cost is much less, but most repairs are replacements of the mainboard or disk.

For most laptops, there's a tiny motherboard with most of the functionality integrated into a few modules. The only things that get repaired are memory and battery.

For the M1 Macbook, you have one of the highest performance devices on the market selling for $899 at 40-50% margin. I just bought similar Dell and HP units in quantities over 50,000 last fall for $100-150 less (probably 6-8% margin to the OEM), with inferior battery life, disk and cpu.
I thought CATL makes lithium iron phosphate batteries, and lithium sulfur hasn't been commercialized yet. Unless there's some news on that front I missed?

I think induction motors tend to be less efficient than permanent magnet motors (and thus require more cooling). The Netgain Hyper9 (a popular motor for conversions) is a permanent magnet motor which doesn't use rare earths. It's very efficient but not particularly powerful (though that may be due more to the relatively low voltage it runs at).

That's cool that Tesla is using aluminum for power cables. Makes sense to save cost and weight where you can.
> Why would expect the Nikkei 225 to provide similar returns to the S&P 500?

Why would you expect them to be different?

> Company quality varies greatly between these indexes.

Can you elaborate on that? Has the "company quality" differed between the two indexes 30 years ago and was the market mispricing it? Is the market pricing these indexes correctly now? Do you think the S&P 500 is going to provide better results than Nikkei 225 going forward?
thanks!

Does anyone find the flutter app samples?

On the linked website above (https://spaceuptech.com/) they say that they have app sample apps for ... and Flutter.

I can't find any on their github repo.
Does anyone have better eyes than me?
So if the EU say it's s monopoly it is? Given there are multiple places to stream music I find it hard to think of it as a monopoly.
I believe zacharycohn meant "regressive" as in "imposes a harsher burden on lower-income households than on households with higher incomes."[0] In this sense, Washington state does have a regressive tax system, in part thanks to 0% income tax and higher than average sales tax.

[0] https://www.thebalance.com/regressive-tax-definition-history...
hmm.

Have noticed a lot more repeat submissions that didn't get that much attention first time around getting a ton of more upvotes lately. A comment on the nature of the audience changing. Annoying somewhat.

But what's worse is stuff that already got submitted a year ago, two years ago, 5 years ago, 10 years ago, got a ton of discussion and upvotes, but now is much reduced as far as relevancy and newsworthiness and gets submitted again. Need to maintain balance of that oldie-but-goodie stuff with actual new topics.

Vested interest in this sort of because I often find myself digging up those old discussion threads to share like Dang does also, mainly because old is old, but also because we all end up having the same endless repeated conversation points and people can see all the discussion before posting the same stuff again
Apple plainly does so.

https://www.youtube.com/watch?v=pI-iJcC9JUc
Tough choice. I drink coffee more often (almost every day) and enjoy it, but could replace it with other things I think. Beef is in a lot of my favorite foods. I think I would give up coffee.

If the question is beef or caffeine, it's a harder choice.
This question is answered in the first paragraph of the text at the top (https://news.ycombinator.com/item?id=26998309). Of course it's manual. If it weren't, we'd have software that could identify good stories, and I'd be somewhere eating grapes. Well, not grapes; and perhaps not eating. writing code, more likely.

HN's system consists of community, software, and moderators, just as it always has. Moderation is a feedback module tacked on to try to prevent the system from landing in any of its default failure modes. That, alas, requires humans.
17-18 thou here on my LS6 on the rods. 23-24 on the mains. I'd like to see tighter on the mains, but not sure if its worth ordering another set of bearings and using 1/2 of them to tighten up 1/2 a thou like i did on the rods.

what amazes me is the cam lifts we're running these days. I'm running .646"/.649". In the 90s .500" was big for a street motor, and only full blown race motors were running whats normal now.
Thank you for all the quiet moderation work you do to make HN so great. I can say that you’ve personally made my life better, and I’m sure many others would say the same.
Yeah, let’s say your salary was $200k. They give you $100k immediately, you turn around and find another job after a month off at $190k—that means you’re making about $273k this year.
> So it was geopolitical aggression for the 40+ years Taiwan couldn't even pretend to be a free democracy?

Yes, it was still aggression. The US opposed it then under the grounds of "containing Communism" rather than "defending democracy".

> I don't understand how the internal government can be the decider over whether it's aggressive.

If you invade somewhere to take it over against the wishes of the locals, that's aggressive. How is that hard to understand?
Oh you're also friends with Gilfoyle?
https://www.youtube.com/watch?v=uS1KcjkWdoU
[Tutorial] Creating PostgreSQL Test Data with SQL, PL/PgSQL, and Python
Got a screenshot? What platform?
I think there's another interpretation to his question - he's seriously asking why this decision had such a different result in this case, not trying to assert that this is a similar result.
> Which is exactly why Apple should open up iOS to other app stores, and in order to keep iOS users secure they should focus on more things like App Tracking and Transparency, not on monopolizing app stores.

This is self-contradictory. If Apple allows third-parties to distribute apps outside the App Store, they lose the ability to enforce their App Tracking and Transparency rules.
The S65 and S85 are road car engines, not racecar engines. They're also hardly BMW's highest performing motors. Even Dinan built engines don't suffer from that problem.
becase BTC is the most common and there are still ways to obscure the audit trail, but the efficacy of such methods is declining.
But code that uses the old function wouldn't magically start invoking your new function instead, something that inheritance and polymorphism give you for free.
more useful to just search for a keyword like "basecamp", at least when it comes to actual "news" that is reported from multiple sources, since it's not just about exact matches (vs if you are submitting someones private blog about some fun tech thing, it's relatively unlikely that there's a content dupe from another source, although that also sometimes happen if some news outlet wrote about the blog post and that got submitted - which it shouldn't, but happens)
And like people have been saying elsewhere in this thread, 3-6 months of severance is really tempting even if you weren't personally offended by this policy change. If you're confident that you could get another job afterwards, why not take a free 3-6 month vacation?
Here's an alternative that appears to accomplish the same thing:

# checkout feature branch
git switch feature

# reset HEAD while preserving changes to working tree
# commits on feature branch will become orphans
git reset --soft main

# commit all changes on feature branch
git add -A; git commit -m <feature description>

# checkout the main branch and merge
git switch main
git merge feature
I think the effects of price stickiness (on goods and labor) aren’t being adequately considered in these discussions. Yes, these restaurants could raise their wages to compete with unemployment, and many have. They’ll also need to raise their prices, which they have leeway to do, because everyone is facing the same costs.

The problem occurs in a few months when the bonus unemployment runs out. Then there will be millions more people looking for work. At that point, expanding employers will be able to hire at lower wages again. They’ll also be able to offer goods at lower prices. Employers who stepped up to pay higher wages won’t be able to compete. They’ll need to cut prices and cut wages or lay people off. That will be painful, which makes holding out until wages lower more attractive.

Employers can get around this by offering signing bonuses instead of higher wages, but they need to be large to compete with unemployment checks, and it may not make sense to do that for a few months of work.

These conditions may present a unique opportunity for policymakers to increase employment by raising the minimum wage.
Coinbase was about to go public?
As the article notes, much lumber production shut down believing COVID would significantly impact demand, but that was really not the case except for a very short period of time.

In my area in particular, I live outside of a city hit hard by COVID, and that had lots of workers who could transition to WFH. The combination means that city dwellers have flocked to the local suburbs in massive quantities, often buying up the cheapest houses & either immediately expanding them or simply knocking them down completely to rebuild from scratch. As a result, not only is it difficult to find local contractors available for even minor home improvements, local property values have spiked as much as 30% over the last 14 months. This has been greatly assisted by mortgage interest rates that as incredibly low-- I just refinanced and saved about 20%/month on my mortgage and an overall $50,000 saving over the life of the loan.
I was curious so took a look. IMHO:

- The body font is odd, I deactivated it in the dev tools and preferred the default.

- There is a letter spacing of 0.08em, which makes things very wide. I first deactivated it, but then it felt cramped. So I modified it to .02 and it looked about right.

- Text shadow on titles makes them look blurry. Looked a little better when I reduced the blur, but probably would look better to remove it.
I'm not sure you fully understand the experience of the typical young adult in this country right now. I'd say the phrase 'all pain no gain' is closer to reality. Compared with even the last generation (who had it pretty bad compared to the generation before them) the opportunity to have a reasonable standard of living is greatly reduced.
They've since moved to more anonymous platforms. https://www.reddit.com/r/Monero/comments/ae4keu/kidnappers_d...
I really doubt the OP did the machine work himself, those tools are not affordable for just using once or twice. Buying bore gages and mics however is totally doable.

And no, the LS motors have been in use since '97. Including the gen1/2 small blocks doesn't count, there are no shared parts between them.
I read that entire blog post just now and I am still none the wiser as to what happened
How free are mainland engineers to take jobs in Taiwan? Can Taiwan recruit from the mainland talent pool?
> Regen braking has no physical cost associated - it's pure software/firmware.

I think this is a slight exaggeration.

The way I understand regenerative braking is that you (effectively) run your AC generator in reverse of what you would in order to accelerate in the direction of motion and then take the current generated by that, rectify it to DC, and use that current to charge a battery. The energy in the system is provided by the back EMF induced in the stator by the magnetic field generated by the motor rotor. I agree that the AC generator is going to stay the same, but I think there's specialized hardware needed for the rectification and charging cycles. At the minimum, you need a more specialized battery and battery management system to make sure that you're balancing the charge across the cells in your battery.
> I don't know why they couldn't just raise prices and sell a device.

Not many companies can survive with Apple's business model, but without the luxury Apple brand.
head of marketing, head of design, entire ios team. Probably people they wanted on the team.

If you read this news as "employees (who yosito disagrees with) should shut the fuck up", perhaps you think this is good. If you read this as, "I joined this company as a place where my voice mattered and now I'm being told to STFU by a founder on a rage bender", it makes more sense why people are leaving.
So, you have experience in UI/UX yourself then to say this authoritatively?
I'm not asking to compare Java with WASM. I'm asking to compare Java applets with WASM. They try to do one and the same thing. And the response I usually get, that the difference is that the applet sandbox leaked but the WASM sandbox is strong, makes absolutely no sense. Why would solving that problem involve tossing out applets only to replace them with a clone of the idea? How does that improve the sandbox? If the sandbox is the problem, why not work on that? How do you know how strong the WASM sandbox is, really?
1) <10ms should be gray since those are effectively in-region numbers (and it would make the chart easier to understand quickly)

2) Times should be tagged with a theoretical minimum time and how far off the real number is from that.

3) (Bonus points) Times should also be tagged with a 'real' minimum time that is based on the lengths of the actual fiber lines and number of interchanges.
I'm super late to this thread and not that anyone cares what my opinion is, but why are so many folks against this new policy and are quitting Basecamp (as employees) over this?

From the looks of it you can still openly talk about whatever you want on your personal Twitter and other social media accounts.

It seems reasonable IMO to not talk country politics at work on a work account with other employees, especially on a medium where it's posted online, persisted and mixed in with other work related things as opposed to a private casual conversation in the parking lot or in a break room with no one else there.

I didn't look into this beyond Jason and DHH's blog posts but I saw Sam Stephenson quit Basecamp[0] a few hours ago over this change. He mentioned working there for 15 years and it's his life work. I don't get it, why would someone quit over this alone?

[0]: https://twitter.com/sstephenson/status/1388146129284603906
> it's much easier to fix merge/rebase conflicts when each commit is small and easy to reason about.

I agree, but I'd say it in the context of PRs. It's much easier to fix issues (and avoid them) when _PRs_ are small & easy to reason about.
Next to coal mining, the fishing industry is about as working class as it gets. Claiming to punch up for the fishermen plays well, especially when you're a load of Etonian toffs. Despite scandal after scandal, the party is polling well.

> who the hell benefitted from all this

The fish.
specifically https://news.ycombinator.com/lists
Yep - which is the appeal Universal Basic Income as Andrew Yang proposes...automation is inevitable, have it work for the people rather than increasing profits.
I guess it's important to note the scale here. About a third of Basecamp employees is ~15-20 people?
But there’s a risk associated with picking stocks. These taxes keep poor people poor. They will never get ahead.
Sorry, I’m not sure if I follow. Consumers are not rational, ok fair. But should we then listen to their demands to have things their way? Like devices, which can be repaired? Seems like a rational want? I don’t get it
Even so that's a lot of institutional turnover. Only a company with heavy seasonal patterns should be accustomed to that many people leaving.
Thank you, that's really helpful!

I'm always wary of getting stuck in the "I wish I didn't use NoSQL" camp, but thankfully I haven't been in that situation yet
Absolutely. The job market is going to be on fire for the next 1-2 years at least due to government stimulus, recovery efforts, “opening back up”, all that, you would have to be very confident in your decisions to do anything to jeopardize employee retention. But not my business, not my circus.
Another thing: if the job pays just enough to disqualify you from state-run healthcare (medicaid, etc), but not enough to pay out-of-pocket for health insurance, the only logical step for many is to not work.

This is especially the case for part-time jobs which do not provide healthcare.
Spent some time on this today, it's very close to how I think in general, and the "if you don't get this, you may need this, and this" is absolutely amazing.

There is a breadth first way of learning that this site enables, and for applying math concepts in code, this is way more efficient than wikipedia. Like if I want to learn to use the numpy fft package because I want to do something to an audio file, as a non-engineer, I'd use cognicull's FFT example to learn enough about the concepts to be able to use the library features.