skysight-inc/HackerNews huggingface dataset:
I still use jQuery even for new projects. Yes, these days it's possible to do everything jQuery does using native JS, but I find the native version to be much more verbose and its naming conventions to be far less clear.

For example, natively getting a list of children is `el.children` but natively getting the parent is `el.parentNode`, not `el.parent`. Meanwhile, natively getting a list of classes is `el.classList`, but when I'm getting children I also get a list, so why not `el.childList` instead of `el.children`? Natively cloning a node is `el.cloneNode(true)`, so now I have to remember what `true` is for and whether I want it or not (surprise: the default changed between JS versions, so the "optional" argument must always be included for compatibility!). Probably the most commonly used line in web JS in jQuery is the terse `$('selector')` but natively is the mouthful of `document.querySelectorAll('selector')`.

So while jQuery isn't strictly necessary, it's certainly a nice syntactic sugar, and IMHO a more sane and consistently-designed API than native. It's a great choice for developers who want avoid big frameworks like Vue and get as close to plain HTML/JS as possible, but still want a pleasant JS development experience.
Price of access has gone up
I recommend checking out the talks by David Beazley https://dabeaz.com/talks.html
It’s one step closer, but still a good ways away.

- you still need to understand the code that copilot is writing, it just turns it from a recall/synthesis problem into a recognition problem

- most of the work above the level of a junior engineer isn’t about writing the actual code, it’s the systems design, architecture, communicating with external stakeholders, addressing edge cases, tech debt management, etc.
jQuery has the most consistent return values I've ever seen in an API. It somehow always works. Contrasted to that the fact that a NodeList is not an Array gets me every time.
> Compatible with any brand of stylus.

Well except, you know, literally a stylus.
1. How do you define work differently from "that which should be automated"?

2. While I agree with your stance, it is not by itself sufficient. If you provide the automation but you do not correct the perverse incentives (or you worry about correcting them only later) that you mention, then you are contributing to widening the disparity between a category of workers (who have now lost their leverage) and those with assets and capital (who have a reduced need for workers).
I'll start - While it's not perfect, I have really enjoyed using Qt for creating desktop applications. The API documentation itself is pretty good - although I'd say the official examples could be more accessible. Overall, it provides a relatively easy way to make cross-platform desktop apps (and more, although that's not where my experience is) without compromising on performance.
Should your business upgrade to Windows 11?
Thanks- in retrospect, I shoudl have explicitly said "code generated by the model".
Because this website is pretty much centered around people who read/liked PGs essays.
Great so we're on the same page. "not actually illegal" doesn't count for much at all as a deflection of any moral responsibility. Maybe don't say it if you don't believe it?

But yeah, it does make me angry and I have a fair bit of sympathy for socialists of which I am definitely not one when they get angry about this kind of thing. Rather more than for tax dodgers claiming "it's not actually illegal so no moral judgement can be made." But that's not you despite what you wrote as you've now clarified.

> "Why on earth wouldn't you legally avoid tax if you could"

You evidently have answers to this question yourself as indeed we all should. Once there, there is plenty of room for discussion and debate.
It's always good to have a scapegoat. A lot of Open Source companies that sell support services are in many cases really selling themselves as a blameable party.
And the USG stands to gain 15% of 5 Billion plus penalties from this. That’s well worth the fight.
then there really isn't an incentive to work harder than necessary to keep you job or earn a measly raise.

Some people just like working hard, regardless of the financial incentives/disincentives.
MongoDB Auto Expire Documents Using TTL Index
> Also, if you think this should be changed, what should the law be, exactly? You're not allowed to make insane profits in a Roth IRA? Why?

I'd go with a cap on the amount of returns that are tax free. Put after-tax money into a Roth, and you can take out the original investment plus up to some limit tax-free. Anything over that would be treated just like a regular IRA withdrawal.

> In my opinion (and it is an emotional judgement), I think America is based on freedom, and Roth money is money you already paid taxes on, and you should be allowed to invest it however you want. It's your money after all.

But you don't pay tax on the earnings of your Roth investments. That's the whole point of the Roth. Your investment choices are:

1. No IRA. You pay tax on your income, and when you invest after-tax money you pay tax on the investment earnings. You can withdraw investment money at any time.

2. Regular IRA. You can defer tax on some of your income and invest that money. You pay tax on the investment earnings and on the original income when you withdraw them from the IRA. You also pay a penalty if you withdraw money before age 59 1/2.

3. Roth IRA. You pay tax on your income, and when you invest after-tax money you do not pay taxes on the investment earnings. You also pay a penalty if you withdraw money before age 59 1/2.
https://www.youtube.com/watch?v=gMhjqbESIeY
Do you mean "supporting Microsoft", or do you mean being a part of the Windows ecosystem by writing software that runs on Windows? Could you explain why you feel it is immoral?
I could not find any add-on (that still works) to give me back my tray icons. Not even Apple would take this feature away.
I tend to agree with your comments here, but note that it's not an easy answer: I don't think this problem only indicts technologies like IPFS, but also E2E encrypted communication services like Signal and WhatsApp. Are those also "fundamentally broken and we need to stop using them and promoting them immediately"? Maybe so, but it seems a heavy lift to me.
Isn't this referring to Fowler as opposed to Martin?
Thanks autocorrect.
It has the ability to generate unit tests as well, which will help cut down some on the verification side if you feed it enough cases.
We self host on an IBM DB2 database. 4 hours unscheduled downtime in about 20 years. It was almost the only thing unaffected when we got hit by ransomware last year.
You're incorrect. The accelerated timelines for testing the vaccines could not have allowed for the normal amount of safety testing: https://coronavirus.jhu.edu/vaccines/timeline
Building the Sharing Economy of Q&A
Hi HN!

We built boole because we feel like the sharing economy for Q&A is not quite there yet, if we think about the markets that have been created by airbnb and uber. We want to make it easier for people to monetise their knowledge, which at the same time would provide better interactions for peoples questions.

We will first focus on education, but questions can also be set on other domains such as on health, decision making, relationship advice, ...

We started this project 8 months ago and just finished the android version of the app.

The payment system for the questions is coming soon.

We are currently building the user base.

If you want to know more about boole, we have written a brief article outlining our ideas:

https://medium.com/@thierry.bossy/building-the-sharing-economy-of-q-a-f353af7e5020

You can find our app at the play store:

https://app.boole.io
I honestly think this is solving a real problem with commonly used languages and their lack of syntax abstraction and expressiveness.

I can imagine this being very useful in helping to type out what I consider to be „mechanical noise“: Things that you have to type out to satisfy an expression rather than to convey semantics.

A good example of how this type of noise manifests:

Observe two programmers, both being similarly strong in terms of many concepts except for mechanical expertise. One uses the editor as an extension of their body, it’s beautiful to watch, the other stumbles awkwardly over the code until it’s finished. You can observe the latter in programmers who are very smart and productive, but they either didn’t train their mechanics deliberately or maybe they lack that kind of baseline eye hand coordination.
Nice one!

While you might not always agree with Paul but his writing usually reflects something that has been deeply thought out. I can almost see a man walking and thinking...
(with apologies for failing to resist being facetious and slightly dickish there)

No apology necessary. That was funny. Because it's true. :)
Thanks. How do you handle
a. TLS certificates?
b. Anything other than firewall restrictions for DB servers?
How do you distribute a human?
I wrote a react application and VDOM overhead was so high that I had to cut down what parts of the UI were rendered to just what was on-screen at any given time. Performance was just barely okay on a desktop and completely unusable on an Android phone.

Not using react made everything work amazingly fine. Granted this was an application with fairly low amounts of DOM manipulation (popup things when the user clicks on stuff, some lists that elements can be added/removed to/from), but those sorts of things seem fairly typical.

I wanted to use React because the code was so much cleaner and concise, but it was just way too slow.
My personal experience was that once I became an expert the company wouldn't promote me and then outsourced the team. It was obscure tech, so it was basically a dead end.
Surely "27-dimensional" must be wrong? 65536 is 2^16; what would an extra 11 dimensions be for?

(The OP says 12-dimensional; the Wikipedia page says 12-dimensional in one place and 20-dimensional in another; the latter seems like it must also be wrong. I wonder whether it's 16+4 where the correct figure is 16-4, the idea being that there are 2^4=16 processors per node or something like that.)
I think it's a given that the WD hackers are neither ethical nor moral.
I knew this day was coming but it still stings. What I'm interested in is making copilot the main pilot.. i.e. for web development, why not just let this thing go on its own and have a separate module that attempts to compile the code + observe the differences in a web page functionality? No longer so crazy to say that shit like that is on the horizon. Then the middle managers can have their dream come true, they are the true benefactors! They can 'code' with copilot, and just endlessly iterate with it while figuring out what they want until they get a result they're happy with.
> ...the jurisprudence here – broadly relied upon by the machine learning community – is that training ML models is fair use.

If you train az ML model on GPL code, and then make it output some code, would that not make the result a derivative of the GPL licensed inputs?

But I guess this could be similar to musical composition. If the output doesn't resemble any of the inputs, or contains significant continous portions of them, then it's not a derivative.
I just think that quote is a complete fabrication.
Yes, because despite being _insanely_ intelligent he was _also_ insanely hard working. Its questionable whether aiming to be an outlier is reasonable, but it was a revelation to me that most of the wildly successful outliers I knew of growing up were also harder working than anyone I'd ever met. Yet no one ever talked about that, only how lucky it would be to be "born with" X. From there I realized that most people have this fallacy where they discount what they can achieve because they don't see how hard others work to get to whatever level they are at. Aiming for Bill Gates would be foolish, but understanding the recipe is not.
As far as I can tell, WD's response is "too bad so sad you should have bought a newer product", so I don't think they offer affected people any sort of recovery gratis.

(I suspect this will bite them in the ass in the court of public opinion, but we'll see.)
> And while it can still be accessed over HTTP, the bottlenecks become the same companies that might comply with censorship requests.

This is something that bothers me about the state of dapps right now. The way many of them connect to the blockchain is via Infura (a centralized service); even Metamask uses Infura to connect to the blockchain. There’s this abstraction that you trust, that you’re working with something totally decentralized, but right now the technical constraints necessitate single points of failure or censorship.

Of course, the data is still there in the blockchain, decentralized over many nodes, but the way we access that information seems very, very brittle.
For new projects I agree. Go jQuery-less.

But for existing projects that still work well and for which there is no reason or gain from updating the code and, for which, time and money would be spent for what is really a lateral move, I think it's fine to leave it as is.

And there are many projects like this where the JavaScript barely changes, jQuery is holding it in place and nicely and there's hardly any technical debt. There's no incentive to spend the money and time. Making a developer feel better is not really worth it in these situations unless they'd like to work for free.
> You could wait until your child is done lying on the floor

If your kid is a shit, and you bring them into my day and allow them to continue being a shit, well, you are a shit.
That's not what i meant. A lot of nationalists, sovereignists and other authoritarian people in the Global North are sympathetic to the Chinese government, whose strong rule is seen as a good thing. These are usually the same people admiring Erdogan, Putin or Assad, getting their news from the same neo-fascist networks.

These people are usually very quick to dismiss talks of "ethnic cleansing" against Falun Gong or Uyghur, implying such reports are imperialist propaganda manufactured by western governments to make China look bad.

Most Nation States across the globe have a strong history of colonization, ethnic cleansing and repressive policing. It's important to recognize that in order to understand how the modern world operates. I'm not trying to imply that France (my own country) is any better... hell France has been innovating in prejudice science for centuries, and has been exporting their "counter-insurrection" (read: mass manipulation and bloodshed) techniques since the 60s.
I agree, the fact we're even talking about this is evidence that our society has the perverse incentive baked in and we should be aware of and seek to address that.

Regardless, programmers would be hypocritical to decry having their jobs automated away.
AI to write code is cool, but you know what’d be even cooler?

AI for maintaining, upgrading, improving, and fixing code.

After all, devs spend 80%+ of their time doing those things and they’re WAY more painful than writing code imo.
They haven’t ripened yet.
Some people talk big about dropping jQuery and saving one request, yet they have a shipload of bloat elsewhere. Not using jQuery in and of itself is not an optimization of any kind. I use jQuery and my page has a perfect score in GTmetrix. If the goal is optimization, you have to consider the total package.

Addititionally, jQuery loads on the first request and sits in local cache thereafter. And it could already be in local cache if you use a CDN.
It is different in the same way that a person looking at me from their window when I pass by is different from a thousand cameras observing me when I move around city. Scale matters.
I suspect it's more likely to just be fiction.
Yeah, same issue in the Bay Area.

It’s frustrating because increasing housing supply has so many positive effects for the group. It’d make life so much easier.
This post is from Martin Fowler (author of Refactoring, Patterns of Enterprise Architecture and a fantastic blog) - who has a much better grasp of software development and who has had a far greater positive influence on our craft than Robert C. Martin could ever dream of.
Jquery minified is 83KB. That's about the size of a compressed 300x300 px JPG.
No you can't. $('.elements') in jQuery is more equivalent to querySelectorAll('.elements').

You can however do:

document.querySelectorAll('a').forEach(a => a.style.color = 'red')
Whichever framework has a prominent PR lead is "safe" to choose. If it's bad or breaks or whatever, it's not your fault, it's... I dunno, the hive-mind's, I guess. It's the "no-one ever got fired for buying IBM" factor. Whether it's actually any good or the best fit for the case it's been selected for, is very much secondary.
(That bit is explained in Life, the Universe and Everything)
What do you think about this being overall detrimental to code quality as it allows people to just blindly accept completions without really understanding the generated code. Similar to copy-and-paste coding.

The first example parse_expenses.py uses a float for currency - that seems to be a pretty big error that's being overlooked along with other minor issues around no error handling.

I would say the quality of the generated code in parse_expenses.py is not very high, certainly not for the banner example.

EDIT - I just noticed Github reordered the examples on copilot.github.com in order to bury the issues with parse_expenses.py for now. I guess I got my answer.
> they should stand to benefit from any legislation put in place.

Keep in mind many startups don't want to do the work of becoming an actual sustainable company, and rather have the higher values of the acquisition market.

Also keep in mind that a more fragmented digital ads market without the total surveillance from monopolies might not be very profitable at all.

I don't think a disaggregated private sector is capable an entirely filling big tech's vacuum. I also don't think that is a reason not to break up big tech.

The fact is software wants to be free, and free software wants to be funded by something other than profits. But I don't think our courts or legislatures are willing to grapple with this truth. And so we will waffle and keep the monopolies intact.
Look at that video and tell me he looks like a man resisting arrest.

It's not merely that Chauvin murdered a man. It's that practically every police force in the country stood behind him in doing so, even after watching that video. Mistrust of the police doesn't come just from unarguable videos like this one, or even from the fact that for each incident caught on tape like this there are hundreds of occasions of abuse that don't result in dead bodies and are receive less outrage.

It comes from the fact that the police, and people like this poster, seem to think that this behavior is acceptable. And when called on their abuse, their response wasn't to do their jobs without murdering people, but to stop doing them entirely.

When the police stop telling people that the occasional lynching is just a consequence of the job, then perhaps there won't be so "much criticism of police". Until then, expect it to get much, much worse.
That’s what a REPL and automated tests are for.
Software Developer Median Salary (2020): $110,140 per year

That sounds like a lot of software developers are in a position to put away $10k+/year to me.

Source: BLS, https://www.bls.gov/ooh/computer-and-information-technology/...
> It was similar with Lionel Messi. He had great natural ability, but when his youth coaches talk about him, what they remember is not his talent but his dedication and his desire to win.

This is not true, everyone who knows even just a little bit about football (I suppose not many people here) would know Messi was the preternatural talent (not like he has not worked hard, but his talent is by far his biggest asset), it is C Ronaldo in any case who is a totally dedicated person to training.

You dont do this at 8-10 because you are a "hard-worker", you do it because you won the genetic lottery:

https://www.youtube.com/watch?v=0j9POXpurPU

As always, the Gell-Mann amnesia effect in full effect.
"If you don't believe good employer/employee relationship is possible, you won't do your part and it will be a self fulfilling prophecy."

I agree that it can become self-fulfilling. However, there are some of us who started out believing the best and changed their minds after being repeatedly screwed over.
You just shared a URL that says "Please do not share this URL publicly".
MacKenzie Scott Gave Away $6B Last Year. It's Not as Easy as It Sounds
How and When the Chip Shortage Will End
Does it have thiotimoline?
If you start maxing out retirements in your first job and continue to do so throughout your career, raises will be raises and you'll continue to save. If you tap into your max savings per year in start of your career, you'll have trouble pairing that income back and putting it away for savings. Max out your retirement funds early and never look back.
Has hard work burned anyone else out? I spent my 20s working my ass off as an employee, and while it helped my career a lot, I am completely burned out now. All that creative work and effort which didn't end up amounting to much personally. Maybe the caveat to working hard is you should work hard for yourself and not others.
It sure looks like 12 is the right number and is indeed 16 minus 4.

http://public.callutheran.edu/~reinhart/CSC521MSCS/Week7/Con...

"For a fully configured CM-1, the network is a 12-cube connecting 4,096 processor chips (that is, each l6-processor chip lies at the vertex of a 12-cube)."
For me, I really like Zoom recording paired with the automatic transcripts. The transcripts help me to find the section of the video I need to review. I wish there was a feature to tie your typed notes into the video timecodes so by clicking on a note I had made, I could jump to the point in the meeting where I had made the note.
Lots of questions:

- the generated code by AI belongs to me or GitHub?
- under what license the generated code falls under?
- if generated code becomes the reason for infringment, who gets the blame or legal action?
- how can anyone prove the code was actually generated by Copilot and not the project owner?
- if a project member does not agree with the usage of Copilot, what should we do as a team?
- can Copilot copy code from other projects and use that excerpt code?
- if yes, *WHY* ?!
- who is going to deal with legalese for something he or she was not responsible in the first place?
- what about conflicts of interest?
- can GitHub guarantee that Copilot won't use proprietary code excerpts in FOSS-ed projects that could lead to new "Google vs Oracle" API cases?
I agree 100%.

The number of times someone told me they prefer using Bootstrap classnames while using CSS when they bootstrap does not provide a classname for it... My front-end heart sinks!
I’ve lived in multi family wood homes in the US without issue. It can be an issue with the cheapest construction, but sound insulation can mitigate or solve those problems.
https://www.actordb.com/docs-howitworks.html#overview
Think of it as a junior dev working under you and doing the grunt work of typing in your ideas. Sometimes he can StackOverflow a better snippet than you can write on your own, you will probably learn a bit from it, but it won't surprise you.

It is no different from a code review of another perhaps junior dev and only doing adding finishing touches.

There is plenty of boilerplate you have to write, Intellisense/ Auotfill only goes so far, this is next step in the evolution. Sure it is not perfect but if i can express my ideas faster, why not.

Also It is a very probably poor tool for new devs, they won't know that suggestion maybe not the best and probably won't ignore it when it is wrong as they won't know any better.