skysight-inc/HackerNews huggingface dataset:
For men, mixed business/pleasure trips to countries with a conservative dress code can be tough (Japan for example). I have found that higher quality suits have better fabrics that are more able to recover from being stuffed in a small space. The problem I have yet to solve is shoes. In the West, not only are suits for meetings becoming rarer, but dress sneakers are acceptable almost everywhere, and they can do double duty for leisure. In Japan I would feel underdressed if I wasnt wearing standard black leather shoes. Maybe it will change with the new generation. Things are certainly lighter than in the early 2000s and 2010s, when there was a distinct echo of the infamous Burleson dress code[0]. (Though the cultural disdain for tattoos still exists.)

[0] https://archive.is/Shp8G
Haber-Bosch operates at 350-550 C. The energy needed is in compressing the gases, and (at lower pressure) refrigeration to separate ammonia. These are work inputs, and all can be provided by PV generated electricity. At pressure, the ammonia production reaction is exothermic, so ammonia production is a source of heat, not a consumer of heat.
I doubt that this is really the case (brake lights will be connected to brake pedal, regardless of mode).

For motorcycles (not using regenerative braking, but engine braking which is quite effective there) this however is a problem. Every once in a while I woke a sleepy tailgater with that. Fortunately all sleepy tailgaters did wake up in time.
US government is being run like a shady tech company with no rules and massive layoffs by a guy who a made a few tech companies and is a CEO or whatever of a few of them right now.
This is terrible. All options seem to assume state is stored locally (not, say, in S3). Many options are just the same as others but only one environment, or with some project-specific difference like 'there is a backend and a frontend' or 'a few services' which has nothing to do with how you structure the terraform side of it.

All of them either don't address or use multiple directories to handle multiple environments (and assume a static list). What?! No, use terraform workspaces, or a single module that you instantiate for each environment. Or terragrunt if you really want. TFA is just a blogspam mess from either AI or someone that's spent about 20 minutes with a Youtube video to learn terraform & push out their latest deep dive content guys.
Put the proxy settings into variables and you can sidestep that. It also allows NgINX to start up when the backends may not be running.

e.g.

set $upstream_app backend;
set $upstream_port 8888;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
Pesky things, these laws.
> Did they get the first token out? ;)

Suprisingly it's not *that* bad, with 3t/s for the quantized models: https://www.reddit.com/r/LocalLLaMA/comments/1in9qsg/boostin...

> NVidia ported it, and they claim almost 4 tokens/sec on 8xH100 server.

What? That sounds ridiculously low, someone just got 5.8t/s out of only one 3090 + CPU/RAM using the KTransformers inference library: https://www.reddit.com/r/LocalLLaMA/comments/1iq6ngx/ktransf...
The Picture of Free, Untrammeled Womanhood: How the Bicycle Liberated Women
This is great advice. On his 'laser out' approach, I often find after travel I am tired and I _really_ don't want to spend hours more getting to where I'm really going, so I usually stop in the city that I landed in.

But I have a policy: never go to sleep without going to walk in the city. That is: never land and sleep. _Always_ absorb some of the local environment. Then when your brain knows it's somewhere else, then go to sleep.

This has worked to varying degrees. I always wake up with the excitement of being somewhere. But once, on my very first trip overseas, I got lost and spent three confused hours very late at night in a dark 2AM-no-one-around city trying to find my way back...

...but it sure is a good story now.

Which is very much the point of this article's advice. It seems to be: optimise for experience and stories.
Care to expand?

I've been writing backend TypeScript for 8 years and it's more than fine.

It's not my favorite language but it's a great compromise, and I would never choose a Lisp, Haskell, Java or C over it (the other languages I know).
We are all quite literally the problem.
It’s like blood letting, but less effective.
I'd be happy if the rest of America fought for America.
Spot on. I say this every time someone complains that they can’t stop scrolling Instagram, TikTok, or YouTube Shorts. Just don’t install those apps. Browsing them from a mobile browser is awful without the apps, and if you can manage to live like that for a few days, you’ll stop doing it.
Look, I think it’s open to some interpretation here. Not being willing to admit the possibility might get us into a very bad situation. Much like following someone in Amsterdam because they offered to show you how to get somewhere might get you mugged.
It's wild — people that look at employment of the citizens of this country as just data to feed into some kind of profit/waste equation that needs to maximize profit, discard any hint of waste.

It's not waste when those employed have paychecks to spend in the economy. What would Corporate think if half the population of the U.S. were unemployed and/or homeless?

I guess that's fine as long as profits have been maximized.
Literally every valuation shows its worth <10b, at best a 25% of its paid for value what, two years ago? a little more?

After reading through your posts its like you live in an alternate reality where Musk's integrity is bulletproof, his decisions are awesome, and he's basically doing it for the rest of us.

I don't know how you can sustain this with everyone throwing reality in your face that he's a short sighted rich kid who lies through his teeth and throws money around until he gets what he wants.
One could, but nobody is doing so
I learned golang and rust, and I can say that both have significantly different concepts from other "conventional" OOP languages that it's not just learn new syntax approach.

it's of course very subjective, but for me golang feels more magic, especially with importing GitHub repositories like local files.

The easiest language is of course the one you already know.

i would also argue that it's easier to write bad go code (I personally wrote some of it while learning) in rust usually if it compile and your are not using unsafe, it's at least ok quality and clippy is great with guiding you how to improve your code.

to be fair JavaScript also is weird and different than OOP languages but from some time it tries to feel more traditional with classes and this handling.

wasm is already fairly performant in comparison to native code, it might lack in come cases like simd (there are extensions already, but I'm not sure about adoption) but generally it's only about 20% slower than native binary.

I'm not sure how much wasi is practical for cli tools, but using was for plugins to allow any language someone might be comfortable with seems like no-brainer to me (also isolation will allow you to control potential memory leaks and crashes so your application will not get corrupted or anonymously destabilised)
I’m not sure if calling Rust “what’s in fashion this week” is accurate since it has been common for at least five years (if not longer) for posts that include “in Rust” to blow up on HN.

It has been the Most Loved/Most Admired language on Stack Overflow’s developer survey for 9 years in a row. I know that’s a relatively short amount of time for a programming language, but to me it seems like it has some serious staying power.
Smoother scrolling in the terminal – a feature decades in the making
> I know you're trolling, but in what way

No, I am not trolling.

It is faster to turn pages, it has more storage, the screen is better, it has a light. If you want to include the scribe, it has a much bigger screen and I can write/draw on it.

It’s like your computer or phone. Would you really be thrilled to be using the 2015 version of those things today?
i'm curious how it work.

because provider like aws lambda wont give you vertical scaling since they can't guarantee resources request.

so i guess they are mixing it to a pool (serverless + microvm) ?
I just enjoy reading the MDN articles or stackoverflow / reddit discussions, as well as official docs a lot.

I read documentation on my leisure time. Weird hobby of mine lol
You have go go back to the collapse of the British empire to witness anything this grand. And that was driven by external factors.
If "deep research" can't even handle this, I don't think I would trust it with even more complex tasks
Yes, you should be very worried. Imagine accumulating trash in your house—you take some out, but you never throw away all of it. Each time, some remains. Now, imagine what happens after a few decades. In this example, the house represents your brain.
You are correct that the overall tax burden, economic productivity, and efficiency are not identical between the US and VAT-based economies like the EU. However, the VAT refund system is what I have been saying is what causes the imbalance along with differing tax structures. This is not a dig against the EU as some people might be thinking I am saying. I am merely explaining the thought process. Devil’s advocate.

US is still disadvantaged despite subsidies for EV for like Tesla that were created to encourage clean energy. There is still a system wide US problem. This is despite Tesla receiving subsidies that are far below the 21% corporate tax rate. The tax is still there and then you have VAT that can’t be refunded because the US does not have a VAT system.
You have clearly never worked in any sizeable workforce, and I can assure you your basic presumption that large private sector workforces does not have broken processes is childishly naive. The "problem" is you, making assumptions of waste where there is none to speak off, unless you can provide some actual data to back that up. The average federal employee earns about $60k/y, they are not there for the money. Firing all federal employees will same about 7h of borrowing.

I'm sorry but the narrative you have invested in so deeply is not founded in reality, not that I expect anyone explaining facts to you will make any appreciable difference.

Enjoy the pain you elected to bring upon yourself, you deserve the government you got.
It's absolutely true that the nginx config has some really obtuse features, "if" probably being the best example. But just because they're there doesn't mean you have to use them, and the documentation for "if" includes ample warning about its pitfalls and openly advises against using it.

In fact, I'd argue that learning not to use them unless they're absolutely necessary is a good lesson on the importance of keeping things simple. When I was a beginner to web servers, I spent quite a few hours wrangling nginx configs trying to do things like fancy conditional redirects, removing .php extensions from pages, etc.. But over the years I've slowly learned that most of this logic belongs in application code, not in nginx, and nowadays I can set up a new nginx server in minutes because the configuration format is actually quite simple and intuitive once you understand what you really need, and what you should leave out or implement elsewhere.
I thought the same but recently we started using .net on backend and openapi to generate typed api clients for typescript. I mean the initial setup was 15 minutes longer than a full stack typescript app but I get to use .net on the backend and all the type safety on both sides.
(Curious what the last digit of Vivek's SS is.)
> Draymond Green is the Joe Rogan of the NBA.

I personally dislike Green because of his on-the-court antics, but I don't think that comparison is fair. Rogan is a know-nothing meathead unqualified to challenge his guests, whereas Green is a veteran, elite, champion NBA player. His opinions, however controversial, have some basis in experience, expertise, and reality.

> If it were truly as you say, those players would get pulled.

Why? The mathematics are still on their side, due to the percentages and the value of the 3. I never claimed that jacking up 3's is irrational; I'm just claiming that it's ugly.

If I were commissioner, I'd abolish the 3. Then they can shoot logo 2's if they want. ;-)

> Logo 3s are rare.

Tell that to Dame.
Congress has not made a budget in many years. They pass “continuing resolutions.” Why aren’t they doing their jobs?
Isn't Java a memory hog and historically also exceedingly verbose?
For a developer tool? Genuine question, how long does the JVM take to start? It used to be slow, but I don't know what it's like now. Check out the speed comparison of a few linters on this page -> https://astral.sh. Would the JVM start before the fastest one finished?

And supposing you took start time out of it, how long would an equivalent Java program take to run?

Memory isn't as much of an issue, but all other things being equal users do prefer the program that consumes less memory.
All the catastrophic things that were predicted form Brexit didn’t really happen though
I'm not talking about unemployment (which is relatively low nowadays anyway), I'm talking about the extreme level wealth concentration, and it has nothing to do with immigration (well, except that a former illegal immigrant is now half a trillionaire while paying a much lower tax rate than the average American, but it has nothing to do with him being foreign born and I'm pretty sure you weren't complaining about this kind of immigration).
Brexit pales in comparison to the damage that has _already_ been done to the US federal government. The dust just hasn’t settled yet so most of it not visible right now.
Blogs are neither magazines nor books. I think it will work out well.
I think you're confusing "garbage" with just normal heap allocation. Rust will free that memory automatically when the JSON strings go out of scope. There's no "stop the world" thing that periodically scans and deletes stuff while your program is running like in Go or JavaScript. Because there's nothing to delete. There's no "garbage".
I removed telemetry on my Win10 system and now calc.exe crashes on basic calculations. I've reported this but nobody cares because the next step in troubleshooting is to reinstall Windows. So if telemetry fails, calc.exe will silently explode. Therefore no, anyone cannot make it.

Won't fix: https://github.com/microsoft/calculator/issues/148
Not sure if I agree with the article. I saw this YC company recently and I think their vision for NPM install "fullstack app" is compelling: https://www.ycombinator.com/launches/Lkp-freestyle-a-new-way...
If you do a static export, you don’t have a server to optimize images. It’s just a bunch of static files. The only way to optimize the image is to point to a service through the loader.

Also, the image optimization on the default Next.js server, for example deployed to a $4 VPS, also works without Vercel.
Labor strikes planned at all UC campuses and medical centers
Two cat pictures. 0 memes. Lighten up.
Like libsodium.js and pqcrypto.js. They're distributed as single self-contained JavaScript files, but under the hood have wasm embedded using the emscripten SINGLE_FILE flag with an asm.js fallback.
This isn't a good place to do a survey unless it is a HNers survey. In the real world most people are probably not even sure what browser etc they use or how they should decide.
Yes they did? Is this a joke? Or have you not been following the UK’s descent into poverty and irrelevance?
Sure, what's the issue? Do you think that there is an algorithm that
a) does not do this,
b) can't be implemented in rust, but can be implemented in C or other language?
Performance and memory usage are worse than Rust/Go.
> not sure why anyone is down voting you

I noticed there are a lot of fascists on hackernews. A lot more than you'd ever guess. That's where down votes are coming from. They just got emboldened by current events in USA and around the world to expose themselves.
Cool to hear. This should deserve to be a high priority bug. Thanks for your work on firefox.
I don't know, I kind of like having a boundary that separates my programming language from the shell, like Picolisp in/out/call, Elixir System.shell, PHP shell_exec, racket/port and so on.

And I do an awful lot of shelling out, usually as a poor person's FFI or concurrency, or to just interact with a chain of shell pipes.
It worked out fine. It's an example of iterative design where you find out the problems of an approach by doing the experiment, rather than by analysis, where you find out and have to address all the nonexistent imaginary problems too.
You could apply the same reasoning to parts of the human body.

Or maybe not.
Assumption Testing: Everything You Need to Know to Get Started (2023)
Yes, but that is not garbage.
One travel technique that has worked very well for me takes place the day before my trip: using a pre-travel prep-and-packing checklist. I created this checklist about 15 years ago and still refine it occasionally. This list has three sections:

A) Preparation tasks: Like printing essential travel documents, saving a backup to my mobile phone, buying foreign currency, activating data roaming, etc.

B) Packing list: Mine currently has about 30 or so items, covering everything from the very basics, like toothbrush and toothpaste, to the often-overlooked, like reusable ziplock bags, microfibre cloths, etc.

C) Last minute checks: These are final tasks to complete just before leaving home. This includes double-checking that passports are packed, non-essential electrical appliances and lamps are switched off, balcony doors are locked, wet waste has been properly disposed of, etc.

By the time I step into a taxi or train to the airport, I can fully focus on the journey ahead rather than worrying about forgotten items. After all, this checklist has served me well for the past 15 years. Every item is checked off before I leave home, so as soon as I get into a taxi or train, I can relax, knowing that nothing has been forgotten.
Not only he is overconfident about his "history knowledge" but is extremely wrong. Comparing that GDP from 110 years ago with today is liking comparing the economics of indigenous tribes with their colonization people.

It's not like comparing apples with oranges, it's literally comparing a bacteria with country.
At Oxide we use OpenAPI schemas generated from the server code to generate clients and it works quite well to produce the DX you describe despite different languages on server and client. OpenAPI has its frustrations, but it’s good enough.

I like to say that the main value of GraphQL was never really in the dynamic queries (in many ways an anti-feature) but rather in having a nice typed spec that lets you generate typed clients.

https://oxide-and-friends.transistor.fm/episodes/the-fronten...
This is normal in every election so you can use the same logic to dismiss any president. Do you only respect 100% sampling rates in other statistical situations?

At a certain point this line of thinking is just saying you don’t think elections work, or that there should be some non-democratic supervisor to undo bad ones.

There is also an older idea that getting people out to vote is part of the game. An election is when citizens back leaders from their community. It’s not taking a survey of every 18+ human life form with a pulse.
I’ve been writing JS and then TS on the backend since 2013. Built large apps, startups and while it does the job fine I’d not go with Js on the backend anymore.

We built some stuff with Go and then went with full .Net. Its like fresh air after years of Js.
Exactly this. And I did mean equal skill when i said “more than 2x” implying that you get more done together than if you were separate.

One interesting thing is skill levels aren’t really comparable or equatable. I find pairing is productive where skills only partially overlap, meaning the authority on parts of implementation flows between participants, depending on the area you’re in.

I have some examples where I recently paired with a colleague for about 2-3 weeks nearly every day. i’m confident that what took us a month would be near impossible just working on our own
Thank you for the kind feedback and encouragement!

I'd love to write a book, but it's an enormous investment of time and effort, so I write about it here off and on when I can. I'm working on collecting it all and publishing it in a blog in my rare spare time.

Chaim Gingold wrote an excellent tour-de-force book all about Building SimCity, which he invested many years in, and I can only dream and aspire to write something as deep and comprehensive as that, but writing on Hacker News and collecting it in blog will have to do for now.

Check out the Hacker News discussion about Chaim's book, where he popped in and answered questions:

Building SimCity: How to put the world in a machine (mitpress.mit.edu)
440 points by jarmitage 8 months ago | hide | past | favorite | 168 comments

https://news.ycombinator.com/item?id=40698442

chaimgingold 8 months ago | next [–]

Hi! I wrote this book. Ask me anything. I also was a designer on Spore. I'm also trying to feed my 8 month old lunch and he is very excited to asn``wer anything too.

https://news.ycombinator.com/item?id=40695565

DonHopkins 8 months ago | parent | context | favorite | on: SimCity in the web browser using WebAssembly and O...

Micropolis Web Demo 1: https://www.youtube.com/watch?v=wlHGfNlE8Os

Micropolis Web is the browser based version of Micropolis (open source SimCity), that uses WebAssembly, WebGL, and SvelteKit. Based on the original SimCity Classic code, designed by Will Wright, ported by Don Hopkins. This first demo shows an early version that runs the WebAssembly simulator and animates the tiles with WebGL, but most of the user interface is still a work in progress.

Live MicropolisWeb Site: https://MicropolisWeb.com

GitHub Repo with source code and documentation: https://github.com/SimHacker/MicropolisCore

Much more Info in Chaim Gingold's book, "Building SimCity":
https://mitpress.mit.edu/9780262547482/building-simcity/

Chaim Gingold's "SimCity Reverse Diagrams":

https://smalltalkzoo.thechm.org/users/Dan/uploads/SimCityRev...

Micropolis Web Space Inventory Cellular Automata Music 1: https://www.youtube.com/watch?v=BBVyCpmVQew

Micropolis Web is the browser based version of Micropolis (open source SimCity), that uses WebAssembly, WebGL, and SvelteKit. Based on the original SimCity Classic code, designed by Will Wright, ported by Don Hopkins. This first video has music by Juho Hietala, Blamstrain, and the Space Inventory Cellular Automata is performed by Don Hopkins.

Music by Juho Hietala, Blamstrain: https://blamstrain.com/
Excellent piece

right up my street.

Rather than the scary bird flu headlines, this is how we ended up with bird flu and a list of other significant harms that effect human beings. Farming polluting our environment, our water,

animal farms are breeding grounds for antibiotic-resistant superbugs. Drug-resistant infections contributed to nearly 5 million deaths in 2019

animal farming pollutes our surroundings. The Environmental Protection Agency has documented how these operations can release dangerous levels of ammonia, methane, and particulate matter into the air, and the Centers for Disease Control and Prevention notes drinking and surface water sources contaminated with nitrates, phosphorus, and hormones.

Same here in the UK

Poxy factory chicken farms built on the banks of our longest and most beautiful river, the River severn, and then dumping all the shit from those farms into the river.
The rich are endangering their riches in this experiment. The pitch forks will have their field day eventually.

2014
https://www.politico.com/magazine/story/2014/06/the-pitchfor...