skysight-inc/HackerNews huggingface dataset:
Here's a Javascript program:

const x = 'lexically scoped';

const f = () => x;

const g = () => {
const x = 'dynamically scoped';
return f();
};

console.log(g());

It prints which scoping Javascript uses. When `f` is executed, `x` isn't defined in that scope (the body of `f`), but `x` is used in that scope: does the language look in the scope that `f` itself was defined in (the top-level in this case, but you can have nested scopes), or does it look, at run-time, at the scope that `f` was called from (the body of `g`)? That's the difference. The local-to-`g` `x` that dynamic scoping would use when `f` is called is not a global; it's an entirely different variable from the other `x` (even in a dynamically scoped language, calling `g` won't change the outer `x`'s value).

Dynamic scoping can be useful: for example, in Common Lisp (which supports both lexical and dynamic variables), STANDARD-INPUT is a dynamically scoped variable, so you can temporarily redirect stdin like:

(with-open-file (*standard-input* (open "file.txt"))
(function-that-reads-from-stdin))

And not have to worry about setting STANDARD-INPUT back to its old value when you're done. Scala's implicits are also often used to produce the same effect as dynamic scope.

As an aside, you could argue that `this` is dynamically scoped in Javascript (outside of new lambdas).
All my upvotes to the both of you for your responsiveness. Keep up the good work!
How to Improve Your Bone Health Doing Practically Nothing
I haven't even been seeing the "Most Recent" option anymore.
Physics, minor in math from New Mexico Tech.

Money, youthful ignorance (and a desire to get the fuck out of Florida) and an inability to fill out an application probably due to my truck load of self esteem issues (though there is always the possibility that I fail not because I think I'm garbage but because I actually am).
I suspect you already know the answer... and it's pretty depressing.
> dealing with unrealistic requests will pretty much become your life.

Yeah, so it's the same as being a programmer then?
>There's a startup building prefabricated house using robots and cheap labor in a factory,

Not my area but various companies have been trying to do this sort of thing forever. I can remember reading stories about partially pre-manufactured modular homes decades ago and it's never panned out. It seems to be one of those ideas that makes a lot of sense on paper but people don't want it.
You know you can still do that in Linux, right? The package managers are just a convenience.
That doesn't prove your point. Once they run out of fuses it just means they they can't lock versions in anymore, it does not mean that they will not be able to release new versions.
As I said, the potential is there, the current implementations just aren’t there yet. In a few years it might be entirely different.

And I’m not sure PUT and GET are the simplest solution, I’d think a simple socket over which messages are transmitted in both directions would be simpler than implementing an entire HTTP stack.
If you become comfortable with annotation heavy code bases, what is the likelihood it will change in the future and you have to start over with a new style of codebases?

If there's a major shift in those languages (vs. JavaScript) it seems more worth it to retrain once it's solidified and you see companies actually looking for those skills.

Fast moving ecosystems means more things become deprecated more quickly and you also risk more "train thing that will be useless next year".
Laid-off readers (of Hacker News) ...

I assume.
Isn’t this exactly the argument for preparing a plan B? If employers believe they can get the same value add for devs in their 20s at a fraction of the cost then why hire the 40-somethings? My personal feeling is that ageism in software development shouldn’t be a thing, but it’s a reality I’ve witnessed myself, so I can’t ignore it.
> The unfortunate truth is that unlike other forms of discrimination that are more arbitrary and capricious, age discrimination can often be a result of objective and sound business justifications.

The entire ridiculous immoral premise of this article is built on this idea that age discrimination is somehow objective or best for the company. It is not--hiring a new grad for their stupid excitement over the canny cynicism of an old hand is the definition of penny-wise and pound-foolish. Although given the incentive structures to executives, pound-foolishness has never really hurt anyone "important" in the business world.

What should programmers do before they turn 40? Advocate for less ageism, instead of writing blog posts that try to pull the rug out from under aging programmers by positing ageism as a fact of nature.
In terms of hurdles, of those four I think Danish is a clear winner there. Finnish is "ah, hell no" as far I know. :)
In terms of usefulness, I'm not sure - maybe Polish. (That seems quite complicated grammatically, like other Slavic languages.)

Chinese, if you don't care about writing it, is simple grammatically (though a few concepts are hard to wrap your head around).
It is also ridiculously easy to get a new keycard for a hotel room from the front desk. They don't even check ID most of the time.
All: since the overblown title was sucking oxygen out of this discussion, we changed it to use a different phrase from the article. Can we let go of the title now please?

(Yes, the word 'impossibly' in the new title is self-contradictory if taken literally, so don't take it literally.)
You're assuming that theyre screening out A level candidates. Why? What gives you that impression? Is this candidate such an A level one, or what?
Wikipedia has other lists.

https://en.wikipedia.org/wiki/List_of_programming_languages_...

https://en.wikipedia.org/wiki/Lists_of_programming_languages
Selection bias. You're also assuming that those people are even interested in engineering.
The real problem is that as an "older" programmer (50) I am probably the best I have been, but I no longer believe in the missions of pretty much any company, I'm not interested in the silly ways the companies try to build their culture with toys and trinkets and blankets and rituals and sparkles and phony constructs designed to create workplace as a funpark. I am diplomatic, so I would of course keep all this a secret - I know how to be a good employee.

I'm very happy to do a great job, and easy to get along with and productive and a team player, but I'd be happy to program in a grey box on a plain chair and table.

The employment deal for me is this:

I program, do a great and professional job

You give me money and/or equity

I do appropriate hours and give me this time I need to leave early for example to pick up the kids

I get you a great result

I set in a chair and table at an office or ideally I work from home (travel is dead time)

But that's not the deal on offer.

For me, the primary satisfaction comes from working hard and getting a result that advances the goals of the business.

And BTW I am very much on the cutting edge technically, but I probably wouldn't get through any recruiting process for god know what reason why.
Like Adobe
Across the whole profession, they definitely earn more per hour. I'm sure some superstar engineers or AI people blow them out of the water with equity and whatnot, but you can't find a more consistently high paying field.

My dental surgeon was recently paid $650 to remove a wisdom tooth, which took him and 1 nurse a total of 5 minutes. Even if you assume 75% of that is overhead, that is still $170 per hour and he immediately went on to see other patients.
Problem is that a 40yo dev needs 2x the pay of a 20yo but doesn't bring 2x the value.

Unless you're highly specialized then you run out of options as you become an older programmer. The market size of "specialized programmers" is not even close enough to being the size needed to absorb programmers as they age.

I see things a lot differently now that I did 10 or 15 years ago. I no longer believe that a decade of experience in programming carries much value (as seen by an employer).

The aha moment for me was when I worked with a 26 yo trombone major who took a 3 month coding bootcamp who was showing nearly the same level of programming proficiency as me. And I wasn't a schmuck programmer.
Yes, but prolonged wear and tear will eventually rear some issues. There's not much you can do if you need to be on a ladder for 6 hours a day, for example.
Has there been any updates in the past five years?
I have no clue what you are trying to ask, sorry. Could you clarify?

Do you mean IP lawsuit's against Matrix itself?
I thought Read was a placeholder CEO who was installed to conduct cost cutting. But you're right - a quick google search confirmed that Keller was hired during Read's tenure.
You can't downvote submissions. Also curious that an account with 1 karma point is protesting someone pointing out that this doesn't belong here.
Translate the above to NBA coach. Very few high school coaches exist. Experience matters not raw strategic skill.
> I'm curious as to what 30 years of sitting, programming, drinking cool-aid will do to health vs 30 years of lugging steel... Trawler fishing, I agree - v.dangerous, not good for you!

In those 30 years, you will likely accumulate injuries that make it harder to keep doing the work. My father is a general contractor, and though he does the work far less often than those who work for him, he has accumulated a number of minor injuries that stay with him.
Buy a boat and gtfo of there.
Just tried this on my machine and it caused no increase in RAM usage. Hit it ~100 times.

Edit: Actually it is increasing memory usage, but on the order of like 1MB per 5 key presses. That would probably become an issue on a long enough timescale.
This is France we're talking about, so it's not amendments, but rather Article XV of the "Déclaration des droits de l'homme et du citoyen de 1789": https://en.wikipedia.org/wiki/Declaration_of_the_Rights_of_t... ("The society has the right of requesting an account from any public agent of its administration."), which is used as the basis for actual legislation today: http://www.ucl.ac.uk/constitution-unit/research/foi/countrie...
Interesting, though the write up is truly awful.

Of course, my first reaction was to wonder how much pain and terror that poor pig's brain was experiencing the entire 36 hours.
Are you trolling? https://www.eeoc.gov/laws/types/age.cfm
Do you happen to know if that is the mean or median, or how it skews? I've heard this statistic before and I'm curious about the details.
Free Daily Accounts!
visit http://freeaccounts4.blogspot.com
If they can get a square (rather than rectangular) sensor, and if my math is right, it's a lot less than half..

A circle has an area of pir^2. And it fits just inside a square whose sides are length 2r, and whose area is thus (2r)^2 or 4r^2.

Therefore, the circle fills pi/4 of the square. So only 21.5% of the pixels are wasted.

It gets worse if they use a rectangular sensor, though. With a 4:3 rectangular sensor, it's 41.1% wasted. For 3:2, it's 47.6%. And for 16:9, it's 55.8% wasted.
>What now is called 'embedded domain specific language' was called 'embedded language' in Lisp.

Exactly! If you do "Ctrl+F" search on PG's essay, you'll see it does _not_ have the phrase "embedded language" nor "embedded domain specific language".

What exactly are you nitpicking?
Senior is considered a terminal role in most companies in terms of required promotions, so you don’t have to get promoted again. Staff and principal is a different job kinda like management is, so at/after the senior level it’s splitting into 3 - managers, staff, and senior ICs, hence numbers go down.
Show HN: Metaproperties
What protocol? If you look at spec on their website[0] you'll see 4/5 of the protocols are still marked unstable. Take room state resolution as an example. It has pretty important security implications and it's nontrivial in a distributed setting. The algorithm is not stabilized, and it comes with a warning in the specification:

Warning:
This section documents the state resolution algorithm as implemented by Synapse as of December 2017
(and therefore the de-facto Matrix protocol). However, this algorithm is known to have some problems.

I really like the idea of Matrix, but it seems a little immature for a government to use as a standardized messaging protocol.

[0] https://matrix.org/docs/spec/

[1] https://matrix.org/docs/spec/server_server/unstable.html#roo...
>Who considers 55-60k "high paying" especially when the job contains potential life threatening risks and other health issues.

These interviews are with apprentices! They're still in training and they're make $55k+ with benefits.

Depending on the trade, an apprenticeship usually lasts 3-5 years, with pay increasing along the way. By the end you'll be a journeyman, earning probably 50% more per hour. If you're a specialist or a leader (foreman), you'll get more pay on top of that. Call it an average 4 years, that's a six-figure advantage over someone who went to college, assuming they invest nothing and the college student pays in cash.

Being union and hourly also means they will get overtime when the crunch comes. And it will. An executive somewhere will always change their mind and decide they want Y instead of X.

>I wouldn't do much of that dangerous and exhausting work for double that pay range and I would still make less money than I do sitting at a desk now.

Industrial construction work in particular can be hard, but I wouldn't call it exhausting. You get less of a workout than you would in the gym—you need to be able to do it 40 hours a week, after all.

>I can put in <35 hrs a week, run errands during the day, work from home in my underwear, meet friends for long lunches.

Back when I was in an industrial trade, I could show up to work, do my job and that was it. I'd go home with a nice gloss of sweat on me, take a shower, and feel good. I took zero stress home with me. I looked damn good.

Most importantly to me, though, at the end of the job, when I was talking to someone or just reflecting on my own work, I could point to a hotel, an office tower, a bridge, a federal building, and so on, and say, "We built that. I built that." And I did. And it felt good.
The trick is getting in a good union, like local 6 in San Francisco.

You won't run out of job opportunities if your book 1 union.

Yes--construction is not a great job. Out if of all the Trades; Electrical is a bit better than the rest. It's less physically taxing.

Union Elevator Mechanic might be the best trade?

So much depends on your attitude. If you like going to work, sweating, getting dirty, and going home without much worry--in a good union you are making over $100/hr. Listening to some of the guys takes patience, but you will never hear, "It sounds like you have a case of the mondays, or have to listen to some jack arse pontificating in a meeting.

Non-union is just aweful. You are better off in retail. If very motivated, use the non-union shop to gain experience, and then get a C-10 contractor's licence.

That said, there's only a few cities I would consider working in.

Mike Rowe (the t.v. guy who's made himself the ambassador of "working hard". I personally think he is exploiting a bad situation.). goes around as the prince of the Trades. He always yacking about these jobs that go unfilled. Most of these jobs are non-union, in the middle of the rust belt, and are temporary. There's a reason these jobs go unfilled.

So if you don't mind getting dirty, ex king up early, being around sweaty guys all day long; keep an eye out for the union admittance test. Some unions have over 1000 people taking the test for a few spots.

It's an easy test, but get every question right. The oral interview counts for half.

(I was in the union a year. I got a better opportunity, so I left. Looking back--I probally should have finished the apprenticeship, but did not want to turn into my father. I literally saw myself turning into him. Oh yea, watch the drinking. It's ok to come in with a hangover, but heavens forbid marijuana.

In all honestly, a lot of guys smoked pot. It's only the bigger job sites that required a drug test. Even then, when I worked at Pacbell park, guys would stop smoking a few weeks before showing up for to the job site, and within a few days they were back to smoking.

There was one statistic about working construction that always bothered me. Too many guys were waiting for retirement to really live their lives. They would collect a few retirement checks, and die. A lot of that was probally the wrong diet, and too much drinking?

Good luck!
If your resume says you graduated from college 18 years ago, and worked at <some corp> for 17 of them, they can make a pretty good guess.
It's just a setting, all codecs can optionally not use b-frames.
It took 3 years for 20 people to build CKEditor 5 + collaborative editing plugins + a scalable cloud infrastructure for all this. What's more, unlike many others, CKEditor 5 itself has nearly 9000 tests (3x more than React) and won't disappear next year. We're already on this market for 15 years and plan to support CKEditor 5 for at least 8 years.

We haven’t yet seen any other complete real-time collaborative editing solution on the market (excluding Google Docs and Dropbox Paper which you can’t integrate with your application). And I think that it's not a coincidence that we're first here. This field is extremely demanding and we're one of the very few who have the experience in it.

We totally understand that there will always be the free option out there, but we're sure that those who opt to go with CKEditor precisely understand the benefits of what they're paying for.
This is scary. I'm 30, and I can't imagine doing anything else with my life. I have no formal CS education, but coding is huge part of my identity. I would do it even if it meant being poor. Of the developers that I know that are older and went into management, most of them did so because they had children and family and didn't have the same level of free time to keep up with new tech or were just burnt out.
There are a lot of us with similar experiences. I also made the switch from programming to (in my case) product/project management while in my late 20s/early 30s. Saw the same writing on the wall. I remember the exact moment when I decided: I looked across a sea of cubicles with developers ranging from 20 to 60 years old and realized we all make about the same and have pretty much the same job titles.

It’s a shame. I love programming and am good at it. I do it at home as a hobby because it’s awesome. But there is no career path up. My decade+ of experience is not going to earn me much more than the 20 year old bundle of raw energy sitting in the next cube over, besides the word “senior” in my title.
For typing I doubt it, ideally you should be able to type fine if the display only updated every 10 seconds.

For i.e. the arrow keys, or anything interactive you will probably have to be watching for the response.
Ionic 4 and Capacitor tutorials list #1
Waze did nothing wrong here. As long as the road is owned by public, and was built and benign maintained by all tax payers, all of us have the right to drive on it. It's selfish and unfair to even try to stop others driving on them.
On the other hand, you’re implying that they should maintain patches for every single version of iOS released? Because every minor includes new features. That’s asinine.
there is no stigma, there is a stereotype, and it is individual's choice whether to live up to it. I don't know a single guy in tech who had trouble getting dates or socializing with people through the fault of anything but their own. There is no stigma against people in tech, there is a stigma against a certain type of person that is easily found in (but not limited to) tech.

A lot of people live up to the stereotype though, and that's where the author of the article is coming from. To repeat a saying I heard a lot during my undergrad at a Stem-heavy school that had male-dominated ratio - "The odds are good, but the goods are odd."
The Rise of China in Africa: A Curse or a Blessing?
dev-output-per-sq-ft is one thing that seems not to get mentioned very often. If you can put 4 devs together and get .3 productivity out of each, but with 1/10 the sq-ft for each, the idea is that the company is coming out ahead on ROI.
I'm all for this. I work with two engineers who are just like this and they do a fantastic job. It doesn't bother me or our CEO at all that they might not buy into the culture or the mission as much as our younger folks.
People take higher skilled jobs partially because people are more likely to treat you like an adult! Do you wanna be nickeled and dimed for spending too much time in the bathroom? Shit like that. It’s often times just a really rough life. As a programmer you can tell people that are bugging you that they’re being distracting and to fuck off. You can come in late and leave late and as long as you show up to meetings and are nice to people and are generally pleasant and get all your work done, it’s fine. It’s not this way in a lot of industries.
Brilliant idea! How did you get started?
And this is what inspired Rob Hubbard for the music of Delta game (related video https://www.youtube.com/watch?v=Jn2h6f1EO2k )
As a recruiter, I have the same frustrations. The vast majority of founders seem to want candidates to have a deep connection to their mission so quickly and there's this expectation that the connection you built means you don't want money or free time. This doesn't work when every founder is trying to do it at the same time.
The humanist left must challenge the rise of cyborg socialism
A colleague of mine is working on ESA mars projects as well, a mars propellant drone and a mars suite. To my surprise, they are using golang.
Maybe try and find work with a non-profit. I could never go back to a corporate or "start up" environment. I enjoy feeling that I'm doing something that will actually make a difference to someone other than shareholders.
That he could have used the term 'embedded language', which was used in Lisp decades before he wrote his article. So the article is probably not about embedded DSLs.

What he describes is actually extending the language to express the domain - but that does still not mean that the language is 'specific'. It's not necessarily even an embedded language.
You've got a very myopic view of the US if youthink construction is only happening in expensive coastal cities. Also, 'trade jobs' are not limited to construction.
> I believe that devs in their 40s bring that value just the same

Well, part of his premise is that we may, but we cost a lot more. I know I cost a lot more than I did when I was 24, even after adjusting for inflation. I do worry about pricing myself out of the job market - but I also worry about missing out on potential salary now while I'm still young _enough_ to be employable.
In France, there is also no general Freedom of Information law, except for some administrative documents.
Being empathetic does not put food in my gut. It might get you a date and a plate, but does not provide a career.
I have read deepwork, its a fantastic book. I do try to practice what the book suggests however in real world we are all trying to juggle multiple things and its not practical to just focus on 1 thing for longer periods of time.
The opportunity cost of university getting up there:

$60k salary x 4 years = +$240k
vs
$25k tuition X 4 years = -$100k (state school [1])
$50k tuition X 4 years = -$200k (private school)

So total opportunity cost is around $340-440k and four years, assuming you can go straight into the $60k/yr job from high school. If you finance school with debt, then you have interest as part of the calculation.

Of course there are other intangibles to be had from working, such as learning personal responsibility at a younger age ;-)

[1] https://www.collegedata.com/cs/content/content_payarticle_tm...
Agreed. Where its inconsistent, I personally find myself working harder to manage the stream of input.
So our savings will be inflated away at an only a slightly slower pace now? How kind of the Federal Reserve!