skysight-inc/HackerNews huggingface dataset:
While I appreciate the convenience that will result from this excellent engineering, I'm concerned that this could result in a lot of mixed module files that now can only work with Bun.

Is there an option to require each file to use either CJS or ESM features, but not both? If not, may I suggest adding that option?
How is Deno "miles behind?"

I just started a new project, writing the back end. I'm new to JS and TS, and I don't want to deal with NPM and a morass of modules at all. Deno, Oak, and MariaDB seem like a pretty tidy combo. I have routes and queries up and working with no experience in writing server-side code since PHP 5.

What makes Bun better?
> I still don't even understand why stackless coroutines are necessarily self-referential, but I am quite curious!

Because when stackless coroutines run they don’t have access to the stack that existed when they were created. everything that used to be on the stack needs to get packaged up in a struct (this is what `async fn` does). However now everything that used to point to something else on the stack (which rust understands and is fine with) now points to something else within the “impl Future” struct. Hence you have self referential structs.
Now and then someone "hacks" my pathetic Javascript shopping cart to buy software for $1 instead of the usual price. I just send them an email with a balance due for the rest of the purchase price. Never hear from them again.

I accepted credit cards for many years until I was subjected to repeated "carding" attacks. The credit card processor blamed me for them, and was unable to tell me how to avoid such attacks. My solution was to not accept credit cards anymore.
"[...] false information and conspiracy theories, whose prevalence may lead people to doubt the very existence of 'truth' or a shared reality."

This is an insane modern take that I have yet to understand. Can anyone shed some light on how this notion of subjective truth came to be? There have always been conspiracy theorists and rumor spreaders and communities within which they flourished, and discerning the reputation of a source of information has always been a required skill in order to not fall victim to actors like these. What changed?
If I recall, the emacs one is a wrapper around pgp encryption. Just automatically uses key when opening and closing the file so you could open with other tools as pgp is a common standard
Wow, I never expected to hear from so many Fog Creek folks!

Thanks for sharing that bit of trivia, Anil. How'd that happen?
Profound Beliefs
I think that doesn't actually remove you from the GitHub contributors list. I had used the wrong identity for a commit and tried all manners of git manipulation and force push, but GitHub kept me on the list. In the end I just nuked that account.

Edit: Apparently renaming branches and reverting that works: https://stackoverflow.com/a/69294044
Thankfully, I do not. I just read too much :)
Perhaps Twitter or Instagram, which seem to involve people mixing their personal lives with strangers (idk never really used them), but regular Facebook doesn't seem to be used that way by anyone I know.
So many downthread comments pulling out the computers and brains are exactly the same meeeerrrrrr BS.

"I'll keep saying it every time this comes up. I LOVE being told by techbros that a human painstaking studying one thing at a time, and not memorizing verbatin but rather taking away the core concept, is exactly the same type of "learning" that a model does when it takes in millions of things at once and can spit out copyrighted code verbatim."

(I also love it when they're deliberately obtuse about it too. The past decade has made me sick of this trolling tactic.)
What part of that is the fault of using a credit card? I'm extra confused since Amazon came into this, where you distinctly are able to use credit cards?

With a credit card, you have the fallback of chargebacking. That's the benefit. You haven't gotten to that stage, although you certainly could have escalated to there by now.
If it's GDPR you're referring to, I think these bits of Article 17 (right to be forgotten) are relevant:

"""
Paragraphs 1 and 2 shall not apply to the extent that processing is necessary:

...

(d) for archiving purposes in the public interest, scientific or historical research purposes or statistical purposes in accordance with Article 89(1) in so far as the right referred to in paragraph 1 is likely to render impossible or seriously impair the achievement of the objectives of that processing; or

(e) for the establishment, exercise or defence of legal claims.

"""
Looking back, the main value of super-customized Emacs distros (really) was to show me what's possible. Spacemacs blew me away, yet overwhelmed me when I tried to customize it; so I started with vanilla Emacs and then added things, package by package; magit is every bit as good as I'd heard, and Treemacs makes exploring a big source tree pleasant.

More recently I've been reading the Org manual (1), which like Spacemacs opened my eyes to Org mode's capabilities: literate programming and code blocks that modify the source document captured my interest, along with table and spreadsheet capabilities.

I still use nvim all the time in the terminal; vi knowledge is essential, as it's the best editor you can be sure to have on a UNIX-like system. Case in point: Today I used vi in kterm on my jailbroken Kindle Touch to edit usbnet's SSHD config (2) and I can't imagine a more efficient editor (3) for an eInk device.

P.S. My favorite thing about Emacs is the help system. Being able to look up a function or what a key does with a few keypresses is fantastic!

1: https://orgmode.org/org.pdf

2: Now I can use `scp` or SFTP from my laptop and or iPhone to add books to my Kindle while it's connected to my iPhone hotspot

3: https://nexus.armylane.com/files/k5-kterm-and-vi.jpeg
Zelle is like cash. And like cash, it has the same problem.

Once you give it, you can't demand it back without courts.
https://gist.github.com/nicewrld/5aed533257f7469d6439f6a4646...

output from the script as of today.
Well of course it is, the "G" lets you distinguish the Gnu "od" from the OG "od"
You Can Use a Game Boy Camera as a Webcam on iPadOS 17
For X-air batteries, there's also

[x] clogs up with carbonates when the electrolyte is exposed to air
The greatest school in history was a log with a student at one end, and Socrates on the other.
What part of Zelle isn't safe, fast, and convenient, that is actually scoped under Zelle's responsibilities? Zelle is for moving money from bank account A to bank account B - that's where its responsibilities end.

> Are they getting a cut of every dollar I spend?

They aren't.
This is the root cause of tofu dreg projects in China, if anyone wants to see what happens in a larger scale
A Taco Bell and a McDonald's in my vicinity have seemed to have closed their dining rooms permanently.

I think another reason for this is that it is also the easiest solution for handling the homelessness crisis. Requiring all orders go through the drive through by someone in a car is one way to avoid dealing with unhoused people looking for shelter/restrooms/water for a few hours and not spending money that they don't have.
A Flexport team member will reach out to each of you personally asap to explain the move. I hope you will forgive us someday and even consider coming to work here again once we get our house in order. But now would not be a good time to add more people and expenses to the company.

Wow, how tone-deaf. What a joke. It would have been better to say nothing.
Thanks for sharing your experience with them.

Were you able to finish the game you were working on?
Does Deno suffer from that in the first place? I don't know what that issue even is, so I'm just asking.
Oil could potentially get priced out for most uses in the next 10-15 years.
Do you believe homebrew software for game consoles is illegal? Do you hold that same opinion for apps offered for jailbroken iDevices?

Patents cover specific implementations. A lightbulb is patented. A specific machine that is connected to one cannot infringe on the patent for the lughtbulb itself, since it doesn't implement its inner mechanisms.
This is a really good story to highlight how good credit cards are for this situation. It’s totally reasonable for a vendor to freeze shipping via credit card purchase until they’ve received confirmation they will be paid. Basically modern escrow. Sorry you seem to have been caught up in a rare edge case, I’ve been in the same situation, but am super happy that the system makes 99% of payments totally frictionless unless occasionally I’m traveling abroad (or ordering abroad) and they have additional checks.

Long live the virtues of credit card payments!
This is what I've seen as well. It's possible he really hadn't seen the 75 offers before SHTF.
lol checkbook, never had one

an employer’s direct deposit system, at a third party payroll company asked me for a voided check

I photoshopped my bank account and routing number on a stock image of a voided check

I get paid no problem. dumb process.
I find random walks to be too distracting. Instead I prefer to pace in a space, inside or out, that holds few or no surprises for me...
One was on Google Cache and another was on internet archive. Both are September 8, 2023:

https://archive.is/t2Wsr - "We're going to help them find jobs. Can't just give out cash tho."

https://archive.is/RAWQp - "Flexport has $1B in net cash. But we're far from profitable right now and will be laser focused on profitable growth from now on."
Probably it was Tesla. My mistake.
McDonald's have become nasty, locally. anti diners. managers have an anti-customer mindset, like we're a big bother to impose ourselves on them. us, the source of the revenue which flows into their paychecks. McDs wasnt like this even 10 years ago. they broke
My Dad and I are like this.
Any time we need to make phone call, we go for a walk.

I get complaints when it's windy outside.
Wait, so once they set your rate you can use as much electricity as you want and still pay the same rate?? That's insane. Crypto miners and EV drivers rejoice.
> to see how far it gets before killing itself (on a VM or easily re-flashed machine of course).

I did this, but with dd -- it completed. Was very anti-climatic. I was hoping it would crash or at least disconnect me, but the kernel, sshd and bash were still in memory and happily returned me to a prompt where I couldn't really do anything.
I think they could absolutely make it work as a single company. The hurdle is proving the technology actually works and manufacturing it.

If they can actually produce the product they claim, I don’t think failing to break in to the market will be much of a concern. They’d be in a league of their own. However, if the tech doesn’t actually work they way they claim, or if competing tech can do the job better, then they’ll go nowhere.

Realistically, if they deliver on the product they claim to have they’re not going to last long but not because the company fails. They’ll be swept up by a bigger player in the industry.
Bromine was being extracted from seawater at one point, IIRC. You bubble chlorine through seawater and out comes bromine.

Magnesium can also be extracted from seawater.
I don't see include, which means you're ignoring warnings aren't printing them in the first place. Also testing against a number instead of boolean. Also you have a horrible hack instead of proper flag parsing. And you're also abusing brace elision just to reduce LOC. And again abusing ternary syntax for the same reason.
Oops! I checked the spec and it's supposed do something more like this:

def f (n : Nat) : String :=
Option.getD
(Option.merge String.append
(if n % 3 = 0 then "Fizz" else none)
(if n % 5 = 0 then "Buzz" else none))
(toString n)

#eval List.map (fun k => f (k + 1)) (List.range 100)

theorem poop (n : Nat) :
f n = "FizzBuzz" ∨ f n = "Fizz" ∨ f n = "Buzz" ∨ f n = toString n := by
unfold f
split <;> split
· exact Or.inl rfl
· exact Or.inr (Or.inl rfl)
· exact Or.inr (Or.inr (Or.inl rfl))
· exact Or.inr (Or.inr (Or.inr rfl))
I didn’t accuse you of doing it, I said you only find other people bringing up rust weird if it’s not positive. Unless you want to agree that it’s always weird to bring up rust in a discussion about c++?

I’m not upset about anything. You said I’m wrong, so show me how you use const fn to make a heap allocated string at compile time as done in this post.
The development environment does not work anywhere except Mac OS. This is not FOSS, just a startup that Apple is going to buy really soon and make it there cloud computing platform.
5th Circuit Finds Biden White House, CDC Violated First Amendment
No, I agree with you. Especially since aside from the driver's safety, a lot of times, speed limits aren't about the safety of those in the car but to reduce the amount of noise due to tires, engines, breaking, etc... for those living nearby as well as pedestrians, cyclists, buses, animals, etc...
> Async is all wrong when there's considerable compute-bound work, and incompatible with threads running at multiple priorities

The priority thing is relatively easy to fix:

Either create multiple thread pools, and route your futures to them appropriately.

Or, write your own event loop, and have it pull from more than one event queue (each with a different priority).

It should be even easier than that, but I don’t know of a crate that does the above out of the box.

One advantage of the second approach is (if your task runtime is bounded) that you can have soft realtime guarantees for high priority stuff even when you are making progress on low priority stuff and running at 100% CPU.
Hidden cameras are not what I'm worried about.

It's unmarked cop cars while I'm over taking that bother me the most.
In U.S.-China AI contest, the race is on to deploy killer robots
Nah. Look up the drama with Larry Wall and Perl 6. Von Rossum and the Python 3 mess.

It goes back a long way. Wirth was against getting past Standard Pascal, which had no error handling or separate compilation. There was a huge feud between the Interlisp LISP people and the Symbolics LISP people, both of whom had way overdesigned the language, in incompatible ways. Scheme was a reaction to that.
Perhaps the best vault is decentralized. We should all start burying QR code tablets in our gardens.
What is this implicit contract you speak of?
The more the presentation of identities goes on-line, the more important real physical inspections and physical interactions become important. Purely on-line / phone is so ripe for scamming.
I have so many crazy stories of McD visits the last few years. they'd sound insane if someone told me it happened to them. deeply weird and broken culture in their mgmt staff now, and a segment of their diner base too

I dont see it at other ffood places
I mean this seems like a nice proposal, but I guess I’m missing something, how does it relate to my comment?
It's known that Deno tacked on NPM support.

For new, from-scratch projects done by someone who doesn't know Node anyway, why not use Deno? I just started writing the server side of a mobile app with it, and I didn't even know JS, TS, or have any experience with routing frameworks. I had server-side queries working in a matter of days, and I don't claim to be fast at all.

The issues cited in the Bun PR, like the morass of modules and related performance problems, don't seem to exist in plain Deno. Or am I missing something? I don't anticipate ever integrating anything from NPM, so I'm actually disappointed (but understanding of the motivation) to see Deno hedge on the "fresh start" idea.
You misunderstood the question. It wasn't "how can anyone possibly figure out what is supposed to be measured" but rather more like "what if we measure the wrong thing".
It is not fair to think this is a complication specific to Haskell, because you can opt-out of runtime bounds checks as easily as C++, Rust, and Julia, with functions such as unsafeTake and unsafeDrop.

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

If you can afford runtime checks (if they are not much of an issue in the first place), Haskell, C++, Rust, and Julia can have runtime checks.

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

It is unfair to not respond to these points, while calling "this is a complication specific to Haskell." Because Haskell can do what others can do, but more.

> lots of complexity for something simple.

"indexing an array of length 8" for parsing UDP headers is simple, agreed. And Haskell can handle that simply with unsafe functions.

Keeping track of properties with complicated dependencies to parse arbitrary content (perhaps application-logic-aware contents, not "just checking for array length before indexing in a loop") is simple, strong disagree. See the section "Beyond Bounds Checking" of "Why Liquid Haskell matters" for example [1]. This might be used to implement the kinds of static analysis needed for Mojo or Swift, for instance [2].

[1]: https://www.tweag.io/blog/2022-01-19-why-liquid-haskell/ "Why Liquid Haskell matters"

[2]: https://github.com/modularml/mojo/discussions/466 "Mojo and Dynamism"

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

And this cannot be solved in the languages you mentioned, either. Unless you are claiming that all parsing checks are "just checking for array length before indexing in a loop".

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

We are still working on completely different scales.

The talk is using a toy example to show what is possible, and you are using that example too literally, without realizing that the example scales to handle much more complex problems that people need to deal with in the real world.

It is unfair to lump together different scales and call them the same thing.

Your reaction is like criticizing a talk which shows sorting 5 numbers with programs, with "it is simple to sort 5 numbers by hand, why bother learning how to program with all those complexity for something this simple?". And then calling this fair, without realizing that in the real world, sometimes people need to sort way more than 5 numbers.
Persistence. Sometimes being good isn't even required, as long as you keep at it.
Why does Rust attract this drama, pettiness, and immaturity? It's hard to take it seriously when these public tantrums are so frequent, I can't help speculating about the potential psychological disorders of those involved, and wonder how/why Rust, in particular, is a magnet for such people.
I can't read the full article but The Information[0] reported that the CEO was spending more than the board found reasonable.

[0] https://www.theinformation.com/articles/flexport-founder-ous...
Neat project by a innovator in residence at the library of congress. Mapping phonemes to drums by the energy of the sounds. He used Montreal forced alinger. recently I have been using the gentle forced aligner project.
"That's a name I have not heard in a long time".
Android not yet available or why is the Google Play link not working?
My business account says: "Daily limit: instant delivery $7,000"
Generally there wouldn't be any positive comments on an advertising post.
H100 is about $4 an hour and A100 is about $2 an hour at public market rates. But if you're willing to put up with some caveats and know where to look you can get them at roughly half of that each.
At that time Alexis was drawing logos or art for products he advised or knew the founders of, including most notably Hipmunk. I’m not sure if Joel asked him to draw it, or he volunteered, but it happened and then early in my time at Fog Creek, Alexis and I were catching up about some other stuff and he told me that version of the kiwi was his.
134 lines of C, with comments & whitespace
Show HN: Story of using C# for a terminal app (macOS and Linux)
The backstory and implementation of a hobby project called ViLark[1]

I wrote it to make myself a faster and nicer looking file/buffer selector when I am using vim. But it's a stand alone executable -- when I launch it from a hotkey in vim, it takes over the terminal screen, and vim is suspended. It uses temp files to communicate the user selection back to vim, and it exits whenever a file is chosen or the escape key cancels it.

This honestly wouldn't be possible without C# AOT compilation. Startup time would be too slow. But now, it's finally at c/c++ level startup time, perceptually. Really, it's instant, and doesn't feel like a break in the flow.

It uses a few new .NET features like PosixSignalRegistration, so it gracefully handles CTRL-Z and CTRL-C -- setting the tty back to default settings, and going back to the 'main' terminal screen. Those are low-level details but are pretty important -- having your cursor not be visible when you type in a shell is not something you ever want.

It also uses the new Console.ReadKey() handling to decode keyboard sequences, like ctrl-shift-right_arrow, etc. That seems to be working ok. Previously, I hacked up my own parser which wasn't a lot of fun, and I was happy to remove that code.

Unicode support was definitely time consuming. For example, if you read in an emoji, that is 2 chars, which are surrogates. They also form a two-column wide glyph in the terminal. If you hit backspace in the searchbox, you don't want to cut off one of those chars, or you will throw an exception, because a partial surrogate pair isn't a valid string. So you need to use the Rune API wherever you are slicing strings. And I still don't know what to actually _do_ if I need to draw a vertical bar half way through an emoji.

The utf8 string literals are helpful, for low level optimizations in some of the screen drawing, and more UTF8 support would certainly be welcome in .NET. For example, testing on 300K files, vilark uses 60MB of RSS compared to 30MB for fzf, and I believe it's primarily due to UTF16 vs UTF8. That said, the search speed was comparable, so I don't know if it's a detriment there.

Since ViLark is a stand-alone process, it can exec another process (e.g. your $EDITOR) when you choose a file. This was a bit more challenging to do in current .NET 8 preview. After a lot of trial and error, including renting an EC2 Mac instance for a day, I settled on a solution of P/Invoke of `execve()` + a `sh -c` mini-wrapper that runs `stty sane; exec "$EDITOR" "$FILENAME"`. That resets the tty and launches the new process all in one shot, and seems pretty robust. It works identically on Mac and Linux/WSL.

Anyway, I hope to see continued AOT support from the .NET team, because it makes coding fun again.

And now that I have the low level plumbing out of the way, hopefully I can think about other features I'd like, such as a 'Projects' or 'Favorites' tab. I'd like to have something "Spatial" in my terminal, similar to a Desktop or Mission Control, that I can access quickly.

1. https://github.com/kjpgit/vilark
The history of why you guys overpay so much is fascinating. Its a tail of good intentions causing bad unintended consequences. The path to hell is certainly paved with good intention.
In that case, you might like the Gemini protocol? https://gemini.circumlunar.space/

I'm not deeply familiar with it, but it's a similar "extremely minimal is best" approach, also in part for privacy reasons.
Just to double-check, Bun doesn’t support targeting the web, right?