skysight-inc/HackerNews huggingface dataset:
Disclaimer: I'm not the author but I've taken part in some initial discussions and testing of this project.

Usually writing GPU shaders in GLSL is a bit of a pain because they are often compiled on the fly (the application passes them to the GPU driver). In production you would set up a specific toolchain to compile shaders ahead of time and catch compilation errors, but it's cumbersome for smaller projects.

The goal here is to instead use the C++ compiler to validate shaders, by writing them as C++ code (using additional keywords and helpers on top of C++ and template metaprogramming). If a shader is invalid, you'll get 'regular' compilation errors in your IDE. The corresponding GLSL code can be retrieved at runtime by the application to give to the driver.

As the author explains in the readme, it started more as a thought experiment and a way to push C++ templates to their limits than anything else, but I found this quite insightful.
> ...for the environmental benefits.

Is tesla really considered that enviromentally friendly?

Isn't the real reason to pick a tesla over another electric car, that teslas are considered cool and give higher social status?
Why Is One Medical Worth More Than Casper?
I think some people get their enjoyment out of hyper-optimization rather than the hobby itself, which is also fine.
Build a Business, Not a Financial Machine (2016)
This is the most comprehensive document I can find on debugging in 9 and I still do not see a way to set a breakpoint in say a loop declared in a template. I may be missing something as I have not worked on an Angular project in probably 6 months. But I don't see template debugging I see being able to get reference to a component and then manipulate said component via dev tools.

https://juristr.com/blog/2019/09/debugging-angular-ivy-conso...
Why not just ask the people directly for their contact information? Or vice versa ask your friend to ask them if it's okay to hand out your contact information?

I've had several friends ask if it's okay to give out my contact information to third parties who were interested in acquiring this information to continue conversations through more private channels.

But there was always an element of consent involved on my part.
I think it would have to start with either regulation or customers requiring it.

I.e., contractually require someone licensed (where the license carries an ethic standard) or legally require it in areas that are 'in the public interest'
I looked at about 50 faces trying to find one with a strong jawline or hard cheekbones. Although the features and hair are very realistic, the algorithm does seem to stray away from distinctive features. The women especially have uniformly round and soft faces.
It would've been funny if you added to your review that they've threatened you.
No. It requires an over-the-air update to be installed. Car must be parked. There are some YouTubers who have managed to start an update while driving.. It's obviously not recommended. The update install doesn't start without the driver pushing a button though.
they are the same position though. thats the point.
Owning non-trivial amounts of stock doesn't make one into a capitalist, if that income is supplementary to wages - i.e. if one must still work to earn a living. That is the case for the vast majority of programmers.
> Just generally the idea that a "clean start", non-POSIX bound OS might design things differently, I imagine. Google's Fuchsia seems to hit some middle ground, where async is more foundational, for example.

Microsoft's (research, discontinued) Midori OS was heavily async:

http://joeduffyblog.com/2015/11/19/asynchronous-everything
I'm on a 15" MBP and I'm really missing the physical escape key (especially as a long time vim user).

I was considering the 16" MBP, but I think I'll just go ahead with my Hacking-tosh build instead! I spend 99% of my productive time at my desk. For anything on the move I'm more inclined to go "light", a 13" Air perhaps`. I was hoping iPad would cut it, but I'm afraid iPad OS is too limiting.
I think it's important to be passionate about your life's work. However, maintaining "good enough" across all dimensions of particular lifestyle or role is actually incredibly challenging.

Even for a standard engineer, think how many you know can code well, be leaders, AND can write good documentation.

For most things, it's always a "pick 2 out of 3" situation.
You beat me to it. Virtually every outdoor sports brand makes a big chunk of its revenue and an even bigger chunk of its margin selling "lifestyle merch" -- T-shirts, sunglasses, etc. I fail to see how this is offensive or inappropriate.

Similarly, it is intuitive that professional investors are going to want to try to buy companies like Hurley and Billabong amidst a societal trend of more people wanting to seem more surfer-like and buying T-shirts that convey the message "I'm into surf culture".

The anticapitalist tone of the linked article is especially ironic given that the popularity of surfing in the non-Hawai'ian world was driven entirely by the post-WWII economic expansion in the US mainland and AUS that gave teenage baby boomers spending money in the early 60's. Surfing has always been co-opted by capitalism; there are old dudes in the lineup at Dana Point who were bitching about the fakeness of the Beach Boys and Gidget when they were young men 50+ years ago.

None of this is new.
I have never heard of something like this, and we're hiring people in Germany. Which leverage would a candidate have if you give him/her specific feedback regarding lack of knowledge in required areas?

Can you name one case where this actually happened?

The only practical way someone could sue you is through "Allgemeines Gleichbehandlungsgesetz (AGG)" if they can prove that you discriminated them based on their age, gender or ethnicity.
The point of therapy is not to teach you, but to heal you.

The problem is we all carry around a lot of subterranean shame, fear and guilt, and your mind has a way of blinding you too it because those feelings are too intense to handle on a day-to-day basis. As a result, we all have blind spots and dysfunctional habits that we will defend at all costs. Haven't you met brilliant, highly rational people that keep acting stupid over and over again because they refuse to acknowledge their own problems?

We're all a little broken for emotional reasons, not rational reasons. Everyone knows they shouldn't smoke, and drink too much, and spend too much. But lots of people have problems with that, because it's not about a lack of knowledge.

A therapist, over time, gets you to open up, accepts you, and thus shines light on those dark places. When you accept them instead of reflexively rejecting them, you can actually see yourself with more clarity and thus behave more rationally.

So yes, you could learn whatever a therapist could teach you from reading books. But the benefit of a therapist is the relationship. You could also go through the same process with a good friend, but most people are bad at listening and being accepting, especially when you're sharing your deepest secrets. And sadly, most people don't seem to have the time. Haven't you ever tried to share something with a friend, but then they say something judgmental and you never show them that again? A therapist is trained not to do that.
> What they asked for was business casual for daytime then "step it up" with cocktail causal in the awards dinner

No, they were asked to wear "short but formal skirt".
Buying real estate using a blockchain
Except the metrics are overwhelmingly in Cook's favor on this one. Monumentally in his favor.
The funny thing about the examples you gave is that whether a man or woman, the clothing is the same. You're not making the point I think you're trying to make.

A male and female construction worker both wear dirty clothes and a hard hat.

A male and female stripper both wear no clothes.

A male and female clown both wear ridiculous clothes.

Whereas apparently male salesmen should be wearing short skirts and high heels? Or only women? That's the problem.
An extensive guide on how to style for RTL in CSS
If they're wearing glasses do the glasses look they were beaten into shape with a mallet?
The part where both sexes are asked to "step it up" to the same level of "dressing up", which is usually considered appropriate and expected in this kind of events anyway. This dress code description is literally what most people would imagine when told "award ceremony attire". But the headline read as if women were singled out and unnecessary sexualized.
How does the lack of thermald make it unsuitable? I run arch Linux and I've never installed nor used it (there's not even a package for arch in the main repos). Your firmware already knows when it needs to throttle.

AFAICT, what thermald gains you is a smoother degradation of performance; it starts throttling earlier and more gradually than would happen otherwise. It's not obvious to me that there's any actual benefit of this; thermal limits are what they are, and you pay the price eventually if you really need all those cycles. Whether my system is slightly slower for a longer period of time or much slower for a shorter period of time doesn't really seem terribly significant.
My fuzzy recollection is that the "analog hole" stuff was mostly pushed by Hollywood with respect to getting around encryption on DVD and streaming video (as opposed to music, where similar encryption schemes were foiled in the market by CD and MP3 already being good enough, if not outright superior to the "modern" formats), and that with the advent of HD content they eventually settled for analog outputs being limited to SD resolution.
Some items wear out fast. Climbing shoes have to be replaced or at least resoled yearly.
This is outdated. Tesla now publishes a full parts catalog. You can call up the parts desk at any Tesla Service Center and order whatever part you like (for the most part, a few critical parts are restricted). I believe they do ask for a VIN number, though.
There is actually something creators can do about it.

If you add your own copyrighted song to ContentID and add the song to your video, you can copyright claim your own video and prevent others from abusing ContentID to earn money on it.

https://www.youtube.com/watch?v=ieErnZAN5Eo
A Guide for Unit Testing in Apache Flink
Show HN: All-Purpose Idea Generator
The root cause is that 70+ years is laughably high for copyright to last. It should be changed to 10 years with the ability to update every 10 years with a higher cost financially each time.

Of course, the MPAA/RIAA owns our government and has for a while. Not to mention the trade deals the US brokered in the last year made sure to taint the copyright duration of every other country too so this will probably never get fixed until we all decide to practice some Civil Disobedience.
European countries don't have democratic socialism. They have social democracy, which is still a capitalist economy, just with more of its output redirected into welfare.
Give over estimates and save junior developer by mentoring for their next job
Is that a good thing? "Engagement" is usually toxic Skinner boxing.
Note that this issue was not flagged by content ID, but manually.
This isn't under the DMCA but still interesting: https://mdcourts.gov/sites/default/files/unreported-opinions...

Tl;dr Amazon seller filed a false counterfeiting allegation against another seller. A jury found "$4,460 in compensatory damages" and awarded 150k on top of that in punitive, reduced by appeals court to 75k.

Biggest award for false claim of IP infringement I'm aware of. Unfortunately it was in state court and not precedential. And with all the appeals it likely cost them more than 100k to litigate.

I currently have a similar case ongoing, and I know of a few dozen other cases. See e.g:

Argo Holdings, Inc. v. Youngblood Skin Care Products, LLC (0:19-cv-60487)

ABG Prime Group v. Innovative Salon Products (2:17-cv-12280) (settled)

Verbena Products LLC v. Sesderma USA LLC (1:19-cv-23778)

Verbena Products LLC v. Suavecito, Inc. (1:19-cv-24001)

Verbena Products LLC v. Pierre Fabre Dermo-Cosmetique USA, Inc. (1:19-cv-23616)

SZS Solutions, Inc. v. Brother International Corporation (0:17-cv-61942) (settled)
There is a lot of hand-wringing over consumer behavior here in the comments, but nobody is pointing out the extent that Wall Street is involved much like they were in the Mortgage Crisis of 2008.

> Yet for the auto industry, there was a silver lining: Interest rates had fallen to practically zero. Suddenly, it was much cheaper to finance a car. Loans made to buyers were snapped up by Wall Street investors looking for returns as income from supersafe Treasurys drifted toward zero.

> The combination of rock-bottom rates and yield-hungry investors helped bring the U.S. auto industry back to life. By 2015, auto sales had reached records.

> Low rates, in effect, served as a bailout for the entire auto industry. Last year, investors bought a record $107 billion of bonds backed by cars, according to the Securities Industry and Financial Markets Association, a trade group. That is the first issuance record since 2005 and nearly triple the amount two decades earlier. The outstanding pile of auto bonds swelled to a record $264 billion.

> So far this year, dealerships made an average of $982 per new vehicle on finance and insurance versus $381 on the actual sale, according to J.D. Power, a data and analytics company. A decade earlier, financing brought in $516 per car and the sale made dealers $837.

> Finance managers at dealerships typically use an electronic portal to hash out the terms of the loans. On the other end are various financial institutions that buy up the loan pretty much as soon as the dealer closes the deal.

So the entire incentive structure flipped to reward financing rather than purchase in the last decade. It's no wonder that dealerships are increasing the terms of loans. Banks are snatching them up and putting them into securities practically sight unseen while the debt just keeps piling on.

We can talk about consumer behavior all day, but did behavior really change over the last several decades (specifically since the 2008 Crash) or are other factors driving this like Wall Street types starving for yield? Looks like we're watching the highly anticipated sequel.
Yes. Given that women on average show higher agreeableness (as in big-5) than men, it seems likely that this dynamic would be more common with a male exec and female subordinate than in other combinations.
It's important to say "no" or "we shouldn't be doing this" especially at startups. In my experience many startups hit a brick wall and it's the responsibility of new hires and promos to try and help the company move past that wall. As an engineer it is often the case that the company is solving the wrong problems. Running a strong team - that's the easy part. Pushing back on management and being able to collect data to defend your position and support your proposal - that's more difficult
Dariusz Sikora and Lidia Gryszkiewicz (Limitless.lu) – Fraud from Poland (Alert)
> Slightly OT (payload rather than instrumentation), but I was able to work on a CubeSat [0] project as an undergraduate at a small state school, which was an absolutely amazing experience.

This is a great example of how downward-trending costs of putting things in space have already opened doors. There are certainly more dimensions to that trend than SpaceX selling cheap launches.

When I went to university, CubeSats were barely a thing, unfortunately.

Also, the idea of filling up space with little chunks of non-government science and engineering seems to go against the stated position of the guy I've been replying to.
What Startup Success? Keep It Simple Stupid
Borders. That's the problem in the EU. Cooperation for massive infrastructure project beyond a single line or a tunnel is very hard to achieve.

Discount airlines are discount mostly because of tax incentive to develop small local airport around the EU. Of course they are popular. In the UK, from London, it is basically cheaper to get anywhere in the EU than anything north of Birmingham.
It is the move to crossover type vehicles and SUVs which are almost all over $30k. People think they need something "good in the snow" and that can carry a lot of cargo. Both things that most rarely need. Even in very snowy and cold areas like Vermont, I see people come up in their CUV with "all season" tires and slide off the road while there's locals ripping around in a Civic with winter tires. If they want something good in the snow, winter tires are a lot cheaper and will outperform a CUV on all seasons.

But yes you can buy reasonably nice cars for ~25k. The truck market is driving up the prices.
>One thing I miss about Steve Jobs is that he hated fan noise. The fact that Macs only made noise under extreme load was something that I really appreciated.

Yes but those were the era of Mac. When Apple were trying to make Mac like an Appliance. But we dont need that anymore. We have a Fanless design that is capable of 90%+ of most consumer's work. It is called iPad.

Without Steve Jobs, the iPad didn't know where to go next.

But now the Mac is mostly a Prosumer Product. And those workloads require fan cooling. Steve just dont like the idea of a consumer product with constant fan spinning.
Here's the quote in context:

>the dress code for the daytime sessions is business casual. For the Awards Dinner on Tuesday evening, we're trying to step it up a bit and ask that you dress cocktail casual (Men: blazer/sport coat, stacks, suit, Women: short but somewhat formal dress and heels)

(emphasis in original)

Point being, the original quote is asking both men and women to dress up, but the article implies, with its clickbait headline, that it’s only asking women how to dress.

And, yes, I'm still very frustrated at how, in the mid-2010s, the outrage press strongly implied that the scientific consensus states that Alcoholics Anonymous has a 5% success rate. Actually, that was just the opinion of one medical doctor and that 5% figure does not come from a peer reviewed study; the mainstream consensus is that Alcoholics Anonymous works great for the 25% or so of alcoholics who actually go to meetings regularly.
Tesla is another arbiter of control in the guise of being good. Haven’t trusted them for years, would never buy one.
I prefer cat-then-pipe while using shell interactively. It's easier to add things to the middle of the pipeline. You simply move the cursor the pipe character, and type another command.

Original:

cat error.log | grep 'ERROR:' | wc -l

After change:

cat error.log | grep -v 'SENSITIVE' | grep 'ERROR:' | wc -l

But with cat-less version, you have to think and sometimes even move things around.

Original:

grep error.log 'ERROR:' | wc -l

After change:

grep -v 'SENSITIVE' error.log | grep 'ERROR:' | wc -l

Moreover, some commands behave differently in cat-less mode. For example, gzip:

gzip file.js | wc -c # oops, we've just removed file.js
cat file.js | gzip | wc -c # shows compressed size
I don't like the acidity much either. Cold brew is pretty good in this regard.
Additionally, it would effectively need a branch per file as you would not want to rollback a file and lose other changes made in the same commit.

At the very least you need to be able to cherry-pick files from within bulk commits.

you would also want the ability to block common files like logs and things that are inconsequential... Like a root level gitignore.
A Yogi Influencer’s New App Is Getting Ripped Apart by Fans Who Feel Ripped Off
That wasn't the question on the questionnaire though, as BetaCygni points out somewhere above in this thread.

The Dutch questionnaire only answered the question if you are allowed (and sometimes do) work from home.
Why would that money be down the drain? You're talking as if the car is still broken.
Just as a PSA - I develop food and beverage products (both premium and mass market) with Analytical Flavor Systems (a predictive platform for flavor);

no one in the industry - not a single person who knows anything about coffee - would recommend civet coffee. Its a marketing gimmick of the worst kind. Its destructive, a-historical, and does not result in a better product.

Any random "3rd wave" coffee is better, and if you want a fruity-fermented profile, just look for a "natural process" or "honey processed" coffee.
I prefer 1:1 when there is something relevant to discuss (merit increases, onboarding, significant problems). Personally I believe this is the best way the manager/employee relationship should function. Email and daily interaction should be more than enough to maintain communication on projects, work, etc. The clear sign of a good manager is the less 1:1's the better. That means the manager is respected enough by his subordinates to know what is going on with his team and the team can collaborate enough to solve problems without constant involvement from the manager.

When a manager has weekly 1:1 meetings, time to find a new job...and fast. That is a major red flag if the manager unable to keep track of the team OR upper management is getting ready for layoffs.

In fact, when go through the interview process once question I ask is are their views on 1:1 meeting, how often are they, are they mandated by upper management or just the manager's preference.
Sure, would love to know what a change your actions would take with this mindset, thanks.
Hi, PM of KV here. You should be seeing speeds improve in Europe within the next few weeks. Your intuition about the single master is currently correct, we're adding a second master in Europe soon, for exactly this reason.
Watch the video please; the exact section that was claimed to be from the song Dark Horse was actually from a different song entirely, which the lawsuit referred to in the original video was about.

And they lost the lawsuit. They cannot claim copyright on that segment because they were found guilty of plagiarism for that exact segment.
> it’s a pathological, immature state of mind.

So, exactly the state of mind that leads one to become a business executive than?
The alternative isn't to buy a brand new car for the same amount of money. The alternative is to actually buy a car you can afford.

You are still losing maybe 50% in the first year in depreciation. If you are paying it over 7 years then you are under water on the car from the minute you pick it up until it's paid off in full.
I do disagree with the rule, but I fear you're having a knee-jerk reaction either to me or to any criticism of the rule and thereby missing my point, which I don't believe you've addressed at all:

If you can explain in a short, simple sentence what the broader purpose of the rule is, then do so in the rule itself. Brevity may be the soul of wit but, but I expect a higher standard than rule wittiness from HN. The https://news.ycombinator.com/newsguidelines.html do this fine.

Wouldn't you rather have compliance than enforcement?
It was fixed in CRDB also: https://github.com/cockroachdb/cockroach/issues/42942
I'm going to disagree on a lot of this.

The Triton fethead is just a "plug it in and go" solution in a lot of setups. That dbx preamp has a lot of knobs that, for the most part, need to be set right in order for it to work at all - let alone help the situation.

Also worth noting that the fethead is tiny - it sits inline with your cable, whereas that dbx requires you to mount 19" rack gear at your desk, which is a big ask for a lot of people.
I second this. For $2000 I built an absolute monster of a desktop PC. Super fast, never an issue and I use it for everything. I only use my MacBook when I wanna sit on the couch and that's it. Thankfully I got my laptop through work almost for free because it wouldn't have been worth the money.