skysight-inc/HackerNews huggingface dataset:
> I'm writing a book about it :)

That doesn't answer the question... what makes it thoughtless? For that matter, what makes a small urban apartment worse (or better) than a home in an abandoned village? I was certainly happier and had a better time balancing my budget living in a small apartment in Japan than trying to find out how to budget to live in north america.

> > (up to a certain point)

> That's incorrect [...] the most efficient cities are around 50-200k in population

So we agree on the fundamental, you just define the turnover point as 50-200k. I think it is inseparably tied with density - a city of 2million might be the turning point in a land constrained country like Japan, but I wouldn't be surprised in the breakeven in a suburban sprawly north american city is in the 100-200k range you mention.

> If you use the number of municipal workers per capita as a proxy,

This is a poor proxy. Capital budgets might be better, or ratio between median taxation and median income.

> After that, you're starting to need transit, zoning, and all other stuff.

Without breaking down what categories the employees work in, that's a poor comparison. Boise and NYC both have transit, zoning, etc so that alone doesn't make any difference. But for example car ownership rates are dramatically lower in NYC. If it's $2000 extra in taxes to pay for the transit drivers in NYC, but a household has an average 1 car instead of 3, then the NYC residents come out way ahead in terms of budget.

Additionally, you mention zoning - most of the smallest municipalities in the US have much more restrictive zoning than cities in Japan.

> For example, NYC [...] Boise [...]

Can you provide some Japanese examples, since we're talking about Japan?
For reference, here is a clunky way to sync Outlook calendar events with Google Calendar, using Microsoft Power Automate (which comes free with many Business accounts): https://jacobfilipp.com/sync-outlook-calendar-to-google-cale...
English is already on version 3 at least.
Yeah, I was just curious if we had traded one environmental catastrophe for another - like if HCFCs were better for ozone but far more potent greenhouse gas pollutants. I think I’ve read something along similar lines about another substance - perhaps how natural gas is actually a fairly clean burning fuel, but leakages of raw natural gas are terrible in terms of GHG potency.
Automatically generate railroad diagrams of your EBNF grammar
The typical way to do this is a “select all” button that checks all the boxes, and then the user unchecks the single option they want to exclude.
The other day I reread the comments I'd favorited. I discovered several of them were from people I'd gotten into debates and arguments with.

I'll admit there are people here I don't like, but the day I call them my foes is the day I pack up and leave.

But on the other hand, if someone didn't want to hear from me and wanted to use this tool to filter me out of their feed, then I suppose I wouldn't want to impose on them.
> everyone wants to "support" the police no matter what.

> many leftists, who are generally very supportive of labor unions, still want to "defund the police"

Seems like one of these claims needs adjustment.

Also noted that defunding the police usually means replacing the police with other roles that are more in line with community needs. So there's still a need for labor unions.

"They have argued that cities should instead prioritize the programs that have been defunded over the years that would address root causes of crime and poverty, like education, healthcare and homeless services."

https://www.theguardian.com/us-news/2021/mar/07/us-cities-de...
I’m fan of Daishi’s other work (like Zustand and react-hooks-global-state) so I’m intrigued to see this drop. As a longtime Next.js fan it’s cool to see simplified versions of new tech emerge.
Common Lisp has nested comments with the #| reader macro.

https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node191.html
Nice, interesting approach. I like Mikro ORM, I was thinking about building on top of it recently, I think it's a good idea.

Looks like you went for the ORM equivalent of the Shadcn/ui approach. "We generate your code so you can customize it" instead of the more traditional "You use a library and can provide options to it to customize it". I like it!

Postgraphile has a bunch of very cool filtering/grouping capabilities (with plugins), would be nice to have that at some point
a very v0.1 reinvention of private schools
Power screwdrivers in the hands of incompetent users who don't know how to set the clutch are bad. But hey, let's blame the tools.
$1K for a palm hat that conveys the impression that you're part of a class of people that can spend $1K for a palm hat.
The author makes some good points about project organization and general attention to detail. I've used IDEs for over 20 years. Even when I used emacs for C++ and scripting languages, back in the day there weren't worthwhile IDEs for them on the platform I used, I looked forward to the day when there would be. I'm an IDE believer. However, I'm a stickler for organization, naming consistency, and general tidiness in codebases, because I think it affects onboarding speed and mental overhead for programmers, and I often rub up against programmers who don't notice shortcomings in these areas, because they rely on their IDE features to avoid spending any thought on code organization.

They don't care if a method is badly named or misspelled because they barely read names before they ctrl-click them. They don't care that files are haphazardly organized because they navigate by searching. They pick up a ticket and slack somebody to ask where the fix should go. Once they're in the right place, it's click click click and they're on their way.

The best programmers read class names and method names. They look at the directory structure to get a sense for how the codebase is organized. They try to understand the logic behind code they inherit, they try to write code with an evident logic that the next person can follow, through good organization and meaningful, consistent naming.

I've had programmers tell me that they didn't know a word was misspelled because they figured it was a word they didn't know. I told them if they see a word in our codebase they don't know, they shouldn't gloss over it, they should look it up, because somebody thought about that word before they typed it. They roll their eyes. They think everyone is like them and craps out names without thinking about them. They don't realize this has anything to do with why they're still mid-level at their age and people don't trust them with anything important.

In the end, I don't think the author is correct. I don't think that using a poor tool makes a programmer better, even if it forces them to do important things they wouldn't otherwise, like notice how things are named and organized. And I think the best programmers are better and faster with an IDE. But I certainly understand where he is coming from.
Bjarne Stroustrup Shares Life Advice
This "self-debugging" technique is common in the Windows world too:

http://profile.maff1t.com/AntiDebugging/

Interestingly enough, VirtualBox does this too, and they call it "hardening", but IMHO it's quite an unexpected and hostile behaviour which is more characteristic of malware.
The Afrikaans version may be comprehensible to a Dutch speaker, but the Dutch version, even the version you posted, is still very hard for this (second-language) Afrikaans reader to understand.
How can you title something X-washing and then, in the same breath, do your own Y-washing? What a hypocrite.
Yeah, I don’t think woodworking is the best example for arguing that metric is better than imperial. In fact, it’s one of the few disciplines where the imperial system as a decent argument for superiority.
AC isn't just for the heat, it also controls humidity. Yesterday where I live it was 27C and 80% humidity.

In the day I was mowing the lawn and after 10 minutes sweat was dripping from my forehead (I'm not that unfit). Then I took a cold shower, and after 30 minutes I was swsaty again from the humidity. When I went to bed I switched on the AC...

I find 35C+ in dry regions much more comfortable than this, especially if you have an old stone building that acts as big thermal mass to keep the inside comfortable during the hottest parts of the day.
I think it's fair to say Obama was wrong and Romney was right. That's the conclusion I thought everyone drew. This framing of like "people didn't care about it then, so they are somehow wrong or disingenuous to care about it now" is bizarre and unwarranted to me. And yes, the fact that Russia put some real effort into messing with an American election is a factor in people's perception of the threat the country poses--as it should be. Ultimately though, the fact is that Russia invaded a country and is killing innocent civilians and animals.

> Why do we suddenly care about Putin now, when China is still brutally occupying Tibet and rounding up Muslims in camps? Hint: it’s not because anyone can find Ukraine on a map.

You can't care about both? I can. News cycles might not, and yes, I think it's largely because Ukrainians are White (at least nowadays) and Tibetans and Uighurs are Asian (on top of which the latter are Muslim). Not to mention the economic reliance on China, which I would say, btw, is a greater threat than Russia for sure.

But this notion that unless people are somehow dedicating the same mental and emotional effort to all oppressed and persecuted people then they shouldn't be devoting such energy to any such people is morally unsound and unrealistic.

But believe me, I think there is a lot of hypocrisy and moral depravity re: Uighurs. You see a lot of random Russians abroad cancelled at events and such as if they are pro-Putin stooges, while Netflix happily produces films based on books by a Chinese author who publicly defends the genocide.
>I live in the middle of the biggest bar/club neighborhood in a major (usa) city

This is the modern-day equivalent of Sodom or Weimar. Most of the world, or even the West, is not nearly this far gone.
It's amazing isn't it? How was the winter with the filters on, if you have been through the winter of course?
Thats pretty aweosme and this seems to be one of the first gql based projects that factor in gql injections that i stumbled upon. Nicely done!
It's always seemed like the style and design choices of HN heavily demoted the importance of authors, instead focusing on content. Color contrast and font size in the comments section are surely intentional. dang et al are extremely thoughtful with their moderation and if they wanted it to be different they would have changed it. Clearly they found a system they like.

With bubble maintenance techniques like this one, they tend to regress toward a sterile mean, like mixing all the Play-Dohs together to get that universal gray-brown-purple. I personally prefer the splashes of color (sometimes being one myself). On the other hand, such a system would incentivize being a splash of color in nonetheless palatable ways, which may be a good kind of social pressure.
I thought I did the opposite of ignore it, which was to address it directly. I acknowledged it was a difficult thing to deal with but that almost all countries will have to soon anyway, and I also also rejected the assertion that it is the "true" problem.

Japan has PPP per capita income more than twice as high as China, 5x India. The idea it can't possibly pay more to take care of its elderly and infirm otherwise its society will collapse is up there with the most ludicrous wall street craziness I've ever heard. And they've already been ousted as shysters, mind you, because they've been repeating the same thing for a generation now. Because what they are really scared of as I said is people waking up to the fact that their pyramid scheme isn't the only way to do things.

Seems to me that by the time we reach a global crunch, countries like Japan that will already be a generation or two into addressing this problem and restructuring their societies and economies to cope without ever increasing population will be in a far better position than those continuing to push unsustainable growth to defer the inevitable.
Weird if you're trying to do something private like banking or taxes though..
If amazon does something right then thats marketing.
I don't see sentences like this, even from novices.

For example:)

Btw, Stephen Brust has a series of books whose authorial tone is explicitly wordy, and he makes it work.
A man who lived for 82 years died without ever seeing a woman
The section on Lock In effects makes little sense to me - if you look at popular .NET IDEs for instance, they mostly produce .sln and .csproj files - which is the defacto .NET standard, and works with the standard command line tooling. They're portable between IDEs, and you still produce .cs files with raw source code that you can open in any text editor.

It's similar with PHP via something like PHPStorm, Python via something like PyCharm - there's no real lock-in beyond personal habits in IDEs I've used.

More generally, in this space... using a text editor (with or without plugins) and using an IDE are both valid approaches. I do not believe either are fundamentally better than the other. Try both approaches and choose for yourself - it's all about finding what suits you as an individual and makes you more productive. You may even find that your choice differs depending on what software stack or language you're working with - mine does.

"Hot takes" aiming to belittle or degrade people that choose the opposite to you are unhelpful at best and discourage people from trying both options for themselves. No one is a worse developer because they like working with a simple UI with minimal distractions and separate tools for separate tasks, and no one is a worse developer because they like more integrated tooling with code suggestions, refactoring tools, integrated debuggers, etc.
Fantastic! Love seeing more work like this go into Wireguard.

I've been using headscale (self-hosted tailscale) for personal use, but having only one machine not running Linux on the network is a bit silly, as Tailscale is userspace, and Wireguard uses very little CPU on Linux.
Sorry I actually thought that everyone knew what devdocs.io was -- definitely didn't intend to be clickbaity there!

Edited the title
Ask HN: Tech stack advice for a new website
Hello HN,

I have a budding idea to build a website in edtech space. my daughter will be the first user. If it works, I want to make it public. I have these questions

1) Should I have the website running in cloud from day one ? If yes, any thoughts/recommendations ? If no, what I can do now, make that change (which I think is eventual) seamless?

2) What is the recommended tech stack ? I am looking for an option that I can stick with (mostly) and not make and future drastic changes

Context

I am not trying to learn any new technology/framework. I am quite comfortable with Python/Java/Clojure/Javascript stack

If you have read so far, thank you !

EDIT (1)

Below are considerations in decreasing order

1. Running cost of the setup

2. My time - I want to spend time on value creation.
I use their (partner-developed) WooCommerce integration. Works great. Never tried calling them but always got a prompt response via email. Their head office is in Collins Street, so if shit really goes south they're only a train ride away. :)
This list of apps is very typical for the class of user who chooses F-droid as a repo source.
I happily work the 90 minutes I’d spend commuting because I’m not paying for gas, maintenance and endangering my life being on the road.

Never going back to an office. The world changed during lockdowns, and in this way, it changed for the better.
After they bring back the mammoth and repopulate the Arctic with it, they should bring back the Velociraptor.
That is concerning. Thankfully, if we can slow the lifetime intake of PFAS over the generations, fertility should be able to rise again.
It isn't easier, but 6.112cm + 14.446cm is fairly easy. Especially if you drop thousandths, which you can only maybe get when measuring with a caliper...
This is the answer, updated the title to be way clearer
Or perhaps you're the person standing there explaining to me why I should give up my set of chef knives for the single all-in-one convince of a Swiss army pocket knife :)

Personally, I've tried IDEs occasionally for decades and they've never stuck. I find that a lot of their integrations are ideal for narrow problem spaces, however, I don't often find myself fitting well into the designed problem space.
This is not my experience. Pihole works flawlessly for me and it’s sitting in my closet connected to my cable modem. Haven’t touched it in a year. No broken mainstream sites and I’m blocking telemetry and other crap from apple, Amazon, google, Netflix, Hulu, Wyze, etc. related to advertising and device analytics trying to profile my usage. Pi-hole has been a blessing in the war on privacy and targeted advertising.
I worry about how this would impact my bubble tendency. I don't like Trumpian world views and might well tend to upmark views I can adhere to, about him and his behaviour. But, I might then miss interesting critique on the real world consequences of his government's foreign trade policy.

I am not sure it's possible to turn this kind of flagging into something I can use without over filtering. Some people say interesting things badly, annoyingly and I feel I need to see them and understand this difference between "you are annoying" and "what you said is annoyingly wrong headed" and "God, could you have said that more nicely but good on you for saying it"

I know my style of replying annoys others. I reflect on how many of them might filter me!
What a novel way to integrate a bunch of web technologies! It makes me much more interested in using WASM.
> so instead of doing a fraught cut-over, I just ended email service.

That’s awful.
Kind of disappointing to see HN devolve into this. You have brigaded this thread. You continue to throw around unsupported statements, your solutions are naive and when people try to call you out it you just talk down to people and then say you’re done.

Surely you must realize that regulating the markets is not as simplistic as you make it out to be. There are certainly always improvements to be had but they have to be carefully thought out because every rule and truly cause new imbalances.
Evergrande shares plunge as much as 87% as trading resumes after 17 months
Unless you're Japanese or half-Japanese I wouldn't really recommend that - The Japanese culture is known for being a closed sort where people from anywhere else in the world are only always considered "visitors" and never ever one of their own.
Is it okay to use cloudflare dns?
Just get on Ozempic.
He clearly states in other comments that he wasn't involved a year ago.

But nice of you to assume he's lying. /s
Posted anywhere to avoid an exceptionally $$ subscription?
I did something similar on Metafilter - a Greasemonkey script to hide comments with a low number of favourites - and they were outraged.
What's missing here is the programming language.

There are incredibly flexible, concise, low-ceremony languages, with implicit types where placing an IDE between you and code kinda obfuscates them. These are the languages where I think the best representation of code is the code itself.

Then there are elaborate, verbose, high-ceremony languages with explicit types, where looking at code and keeping up with ceremony might be a bit overwhelming. For those languages you probably want a lot more automation and a variety of info representation that goes way beyond code.

I'd go out on a limb to say that everyone here who likes/dislikes IDEs will split almost perfectly among those two language categories.
Answering ambiguous questions with a database of questions, answers, revisions
> People who were born in 2005 are adults now and could have the whole Internet and computer experience through the phones/tablets only.

I know, I wonder how they manage to be productive though. For consuming content it's done but trying to do anything productive on a phone is a chore. Even on a tablet with keyboard.
Ask HN: Unemployed- skill up vs. lowering your standards?
How do you make that decision if you're unemployed and your network isn't very strong? Especially if you're in a technically focused career like software development and a lot of employment opportunities might hinge on current skillset.

Option 1: Skill up. This implies that you want to make yourself appealing for jobs you believe are better for you, and/or you don't believe there are many jobs that would hire you as-is.

Option 2: Lower standards. It implies that there are still plenty of jobs that would hire you with your background as-is, but you're not properly targeting them.

Are there good reasons to just skip the skill building for the time being, and lower your expectations greatly for a future job if your goal is to get a job as soon as possible?
The thing about reliability is that not every single thing needs to be ‘reliable’. The reliability comes from knowing the failure points. Some issues you may not be able to fix right away but simply knowing why something fails is more reliable than not knowing. And that’s the scariest problem I’ve seen. Not knowing failures.
The study is underpowered. But I sure as shit wouldn't be bathing in this stuff given the results.
As the old saying goes, the best way to get help on the internet is to post a wrong answer.

In this case, getting a reply straight off the source.
You just need to create the file first!

>>> open("data.db", "w+").close()
>>> db = sqlite3.connect("/data.db")
>>> db
<sqlite3.Connection object at 0x8b3fd8>
> Not because they don't have computers and internet at home, but because they don't have overpowered gaming computers at home, and to socialize.

Gaming cafés are great, exactly for the reasons you mention. Moreover, everything is preinstalled so you don't waste time setting things up or downloading gigabytes of patches. And they usually have food and drink options, events and tournaments, etc. Hopefully they will continue to expand in the US.

The larger-scaled "LAN gaming centers" look pretty cool as well. MMOs and large-scale games are really fun to play when everyone is in the same room. Consoles are a nice addition too; 8-12 player LAN Mario Kart (for example) takes a lot of hardware and time to set up on your own, but it is a lot of fun to play.

https://en.wikipedia.org/wiki/LAN_gaming_center
> Do not impose your preference of 1 click ~= 1 line

excuse me, but no designer ever gave audience to such a sensible suggestion
Downvotes are neutral at best, they aren't a replacement for moderation.
Well, this seems like a natural evolution from the cardboard tanks we used in North Africa in WW1.

https://en.m.wikipedia.org/wiki/Dummy_tank
rant: I live in the US for more than 10 years and I still can't get used to the imperial system. I never will. It just doesn't make any sense to me. The metric system is pure gold:

1cm = 10mm
1m = 100cm
1km = 1000m
1kg = 1000g
1ton = 1000kg

The imperial system is like, hold my beer:

1in = ???
1ft = 12in
1yd = 3ft
1mile = 5280ft
1lb = 16oz

Jesus Christ, who the hell came up with this madness?
If you burn stuff, it liberates heat and pollutants.

If you use an air conditioner, you pump the heat in your house outside, and you add extra heat outside while pumping it.

Its that "extra bit" that multiplied by millions is what causes wide area effects.
Binary size, yes, since that's just sequentially reading bytes from an SSD. What sucks about modern software is input latency and overall responsiveness.