skysight-inc/HackerNews huggingface dataset:
The fact that you dont see central banking as a failure is quite telling. A bit like Stockholm syndrome. The Fed has destroyed the value of the dollar and transfered wealth from lower income classes to higher income classes by targetting persistent annual inflation.
I remember the documentary 'The Century of the Self' where Adam Curtis talked about the origins of personal development and self-help.
PNG is lossless, so it really does.
Thanks! That's a wide spread of salaries!

I will assume those earning $300K+ are the top-tier of talent and have roles that would be hard for me to break into while self-learning programming part-time. Would that be fair?
This seems like a pretty obvious thing to do for some small-run auto maker.

Thinking out loud. At what point are legislative controls ever put on car performance, if ever? They've kind of hit the limits on ICE engines with the Hellcat Dodges (for example) but there's no reason an EV couldn't have power to weight ratios that are actually dangerous.

So what happens when you can buy a street-legal F1 car?
Blisk release 16.1: iPhone 13 Mini, iPhone 13, iPhone 13 Pro, iPhone 13 Pro Max
> Has anyone worked on image compression using machine learning?

Dunno about the state of the art, but pretty much every ml tutorial has a section titled "Image Compression Using Autoencoders" right at the beginning. It's the Hello World of ml. The perceptual quality vs file size curve for such a simple network is pretty mediocre, but I'm sure you could do better if that was your goal.
No not all! Perfectly reasonable question.

As Kinrany pointed out there is a website called https://levels.fyi for tech jobs. It's like glassdoor but good. You can poke around there and see comp at various companies.

There is a pretty stark divide between older enterprise companies and Silicon Valley tech companies / well funded startups.

In the enterprise world the salaries tend to start at around $80k and top out around $150k. There are some exceptions in both directions depending on experience and expertise.

At the larger tech companies (google, facebook, netflix, etc) they can afford to pay quite a bit more in the from of Stock RSU's that are highly valued in the market. Starting comp tends to be around $200k for effectively entry level $300k-$350k for senior, $500k for Staff Engineer (in this role you are delivering entire projects. So say you hear google make an announcement of a new service coming out, there is at least one Staff Eng behind that. It does keep going past that but the numbers are harder to find. $1M-$3M is more rare but if you promote enough happens. I've heard tell of recutirers being baffled they couldn't steal especailly sought after engineers from these companies and then finding out their comp was in the double digit millions per year. Lets just say not everyone reaches that level haha.

Those companies are fairly hard to get into. It's possible but requires a fair bit of effort and most people find the style of interviewing they do to be a real slog.

I'm not very familiar with manager comp at the silicon valley tech companies but from what I understand it's reasonable good, often more than the engineers on their team are making.

In large enterprise companies on the other hand it tends to be quite bad (compared to the same amount of experience as a dev) and is often less than their engineers make.

One interesting path might be to try to make the switch to one of the Silicon Valley Tech companies as a manager without learning to code (or only learning a nominal amount).

You also mentioned DeFi. You could look around at companies doing fintech or blockchain. Crypto related companies have a reputation for paying quite well (unfortunately I don't know any of the numbers there. Maybe look around for companies like Coinbase on levels.fyi)
I was with my cousin in law at the Getty a few years ago and we were talking about how much information is lost when you look at a screen. The world is a lot richer than a mere 16,777,216 colors. I think there are things about our sensation of colors that don't have names yet -- there are just things that greens and browns do that I have not been able to find words to describe. There are interactions light has with materials that we have not separated out into "colors" or "textures" yet.
That is interesting. I did not know that. Thanks!
Does Python give you an actual productivity edge? I do not see how.

Python developers are easier to hire (certainly than Nim), have a monolanguage experience (meaning less onboarding), but are not magically more productive. Developer availability is still a great reason to choose Python.
You do realize attorney's cost MONEY right? And the vast majority of people cannot afford an attorney's assistance. I mean if you are in the 6 figures and up club like most of Hacker News you can probably pay for a legal plan where the attorney can file to get paid a couple hundred bucks for the question you asked but still.....

(this is the part where I get sent links for a bunch of "free" legal resource links, that will totally respond to your email and return your phone call. Totally)
You seem to believe that vacancy rates are high enough that we could make a dent in the problem by trying to lower them. Is there any evidence of that? None that I know of.

These suggestions seem unlikely to accomplish much, and they seem driven by a assumption that inequality and greed of the wealthy is the problem rather than local government red tape and NIMBYs holding back construction.

More supply reduces prices. Econ 101. It is strange how many people seem to think Econ 101 somehow doesn't apply to housing.
Don't do it. The ageism is heavy in this industry, and you will not get paid the sort of money you are making as a newbie programmer. Second, you will always be on the treadmill of learning new technologies - the whole industry becomes unrecognizable, even to someone who has been in it, every decade or so. That's a very high rate of change to keep up with for someone who has family and interests outside of work.

The lower rungs are populated by naive youngsters coming off college campuses; middle rungs by bored, political players who see the writing on the wall and are trying to schmooze their way into management, or idealists who retain their naivete but will soon realise that they are unemployable. You rarely see people aged 50+ working as programmers (unless they are willing to take massive pay cuts), and for good reason: they have been driven out.
You can start here: Huffman Coding which gives a really good overview of one kind of coding.

[1] https://en.wikipedia.org/wiki/Huffman_coding
Has this worked anywhere in the world? As far as I know, it never works. The problem is not solved by restricting demand (there is always a way around restrictions), but it is solved by adding supply.
Seriously. This is almost a genre at this point. Hysterically demanding rapt attention just to take an entire paragraph to say something that takes one sentence. It drives me crazy. I put it in the same bin as the scourge of 8-minute how-to videos that could be three bullet points and a diagram.

"Whoa, this is nuts: This Super Metroid walkthrough has monospace text that is manually justified through WORD CHOICE ALONE. [link]"

There. Was that so hard? And they still get to yell.
> Prevent corporations, ..., from buying up realestate could be a start.

What does that mean? That no apartment complexes can ever be built? Just checking I'm understanding you're suggestion.
Looks like a deployment issue to me: they basically deployed the entire .NET 5 framework with the app instead of relying on the system installed one.
Build more what? Where? How?
I think it still is a fair bit of work, but it’s something that an SRE team can manage and hand off to users a higher level abstraction than what could be provided atop proprietary cloud APIs (there’s not really a good way to abstract over things in AWS-land because AWS isn’t really extensible).

So you actually get some nice separation between folks who manage the Kubernetes-based platform and the developers who interact with high-level Kubernetes resources. The salient point is that developers aren’t the ones doing all of that work and they don’t need to coordinate with the platform team on any regular basis.
These appear at odds with one another.

A large percentage of landlords own a very small number of units each. Many get into this to finance retirement, etc. Taxing this way of life would likely just make less units available for rent, and reduce the number of people in the market for properties, which would reduce the effective demand for housing.

Banning corporations? The smart thing to do when buying a house is to set up a corporation to own the property. The very wealthy will always be able to achieve the sorts of protections this provides - why keep others from it?
> Assume that this regex will be used for a public URL shortener written in PHP, so URLs like http://localhost/, //foo.bar/, ://foo.bar/, data:text/plain;charset=utf-8,OHAI and tel:+1234567890 shouldn’t pass (even though they’re technically valid)

At Transcend, we need to allow site owners to regulate any arbitrary network traffic, so our data flow input UI¹ was designed to detect all valid hosts (including local hosts, IDN, IPv6 literal addresses, etc) and URLs (host-relative, protocol-relative, and absolute). If the site owner inputs content that is not a valid host or URL, then we treat their input as a regex.

I came up with these simple utilities built on top of the URL interface standard² to detect all valid hosts & URLs:

• isValidHost: https://gist.github.com/eligrey/6549ad0a635fa07749238911b429...

Example valid inputs:

host.example
はじめよう.みんな (IDN domain; xn--p8j9a0d9c9a.xn--q9jyb4c)
[::1] (IPv6 address)
0xdeadbeef (IPv4 address; 222.173.190.239)
123.456 (IPv4 address; 123.0.1.200)
123456789 (IPv4 address; 7.91.205.21)
localhost

• isValidURL (and isValidAbsoluteURL): https://gist.github.com/eligrey/443d51fab55864005ffb3873204b...

Example valid inputs to isValidURL:

https://absolute-url.example
//relative-protocol.example
/relative-path-example

1. https://docs.transcend.io/docs/configuring-data-flows

2. https://developer.mozilla.org/en-US/docs/Web/API/URL
BC has added three times as many people as housing units in the last decade. So there definitely has not been plenty of new housing built.
I was just struggling with this -- specifically, our users' "UX" expectation that entering "example.com" should work when asked for their website URL.

Most URL validation rules/regex/librairies/etc. reject "example.com". However, if you head over to Stripe (for example), in the account settings, when asked for your company's URL, Stripe will accept "example.com", and assume "http://" as the prefix (which yes, can have its own problems)

What's a good solution? I both want to validate URLs, but also let users enter "example.com". But if I simply do

if(validateURL(url)) {
return true;
} else if(validateURL("http://" + url)) {
return true;
} else {
return false;
}

i.e. validate the given URL, and as a fallback, try to validate "http://" + the given url, that opens the door to weird, non-URLs strings being incorrectly validated...

Help :-)
Nice writeup, glad the author has a language and environment that they like.

Python has never been one of my favorite languages, but easy support in Google Colab, AWS SageMaker, etc. as well as most of my professional deep learning work using TensorFLow + Keras, it makes Python a go-to language for me. If you want a Lisp syntax on top of Python, you can try Hy (and get a free copy of my Hy book at https://leanpub.com/hy-lisp-python by setting the price to $0.00).

That said, for unpaid experiments I like Julia + Flux, which also solves the author's preference to avoid slow programming languages. Julia is really a nice language but no one has ever paid me to use it.
This article makes no mention of sustained read/write speeds. Any SSD manufacturer can achieve large IOPS in a benchmark that doesn't exhaust the DRAM cache.
Are you asking why it matters if vaccinated people become asymptomatic spreaders?
Landlords don't provide housing, construction workers do. Build houses, let people own them. For every 1 person who buys a vacation property, there'll likely be 10 who buy a second rental income property anyway, so I doubt that this would actually make renting that difficult.
> significant advance notice

Are you changing your mind about it being 2 years?

What if you want to make a change to the system that isn’t compatible with maintaining the old api?

How about if the old api can’t scale as the user base grows?

This is a clearly unworkable proposal.
Ideally the whole car collapses simultaneously.
As someone who learned Clojure before I picked up any sort of Java knowledge, the "big stacktraces from hell/JVM" problem seems kind of over-pushed, it's not as bad as people make it out to be.

Yes, the stack traces are long, but if you actually follow them, they'll show you what your problem is, not sure what else you can wish from a stack trace. I'd rather have too long stack traces with all the details than just a error message without anything to go by.

And since you most likely get your stack trace from when evaluating just a snippet of code with some exception, the stack traces tend to not be as big as for other programming projects (like Java, JavaScript, Golang and else) either where you need to run the entire program in order to reproduce some issue.
Housing. On SFBA real estate. By drastically increasing the number of permits issued.
I really hate how review sites never mention sustained read/write speeds. I don't care if I can burst that much, I need sustained.
But as you said, developer edition is based on beta, not stable.
Just becoming blatantly obvious at this point that it's not about the virus and certainly not children's health.
If nuclear had delivered the "too cheap to meter" promise in the honeymoon pre-Three-Mile-Island phase, it might have affected decisions down the line.

A big example is freight rail. The service in the US shrunk over time, and was basically reduced to captive-loop "coal mine to power plant" runs by the 1980s. If the entire country had similar economics, due to cheap ubiquitous nuclear power, there would be impetus to sustain and expand the electrified network. Instead of spending the 50s and 60s on half-baked turbine locomotives that burnt tar, and building ever larger diesels, the clear answer to more horsepower was to suck down more amperes from the overhead wire.

Similarly, trolley-bus designs get more interesting when the cost gap between electricity and petrol widens.
That would make homes cheaper, but not more affordable. Since the money to buy homes becomes more expensive you end up with about the same monthly cost.
If you like to do research before buying things, this tool can save you hours of time and energy doing lots of web searches and scrolling through comments and reviews.

Instead, it finds the best parts of forum discussions where people with experience with the product you're considering give pretty honest opinions. If it can't find anything in forums, it looks in reddit as well. I've been amazed at how well it works--curious what others think!
Well I guess the question should be: how many people are being forced to rent when they'd prefer to buy an house?
Author: please make your program name an acronym for

Bower Tesource Onitor for Pinux
I've been looking at Singapore which is interesting with most people living in pseudo-public housing. The govt owns the apt buildings and people buy 99 year leases ( which you can sell).

The idea that you can't own land/space outright, just for 99 years actually makes a lot of sense. You get to live there for your whole life, you aren't buying some intra-generational asset that will get passed to your kids & grandchildren etc. As a result the condos are much cheaper.

I think we could do the same with land. You can't buy a yard or farm, you just buy a 99 year lease after which it returns to the city or state.
One of the safety factors used here is "Forced Autopilot Disengagement" which I've experienced a bug with that can trigger if you take control of the car using the steering wheel without disengaging via the control stalk. I have a habit of taking over control of the car on a freeway offramp by just turning the wheel, and around 1-2% of the time the car freaks out and gives the disengagement alert thinking that I'm not controlling the car. I suspect that bug will make my safety score worse.
This is essentially an argument that well-educated professional class "socialists" use to justify the protection of their own home values while paying lip service to a housing fix that clearly will not happen. It envisions two kinds of residents: those who will compete up the the cost of houses, and those who will be placed in state-run housing.
Can anyone actually point to this supposed promise.

The only incognito mode I've seen comes with an explicit DISCLAIMER that you WILL probably be tracked by the websites you visit, the ISP you use etc.

The terms for using Chrome are pretty clear, as are youtube / gmail etc.
I'll have to look into it.

Given both the financial value of image compression (given the amount of video shoved down the net) and the asymmetry of codec (it's OK to use resources to compress, not so much for decompress), I'd expect some real money to be spent in this area.
A lie by omission.
Java 17 Features: Pattern Matching for Switch and Sealed Classes
> Is there anyone on HN with deep expertise in this area who can comment on this article's scientific accuracy?

Yes but that's not me. Instead, if we skip the biology stuff because our technology there is still in its infancy (CRISPR is utterly amazing, but rather limited, compared to things we can build in the varios engineering disciplines.) And also because I didn't study advanced biology in college.

Okay, so if we take 800 million acres used for animal feed and actual grazing land[], and a heavy approximation of a total 4.8 kwh of energy from the sun per square meter for a single day, and plug in a 1200 calorie diet, we get 110^13, or that the land can support 10 Terahumans, assuming 100% efficient conversion from sun's energy to human calories. Which is ridiculously wrong. (That would be the "impossible to overcome according to the Laws of Thermodynamics and our current understanding of cell biology and chemistry." bit referenced, plus human diet is a bit more complex than pure number of calories.)

So if we can get humans to photosynthesize directly instead of having to eat food (along with the resulting efficiency losses) the Earth can support another few orders of magnitude more humans than there are today by reusing the land that's already being used support cattle. (It's only a small if*. Totally feasible. I only need a few million dollars in funding but we'll have that figured out in a couple years, tops.)

[] https://www.treehugger.com/land-contiguous-us-used-feed-live...
[] http://zebu.uoregon.edu/disted/ph162/l4.html
Evil UX idea of the day:

Color selector where you pick the color from the randomized image with an eyedropper tool.

The colors are all in there, what's there to complain about?
I guess I'm not sure what incognito means to a layman - I'm stuck with knowing the actual definition.

If I do something "incognito" it doesn't make your camera not work if you take my picture. At the most it may it a little harder to identify me.

In recognition of the ongoing battle between celebrities and paparazzi, perhaps it should be called "floppy-hat" or "bad-wig" mode.
Hm, I get your point but you've never wanted to live somewhere for just a few years? Renting is great for many circumstances. Huge transaction fees and risks related to owning are not great if you're not looking to settle down longer-term. The idea this need is covered by a bunch of people owning just one property seems stretched. What is truly wrong with meeting a need more efficiently?
It has a compression parameter though
Outside of California, it is obvious. Inside of California, they have Stockholm syndrome from over 50 years of trying heavy handed approaches that do not work.

If you were to put a 'food czar' in control of feeding everyone, it would never occur to said czar to just let businsess willy nilly put restaurants wherever they thought they could make a buck. It couldn't be that simple.
I don't think it exists. Perhaps we should create it.

I manually justify paragraphs of monospace text the exact same way all the time, for my code and git commits. It's an added cognitive burden that should ideally be automated by M-q in Emacs or something.

With WordNet we can get a good thesaurus for permuting words. Combine that with CMUDict and IsleDict and we can even reshape the text into something like iambic pentameter.
Doesn't incognito mode warn you that you will be tracked.

I always understood it to be about avoiding leaving details of your browsing on a shared computer.

How does google block your ISP / website from doing their usual stuff (ie, google analytics etc).
A Terminal Case of Linux
We get obnoxious security cgi scanner from palo alto networks tripping alerts all the time coming from gcp ranges
You didn't fail, it's just that this supposed translation makes a lot of assumptions about how it will be read.

I speak French, and did not immediately recognize "Un petit d'un petit" as "Humpty Dumpty"; the "correct" reading relies on knowing that a native French-speaker might pronounce "hump" as "ump". It is not simply a mapping of syllables to phonemes.

In other words, it's an extremely targeted joke, intended at people who have specific expectations about how both French and English are read and spoken.
Or they don't want to reveal their identity on HN.
Mozilla is like apple in that regard, users can't be trusted with their own machines and the well-intentioned mothership must at all times be in control since at any moment they could fall to social engineering and then they (apple/mozilla) would get blamed for whatever the malware did.

Installing developer edition is the blessed way to opt out of that.
None of those fix the root causes of the problem.

Root causes:
- zoning restrictions
- parking minimums (also perhaps a subcategory of zoning)
"Incognito" is a very misleading name for this feature.

from Google’s English dictionary:

adjective
adjective: incognito

(of a person) having one's true identity concealed.

adverb
adverb: incognito

in a way that conceals one's true identity.

noun
noun: incognito; plural noun: incognitos

an assumed or false identity.
Not sure I'm a fan of that. That's over 300 MiB down the drain for no apparent reason since even 7 years old systems (e.g. Windows 8.1) can just install the runtime system-wide without issue.
Supply and demand, work from home has allowed more highly paid professionals, mostly in tech, to work remotely from anywhere they choose and many are choosing to live and work from home in San Diego because of the weather and quality of life. Who can blame them.
Yup, the author is guilty of some of the polarization he writes about, smugly describing caricatures of other people with dripping condensation. Political examples aside (already got downvoted for mentioning them), he even manages to take a swipe at 'blessedly successful' tech workers.
Completely disagree. If I buy a piece of land and spend to make improvements, I’d expect to sell at a price that justifies the investment or let my kids inherit my life’s work.

Land leases massively disincentivize making improvements to land or structures, because it’s not even yours. What a great way to ensure the quality of our neighborhoods goes down over time.
Fuck this nonsense.
It is year 2030. HN is advocating that we should all kill ourselves in the developed nations for the sake of poor people and their well being, of course, for the planet as well. It will reduce climate emissions by 75%! Government kill-yourself pills will be forcefully distributed and mandated. Having kids was banned in 2025 so that's already taken care of. Total wokeness extravaganza.