jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
So if I absolutely hate debugging, it means I'm not meant to be a programmer after all (even if I otherwise love everything about programming)?!

I hate debugging (and more generally "diagnostic reasoning" in general... also went through med school long time ago), that I've actually become a "language geek", researching language after language and programming pattern after pattern in order to find strategies to reduce as much as possible the debugging work that I have to do. I've learned Lisp. I've started learning Haskell. Rust is on my "to learn" list now too. And my absolute hate for debugging work makes me research new things every day in the search for that nirvana where code that compiles always works and where you don't have to work 5x as hard to please the compiler either...
But honestly... is it?

In my experience, if you have a good brand image and a track record, people just assume you have contingency plans, lots of funding and/or a second programmer on staff.
I completely disagree with the assertion that interface design is an "inborn" trait. Most people suck at it because they have not spent the time learning how to design a good interface (the whole 10,000 hours thing), usually because it isn't a priority or interest for them.
It is, as Bernard Wooley would say if he were still around, one of those irregular verbs.

I pivot, you change your mind, he flip-flops.
Can you break into trivial steps the problem of how to break problems into trivial steps?
…but… if we don't rely on spatial compression to achieve the density, but instead use temporal compression…

1) Consider a mirror which rotates through n angular positions.

2) At position zero it reflects off "secondary mirror #0" and onto our target at X microseconds.

3) At position one it reflects off "secondary mirror #1" and onto our target at X-k microseconds.

4) At position n it reflects off "secondary mirror #n" and onto our target at X-k * n microseconds.

5) If we turn the rotating mirror from position 0 to 1 after k microseconds, we have darkness on the target for X microseconds, then light from both secondary mirrors 0 and 1 for k microseconds.

6) If we rotate through all n positions at k microseconds/position we get n times the light at a 1/n duty cycle.

7) As n goes to infinity: PROFIT!

Mathematicians might solve for the shape of the now continuous secondary mirror. I would just write a javascript program to approximate it for segments of length epsilon. Ultimately the CNC equipment that makes the mirror will have an epsilon anyway.

You may wish to use a mirrored polygon to sweep the usable angle of your secondary mirror repeatedly.
Is recur kind of workaround? Any performance penalty?

Please bear with me as I'm not familiar with Lisp family languages. I'm interested in ML languages. There is a project to port OCaml to JVM, but I don't see any sign of progress, so I thought it may be something on JVM to hold them back.
[2]: No zero lost or gained.

[3]: Err: 100m² are enough get the 100M concentration on the square millimetre, right? A perfect lens of that surface would only need to be about 11 meters in diameter. Error on your part, or did I miss something?
Lady Gaga? Sign. me. up.
My suggestion would be to think of confidence as if it were a skill and, like any skill, practice makes perfect.

The fact that you have recognized an area of your life that you want to improve and even specific situations where you know you can/want to work on it is half the battle. The other half is making a conscious effort to be more confident and less shy when these situations arise. Part of this is fake-it-til-you-make-it, and part of it is re-wiring your brain to be open, communicative and confident in these situations instead of shy and/or anxious.

As far as a book recommendation goes, I read a neuroscience book (written for the layman) that while not dealing with this topic directly, will definitely provide you the knowledge and understanding of how to improve. It's called "The Brain That Changes Itself" by Norman Doidge. It's about neuroplasticity, how it works and how you can use it to change your habits, behaviours & skills.

This has been one of the most impacting books I've read in my life. I have purchased more than 10 copies for family and friends and everyone who has read it has come away amazed and able to make almost any positive change in their life.

Cheers & good luck!
> In my opinion HTML/CSS/JavaScript is the best interface design technology ever invented.

Given my experience with the dozens of UI frameworks we enjoyed since the early 80's I cannot agree.

It cannot be called anything else other than a big hack.
Lottery Pools.

The lottery pool manager where we work keeps a physical list of who has paid up. Email invites were being sent through our company emails, but the higher-ups put the squash on that. She then scans the tickets, makes copies, and hands them out.

I decided to build something that would automate all of this except the buying of tickets.
We replaced "suffers" with "records".
I learned with this article. And it teaches how to combine Poetry with Pyenv effectively.

https://blog.jayway.com/2019/12/28/pyenv-poetry-saviours-in-...
A Jenga turn requires you to remove a block from the tower, and then add the same block to the top of the tower.

You seem to be claiming that you believe these two actions (subtracting and adding) are theoretically of equal difficulty - but in practice, they are not equally difficult.

It's far more common, almost to the point of certainty, that you will lose by removing an existing block. You are vastly more constrained in your actions when removing blocks that are already placed.
I guess you don't find it embarrassing so you don't see the problem. You're probably in the category of people snickering at some young woman made to say "cock" publically and not in the category of people who are made to feel intensely uncomfortable by it.

Names are arbitrary, why should anyone be so attached to this name, or any other name, idiom, or figure of speech that offends, embarrasses or diminishes others? Because historically we've been able to get away with it?

If you don't care that's fine, but please don't sound so hard done by because people are thinking about how other people feel.
This is the thing though. You're talking about snapshots which actually have duplication removed... in my mind this really fits more with the 'diff' model. I've already done the exploratory diving-into-git-internals thing years ago, so I could develop a better understanding of how things actually work.

But for newcomers who want to understand how git is working, it really makes more sense to tell them it's 'like a diff. Not exactly under the hood, but think of it like a diff for now'. This is what I've been telling people as I've mentored a number of people in getting acquainted with git over the years, and if they're curious enough to look under the hood, they'll get a better understanding of the internals.

As a programmer, what you're working with is essentially the diff. This is the easiest way to think about things initially. The fact that git is storing blobs under the hood, shallowly deduplicating blobs but still storing large chunks separately that may contain duplicate data, until it generates packfiles which do a deeper deduplication/compression, is really not that helpful. Telling people it's more like zipping is a bit disingenuous because it doesn't really explain how things are compressed more efficiently over the course of many changes.

If I have a 1MB code file and make 1000 commits of one-line changes then sure, git is initially storing large blobs representing those, but then will compress over the change set when it generates the packfile.

Compared to making a zip of the file for every change (say these are 100KB compressed) and now you have people thinking the 1000 one-line changes generate 100MB in the .git directory.

You may think that a 1MB file with many smaller changes is a fabricated example, but consider that dependency lockfiles (package-lock.json I'm looking at you) can easily grow to this size, and contain this many changes.
Anecdotally, high intensity exercise like deadlifts or full sprints doesn't leave much room for thinking. But on a half marathon over a few hours, with nothing but the sound of the wind and your feet on the ground, after the first 15 minutes you've already thought through your plans for today, then after the first hour you've already thought back to that mistake you made last week, then it's uncharted territory. So the ability to do some thinking during low intensity exercise surely contributes some benefits to the brain. It's hard to feel any sort of neurosis at the end of a long run for example.

My guess is that increased heart rate and blood pressure increases, and sustains for a long time, blood flow in the brain compared to sedentary activity or short, high intensity exercise. From my experience, lots of lifting was great for improving mood, but it wasn't until I began running medium and long distances regularly that I felt any smarter than my couch potato baseline.
In practice, rebasing increases conflicts, requires teams to time their merges, and obfuscates the history of the project.

I never understood why people think this is a good pattern.
I guess. I just envision a random scenario where a league of... overweight women, are all on the same flight.

This seems to be in the UK, so what if an all female travel group, from the US, for the portly, showed up? When I visited the US, there seemed to be an inordinate amount of people in scooters that were quite.. large.

At least, this is what was in my head.

Then again, I just realised... do they have to buy two seats? Maybe I'm over analyzing all of this.
> That's an SUV/crossover

This is easily the stupidest excuse for logic I've ever heard. The PT cruiser is classified as a truck. Does that mean it's the same size as a RAM 3500?
And it makes sense that it could be intentional. There is a ton of rivalry between France and The US, in cultural terms. French people have a contempt attitude towards US citizen manners, they think they are rude, loud, and often self-centered. When you go to France, don't you dare to speak to someone in English, they are gonna freak out.

I believe it is pretty clever to defy them by using a French word that sounds a little inappropriate in English, if that were the case. Totally legal. But if its not, why should we, non-US Citizens, have to bare linguistic and cultural impositions because some feel 'uncomfortable' with the way we express in our own languages? Totally non-sense.
MSE support is Windows only for this release. You can turn it on for other platforms manually via an about:config setting but it is less tested.
He's got a bunch of books, actually my favorite is "The Yoga of Eating" even though I'm not in the market for diet advice.
I still have my IR light-pen somewhere that I bought for his Wii Whiteboard app[1]. This was just a few years after the Minority Report movie, and multi-touch was still something that felt super sci-fi to me at the time. Seeing it come alive with just a wiimote and an IR pen was neat.

1. http://johnnylee.net/projects/wii/
I think the GP is saying that they wonder if an equivalent Northern European with identical stats would have been rejected.

They're not disputing the fact that some white people get denied, but rather that they get denied less than other groups.
There are a really great soup to nuts explanation of implementing neural nets in Haskell in issue 21 of the monad reader http://themonadreader.files.wordpress.com/2013/03/issue214.p...
This is what open protocols were for, but those stopped being viable when trapping users to spy on them became more valuable than selling good services and software.
Here's the result of 30 seconds of googling:

USA Today:

"The Uber executives who viewed her files, which included CEO Travis Kalanick and senior vice president Emil Michael, had started to believe the incident had somehow been orchestrated by Indian ride-hailing company Ola, according to reports"

The Guardian:

"Last week, however, it was reported that Uber took a different view of the assault internally. Alexander, then the president of business for Uber Asia Pacific, reportedly traveled to India in the days after the attack and obtained the victim’s medical records. He then allegedly shared those records with Kalanick and Michael, the senior vice-president for business, and the group theorized that the victim was part of a conspiracy by rival Indian firm Ola to damage Uber’s reputation."

BBC:

"Several media reports cited in the lawsuit said that senior staff at the ride-hailing company, including Travis Kalanick, the former Uber chief executive who was ousted in June this year, and former executives Emil Michael and Eric Alexander, had questioned the victim's account of her ordeal."

The suit settled out of court, so we'll never see all the evidence, but this behavior by Kalanick and other upper management would be in line with his their hiding Uber's actions from regulators via "Greyball" and spying on Lyft's drivers. (Google "Uber Greyball" or "Uber Hell" to learn more about those programs. Contrary to your claims, neither of them were ended before Fowler's open letter.)

It is certainly true that their competitors also behaved badly. But your original post was about how amazing Uber's engineering culture was before Susan Fowler publicized the ongoing, systemic discrimination against women there, at which point all the goodness went away and your good times were spoiled. That honestly makes you look like a clueless, sexist jerk, which I would like to think that you are not.

https://www.usatoday.com/story/tech/news/2017/06/15/uber-sue...

https://www.theguardian.com/technology/2017/jun/15/uber-indi...

https://www.theguardian.com/technology/2017/jun/15/uber-indi...
Yes, but it's always always better to have a policy in place than to make one-off decisions.
SGX is also supposed to protect against Signal as a potential adversary, though, as well as against hackers. Or at least that's how I understood the blog article.
One should build a service that will save the page as an image while keeping textual content of the page separately for searching.
Facebook can be seen as the new AOL.

"Hey, there's this thing I can use on my computer to keep in touch with friends,
events/celebrities/companies of interest to me, and where I can play games …"

"Oh, yeah, I've got that too; you mean the internet, right?"

"Duh, I mean Facebook!"

However, I think there's a proper place, and need for something like Facebook.

Going to a blog, or a company's website, or a forum, or whatever, is like reading a particular magazine, or going into a particular shop, or going to your usual club, or whatever. You know exactly what you want, and you go do it.

Going to Facebook is like walking along the corridor, or street, or hanging out in the staff room, or town square. You randomly bump into friends, co-workers, acquaintances, and just say hi, or exchange gossip, or recommend to each other whom to talk to too, what events to attend, where to shop, what was on TV last night, the weather … . And then you go back to doing proper, specific stuff.

Facebook doesn't hold a huge appeal for me personally, since I don't do much of the real world things it provides the online equivalent of. But for most people, doing those things, whether on or offline, is an essential sauce to their lives.
Excellent, puts me in mind of the nursery rhyme popular when I was small: My friend Billy,
had a 10 foot willy,
he showed it to the girl next door.
She thought it was a snake,
so she hit it with a rake,
and now it's only 4 foot 4.
If you want disk parallelism, RAID 0 is probably easier than Hadoop.
That's clearly not a bet against hedge funds, but 'investment professionals', which in this case are these people offering pooled funds to the retail market. I agree with it and I'm sure many people in the hedge fund industry would agree with it.

I'm not talking about all hedge funds managing tail risk for their own portfolios, but funds which are designed to do nothing but hedge against tail risk. They provide a valuable service, and a small allocation to such a fund in concert with a large holding in the S&P500 will often outperform the S&P500, even if the fund itself loses money.
I've looked at this repo multiple times recently and can't figure out what it does. Am I missing something? Can someone help explain it?
Sounds like Warren Buffett is a boglehead? Or a cheerleader at least.

I confess to having drunk the Kool-aid and can report that I no longer have investment anxiety.
> not to mention the mandatory spyware on Microsoft's side of the fence.

I'm curious. What does Microsoft do that Apple doesn't? I'm a happy Windows 10 user. What should I be worried about?
Newer GPUs still require it.
I think the Windows UX is pretty dogshit overall, but part of the appeal of Linux is how varied each user experience can be. You're expected to tailor a workflow that works for you, rather than adjusting an existing one to fit your needs. For some people, OSX just "clicks", but that's the case for every operating system.
Correction: Cognitive dissonance becomes really common at any political extreme.
It’s actually basically nothing if you do the math…
Let’s assume 50 million macs for a half hour at an average wattage of 20W TDP, wolfram alpha tells me worth that’s 360 metric tons of co2 , or about 24 USA citizens worth of co2 for a year. 24 <<< 300 million people in the USA, apple isn’t having much impact. I’d argue windows would be far worse anyway…
You can get that without a programming language revolution by reformulating the problem a bit.

For instance 3D-API shading languages do just that under the hood, just without the "parallel-for". Instead you tell a 3D-API what code should run per-vertex or per-pixel in (usually) a traditional sequential C-style language, and the GPU driver and hardware care about the parallelization and scheduling.
Increasing the availability of any kind of labor (whether ordinary programmers, or "great" programmers) always lowers the price, and if it didn't lower the price, there would be no effect. The startups looking for great programmers could find them if they stole them from Google or Facebook for huge salaries.

The problem with this debate is neither side has the intellectual courage to state their side properly.

The protectionists latch on to the "indentured servitude" issue even though employers would want H-1Bs whether or not they could hold being fired and having to return home over the employees head (and I personally have never seen this happen, I assume it only occurs with the lower tier workers hired by contracting companies, if at all). Protectionists pretend that this is the mechanism through which H-1B's lower wages, even though the real effect is via increasing the supply.

Similarly people like pg say that the issue isn't wages, even though, as I mentioned, the issue can always be expressed in the supply curve of labor, and equilibrium wages.
You just invented FAB-MAP, though lower-level appearance-based features are used in real life:

http://ijr.sagepub.com/content/27/6/647.abstract
You lie to people every day just to function normally in society. You must be a terrible sinner. Boo hoo.
I believe that they are PR and marketing experts. They've created a big buzz that has everyone talking about this car.

"Armor glass" that completely shatters when you throw something at it by hand? Come on...

Also, why would it need armor glass in the first place? They picked a gimmick that is irrelevant to the product so that this "failure" does not hurt at all.
I wish they wrote more about how the search space is created. There is appendix A that talks a little bit about search space representation, but doesn't give any details about how the search space is created in the first place. Is it choosing the architecture from a set of given manually created architectures or is it actually creating them at random?

There are some references to other papers so perhaps the details are those papers.
> Can you explain why 'super strong windows' is a useful feature to have?

I am also not the target market and it is not something I personally find useful. But the post I was replying to was nonsensical (I don't see why they didn't pick the commodity option -> must be gaslighting).
I am not very familiar with Go but panic() and recover() seem like neat features.
He did look a bit shaken up by it. As if he was less concentrated on the presentation after the incident.

Apart from that, I do think he handled it quite well. Best to laugh it off and not make a big deal.
>It absolutely must, or else it's basically already too late:

This is solution bias though. "We need it to work therefore it will"

The universe doesn't owe us anything. DAC has been added to these scenarios as a sort of balancing element to make the models add up but that has no bearing on whether DAC is possible at scale.
It's a PR stunt.

Very likely since now everyone knows about Tesla's new truck and I doubt anyone in the market for such a thing really cares about indestructible side windows?
Things like “danger,” “skill,” “knowledge,” and “safety” aren’t really part of license exams in the US. They’ll pretty much just give a license to anyone here, literally.

It’s actually one of our bigger problems (it has big implications on safety, infrastructure, urban planning, &c.), but not many people really care. Cars are too deeply associated with “freedom” and “success” and individuality; for a lot of people I’d say they might be the biggest icon of America after the flag.
> has pretty great and clean authentication support. https://docs.servant.dev/en/stable/tutorial/Authentication...
> with the availability of parser combinator libraries like Attoparsec.
> you hide these in a config file for your project.

etc. etc.

You're not helping the cause of "this is 99% readable" ;) If you add proper authentication and parser combinators [1], and configs, and.... It becomes anything but readable to a person without specific Haskell and very specific library knowledge.

And yes, I do have exposure to FP having worked with Erlang for a number of years.

I also seriously detest the unexplained love for ASCII art among many lib authors in the FP space. Servant is one such example: :> :. :<|> ! At this point, why not use J :)

[1] By the way, unless I'm mistaken, there's next to zero useful documentation on Attoparsec, there's only barebones package documentation. And no, you don't validate data using parser combinators unless your data is only strings that resolve to some DSL.
I don't think the 'legacy' distinction is on the language, but a specific codebase. It's certainly possible to have a C++ codebase over 20 years old, which I would consider 'legacy'.
I overly obsessively watch memory usage and in my usage this usually indicates a pattern of consuming most RAM then purging some of it (common example is closing a browser window with 10ish+ tabs). It’s not that the OS favors swap over RAM, but that it’s very conservative about bringing memory out of swap once it’s there, because it had already been designated as low priority and may deoptimize higher priority usage in new workloads.
I'm just going to assume that Betteridge's law of headlines is in full effect here.
Sorry about that. Three people asked the same question, so I updated the post after.
> I think, aside from the issues with downvoting, upvoting by nature slowly creates hivemind, circle jerk communities that quickly start to lack any real critical thinking.

I don't think voting has anything to do with it. I think that people's natural tendency to (1) imitate others that they respond to positively, and (2) seek out communities where there are people they respond to positively and where people respond to them positively, and avoid other communities, tends to lead to communities of likethinkers, especially when the cost to leave or join communities is low the way it is online.