skysight-inc/HackerNews huggingface dataset:
There's some nuance. DOM mutations are still expensive if you interpolate reading and writing operations. The declarative paradigm allows frameworks to batch same-type operations to prevent double repaints. This is the upsell of virtual DOM vs jQuery, but it's not a benefit that is exclusive to virtual DOM.

Virtual DOM comes with a different set of trade-offs in terms of needles and haystacks. If you have lots of mutations relative to the size of the DOM, then virtual DOM overhead per mutation is relatively low. But if you're only updating a single element in a very large tree, then you are incurring a lot of overhead per mutation.

Another modern confounding factor to be aware of is that some browsers (notably Chrome) have made it so that mutations through the DOM API no longer cause a repaint to block the main thread (which is how every UI system ever should work, really). What this means is that any performance benchmark that uses JS APIs to measure UI responsiveness is going to be problematic (either by not measuring repaints correctly, or by adding a ton of confounding factors by shoving the macrotime queue of setTimeout/friends into the measurement)

Also, qualitatively, there's different levels of overhead. A repaint takes in the order of hundreds of milliseconds (i.e. it can be noticeably expensive). DOM API calls are also "expensive", but only in the order of a millisecond or so; you do want to touching the DOM unnecessarily if possible and virtual dom helps avoid silly mistakes like re-querying the DOM on every event like in the `$('.foo').on('mousemove', () => $('.bar'))` anti-pattern. Virtual DOM is "overhead" in the sense that allocating memory for a virtual DOM node is "expensive" (compared to not allocating any memory). But we're in microsecond-per-instance territory at this point. You need large haystacks with very small needles at high frequencies in a slow device to experience human-noticeable performance degradation from virtual DOM object allocation overhead.
This article is hot garbage and so is much else Paul writes. The comments were 10x better than the crap written in this article like seriously? You should write a motivation book too.
Yeah, people like having purpose and feel good contributing to a shared goal.

If the work is stimulating, and the company is doing something you find valuable (or it’s your own company) then that’s very fulfilling.

There’s some cultural trope that everything is zero sum and that people can’t possibly enjoy their work or get value from it. I think this is just empirically wrong. People don’t just “think” they enjoy hard work, many actually do - and feel worse when they’re having trouble doing it.

I like the essay a lot, but I’m not sure it meets its title How to work hard. It lays out that to do great work you must and that it often feels good to do so. John Carmack proofread the essay and is probably one of the hardest working programmers alive (in addition to massive natural ability).

I think a more common problem is people that want to work hard, feel good when they do so, but have a hard time getting themselves to do so. Strategies around getting better at this (the “how”) are difficult. He touches on it a bit with how goals must be set once out of school and no one will set them for you. Interest helps, but is often not enough.

There’s of course also the group of people that don’t value hard work and don’t feel bad from not working hard/meeting potential, but I actually suspect this group is smaller than most think (and less interesting to discuss given the topic).
Yes. I make under $100k with 9 years experience and a masters as a midlevel.

https://www.glassdoor.com/Salaries/software-developer-salary...
>it's necessary but not sufficient.

not even necessary if you inherit it
Toxic culture with no team work. You were in someone else's section. You weren't in a restaurant but at a feeding trough.
And so it begins: We start applying human rights to AIs.

Not a critique on your point, which a was just about yo bring up myself.
https://www.diffblue.com

Here you go :)
If you're a user on a spotty mobile connection in a rural location on a low-end device ... both.
That's a bit like saying "why bother serving wine from bottles with impractical corks, each table should just have a wine hose with a tap". Going to a restaurant is an experience. A waiter, a physical menu and lots of other inefficiencies are part of that experience.
“Unexciting” an Anxious Brain: Novel Drug Reduces Anxiety-Like Behavior in Mice
I'd say it's more than 'just' an autocomplete system.

Naive autocomplete, as implemented in Excel since forever ago (and I'm sure long before that, I'm just familiar with being annoyed by Excel suggesting wrong entries from its simple and over-eager autocomplete system), merely matches a sequence of characters - if I typed "aut" again in this paragraph it will suggest "autocomplete" because I recently typed it. Implementing it is the kind of task you give to a first-year programming student to practice string matching data structures, similar to a spell checker that merely checks that a string exists in a dictionary.

There's a spectrum from 'just' autocomplete, to a syntax-aware system like VS Intellicode, to this, and eventually beyond this. As mobile predictive text is to a spell checker, so Github Copilot is to autocomplete. As mobile predictive text is to GPT3 [1], so Github Copilot is to...what next? GPT3 is not just a spell checker.

[1] Also by OpenAI: https://news.ycombinator.com/item?id=23345379
Patterns of Distributed Systems: Version Vector
I had fertility issues and my urologist showed me how sperm levels generally follow a wave pattern and taking the sample at the bottom and the top can have a very significant delta
Entirely agree.

Instead of worshipping hard work, maybe we should be promoting "smart work". As a society, we don't need a bunch of overworked and burnt out people in their late twenties. That's not good for anyone.
They just left out that context, i.e. decrim doesn't change the fact that you are forced to go through a criminal to obtain them.
To be fair, even if you know everything about a table saw (or a band saw) you can still lose fingers.
RudderStack's Vision for a developer first CDP
Personally, I just had to click on the "login" button then to fill a username and a password.
Thanks. It could be worse, I'm in a position where I can just push back on that crap. The only really frustrating part is when the same people do it over and over and I have no real easy way of influencing them because they are outside my org.
This is a good post. Thanks for sharing!
But then it wouldn't be consistent with the use of Gates as an example. That's basically the point.
I'm the poster you responded to, and I think you've taken some things out of context. Of course there is sexism. I was talking about history, and history has a lot more sexism than a lot of western, more "liberal" countries retain - and this is a fairly recent development.
I wonder how Copilot's suggested snippet compares if the comment is a CS1 homework prompt.
Europe risks ‘chaos’ at airports without coordinated vaccine certificate rollout
What if a human copies GPLv2 code?
I've heard hard work described as increasing your luck "surface area". So imagine you're trying to catch luck "raindrops" and you're Bill Gates - sure you're busting your ass but you're starting off with a football stadium sized bucket in monsoon season. A poor kid from Baltimore with divorced parents could work as hard and end up with the analogy-equivalent of a coffee cup in Death Valley
s/OpenAI/Photoshop

Reads similarly :)
Cool. All those commentators yesterday saying this would have no effect must now eat crow.
https://archive.ph/ImJOH
in a generation or 2 we are going to be seeing the forbes 50 list full of bezos and musks kids. yeah hard work indeed
True, it is likely much higher[1], but the 2.4 million I cited comes from an older estimate that used different data.

[1] https://www.seas.harvard.edu/news/2021/02/deaths-fossil-fuel...
Take with a grain of salt:

> The limitations of the study include the small number of men enrolled; limited generalizability beyond young, healthy men; short follow-up; and lack of a control group. In addition, while semen analysis is the foundation of male fertility evaluation, it is an imperfect predictor of fertility potential. Despite this, the study’s time frame encompasses the full life cycle of sperm.
Then you might wonder whether the restaurant can't change their menus often because paper menu is hard to change!
Certainly not. If I memorize a line of copyrighted code and then write it down in a different project, I have copied it. If an ML model does the same thing as my brain - memorizing a line of code and writing it down elsewhere - it has also copied it. In neither case is that "fair use".
In the FAQ they state that it sometimes outputs non-running or even malformed code, so it looks like fairly pure language modeling with little to no program synthesis.
I love jQuery.

I can just drop in the library onto any existing webpage, and have almost complete control of the DOM with just a few lines of code. And the built in actions and animations are all so simple and perfect for the web. And the structure and naming is so good that I rarely need to look up any references anymore.

I get that browser support isn't as important as it used to be, but it is nice to know that you can just use an effect in jQuery and it will just work exactly as you expect it.
Right? We all have our issues. When it affects our wellbeing we should all remember to try to get help. If the Medical profession can't make it all better, many managers will accommodate -- it's actually easier to accommodate someone who is trying to get help.
Anonymity can breed honesty, I guess.
Generating new code is not very hard for humans. But maintaining, extending, debugging code - often that’s where the real challenges are. Will the AI copilot be able to fix bugs in its code based on bug reports?
Learn to use asynchronous communication tools, especially the written word. These have been used by remote workers to ship influential technology, including the Linux kernel that underpins vast portions of the modern Internet.
Django templates + Bootstrap + jQuery is all I've ever needed to make great, modern websites. Server-side rendering with some nice layouts and interactivity on the frontend. I've tried some of the SPA frameworks and I've always felt like my productivity tanked.
This page gives a pretty good overview of why jQuery is still relevant: http://youmightnotneedjquery.com/

Requests have gotten better with "fetch", but unfortunately, the "modern" DOM API is quite bad in some parts, making lots of stuff unnecessarily verbose. On top of that, it's really odd that the DOM API is not compatible with for-of loops, which could have been a selling point.
Or just remove the door knocker :)
Ask HN: Where to Sell a Valuable Domain
Hello HN,

(I'm using a throwaway as it would be trivial to lookup which domain if my name/handle is known and I'd prefer to keep it private for the time being.)

I have a 5 letter english word dot com domain I'm planning to sell. I've had several private offers to sell it for >$10k over the years but would like to get it on a marketplace to hopefully benefit from a bidding war. Godaddy auctions is obviously one option. What are people's experiences using it? Any other marketplaces or avenues I should consider?

Thanks for the help in advance.
Think of this what you will but in my opinion a privacy respecting search engine that is built on the ruins of a terrible privacy offender is not what I want.

In other words: It is easy to offer privacy respecting search that beats your privacy respecting competitors when you sit on a ton of high quality clickstream data, that has been acquired by not so privacy respecting means.

At least it is only a temporary advantage and we will see if Brave manages to still provide high quality search when their Cliqz legacy goes stale.
I've been using TabNine[0] for a few years, which is great. How does this compare?

[0] https://www.tabnine.com
From what I’ve seen, you would basically just unpin or force unpin undesirable content. As long as no one requests that content, it will be garbage collected/deleted.
What a cool project! If only I actually needed a doorbell... ;)

I would however LOVE to have a blueprint for a DIY "smart" door lock (like https://nuki.io/, but with FOSS firm- and software) available, yet a recent web search for such a thing did not yield results. If I did overlook something, please let me know!
> buy a house
In my neighborhood in Brooklyn, NY, a 1 bedroom is approximately a million dollars. COL in the area where your job is is critically important as well.
At the last tech place I worked, they celebrated the 25 year tenure of an employee who had essentially the same job for all 25 years -- he created accounts and passwords for users.

It's a SF based tech-ish company, one y'all have heard of, and as I did my consulting gig there, floating through the wave of SMEs and ICs and Directors and VPs and the history of all those who had left or been fired, I thought about that guy and why he stayed where he stayed. He also had notable records and accomplishments in a not-lucrative sport, so I figured the stability and unbothered job position he had let him achieve notable things in the rest of his life.

If he'd gotten a mortgage 25 years ago and lived within in his means, I bet his net worth exceeded many of the Directors and new VPs that churned through the place.
Yep! I’ve got one in my 100 gallon reef aquarium. He hides all the time, but his bubble shots are loud and a constant companion.

Here’s some slow motion video of the bubbles they form:

https://youtu.be/QXK2G2AzMTU
It's handy to differentiate between the "resting state" of perception and other states. That doesn't make the "resting state" (i.e. no recent ingestion/injection of any psycho-active compounds) more real, but it does provide a baseline that makes it easier to discuss the differences, similarities and unknowns when in other states.

I'm sorry that you think that the term "hallucinogen" is so loaded with perjorativeness. I don't find it hard to notice how many terms we use in English may have in the past had been used with perjorative intent and have lost that sense. From my perspective, "hallucinogen" (and "hallucinating") is one of them. I don't read "hallucinating" as "having an unreal experience of the world", but rather "having an experience of the world that differs substantively from the resting state".

> To dismiss them as hallucinations is to privilege your own view of reality over theirs.

AFAIK, anyone who has had such an experience has also experienced the world in the "resting state". Because of this, the "priviledging" is not my view of reality versus theirs, but "one of their experiences" versus "another one of their experiences". It doesn't need to be inter-personal comparisons in any way.
I don't think this really makes sense. Capitalism isn't a zero sum game for humanity. He created Paypal, which, generally speaking, provided a net value to society. That was his work, and he was one of the 0.0001% to be mega successful with it. Also, the argument "he has savings which is depriving other of income" is neither here nor there when the article is about a Roth IRA vs, presumably, a normal brokerage account with capital gains tax. At the end of the day, we're going to end up arguing about fundamental moral values like how rich should rich people be allowed to be.
> Working hard in the mailroom or stocking shelves at a grocery store isn’t going to translate into a successful software career

Equally, working hard as a software engineer isn't going to translate into the "uncapped salary" class of employment like CEO/CTO, VP, Founder, etc. There's a class ceiling where only a certain type of person gains entry. You can hard-work yourself to the bone writing code, but that "VP of Engineering" role is going to go to the external candidate who is already "VP of Engineering" somewhere else, and who has been some flavor of Director or VP his whole career. Jobs are a lot more class-stratified and career immobile than we like to think they are. This reminds me of a previous "hard work" discussion here: https://news.ycombinator.com/item?id=27517158
Vanadium is another "step up" from Bromite.
"Racism" is a fancy word for "Tribalism".
This could be the kind of thing easy to train and run locally on a GPU.

- You only need code relevant to your language.

- The amount of unique code in your language is going to be relatively small in compared to say, the entire history of internet comment.

- Training a model also shouldn't take long.

I personally would never use an online version feeding all my code back to a home server somewhere, and leaving breadcrumbs that might suggest I'm violating the GPL.
Google Play devs will need to enable 2-Step Auth and meet identity requirements
It shouldn't do that, and we are taking steps to avoid reciting training data in the output:
https://copilot.github.com/#faq-does-github-copilot-recite-c...
https://docs.github.com/en/early-access/github/copilot/resea...

In terms of the permissibility of training on public code, the jurisprudence here – broadly relied upon by the machine learning community – is that training ML models is fair use. We are certain this will be an area of discussion in the US and around the world and we're eager to participate.
Isn't there a lot of different factors? How long after? Were you fighting any other infections you weren't aware of? Tobacco, Marijuana, and Alcohol use can apparently all affect the count of white blood cells.
At this point I feel like supporting Windows in any way is probably immoral.
Pay is sometimes certainly based on results. CEO's aren't getting paid by the hour, they are compensated based on stock performance, financials, roadmap, future guidance, etc.
Scientists Discover New Type of Quasiparticle
To add to this: there are people who earn minimum wage doing what some might call menial jobs (or 3 jobs back to back) and they work 10x harder than the average startup programmer or founder.

They might not have gone to school at all. Or they might have a PhD from country most Americans couldn't find on a map but still end up cleaning the offices of startups.
The Millionaire Next Door is about as misleading as it gets, at least for today. Let's not forget that $1M in the mid 1990's is about the same as $2M today, at least in terms of terms of CPI. Even then, that is after 20+ years of housing prices outpacing inflation by 2x or more.

In the mid 1990's, the top 20% could get to $1M with some good financial discipline and hard work. Today? Maybe the top 1% could save $1M, and unless you inherited the family home, you're still living a lifestyle that is somewhat median in 1995 terms.

The fact that $1M is still some kind of mental benchmark that we hold up for being "rich" tells us everything we need to know about today's economic conditions.

So the principles of the book may still apply, but the outcomes are worlds away from reality.
The problem I see with that is that's not possible for it to understand well which code is the best, GPT-3 is trying to mimic human writing in general, the thing is most human code is garbage, if this system was able to understand how to make code better you could keep training it until you had perfect code, which is not what the current system is giving you (a lot of the times anyway).
Admittedly I'm a puzzled by the quality-level of these posts.

A lot of stuff, like the lack of formatting and HTTPS, give off an antique feel, almost like a signal that they're not meant to be taken seriously. Ditto for the over-the-top arrogant tone and relatively sparse content.

I might be off-base on this, but I sometimes wonder if these articles aren't like a honey-pot for non-serious YCombinator applicants. Like maybe people who resonate with these articles are flagged as non-serious applicants, to better focus the pool? Maybe we're all looking a little silly for commenting here at all, rather than moving on with our days and being more productive?
What a cool project, I’m impressed.
Looking forward to checking it out.
This is such an idiotic take.

It would be much more truthful to say that everything in life is genuinely pointless than what you've said - and I'm saying this as a lifelong multidisciplined engineer.

Perhaps you meant to say useless instead of pointless? Yes, I would agree, that the overwhelming vast majority, if not all of gender studies degrees are useless in the world/societies we live in. But pointless? No.
Used to do this for myself and it worked great for over a decade. But because it was a decade old I had never made it easy to replicate. It was a pet.

I know better now, but also all of those other things are easier when they’re a terraform config than when they’re manually managed. I use RDS now.
This is a bit tricky, because at least in the U.S., I don't believe it's settled question in law yet. Some of the other posters on here have said that the resulting model isn't covered by GPL--that's partially true, but provenance of data, and the rights to it, definitely does matter. A good example of this was the Everalbum ruling, where the company was forced to delete both the data and the trained models used they were used to generate due to lack of consent from the users from whom the data was taken[1]. Since open source code is, well, open, it's definitely less a problem for permissively-licensed code.

That said, copyright is typically generally assigned to the closest human to the activation process (it's unlikely that Github is going to try to claim the copyright to code generated by Copilot over the human/company pair-programming with it), but since copyleft in general is a pretty domain-specific to software, afaik the way that courts interpret the legality of using code licensed under those terms in training data for a non-copyleft-producing model is still up in the air.

Obligatory IANAL, and also happy to adjust this info if someone has sources demonstrating updates on the current state.

[1] https://techcrunch.com/2021/01/12/ftc-settlement-with-ever-o...
I think it's ubiquitousness, not developer experience, but perhaps that's what you meant. Both PHP and Javascript are examples of that. PHP wasn't nicer to use than other languages, it was just available to everyone. They're also both unencumbered by the aspirations of software engineering. The language doesn't care that you're writing untyped, procedural spaghetti code, they're very forgiving and so are the community and ecosystem.
Ah yes, the "accessibility" of a $200+ smartphone. $500+ if you actually want it to come with a working ad-free QR reader preinstalled.
Great.

Now, how about you use that to implement a non-horrible search experience?
Probably still. I don't think that that much has changed in the last two years.
Well, it's a brand new product, so ... no?
I guess I see it from this perspective: I don't start my search for learning materials at OCW, but I often end up there through a Google search! Sometimes, it's for a surprisingly advanced / specific topic, too.
You can see the bubbles… but I think the light is too dim to make out. Check out the YouTube link in the other reply.
This is hardly grounds for celebration. Another step in Microsoft's efforts to drive down programmer salaries by expanding the work force.

Also, this tool will enable more cheap LOC churn for those gaming performance reviews (not that this is currently difficult, but it will be even easier).