skysight-inc/HackerNews huggingface dataset:
So, I had experienced something similar and fix was two fold - first, it turned out I had anemia and needed to fix health stuff. So, that would be first round, take a look at own health in general.

Second, lifestyle. Oddly enough, keeping super strict schedule (only for a while unless you are naturally routine person) separating work and other time helped. Make sure other time involves sport and activities nor related to coding at all. Learning counts as work time, but also make sure work is work (and not HN or reddit).

The second thing helped to restore motivation. After a while, I started to look forward coding again, started to want to do it.
Yup seen that in a few online "stores" or companies where they use SOLR or ES. Putting in '' will make boxes explode* (ok not really).

What is twice is bad as that the worst of these, fail (at least to my eye) on two fronts.

1) Allowing SINGLE character searches. I.e No min query-length.

2) Not escaping querying - lucene(solr/es) syntax.

You can sometimes see the front-facing "html/js/api" is just a thin layer over ES/SOLR.(Which is not bad by itself) it's when you don't know the limitations or what sort of queries are x100 harder to do than orders.
its true that leadership does nothing and development is stuck, but even in this state nim is probably enough for most people.

> how much frustration you will encounter fighting the compiler and broken / under-specified language features and semantics might be a turn-off.

unless you limittest generics, most people wont even encounter this.

> My advice would be to look elsewhere.

that would imply that there is a better alternative
"I don’t have time or energy to study for and take the GRE right now."

Good luck with compilers...
Everyone seems to agree that speculation in housing is a global problem with adverse effects on communities and societies. Toronto seems to be a good example of how the end-game will look like.
People are priced out of owning a home for good and/or have to leave places where they might have been living for their whole life.
Rent controls don't seem to work, and just cancelling (by whatever means) the market for real estate in general might yield a lot of unwanted side-effects.
I believe there are 'simple' measures to curb rampant speculation without distorting the market to badly:

- Disallow foreign investment in residential real estate.

- Disallow for-profit corporations to purchase residential real estate.

- Stop subsidizing speculation by bailing out real estate investors

- Invest in infrastructure so that living apart from big cities is more worthwhile. Especially broadband internet and schools.

- Add a tax penalty to vacant residential real estate.
I've been in this situation for a few years. Tried changing jobs, took on new responsibilities, just to conclude that I am dead tired of the SpringBoot/Angular mononculture and teams devoid of the sense of ownership.

Around me, SpringBoot and Angular are the default choice, accompanied with Spring Cloud (or AWS for hipster companies). This means that you tend to work with people who do not care what they do and how.

Finally, I just quit and started building a sauna in the basement, doing some long due repairs in the house, learning a language and happily coding in Go at night.

Life is good, again. I am now applying to new gigs, trying to steer away from the kind of projects I used to do before.

P.S. Vue is actually great, I used Angular and React but could only grasp Vue at the end. That's one only humanly sized framework out of the three, IMO.
Seeing it I was like “wait is it actually called that”? And couldn’t tell on mobile but if they’re not using that branding they absolutely should look into it.
Why are you focusing on LGBTQ+ which, as some other posters have noted, appear over-represented in media (relative to their occurrence in the population), and not transracial people who receive effectively zero representation in media? Do you think it's acceptable to punch down like this?
Yes, I experienced that too. Acted surprised and look at me exasperated and what seemed with slight disgust when I came with actual cash to their office. "We don't deal with money, sir".

The situation with cash is overall very bad. Try to pay with a 100 Euro note in smaller cities. Almost no one will accept it, including banks. I regularly see very frustated tourists who with cash in hand are left out in the cold.
That seems like it would very quickly turn into tribute to the local warlord.
Im my limited experience of 20+ years in the industry: This is a sign for incoming burnout. You need a long vacation away from tech work.
As you mentioned, you are successful, invest in your mental and physical health.
When you recover your inner strength, you will be able to easily update the tech skills needed for any position. Wish you luck and stay safe.
Last year was a pretty crazy year for my wife and me - said goodbye our two dogs of 16 years, I switched companies and got a huge pay raise, and we sold our first house.

Both of us got CoVID at the beginning of the year but recovered fine. My wife suffered from depression as a teenager and suggests that I should consider seeing a therapist as it helped her but I don’t even know if what I’m feeling is depression.
The lack of generics/templating in C.
Not impressed. It doesn’t explain anything about how synths work. At least for quite a while so I closed it
high tax penalty on owning 5+ housing units
Oh ok, I get where you’re going with this now. Some Marxist bullshit
I'm also in my mid 30s and I recently had a spell where I just couldn't work on a specific project. I'd take any task to distract me from what I was supposed to be doing.

It was a total mental block. I had designed and built the entire thing myself and just had one more detail to put in place and just couldn't do it.

I think you should listen to the user fleb, it might be burn out.

It's very important to break the monotony of work.

But also it's very important to stay healthy and exercise.
I have no advice but just can say that I'm there right now. I have no motivation to code and no motivation to learn new languages. Maybe you're just tired of it and tired of starting at a screen.
Profiting from housing, yes, is not something I personally consider moral. But also, I believe that we don't need to meet my fairly radical moral stance to make housing more affordable and attainable for all.

We can make incremental progress here by just tweaking incentives. We can go further by reducing profits. It's not some binary all or nothing affair.
I agree that your hypothesis is a possibility. But, what type of advantage does identifying as LGBTQ provide that is not in being a heterosexual?
> But I think tenants should be protected if, eg, their income drops due to a layoff or unforseen medical expense.

They should stay if they can't pay? Who takes the loss? It would be sensible to have a government program to help people in such circumstances. But if you'd be asking for the landlord to just take the loss, that's not sensible. The owner is probably barely breaking even on rent vs. costs, so they can't afford it.
Widely known because the token names were surfaced to users in error messages, so some common syntax mistakes would produce deeply unhelpful "Unexpected T_PAAMAYIM_NEKUDOTAYIM" errors. Hopefully they eventually did something about it, but it was like that for years and was one of the many things that put me off PHP for life.
You'd have to be pretty senior in Copenhagen to earn 90,000 euros, no? As in, staff/principal engineer level?
Every time we get some ridiculously small AND expensive apartment here in Norway, the newspapers usually write about it. For example, this 10 m^2 / 107 ft^2 apartment in Oslo: https://www.finn.no/realestate/homes/ad.html?finnkode=256395...

It was listed for a total price of 2.2M NOK / 235k USD. 12 years ago, it was sold for 240k NOK / 25k USD.

Or this: https://www.finn.no/realestate/homes/ad.html?finnkode=254704...

Which was sold for 2.5M NOK / 261k USD. It is 13 m^2 / 140 ft^2, and 11 years ago, the same apartment was sold for 325 NOK / 34k USD.

As you can see, both of these tiny apartments have increased by around %700-%900, or a 11-12 year gross CAGR of around 20%!

As you can imagine, these apartments are not meant for long-time living. These apartments have been bought and sold 3-5 times since 2010, and if I had to guess, they have been bought by the parents of students, and sold as soon as they've graduated. No-one has lost money on these apartments.

At least here in Norway, more so Oslo, real-estate pricing has slowly but steady outpaced the purchasing power of young people. In fact - over half of first buyers in Oslo are backed by parents / family. The ones that don't get help, probably have to rent and save for a longer time.

It is purely anecdotal, but I've seen this divide in a pretty stark way...those that get help from their parents, buy their first apartment straight out of university (sometimes even while being students), so around age 22-24. People that don't get any help, late 20s / early 30s.

While Oslo would be the worst place here for first-time buyers, most mid-sized cities in Norway are trailing these prices and trends.
Correct re the pay. But it’s true when I was 25 I was far more motivated by a challenge. Everything about web development seemed more fun too.
Slow down. Dedicate less time to work and more time to leisure and relaxing. Go on holiday. Don't think about work for some time. You have to do this until you feel recharged.

The first time it will take longer because you amassed lots of stress. Once you learn how to do it, you'll incorporate slowdown days in your routine and feel energized
This is what I mean, I ported some Python code almost 1:1.

If you program in a functional way anyway, i.e. having data go through a series of filters, it is quite easy. But not all ways of programming are so easy to port to Rust.
I wonder how they like AI profiling now that the shoe is on the other foot!

Seriously though, as the article itself says, the problem was never even to identify these "crews". It was about the political will to do something about it.
most of US cities have no public transportation, weird parking zonning rules that making it impossible to have small commercial scene and lack of parks.. just handful of cities are actual cities, not just offices for suburbs.
A good list.

Odd that, build enough homes for the population, is not mentioned however.
I wrote a small tool based on a tool I have at work in Free Pascal for fun and mentioned it in our company chat room. One of my co-workers thought was scared and thought this was an indication that we were going to start using Pascal for everything. :D
My apologies for bringing some levity to the discussion. It seems I've upset you, not the intent.

There's a lot of people building straw men in the comments, and then pointing out how flimsy those straw men are, I'll grant you that.
It is not just "old" or 3G-only phones, it is any phone that is not explicitly on their whitelist.

I have been using a f(x)tec pro1 for years on 4G+VoLTE on their network, and got the same text message saying they would terminate my account if I did not get a different phone. I decided to lay low and moved my sim into a supported phone with the intention of letting the dust settle white I prepare to port my number to t-mobile (they have by far the worse service in my area, but seem to be the only US provider allowing the pro1 to be activated).

I still have an inkling of hope that I will be able to move my sim back to the pro1 after whoever is responsible for the 3G shutdown gets their bonus and they stop going after unsupported devices aggressively.
> But “my employees must use a fips-certified key” (or “my customers must use a hardware key”) is reasonable and ultimately non-negotiable if you want people to use your protocol.

I think this is the crux of where our disagreement lies. I grudgingly accept that FIDO makes it easier for companies to check that their employees are storing their keys on company-approved devices, but I don't think that arbitrary websites should be given the power to make demands about the hardware that visitors must use to create accounts. That seems like a worse position for user freedom than we have today with passwords.

You might say that websites already have this power, in some convoluted way. They could say "Enter your credit card details and postal address here and we'll send you a custom device you can use to log in to our website", but in practice no company does that. (Banks and governments are maybe special cases, and less concerning given that: their authenticators are managed out of band; they are highly regulated; they usually have actual branches that you can go to in person to sort things out; and people generally choose to interact with banks/governments that are based in their own country).

Attestation changes the market dynamics here. Suddenly it becomes acceptable for sites to bully users into buying certain types of devices, and for governments to start demanding that these devices be used as online IDs (at least for age verification, to start with). Even if companies don't abuse this power to keep people in their ecosystem (e.g. Apple sites giving you special features if you log in with an Apple device), the first casualties are going to be open source hardware and software implementations, which will be deemed insecure, and further normalise the idea that users can't go online without running proprietary code.
not all lisps have the same level of repl-driven development. clojure seems to be good, but it has nothing on common lisp. common lisp has this designed into it

anyway, check out

https://www.youtube.com/user/CBaggers/videos

https://github.com/rabbibotton/clog/blob/main/LEARN.md

edit: https://malisper.me/category/debugging-common-lisp/ (from another poster)
Does not work for me in Google Docs, no matter if copied, or reloaded, refreshed etc. Perhaps they fixed it already.
Sounds like CVE-2015-3860 [0].

[0] https://nvd.nist.gov/vuln/detail/CVE-2015-3860
I'd say that Sahara is an ecological disaster already, the result of ancient deforestation. Even if we might considering preservation of its ecosystem, we likely won't plan to preserve all of it.
Apples And Oranges – on the usefullness of types in programming
> Go to github and find one Rust repo which doesn't use unwrap excessively.

Consider serde-json, a widely used library to serialise and deserialise json. You asked me to find “one Rust repo”. Ok here it is - https://github.com/serde-rs/json/search?q=unwrap&type=. Of the 22 uses of unwrap, nearly all are in test code or in comments. Of the remaining 3 or 4, they seem safe to me. But maybe they’re not. Could you think of some json input that could trigger a panic from one of those unwraps?

I’ll put my money where my mouth is. I’ll donate $100 to a charity of your choice if you can find that.

But if you can’t, at least have the honesty to admit that you misspoke when you said not even a single repo without “excessive” use of unwraps exists.
The article seems like it might be biased and pushing a narrative. It might not be, and I am not dismissing the sources or their sincerity. But a few things seem a bit off to me.

Bajaria is brought in to bring fresh eyes and a new approval chain to the process as part of a strategic direction. It's just asserted this was the wrong thing to do, and the anti-Bajaria sources here clearly met her with hostility from the start:

"Everybody thought it was a terrible thing Ted did, allowing one team to greenlight something that another team had passed on."

and

"And Ted loved that stupid phrase, ‘There are multiple paths to yes.’"

Why? Why was it a bad thing to have different groups looking at shows with a different eye? For a corporation and workforce which allegedly pride themselves on diversity this seems strange to me. They go through a bunch of examples of shows that were dismissed by Holland which Bajaria picked up, but list hits, and credit her with other "megahits". Seems like the diversity of opinion and skill paid off in those cases at least.

They're also dismissive and making seemingly arbitrary statements to support that:

"By then, Holland was to oversee 80 shows on the service while Bajaria was responsible for 60. “Who can make 140 shows a year?” asks one creative. “That’s insane."

Why is 80 shows by one team okay but another 60 by another team insane? Maybe they're just talking absolute numbers, but the article very clearly ties it to the same paragraph where it introduces Bajaria.

Given the hostility and dismissiveness of the original group, I could completely understand a bit of return from the new group. Now what I think is equally likely to have happened is that the new group's arrival put noises out of joint because it threatened the existing power structure, and things deteriorated from there. Now that is always to be expected to some degree in a situation like this so likely the CEO should have managed it better. But maybe it was largely caused by assholes in the Holland camp. Or maybe by those in the Bajaria camp. Or maybe none of it's really a problem and Netflix hasn't got dramatically worse, they're just hitting limits of growth and facing increasing competition, and their stock crash is just a good excuse for disgruntled people to air their grievances.
When I started learning React I felt the same frustration but then it just clicked one day after maybe 2 months of struggling. I’m still waiting for the Vue click but it doesn’t seem to be happening.
It's a ruby application. Take all the background processes to build timelines, trending hashtags, etc and it adds up. Perhaps a single-user instance might do with less, but still...
Ask HN: Best anglophone popular science magazine?
I'm STILL salty that Teenage Bounty Hunters got cancelled.
Etcd v3.5 Data inconsistency postmortem
Does htmlspecialchars() prevent against XSS within HTML attributes?
Hi all,

(I hope I'm posting this in the right place)

I'm trying to make my website as secure as possible.

Does the PHP function htmlspecialchars() prevent against XSS attacks when providing user supplied data to a HTML attribute?
Is it possible for the encoded characters from htmlspecialchars() to be used to perform an XSS attack?

For example:
(The user can supply alt text for an image)
<img src="image.jpg" alt="<script>window.alert('Something Bad');</script>">

Thanks.
A few years ago I just felt tired at the thought of learning another fad language. I ended up getting an MBA and switching into procurement. Now I just code on personal projects and it's fun again.
Both the “look at cool shit” and the “here’s how this simple looking thing actually is really complex and how it works” type of documentaries seem to mainly be on YouTube now.

YouTube is perfect for 10 minutes of content without having to try to stretch it to an hour.
Like when in decades past they'd make pre-historic films but characters had American accents or even just spoke English. Or a sword and sandals epic with very white actors, etc? Productions cater to an audience because they're ultimately commercial ventures. Streaming is more global than ever so it seems shrewd to incorporate a diverse range of actors to me.
That person seemingly turned his health around from 456 lbs to 180 lbs. But he died at age 50. I am scared of fasting because I dont think there are enough studies on humans to understand the long term effects like gallstones and lean tissue loss, especially heart muscle.

[0] https://en.wikipedia.org/wiki/Angus_Barbieri%27s_fast
Not quite sure what your problem is, the tunneling was dicey but once it's done, it essentially becomes a concrete pipe.
Show HN: Not So Boring Newspaper
Sort of? That's a very old article. The project was voted on as a $1.6B project, and was approved. It came in almost two hundred million under budget in 2016.

This is the project I'm describing: https://mynorthwest.com/24890/university-link-light-rail-to-...
Tightly enough for a state trojan used in investigating "murder"?
Wasn't this argument used all the time by the Go community. I.e. only use panic when you intend the program to halt, and handle all potential problems with the Error type.

I think Rob Pike even said it's easy to see where a program fail in one of his talks?

But to me the superb thing about exceptions, is that error handling can be done where it makes sense. I.e. we can try{ problem-code }catch(problem){ handle problem } in a single location. Otherwise we end up peppering the entire code base with a ton of error checking far down the call stack, where we really cannot do much about the problem anyway (unless we are writing command line tools where error handling is just writing the problem to stderr).

Exceptions gives us a nice way to let problems bubble up to the surface, while also stating what the problem was, and where it occurred. That is great IMO.
> many of the more senior community members or those who have been around for a bit have migrated there

It's true that compiler developers like krux, Clyybber, saem migrated to nimskull, I don't disagree.

> but there are only a handful of folks remaining that have been around for more than a year or two

But I totally disagree with your false statements about "senior" community members (those who don't do compiler development) migrating to nimskull - this is not true at all. There are a lot of "senior" people left in the Nim community.

And again, nimskull isn't a "silver bullet" either. It has the flexibility to change major things in the language just because it's a hard fork and almost no one (except people who develop it) uses it for real projects, whereas Nim has an actual userbase that doesn't want their code to be broken, especially considering the fact that nimskull has already removed a lot of the stdlib libraries, especially async (which there is no alternative to in Nimskull).
>> I feel the documentation is riddled with advanced concepts everything is way, WAY more complex than it has to be.

Because it is. Mostly because it is relatively easy to create a complex system/framework. But incredibly harder to make a one that does the same but is simple to understand and use.
And even among those, even less have all that well documented.

Oh, and writing good docs requires a separate set of skills. If the person that writes docs doesn't have years of experience in technical writing - there is a good chance you will have hard time understanding docs written even for a simple thing.

Also, I believe with age our bar for the quality of products and its docs raises as we don't have a ton of time to waste on digging into it.
Travel more. There is plenty of smug ignorance around the world.
Well, crashes are a real thing, and these guys are in the business of trying to predict them. Let's remember to revisit their statement in five years.