skysight-inc/HackerNews huggingface dataset:
> Emacs is a relic

People were saying that when I started using it, over 20 years ago. Apparently I was supposed to be using Notepad++ or some MS program du jour which no one remembers now. I wouldn't be surprised if I keep using it for the rest of my career.

> it can take weeks of configuring

More like decades ;)

> to get it anywhere near as productive as something like VS Code or Jetbrains IDE

Nope - it's significantly more productive. At least for me - I can't speak for you, but I do seem to be much faster at processing text than any of my colleagues who are using those other editors.

All the configuring is by design. You can set up the editor to take advantage of your strengths and paper over your weaknesses.
TDD works just fine with property-based tests, with each case representing an equivalence class. I like to randomly select from those classes because that eventually double-checks that I set my boundaries correctly. I often additionally pin the class boundaries in place.

https://en.wikipedia.org/wiki/Equivalence_partitioning
> in my experience

Could you tell us more about the source of your experience please?

> pro se works more often than owenmarshall implies,

And there are very well documented cases where a pro se defendant gets themselves into bigger trouble.
HiFive Unleashed (FU540) was 2018: https://rwmj.wordpress.com/2018/04/04/hifive-unleashed-cpuin... Of course that's basically 5 Rocket Chips in silicon, and Yunsup is one of those "university guys", so point taken.
For that matter, how many countries are there now?

Do you recognize Palestine? Northern Cyprus?

Are the People's Republic of China and Taiwan two different countries?

The Democratic People's Republic of Korea does not recognize the Republic of Korea as an independent country, and vice versa. Do you?

What about the Sovereign Military Order of Malta? The Republic of Kosovo?
A Guide to Choose a Custom Pet Portrait Artist
Capturing your pet's unique personality in a picture may seem challenging, but we've got your back! This article provides five expert tips for taking good photos of your pet for a custom portrait, which will help you frame their charisma to perfection.
Get an animal like chicken, only feed it vegan things. End up with meat fed with vegan diet.
Very good movie.

I'd also recommend Syntropic Agriculture, an agroforestry method pioneered by Ernst Gotsch. He personally reforested 500 hectares of degraded pastures and doesn't use any external resources such as pesticides and fertilizers. Instead, he employs methods like maximizing photosynthesis and selective pruning.

As a result, his land now stands as one of the most fertile and biodiverse regions within the Atlantic rainforest, achieving even higher yields than traditional farms. As syntropic farmers often say, they grow the soil to grow the food.

https://www.youtube.com/watch?v=_ST9NyHf09M

https://www.youtube.com/watch?v=gSPNRu4ZPvE

https://agendagotsch.com/en/what-is-syntropic-farming/

Another example would be the Natural Farming method pioneered by Masanobu Fukuoka. He also practices farming without the use of pesticides and herbicides, and his yields also surpass those of traditional farms.

https://www.youtube.com/watch?v=nzs8iFGNdBo
> You are incorrect.

> Debate won't prove it,

I find this (almost) religious style fanaticism about something as mundane as an instruction set quite fascinating.
I have also considered "Beyond Vegan" as workable marketing term. Just add meat products to vegan things to make them better.
Mocks have their uses, but overzealous overmocking really means the death of a test suite. At this point, tests become more of a nuisance than anything helpful (especially in a statically typed language where you know that if your code compiles the pieces at least sort of have to fit together).

Mocks (or related techniques such as stubs, fakes) are useful when you have to interact with an outside system (e.g. send emails), for testing boundary conditions that are hard to replicate (what happens if an error is thrown), for highly generic code or, potentially, for really major architectural boundaries in your code base (but I feel that most people overestimate the confidence they have that they've determined the correct boundaries).

For anything else, I'd prefer to isolate pure code from code with side effects as much as possible so that the former can be unit tested without any dependencies (even if one class/module/whatever calls another, it doesn't have to be mocked out), and the latter is mostly just wiring that can be tested through a combination of integration testing and maybe some occasional use of a mock here and there.

Unfortunately not many code bases are structured that way, so you'll have to pick your battles and maybe live with more (brittle) mocks than you'd like - or with slower and more flakey (integration) tests that you'd like.
> I wonder what caused the adoption of UzKart compared with plain old cash.

One of the main reasons to introduce UzKart was to force the "gray" economy back under the eye of the tax authority. So adoption was forced by the government by mandating paying a certain part of the salary to UzKart and limiting cash withdrawals.
> Will someone or something put a damper on it? Probably not.

Oh yes.

Global warming will.

The fossil-fuels companies have been very effective at spreading propaganda, so some readers are probably laughing and thinking "ha! Idiot! It's not real!"

If so, I am sorry for you: you are flat-earthers. You have been eaten by the brain worms.

We are heading for 80-90% of the land on Earth being uninhabitable by humans inside 2-3 decades, and a small remnant population at the poles. All silicon chips, RAM, storage, etc. is made in tropical and subtropical regions, and they will all be gone.

If we are lucky we'll be back to handmade computers with individually soldered components scavenged from dead consumer electronics.

The CollapseOS person is probably right:
http://collapseos.org/

Here is a quick guide to the science for those with the brain worms:
https://medium.com/@samyoureyes/the-busy-workers-handbook-to...

It is the length of a short book, but that's because there is a lot to get in for those who've been trained to bury their heads in the sand because they listen to billionaire's BS.
The single sign on

https://thedailywtf.com/articles/classic-wtf-the-single-sign...
If the unit of code you want to test needs a big ball of mocks and ten thousand layers of abstraction to be testable, your code is already horrible and TDD was not the cause.
Historically, those of my (non-delusional) colleagues who made poor UX/API design don't defend it being good. They say things just had to get done. Sometimes management incentives tilt towards making poor solutions (deadlines used to justify a hasty job), other times developers just don't care.
TechInsights Confirming SMIC N+2 7nm in Huawei Mate 60 Pro
I’m not sure what restic or borg are or do for you, but there is an upcoming feature called “block cloning” that is a sort of on-demand version deduplication that offers new advantages for certain setups.

https://www.bsdcan.org/events/bsdcan_2023/sessions/session/1...
Taiwan presidential hopeful offers pets in push to boost birth rate
News like this makes me wonder: Is AI already writing political campaigns?
To quote the great Bob Nystrom's Crafting Interpreters, "Compiling is an implementation technique that involves translating a source language to some other — usually lower-level — form. When you generate bytecode or machine code, you are compiling. When you transpile to another high-level language, you are compiling too."

Nowadays, people generally understand a compiler to be a program that reads, parses, and translates programs from one language to another. The fundamental structure of a machine code compiler and a WebAssembly compiler is virtually identical -- would this project somehow be more of a "real" compiler if instead of generating text it generated binary that encoded the exact same information? Would it become a "real" compiler if someone built a machine that runs on WebAssembly instead of running it virtually?

The popular opinion is that splitting hairs about this is useless, and the definition of a compiler has thus relaxed to include "transpilers" as well as machine code targeting compilers (at least in my dev circles).
Rainbolt has made a video with an eye tracker which would be difficult to fake (I think): https://www.youtube.com/watch?v=aD_rtwofvgU

In October there will be an in-person event: https://www.geoguessr.com/world-cup

edit: in this video he also includes a third person view of his monitor – https://www.youtube.com/watch?v=izarzOXjZp4
In UK, you can have shotgun, but there are rules wrt storage, transportation and where it can be used. They are checked by cops, too.

Though yes, UK, Denmark and some other countries have quite ridiculous gun and self-defense laws.
I once owned a Pentax K-5. I sold it at some point just because I didn't want to carry around so much weight and switched to a smaller mirrorless camera. However with a heavy heart. The usability and build quality were stellar. Especially considering the price. Pentax creates some really beautiful cameras.
To be fair it is trivial compared to the skill displayed if there is no cheating involved.
> Also doing kubernetes with WASM containers must be a bad joke, when comparing how managing Websphere 5 in 2005 was so much easier.

Yeah, I really don't get the value add of WASM here. If you are doing rust, then why not do a scratch container natively compiled? It's the same experience with half the effort.

You can do the same with most programming languages.
> A 4090 amortized over 4 years, working days & hours, is 20 cents per working hour;

But that's not how it works: you need to have enough of it to accommodate for peek usage, but a good fraction of that isn't going to be running most of the time. You'd end up with a cost that's not too far from what Cloud providers are offering, which is a roughly 3 times that price. And you need to pay for the whole server hosting these GPUs (this less of a factor when you're using big GPUs like H100, but if you want to stick with consumer-grade GPUs, then the host is still a non-trivial fraction of the cost, and your supporting a server for a small bunch of concurrent users, which means your infra team is going to work with a massive pool of servers very quickly, with all the associated costs).

> It's less than a penny per hour per concurrent on a task like this.

It's still two orders of magnitude more expansive than any other SaaS business.

> Hopefully you're using LLM to deliver value that's worth more than a penny per hour of the people using it.

Maybe, but then again you're trying to build a service that has to add much more value than what the typical SaaS start-up provide.

Also regarding this:

> - Most apps are not non-stop token generation for concurrent users-- ChatGPT's duty cycle at this is very low.

ChatGPT is mostly being used by people who use it a few minutes per day, which is a nice place to be, but:

- this market is already taken by them, so your startup isn't gonna do the same.

- when you start integrating LLMs in tools you use routinely (an IDE being the typical example, then the token generation amount skyrockets).
This is really the amazing part of the internet, seeing a file that has been casually hosted on a web server since 1999, not even budging for HTTPS-- I feel teleported back in time
>That's much better than the opposite problem: forgetting to engage the safety and accidentally discharging.

If you're following the firearm safety rules you're not pointed at anything/anybody you don't wish to destroy so it's a moot point. (yourself included, though at least in that case nobody else was harmed needlessly)

A safety lockout (or lacktherof) shouldn't be a factor in your pointing of a gun at someone and pulling the trigger.

>I just feel like having to toggle a switch before killing a man is the least you can do to avoid accidents.

It's extremely rare for someone who isn't being extremely negligent to be in a position where they could "accidently" kill someone.

Could a safety prevent such an occurrence? It's very well possible and that might be a reason to prefer a firearm with sufficient safeties that increases your comfort.

On the other hand some people decided that they're cautious enough and by in large most people avoid accidents and practice good safety practices to avoid harm should one happen.

There's trade offs either way, but ultimately it's preference.
Use AI to automate all your personal correspondence?
One of the lead maintainers (Eli Zaretskii) develops mostly on Windows IIRC. I think you'll be fine.
Huzzah!

I'll add that the meme of preferring integration tests to any other tests seems to stem from badly designed code. Looking at production code less closely disguises many sins.
Hah there are no deserts for more than 10h driving from Austin. It's rolling hills and scrubby prairie, which is far from a desert.
exactly. brute force methods work great for thousands pieces of data of (almost) any kind. for vector data no vector db is needed; for structured data even a simple csv file with a python script will do the job and a sql db is not necessary.
I see the utility in recursive datasets and I wouldn't want them to go away, but if I were creating a zfs-for-dummies I wouldn't include the functionality. You'd have to drop down to the raw zpool/zfs commands to get that.

Likewise, I appreciate being able to name snapshots, but it's annoying to have to manually name the snapshot I create in order to zfs send. The solution there is probably to not make me take a manual snapshot in the first place. `zfs send` should automatically make the snapshot for me. But in general, I don't see why zfs can't default to a generic name and let me override it with a `--name` flag.

Giving it more thought, I think I would keep pool naming. What I don't like is the possibility of having pool name collisions which isn't something you have to think about with, say, ext4 filesystems. But the upshot, as you point out, is with zfs you aren't stuck using sda, sdb, etc.
It also doesn’t have VRR support which makes that 144hz screen a lot worse. I also have a ROG Ally and I am still happy with my purchase.
I'm rooting for WASM to win.

One of the things that discouraged me from Front-end Web Development is JavaScript weirdness. It just has too many pitfalls and it's very hard to debug for a newcomer unless you study a proper JS course that tells you precisely all of these traps before you get burned. I've never found a programming language that didn't behave like I expected it on first touch, except for JS.

I am fully aware TypeScript exists, and there are transpilers where the syntax (modern ECMAScript) and rules are more appropriate to current times, but these aren't "native" of the browser. You must still transpile to the hazardous old JS. I know transpilers avoid many of these pitfalls, but I cannot avoid feeling like I'm building a skyscraper in quicksand.

The hard thing about talking about this exact topic it's that I'm sure my comment will trigger negatively a ton of developers, because talking about JS like this it's going to feel like I've insulted a cult. Let me be clear this is not my intention. I come from the static-typed programming languages world, so I have a preference for my programming to be the most correct.

WASM to me provides this solid foundation, if only (big IF) we manage to create a browser where the main execution virtual machine is not a JS one. I've dreamed of a browser that supports multiple stacks, instead of the HTML/CSS/JS monopoly. For instance, why'd be too hard to think about something like HTML/CSS/Python?[0]

JS has been a discourager to me career-wise, and I'm doing great in Back-end Web Dev, but I'm pretty sure I'm not the only one feeling this way about it. The web should be more accessible in this sense.

--

[0]: I am aware of the existence of Brython: https://brython.info/, but it's not my point, that is still Python-over-JS.
My recommendation is not to jumble them up in the first place.

If you have a bunch of small, used, jumbled-up fasteners, just chuck them in the bin. Small fasteners are cheap enough that it's not worth sorting them.

I have a storage bin rack on my garage wall, with one bin each for (new, used) * (nut, bolt) * (M4, M5, M6, M8, M10). (Actually, in practice, I don't have enough of anything except M6 to justify separating new and old, so only M6 is broken down that way).

But if you keep them sorted it saves a lot of time.
Every few sentences there there is a remark like "This circuit might have edge cases,... "...perfect for the majority of use cases,..".
In other words: It will, at best, work on the developers table, but nowhere else.
Why is somebody publishing examples that won't work in the real world ?
Sure, but presumably the ones that “don’t fit in semantic web content” is a reference to the ones that rendered a portion of the page in Java, otherwise the same could be said about JavaScript.
Not to mention that even in Austin you are likey to see a few open carry dickheads per week.
Inline previous result and why you should edebug
TLDR: Braverman wants to snoop on your kids.
Big fan of riso so I welcome the initiative!
Not on Mac tho so I'll keep using 'photoshop' for mockups, and hoping this will be adopted well enough to warrant a win version down the line.
https://jsonnet.org/

https://cuelang.org/
Those numbers from the abstract are average generation times, which is very different than the average age of having the first child.
>they cant find a single thing on the planet worth investing it in

Be careful what you wish for, they could use the money to buy out every potential competitor just like Adobe, Microsoft, Google et all.
I really hate it when my wife cooks and she leaves me the kitchen looking like a bomb went off. And then I cook and I leave her maybe two pans and a knife.
I personally learned basic java as my first PL wanting to code minecraft server plugins as a kid! I'd get up early every day at 7 o'clock because on the afternoons I had music practice just to code plugins for my server :)
If you don't like the good ole boys running things don't come to Texas. It's basically an authoritarian state run by a cabal of car dealers and preachers.
IBM also has a free course in COBOL, for what it's worth.
(which, judging from the plethora of COBOL jobs here in Japan, might actually be worth more than zero)
https://www.ibm.com/training/course/learning-cobol-programmi...
There's a smell in the code but it's not the mocks.

I've seen people have problems with mocks when they have poorly designed code that demands Byzantine test setups. The "bad mocks" smell usually means the production code is due for a refactor. (So let's hope you have behavioral tests and not implementation-only tests to help everyone refactor.)
Big Tech salaries revealed: what coders and pm make at Google, Apple, Meta, AWS
In my company we're using wasm to accomplish some powerful things that would otherwise need the server to handle.

I think for that reason wasm will win. Outsource your compute to your users.
See this part of the readme:
"Special shout out to the friends who suggested, as a follow-up project, making a browser extension to transform the current web page into a scientific paper. Sort of like Firefox reader mode, but for viewing Twitter when someone looking over your shoulder expects you to be doing something else."
Interesting application of Hyrum's Law
note: there's e-voting where you go vote at a voting booth and enter your ballot in a machine (with the advantage that the votes can be tallied faster) and there's e-voting where you use your browser or an app on your phone to vote remotely.

People tend to conflate these two things but they are quite different. Each one has their own set of problems/challenges. On top of the voting infrastructure itself, you also have to think about how to prevent people from being denied the right to vote, how to prevent issuing two votes, etc., etc. Voting infrastructure and logistics (whether electronic or not) can be very complex.
Yes. I did actually do Tai Chi quite seriously some years ago and starting to do some of my old Chi Gung exercises has been very helpful in this recovery process. I have to be quite careful with yoga because of the hypermobility - because extreme stretching can cause me problems.
The Corporate Sustainability Reporting Directive (#CSRD) will come into effect only in a couple of months time for 50,000 #EU companies.

See this video how cloud37 can help you. (in german)
Can you roughly remember how long ago that was? ZFS has been around since the earlier 2000's, with FreeNAS starting in 2005 iirc.

The filesystem has gotten a lot more stable, and imo the documentation clearer.

That said, it's "more powerful and more advanced" than traditional journaling filesystems like ext3, and thus comes with more ways to shoot yourself in the foot.
Large customers tend to limit data sharing - also in large businesses. Retail customers usually don't have that kind of power.
Nintendo has previously, amongst other things, taken down a homebrew project because it 'bypassed a technical protection' https://news.ycombinator.com/item?id=35846726
It is useless. That's why it's interesting.
> I'd love to see what you're referring to

There is Google, you know.

https://ergoemacs.github.io/

It's the biggest thing to happen to Emacs in 30 years. That is presumably why all the beardies ignore it.

I used to know 20-30 totally different editors. That all went away circa 1990 when the CUA UI swept the world.

https://en.wikipedia.org/wiki/IBM_Common_User_Access

All late-era DOS stuff, and Windows >= 3.x, Mac OS X and ~all Linux GUIs are compliant.

I refuse to learn any other editor UI. Life is too short. Comply with CUA, or die in a fire.
Hopefully this becomes a real product sometime that folks can get
These arguments feel like we are complaining that the situation isn't fair because Apple is so well run compared to the competition.
For me, the huge missing link (that is fortunately being worked on!) is being able to (in a performant way) have a good answer for "host code wants to do some blocking operation, WASM should suspend during the operation".

This _should_ be gotten thanks to work on stack switching in WASM. As of the most recent working group meeting on this [0], it seems like V8 has made a good amount of progress on this. They published a thing back in January[1] on this, and hopefully if things go well and this is available across WASM engines then there will be one less "JS-ism" (everything async) that causes issues for transpilation.

[0]: https://github.com/WebAssembly/meetings/blob/main/stack/2023...

[1]: https://v8.dev/blog/jspi
Doesn't it make sense (for control freaks, at least) to load a WASM kickstarter into the browser and then get a handle to the DOM and go to work creating the UI ? Or is this already being done ?
> Parts

> Some screws

Ironic.
Comparing to the UK version of the same webpage reveals many of the differences in regulations. The nutritional information is given per 100G, regardless of what the manufacturer calls a "serving". The ingredients list gives the name of additives, but also the function of those additives. Most tellingly, there's an age verification popup, because regulations prohibit the marketing of foods that are high in fat, salt or sugar to children.

https://www.tictac.com/uk/en/products/tic-tac-flavours-fresh...

https://www.asa.org.uk/advice-online/food-hfss-overview.html
Ask HN: Tips to conserve mental energy as a programmer?
One could argue that the mere presence of settlements is evidence of political organisation.
> Emacs is a relic

It's true.

The thing is, so is Unix.

And yet we use it.

So is macOS because it's a Unix™. So is Windows, it's just a newer relic (from 1993 instead of ~1973).

We don't have anything left that are not relics any more. The relics got good enough that we stopped trying.