skysight-inc/HackerNews huggingface dataset:
> red states basically rank way better on housing affordability

Do they? They tend to have cheaper housing in absolute dollar terms, but that has to be weighed against the job market - not for white-collar can-work-remote folks like us, but for folks at the lower end of the income scale in fields such as construction or retail. The OP cites results from Denver and New Orleans as well as New York and Boston. When it comes to homelessness, no state seems to be immune. I know people on the left tend to blame greedy landlords and developers, while people on the right tend to blame over-regulation and limited supply, but just blaming Biden (which satao did at the time I replied) without any supporting reason or facts seems like the kind of partisan pot-shot we shouldn't welcome here.
What are the keys? I can't figure out how to accelerate.
Interest rates go up, getting a mortgage becomes less affordable -> more people in the market for renting (in many areas, there's also a lack of rental housing stock)

Professional landlords have built empires on low interest rates -> interest rates go up -> landlords pass the cost onto renters (or for smaller landlords, exit the market, potentially reducing supply further)
Yeah!! You and me, bud! Let's run away, elope, and buy an island where no gubmint can touch us! Only we can touch each other all we want, hunglee2!! We'll call our island "Weinstein II"
I fully agree, but it's a tall order given how unpopular it is both among voters and politicians. Governor of CO just tried it and every single municipal lawmaker was howling for his head. The bill some of his allies introduced to the state legislature got gutted beyond recognition and then dumped unceremoniously, and the majority of state citizens were glad for it.
Higher or lower taxes doesn't change the market rate for a given unit. If your landlord has to pay higher or lower taxes, they still can charge what the market will bear. However, increasing the supply of rental units will lower rents or at least slow the increase.
You'll be surprised when you learn about "Windows"...
> So while Java broke some big libraries/frameworks (not "pretty much everything though"), it can't really be blamed on them.

I think one of the reasons people use Java is to get access to those big libraries/frameworks.

I've worked at a few companies that used Java during the transition, so maybe I had access to about 10 Git repos that underwent this transition.

I think pretty much all of them required some tweaking e.g. adding extra dependencies in Maven when moving from Java 8 to Java 11. I actually became the "go to" person to do these transitions, having worked out what incantations were needed.

All of those repos, to this day, despite the effort that was put into them during the transition, now print out warnings about things being unsafe. The companies just ignore those warnings. I have 15 years of Java experience and I don't know what to do about them. My understanding is this is normal in the Java world now.

They are just normal web applications or REST services using databases like PostgreSQL, using e.g. Spring Boot, Tomcat, etc. Maybe those libraries do things they're not supposed to, I don't know. I have never used sun.misc.Unsafe in my code or anything like that.

Perhaps if I spent days studying the problem I could understand what was going on and what to do about it (although probably not, as the problems might have been in third-party dependencies.) But this wasn't money the companies I worked for wanted to spend. But anyway, my point is that spending days fixing stuff after an upgrade != backwards compatible.
Right. I also feel good on road trips.
* cheap CAC
* high customer engagement

both leads to high probability of finding PMF
That's just a newphew, in the same way that my brother in law is my daughter's uncle.
There was nothing practical about the print statement.

The print function is easier to use, meshes a lot better with the langage, and can actually be extended without C++ style syntactic nonsense.

The print function is one of the best things to come out of p3.
It never makes sense to do it for the tax breaks. unless your income tax rate was 101%, then the reduction in your taxes is always less than the donation, meaning it's always a net loss to you. Remember, donations lower the total taxable income, not the total amount paid, so it's effectively like you never earned the money you donated.
That is not anywhere close to the truth.
> Why font-size must NEVER be in pixels

This isn't really right (especially putting "NEVER" in caps).

Mainly because this is somewhat misleading:

> If you've used pixels to define any of the above style properties, these will not respect the user's font size preferences

The user is setting the default font size, which isn't quite the same thing as their preferred font size. And while only specifying relative font sizes will make this into a kind of global font size preference, there are other, usually better, ways to address accessiblity.

> I once walked in on my mum holding a magnifying glass up to her computer screen because she didn't know she could change the text size!

Do her a favor and show her the browser's "zoom" function (which works fine on font sizes specified by pixel or point), or, for that matter, show her accessibility features of her OS. These are probably going to work much better for her than adjusting the browser's default font size. e.g., font size isn't the only thing you might want to make bigger or layout differently when a person has issues seeing small things. (And it doesn't require getting the world of web devs to buy into a convention of dubious value.)

BTW, to follow the advice of this article, you can only use relative font sizes, so no "points" either.
Rent-seeking behavior is not the same as renting out property, it's a specific term in economics
I'm happy with jogging and walking every day, especially because I can reap the mental health benefits that better physical health brings.
That's a fair assumption in my experience from running companies. I've seen management with ethics, but even then, eventually new people are in charge, shares (or the whole thing) get sold... That's what contracts are for, commitments from a company are commitments from people that might not be around very long.
I am fully on-board with walkable cities, it's something I feel very strongly about. This link, however, is not to an article supporting the lofty claim of the title (currently "Lack of Walkability in the US is destroying mental health"), but rather to a shop where you can buy red Trump-style "Make America Walkable Again" hats.... for what end exactly? Not clear. The site is collecting donations, but they don't say what they plan to do with them. All of this smells very fishy. (As an aside, I'd guess the number of US residents who support walkable cities AND who are willing to wear a hat that is designed to be mistaken at first glance for one supporting the former president is very small.)

If you're interested in a more informative discussion of city design and its effect on lived experience, I recommend Not Just Bikes [1].

[1] https://www.youtube.com/c/notjustbikes
I still think it's odd that Zoom is forcing people back into the office. The only thing I'm hearing is that they don't truly believe in their product. Given that stance, they're saying this today, when push comes to shove, they'll do it. I think the reality is they don't have the tech in place today to do it, but are working towards it.
Tl;dr Florida is weird.

It's insanely city-centric, because the state is literally a swamp or sun-scorched grassland.

On top of that, add a lot of foreign buyers, for various cultural, geographical, and political/economic-stability reasons (e.g. if you're a wealthy Haitian).

On top of that, add a constant stream of snowbirds [0] and retirees.

On top of that, add a huge tourist economy.

At the end, you get a housing market that's really unstable (up and down).

[0] https://en.m.wikipedia.org/wiki/Snowbird_(person)
"Why is backwards compatibility such a religious sin for Go?"

I think the best way to understand it is that it is a first-class feature of the language. Thus, for Go specifically, it is like asking "Why is it a statically-typed language?" or "Why is the language compiled rather than interpreted?"; these are not bad questions but to a large degree the answer is that was a major choice made at the start of the language. And "why won't they get rid of it?" is in the same class of questions as "Why won't Python just become a statically-typed language?", which, is, again not intrinsically a bad question, but one that is certainly in a different category from "why won't Python adopt this particular bit of syntax sugar in their next version?"

That the designers of Go would consider that a "feature" and so many programmers probably find classifying "backwards compatibility" as a feature a completely befuddling concept ("that's not what a feature is!") is probably a pretty good microcosm of the difference between the gestalt of programmers as a whole and the Go designers.
I hope we exist long enough to look back at it and see what harm it has done. As it stands, I'm pretty sure most of us will be dead and so will most life on the planet.
Tier 3 city are "undeveloped/no market" cities. So it could be remote workers moving out of high COL areas. But also a bit of greed sprinkled on top.
Ok, what if they change their mind just like they did now?

Also what if they break the law? Who is monitoring that? If detected, who is enforcing it?
Love it when people make a claim and post a PDF like it's evidence.

From your PDF:

"The steady speed results of the Nissan Leaf and the Golf variant and the polynomial trend lines are shown in Figure 8. For all the measurements speeds the Leaf [EV] emits less noise than the Golf [ICE]."

This is measuring 10kph to 70kph.

Also these are small European vehicles compared to other small European vehicles. You won't see those so much in a downtown US city.

Consider that the volume in US cities is from the noisiest cars. It doesn't matter if the average car is just as quiet as an EV - it matters what the average total noise is, and that depends on a few loud cars. Likewise pollution. One "rolling coal" fuckwit is all it takes.
Does the OPs math check out?

> 282,000,000 vehicles * 14,000 miles/(year vehicle) * 241.4 Wh/mile * 0.85 lbs C02/kWh = 810.1 billion lbs of C02/year

Aren’t Wh and kWh being conflated in this calculation?
> This content is not available in your country/region.

(wgno.com)

Why should airless tires make any difference to that specific issue?
You ideally want that earlier and more high level than a code review.

If you are doing system/algorithm design in the code review, it’s not meant for that.

The action item can also be “can we create a issue to track and discuss this further”
Why wouldn't that work? We already do it for fuel.
Agreed. Pick a different number, then. Unemployment, inflation, GDP growth per capita? On all of these the US is doing better than all other major economies.
Can you back that up with any study at all? Or are we counting smug anecdotes as facts these days?
There's a library that solves this for you, thankfully https://github.com/charettes/django-seal.
It says at the top. X accelerates.
I do that calculation in the article.

>We can also use 24.2 mpg as the average fuel economy for a gas powered vehicle in the U.S. [10] to expand on our approach, slightly. Using this value we find a slightly largely value for total gallons of gasoline burned per year of 163 billion.

That is a good point about passenger EVs vs vans and light trucks. I'm not sure if it makes the analysis "deeply flawed" as it would proceed the same way just possibly switching the actual number used in one place.
Yes I totally agree, and I think this is the hard part. I absolutely worry about this for people just entering software engineering. I rely on "taste" a huge amount to figure out whether I'm being told something useful or worthless, and I developed that intuition through years of experience not having an AI to ask.
This is super cool. I think it's funny how Quanta writes, "It is expected because JWST was built, in part, to find the ancient objects." "Ancient" is equivalent to "distant" because of special relativity. It's an odd thing, astronomy - it's a real world time-traveling observation, except we're limited in resolution and we can't look here only there. If it was a game mechanic I'd call it a cunning way to impose internally consistent limits on what the player can know.
Red states also tend to just have fewer people in general, total and in density.

Most people in the US live in “blue” islands even within “red” states. People live in cities (well, metro areas).
These are all great points, and no, Disney didn't use dbt. We wanted the demo to show how you can modularize SQL into reusable objects that you can fully customize error logs for, while also adding the value of handling all steps of ETL in-house. You could definitely write this script modularly using dbt, but we feel like that value add of having connectors that easily integrate with your transforms (e2e), as well as taking the software engineering best practices that dbt applies a step further by turning each transform and connect into objects that you can test, modularize, and customize error logs for is our main differentiator.
Show HN: LLMs can generate valid JSON 100% of the time
Outlines is a Python library that focuses on text generation with large language models. Brandon and I are not LLM experts and started the project a few months ago because we wanted to understand better how the generation process works. Our original background is probabilistic, relational and symbolic programming.

Recently we came up with a fast way to generate text that matches a regex (https://blog.normalcomputing.ai/posts/2023-07-27-regex-guide...). The basic idea is simple: regular expressions have an equivalent Deterministic-Finite Automaton (DFA) representation. We can transform this DFA into a generative model: in each state we get a list of symbols which correspond to completions that partially match the regular expression. We mask the other symbols in the logits returned by a large language model, sample a new symbol and move to the next state. The subtelty is that language models work with tokens, not symbols, so we derive a new FSM whose alphabet is the model's vocabulary. We can do this in only one pass over the vocabulary.

Generating the token masks thus only requires a dictionary lookup at each state. Our method blows other libraries like Microsoft's guidance out of the water.

From there it was only a small leap to be able to generate text that follows a JSON schema (https://json-schema.org/), or is parseable into a Pydantic model (https://docs.pydantic.dev/latest/usage/models/). The method works with union types, optional types, nested schemas, arrays, everything. It is guaranteed that the output is parseable.

I think it's cool, and I've spent a lot of time watching even tiny models output valid JSON over the weekend. Hope you will too.

I look forward to feedback, bug reports, feature requests and discussions!

Edit: Link to our pre-print explaining the method and how this can be extended to generate text that follows a Context-Free Grammar https://arxiv.org/abs/2307.09702
If you allocate everything in advance and use free lists, you can probably do it. I believe that it is one of the few ways tinygo handles memory. (so embedded as a use-case)

Note that GC can be triggered manually.

I've had to do that using the wasm target so that I'd only trigger go GC cycles when the browser was idle.
Eventually that use-case might disappear as the integration with a garbage-collected wasm gets deeper.
its just a matter of replacing those per-panel inverters with a lot of string inverters and reaching out to diysolar forums on how to build your own prismatic batteries on the cheap. prolly 3-4 $2k inverters and maybe 10k of batteries
Because the rich and the home owning middle class votes for restrictive zoning to become even "richer".
Do we know what Hibernate did wrong? It used to be very popular among Java engineers but later seemed have become an obscure technology.
glad it worked out for you!
Did you find a mentor who is in a similar domain/industry you're interested in?
e.g. finding a mentor with b2c experience when you know you want to do b2c
Here's a meta analysis[1] from 2012 showing that walking has a strong positive effect on depression. Here's one showing that biking and walking for commuting were associated with improved physical/mental health[2]. Here's a newer study showing benefits to the elderly from walking in urban green spaces[3].

Seems like a well supported idea.

[1] https://www.sciencedirect.com/science/article/abs/pii/S17552...

[2] https://www.sciencedirect.com/science/article/abs/pii/S01604...

[3] https://www.frontiersin.org/articles/10.3389/fpubh.2020.5759...
> I'd even argue that NAT is a good thing (security feature,)

Any router that I’ve come across already blocks incoming IPv6 traffic by default, so I’d have to disagree. NAT was designed for a very specific purpose and keeping it in a new implementation makes no sense if it’s not necessary, which it’s not if the hardware requires you to open incoming ports.

No NAT would make it a lot easier to understand what’s happening too, since the process would be “allow traffic from the internet to this device” rather than creating a translation for an internal address, possibly having to set up a MAC reservation to ensure the DHCP lease doesn’t expire etc.
Reciprocally, when low wages are available in manufacturing, comapnies are less likely to use automated proccesses because labor is so cheap it can cost less to eg. have two buckets/wheelbarrows between two parts of a factory line with one person to swap them rather than use a conveyor belt. Getting 100% automation would allow factories to come back to the US but getting that last 20% at a competitive cost is difficult. See America’s largest tool company couldn’t make a wrench in America (wsj.com).[0]

[0] https://news.ycombinator.com/item?id=36828861
Call me when we get some sugar for `if err != nil`.

The signal to noise ratio when reading Go code is not great.
Are they hostile to car owners or is it the car dependency enforced via city planning / infrastructure? I almost always see the latter but hear the former as criticism which is laughable.
IMO the application itself is a tour de force of open source. I don't think anyone really wants to fork it. It's the ecosystem around the app that is awful.

But yes, there are various projects to 'libre'-ate these portions of the community, though I don't personally have any experience with them. My own personal beef with them comes from when my middle school child wanted to learn some specific piece, and I thought "Oh I can probably get that done through this great OSS project I have been hearing a lot about the past couple of years. I should support them." Dear Reader, I made a terrible mistake.
The GPL is only restrictive to companies that want to use unpaid labor.

I'm not surprised to see their astroturf around here, and I'm not surprised that the astroturf probably isn't paid for, either.
that does sound reasonable given the current VC climate
Show HN: GIF Tac Toe
Add a little chaos to Tic Tac Toe with Gifs
I'm not a fan of the condescending tone of a lot of NotJustBikes' videos, but he made a solid piece about the sheer sound impact of vehicles in cities:

https://www.youtube.com/watch?v=CTV-wwszGw8
Confirmed that works. Added to "My Filters" Thankyou

# HN Username
news.ycombinator.com## td > table > tbody > tr > .default > div > .comhead > .hnuser

That would be a good addition to LetsBlockIt [1]

[1] - https://letsblock.it/filters/tag/hackernews
it's a simple script, should be portable to firefox with minor modifications. The source code is available on Github [0].

0: https://github.com/Andrews54757/Anti-Anti-Debug
Every business wants to price discriminate in order to capture consumer surplus as revenue. This is just another way for PG&E to leverage their monopoly to price discriminate.
That doesn’t prevent the deletion of backups and snapshots, encrypting the encrypted backups for a ransom, and using your account for distribution of the illegal content or malware.
I'm not on vacation and Europe has been great for me mentally. Similarly, I hate when I go back to the US.
Yeah, there's a difference between .com .net .org .gov and many of the country code TLDs when you're looking for non-local content.
My experience is young people are rarely inspired by news stories.

Of all news stories, the ones involving court cases are the least inspiring.

This isn’t about a disadvantaged person overcoming adversity. It’s a bunch of suits sitting on a room.
> Wealth translates directly into political influence - just look at Alabama!

Is this bad on net? From what I've heard, the main political difference between the rich and the rest of the population is that they tend to be more pro-business. That sounds like a good counterweight to the popular antipathy toward business.

> Also - consider that a good amount of wealth is locked up in real estate. Whoever falls in that bucket has political influence and no interest at all that more housing will be built, because that will diminish their wealth.

NIMBYism is overwhelmingly driven by non-rich people, and most people who are rich have most of their wealth in stocks, which gives them an incentive to favor the construction of housing as a complementary good. Again, I'm not seeing the harm here.
Then I would vote Go (best stdlib in the business), then Java.
Yep we only showed our configuration file which instantiates the said Python objects. Definitely would've made the demo clearer, and if you want to look at the actual objects that our config is referencing, definitely check out our repo!
Had the pollinators been lost because they were never natively there in the first place? Madagascar vanilla is an imperial creation, courtesy of the French. Perhaps not as much of a problem in vanilla's native habitat, Mexico.
The devil's advocate here!

One would think there isn't enough land in America for people to build houses (of any type?). Or, are you going to tell me that laws made by men (and women, but mostly men) make it illegal to be housed and poor at the same time, no matter the amount of land? And, that changing the laws it's an uphill battle? I understand the concept, America is not the only country like that. But if memory serves me right, America is the result of people from Europe (and Asia, and Africa, and South America) escaping from exactly the same problem?

So, here is my proposal: build new nations people can escape to. There is Greenland[^1], Svalbard[^2], Antarctica, the Sahara[^3], the oceans, the Moon, the space habitats and Mars[^4]. We have the technology to build livable spaces[^5].

[^1]: Which is Danish, but can be rented from them for a (high) price.

[^2]: Ident, but from Norway. Rent is going to be more expensive.

[^3]: Rents and labor are cheap.

[^4]: A bad idea, even according to my client.

[^5]: Anybody who has been in Las Vegas knows that humans are perfectly adapted to live in big dens of concrete with no vegetation nor walking spaces[^6]. Anything better than that.

[^6]: Yes, there are golf curses.
There's a nice romhack for the original Gameboy Tetris which backports various modern improvements to it, including the 7-bag randomizer.

You can have your dose of nostalgia without the frustration: https://www.romhacking.net/hacks/5813/
Thank you. On a public forum I/we know how conversations quickly become diluted/inflated/twisted and often for the most innocuous reasons. As I follow the IA story, a subject that has been around many many time before, I wonder why they have chosen to highlight this one, as presumably they are challenged on a regular basis.