skysight-inc/HackerNews huggingface dataset:
> And is he seriously recommending HTTP FORM POST data as a best practice to send API request/responses when you're using JavaScript?

I don’t think so? I think sending JSON POST data is a solved problem, so to speak: everyone already knows how to do it. The evidence suggests the same is not true for form data.
I don’t think that.
Mullvad – DNS over HTTPS and DNS over TLS
I'm not sure that's what feeds the feedback loop. Copilot is essentially a centralized distribution system for code, and efforts can be made to train it using "good" code as well. It's the equivalent of allowing thousands of developers to rewrite the top-voted answer on StackOverflow.
App Bundles have been available and widely used for years. People are lamenting days that went away years ago but are just now complaining, which makes me think that the concerns are overblown.
Note that by the time black hole evaporation would be significant the CMB will be long gone because of dark energy (universe expanding). All this means that evaporation is delayed till there is nothing else left apart from black holes (because of the faster than light recession of space itself).
I like how nearly every comment here is about the AI itself instead of POST data injection the blog post warns about. I can only imagine GitHub Copilot is writing them.
I used to work for an all-remote company in which hallway conversations happened all the time over chat. In fact, people would often hold several hallway conversations at the same time using separate chat windows for each. The organization was set up for remote work and had chosen appropriate technology.

Where I work currently, we had a no-remote policy although our team is spread across two continents. The rationale for in-person-only-sort-of was that the organization could extract greater value from employees through the benefits of hallway conversations (except between team members in different offices). Hallway conversations just didn't happen; neither in-team or between teams. They happened in formal meetings where half the attendees just looked down at their phones.

When we went temporarily remote-only in March of 2020, we were not given any adequate technology (and in fact the required VPN technology prevented many from doing their jobs so it was often hacked). Eventually, many of the employees discovered there was a chat service and people who had never spoken before started communicating. Hallway conversations were had (initially mostly focused on hacking the VPN). Formal meetings were still run by the same people with similar output, but over-all productivity began to climb and we pushed out releases on time and on budget. It turns out at least our segment of the larger organization worked better remotely despite the lack of support and the official policies.

Recently it was announced that the entire organization would be returning to in-office only, 100% of the time. The errant chat service would be shut down. We would return to exactly the way it was two years ago because that is the only way that works, according to the CEO. We will return in the fall to no hallway conversations, head down at our desks focused on our assigned tasks, communication trickled down from the top as it should be.
10 Steps on How to Use LinkedIn for Recruitment
Use sports. I tell them that I'm a competing athlete and cannot break my sports regimen, which is technically true, but not really the reason--I grew up in the post-communist Europe of 90s witnessing rampant alcoholism and came to look at alcohol as something for people who are too weak to face the life, but too afraid to die. Never had an inkling to try the stuff.
> Allowing trusted sellers to be hijacked is not greedy behavior

It can be if that's the side effect of a system designed to make selling as frictionless (and therefore lucrative) as possible. Thence, greed could be the root cause, if not the proximate cause.
Looks like in this case it's only part of a Wikipedia page[0] but the Chinese edition is only a stub page. But your suggestion is absolutely spot-on. One of the things I love about Wikipedia is that it's human-curated for human evaluation, not a "knowledge engine" that produces wonky results.

[0]https://en.wikipedia.org/wiki/Coffee_production#Dry_process
I've heard that type of thing referred to as "just so" stories. Typically they sound like something that Rudyard Kipling would have written but with a warm cloak of Science wrapped around them.
First prerequisite: solve the halting problem.
And don't calculate averages like Github Copilot or you'll get NaNs and/or panics when the denominator is zero

func averageRuntimeInSeconds(runs []Run) float64 {
var totalTime int
var failedRuns int
for _, run := range runs {
if run.Failed {
failedRuns++
} else {
totalTime += run.Time
}
}

averageRuntime := float64(totalTime) / float64(len(runs) - failedRuns) / 1000
return averageRuntime
}
Who's to stop them when the watchers now have blackmail information on the entirety of the legislature and judiciary?

Have you considered for a moment that NSA and CIA have the phone numbers and location track logs of every mistress, hooker, and drug dealer used by every member of congress?
Perhaps pedantic, but "copilot" in the real world implies something very different from hints and direction.
When I started with PHP over a decade ago I was using PDO and not MySQLi.

I think there's a lot of old code that perhaps should not be used by Copilot as a reference, given how some programming languages have changed quite a bit over time when it comes to the best way of doing certain things.
It _will_ happen, but first dark energy needs to be strong enough to expand the universe fast enough (faster than light) so that CMB wouldn't be able to reach anything.
It only has to be better than the average human. Self driving cars are already there, but GitHub copilot is just an alternative to googling for code snippets rn
I agree with this definition. A lot of factors go into it - how much cash you have in your bank account, how easy it is for you to pick up a new job, etc. Having "FU" money doesn't mean you have to quit your job at the slightest transgression, but rather you are not desperate for the paycheck and can thus stand up for yourself. This in itself is liberating!

At the very beginning of my career I worked in the lab for 36 hours straight trying to finish a project on a tight deadline. I didn't have any "FU" money at that point obviously. If someone asked me to do that today, there would be no way! I wouldn't quit over it necessarily, but I would still be OK financially if I was fired for saying "your deadline is ridiculous!"
Temperature has several definitions that produce the same number under normal circumstances but may or may not be applicable in extreme circumstances. In this case, I imagine they could be using the thermodynamic definition (dE/dS, the marginal change in energy per marginal change in entropy - I’m not sure if a BH has well-defined entropy) or something to do with the emission curve of space around the black hole. I vaguely recall something about empty space behaving like a blackbody under a gravitational gradient, so maybe they can use that. You could also use amount of Hawking radiation per surface area. It’s possible that some of those produce the same number.
I think we should have specialized browsers; For e.g. ultra secure browsers solely for financial/banking transactions;
Apple turns over customer data on over 30,000 users per year without a warrant. It's in their transparency report under FISA orders.

No probable cause is required.
You’d have to believe auto completion is evil too I guess
The Best Programming Language?
If this is considered self-promotion and it is decided to be flagged I will be OK with it. However, I think there are some ideas in this post about what we expect from programming languages and the general developer culture.
At least on SO other people can comment, down vote or write their own answers to warn others after an issue is found.
it really sucks and I feel it's gotten worse with zoom. Sitting in retro meetings in the past year I've definitely noticed an uptick in people just talking and not actually responding to what someone just said. very frustrating.
I've been noticing similar downvoting recently for calling out too America-centric topics recently so I'm inclined to agree
Someday programmers will have learned their lesson about in-band signaling, but apparently it won't be today.
This is yet another case where they should just make the API do the right thing, rather than rely on programmers to do the correct thing, not than the easy thing.
Hi, I'm the "he".

> Why doesn't the example he criticizes use a plain text request body when it's only a single parameter anyway?

The API supports other params, namely "language" http://text-processing.com/docs/sentiment.html

> And is he seriously recommending HTTP FORM POST data as a best practice to send API request/responses when you're using JavaScript?

If the API only accepts a URL encoded body then I absolutely recommend sending a URL encoded body. If you're in control of the API endpoint, then you can pick whatever format you want.

An HTML form can send data as application/x-www-form-urlencoded, multipart/form-data, or text/plain (although that's useless in practice). If you're progressively enhancing a form, you might want to gather the data in the same format as would otherwise be submitted. You could send it in that format with JavaScript, or convert it to another format (there's a whole section about that at the end of the article).

I recommend using multipart/form-data if you need to send file data along with other values. You'll have a bad time trying to send this as JSON. This recommendation is right at the end of the article.
>... to perceived isolation ...

This is what I call - undefined. You can "percieve" it whenever you want/need/wish/like etc
It’s bad, but junior devs will write exactly that until they are taught better. Presumably co-pilot will learn as well if a certain bit of code it produces is always corrected.

Co-pilot is nothing short of amazing and a force multiplier for senior devs, despite all the denial, I’m afraid.
> Give them a body

OK in theory. In practice, that's a bigger project, by perhaps a hundred years and a trillion dollars?

But you've got the right approach. A body is a prerequisite in order to get exposure to the same data humans receive.

"Lyin' Eyes"

by Don Henley and Glenn Frey

City girls just seem to find out early

How to open doors with just a smile

A rich old man and she won't have to worry

She'll dress up all in lace and go in style

Late at night a big old house gets lonely

I guess every form of refuge has its price

And it breaks her heart to think her love is only

Given to a man with hands as cold as ice

So she tells him she must go out for the evening

To comfort an old friend who's feelin' down

But he knows where she's goin' as she's leavin'

She is headed for the cheatin' side of town

You can't hide your lyin' eyes

And your smile is a thin disguise

I thought by now you'd realize

There ain't no way to hide your lying eyes

On the other side of town a boy is waiting

With fiery eyes and dreams no one could steal

She drives on through the night anticipating

'Cause he makes her feel the way she used to feel

She rushes to his arms, they fall together

She whispers that it's only for awhile

She swears that soon she'll be comin' back forever

She pulls away and leaves him with a smile

You can't hide your lyin' eyes

And your smile is a thin disguise

I thought by now you'd realize

There ain't no way to hide your lyin' eyes

She gets up and pours herself a strong one

And stares out at the stars up in the sky

Another night, it's gonna be a long one

She draws the shade and hangs her head to cry

She wonders how it ever got this crazy

She thinks about a boy she knew in school

Did she get tired or did she just get lazy?

She's so far gone she feels just like a fool

My, oh my, you sure know how to arrange things

You set it up so well, so carefully

Ain't it funny how your new life didn't change things

You're still the same old girl you used to be

You can't hide your lying eyes

And your smile is a thin disguise

I thought by now you'd realize

There ain't no way to hide your lyin' eyes

There ain't no way to hide your lyin' eyes

Honey, you can't hide your lyin' eyes
True, I do find it easier and a less time consuming to break a large piece of work in around 2day chunks (for example) than using different sizes or trying to decide if something is 3 or 5.

In the end, regardless of whatever scoring strategy you use it should always be team centric, rather than individual.

It is possible to say, over the past 6 months, and X tickets, our team has had a Median/Avg cycle of around 2days. If team breaks future work in similar sized chunks, it can very fairly confidently predict how long they will take to do X more tickets, assuming similar conditions.

The added benefit of using small chunks of time, is that one does not need to be super accurate (in most scenarios), it can be 1 or 4 days, all it matters is it's possible to give window of estimation (based on actual data, not guesses) with a certain degree of confidence. (which will naturally become even more consistent over time)
1 to 1 language lessons with certified instructors
After a recommendation in the previous discussion[1], I signed up for Busuu.
So far, I have a feeling that I'm learning more (and in a more structured way).

[1]: https://news.ycombinator.com/item?id=27668370
Security is usually a requirement and therefore YAGNI doesn't really apply
Fair enough. Anecdotally though I've gone to the printer's and had problems expressing the binary/1-bit color conceptualization.
The parse_expenses.py example on copilot.github.com also has:

expenses.append((datetime.datetime.strptime(date,"%Y-%m-%d"),
float(value),
currency))

Parsing currency into a float. I assume the perils of that are pretty well known.
Humans psychologically keep an internal karma counter, this has been established in scientific studies. People who performed small acts of kindness earlier in the day were less likely to take responsibility during bigger problems later in the day.

We can apply that to global warming. If you do your part by recycling, this makes you less likely to feel the need to participate in bigger discussions around controlling emissions.

If you are going to spend energy every day on climate change, spend it in pursuit of bigger wins. We aren't going to solve climate change without bigger wins, and if we do get the bigger wins we probably will solve it without the smaller efforts
A US teen developed an app to help his sister talk [video]
"we lose money on every sale, but make it up in volume" comes to mind.
Welcome to the programming community, CoPilot!
What's your concern with the app? Looks pretty standard as far as chess goes, other than causing pieces to move on board.
A real copilot will get fired and/or go to jail and/or die, if it feeds you subtly wrong data, and leads you to crash a plane. GitHub won't suffer any consequences if its Copilot feeds you bad code that causes a security breach, or wastes a lot of engineering time on debugging subtle heisenbugs.

The problem with Copilot is that it works just enough to be dangerous: it streamlines copy-pasting of unchecked code, but the code it offers has subtle bugs. It's even worse than copy-pasting from StackOverflow, because code on SO got at least a passing review by someone who understands it. Here, you get code generated from ML models. Unlike generating pictures of faces or kittens, when an occasional artifact doesn't matter much, an "artifact" in code that you won't notice will still make the code wrong.

> Don't put it in hand of non programmers

Putting it in hands of programmers isn't really any better. To make it work, you need programmers to be disciplined - more disciplined than they were when copy-pasting from SO.
Things will improve over time. Like all tech. But it's here to stay, like it or hate it.
Show HN: VisaWhen – Data on US visa issuance backlogs
Heya! Not the usual sort of thing to be posted here, but I wanted to show off what I made yesterday. Here's a sample page about H1-B visas issued in Bogota:

<https://visawhen.com/consulates/bogota/h1b>

The code is source-available (not open source) at <https://github.com/underyx/visawhen>. It's my first time choosing a source-available license over MIT, mainly out of fear of existing immigration startups just gobbling this data and code up; frankly I didn't think the implications through though, I just threw a safe license on there.

The way the project works is:

- Use requests-html to find publicly available PDFs from government pages

- Use camelot to OCR the PDFs and extract data tables from them

- Since the previous step takes crazy long for my tastes (around 8000 pages at around 5 seconds each) I've used dask to split the work into chunks and parallel-process them across my laptop's CPUs.

- Do data cleanup and processing with pandas, and save all of it to a SQLite file.

- Take data from the SQLite file with next.js and generate a static HTML page for each possible embassy - visa type combination

- The pages use ECharts to visualize data, and Bulma as a CSS framework

- Build and host each commit via Netlify

- But proxy to Netlify from CloudFlare, which I believe has more edge locations in the free plan

- Collect any donations via Ko-Fi

- Use Google Analytics to have a general idea about visitor counts

- Use FullStory session recordings to find out about bugs – I've fixed quite a few and I think I'll probably remove this tracking after a bit of time

…and that's where I'm at now. I'm pretty happy about the results. Most pages load in less than 300ms, which is something I care about all too much. More importantly, I've shared the site with some immigration communities I'm part of, and the response has been very positive! Let me know what y'all think.
So you're saying Copilot is the new Autopilot.
I am genuinely fascinated how they managed to piss you off so much with phishing tests. (For me email is the backbone of all permanent office communication). Was the frequency too high (reducing the signal to noise ratio too much), or just the fact that they doubt your ability to fall for such a thing?
OP here– good point, that's not well explained in the article! And thanks to the others who have answered already, you're pretty much spot on.

The core library, referenced here as `el`, contains a set of factory functions for describing various underlying processing nodes. So when you write `el.lowshelf()` you're just using one of the builtins (like how you might use a div, span, or button in a web app with React)
Oh ok, I guess I could also do the following then

class JsonBody extends Blob {
constructor (obj) {
super([JSON.stringify(obj)], { type : 'application/json' })
}
}

fetch(url, { method: 'POST', body: new JsonBody({ hello: 'world' }) })

That's quite handy
Yes, this is where this style of thinking leads to. Hard work is required so that we do not end up there. Can this race be won? I hope so.
As cool as copilot may look, it does seem like a fundamental problem could be: if people widely use bad practices, and only a small amount of code uses good practices, an AI model will probably suggest bad practices. The AI doesn't know what's good practice, just what people tend to do. Similarly it will probably tend to suggest legacy/outdated code, since less code will be using the newer modern alternatives. I'd guess that's what happened here, and it's a bit embarrassing that their headline marketing demo does exactly that. It may be difficult to mitigate as well, as this will be rife throughout the training data.
> But adoption of the metric system has stalled so clearly in the short term there are various competing forces

Presumably this is from an American perspective? Even here in Ye Olde Englande we mostly defer to metric, even if there are some deeply embedded imperial measures, such pints of ale and milk or miles on pathways... .
It's a huge investment. Not just money, but they time that management needs to divert into making that happen.

That's time they're not investing in their core products.
Funny you should say that :) I'm currently building a small drum synth, will share it as soon as its ready.

In the mean time, check out https://github.com/nick-thompson/elementary for some examples that you can `npm install && npm start` to hear
Do you have any favourite libraries for producing such?
I'm the author. AMA. TMA. I'm genuinely interested in understanding the popularity of prophet, which as I point out is a non-trivial statistical endeavor.

https://microprediction.github.io/timeseries-elo-ratings/htm...
I don't own the fetch standard.
I think the split happened before Reagan. About the closest we got to raising the standard of US society even higher was Roosevelt's second bill of rights speech in 1944:

https://en.wikipedia.org/wiki/Second_Bill_of_Rights#Roosevel...

Now we fight over some fraction of a part of one of his ideas, like lowering medicare eligibility to 60. It's mildly depressing to consider where we could be.
I've seen that referred to as "Post-imperial delusion", and I believe it explains Brexit as well as Russia's belligerent behavior. Britain lost its super power status less than a century ago, Russia only in the 1990s.

There are apparently quite a few people in these countries that have yet to accept that they are not as relevant as they once were, and who long for any kind of action to restore their country's status to what they think it should be. Very dangerous.
If the programmer dosent have the requisite knowledge to verify the code it's hard to know if the generated results are correct. Compare this to copy pasting solutions from stackoverflow. Atleast there you get a pretty good idea of the pros and cons of a solution. With copilot it's all upto the programmers understanding of the generated code. Of that programmer propmts copilot on a domain they don't know much about it could lead to a lot of subtle bugs being introduced
If you're taking the code suggestions without reading them it's your fault.
>55% of the federal budget goes toward social services and welfare. <11% goes to military spending. There is no lack of investment, just obscene mismanagement, at best. https://en.wikipedia.org/wiki/File:2020_US_Federal_Budget_In...
IIRC the only character disallowed in EXT2 at least is '/'. Interesting things happen if you manage to get '/' into a file name, which can be done with a hex editor or a broken Windows EXT2 file browser in my case.
I agree with the first part of what you said, but I don't think plain listening is a "new paradigm", albeit I'll grant that it's probably a skill that can be improved.

to circle back to the original topic of understanding the problem, a big part of that is being observant and attentive to the needs of users. In that context and using your framing of this in terms of cost and resistance, I agree that simply talking and stating opinions is far easier than shutting up, talking to users, and gathering real information about what they actually want
You need violence because the US and China stepping up to stop pollution doesn't fix things if the Philippines refuses to take initiative. The Philippines alone contributes almost 1/3 of the plastics in the ocean despite having only about 1.5% of the world's people.
Can't say we've really figured out proofs for program correctness now, can we?
We could call it "Full Self Coding (BETA)", which is an addon package costing $10k, but with a promise that it'll just get more valuable over time. Eventually, you'll be able to rent out your Full Self Coder and get a full coder salary while you sit on the couch at home doing nothing!
Text like "I'd like to meet you one day & murder you very horribly with a rather large sword" will pass sentiment analysis because everything after the "&" will bypass the check.