skysight-inc/HackerNews huggingface dataset:
lol, what an ingeniously evil way to steal tips: invent your own currency (so you have a monopoly) and then keep a huge spread between the buy and sell prices. If restaurant owners could figure out a way to do this, they would.

Ugh, how long until those tip screens start offering “gamification” like this?
The etymology is instructive. for-give
https://www.etymonline.com/word/forgive

The reason it's associated with morality is because the idea of wronging someone implies that the one who is wronged is owed something. By offering forgiveness, what was owed is remitted. This also applies in the idea of sin, an offense against that which is divine.

And it applies in the context of a loan, where one party is owed something by another.

So, in the concept of forgiveness, it is the owing that is important. Any implication of morality is incidental.

But, also, there are indeed moral systems that consider borrowing money to be wrong. Although that's uncommon, and perhaps you were arguing that those moral systems are incorrect.
The High Schooler Who Solved a Prime Number Theorem
Number 1 is a strawman, written to paint people as extremists.

Number 2 is naive and glib. Of course "humanity will adapt", but that adaptation will be in the form of horrific suffering for billions and lower quality of life for everyone in the future.
That's impressive. I wonder how it compares to Synapse or Dendrite.
Plumbing and Other Utilities
Make a TurboPascal-style VSCode clone instead? :)
Logseq uses Markdown files for all of your pages and journal entries. However, it doesn't support nested directories, choosing to embed "%2F" in the filename instead. That is quite ugly. The only thing Logseq doesn't use Markdown for is configuration files, AFAIK.
I've mostly only come across in-house tools that have been inspired by FORTH, or used it as an embedded language for company back-end tools.

I suspect gforth is the most common way to get started. Though it has to be said more people probably write forth-interpreters than write serious code using the actual language.

Embedded use might be one of the rare exceptions, as it can be used to give a very lightweight environment.
I was surprised to see so many comments here from people who apparently use TikTok. The HN audience tends to be familiar with the technology ecosystem and the ways it can be abused. I cannot fathom why anyone here would willingly go anywhere near something as obviously bad as TikTok.
> Other things are very straightforward, especially when you don't have to deal with 1000 other people's use cases but only your own.

> ... fighting a 3rd party framework ...

Can you give some examples of this? I'm personally finding it hard to come up with examples where this is a significant problem. The closest I can get is I worked on a Django REST Framework project where we went all-in on serializers, but then ripped it out because performance wasn't where we wanted it to be. But it's pretty easy to not use serializers in DRF, so it wasn't actually significant.
For a discussion that began with a clear definition of "what is a framework", you sure are spending a lot of effort muddying the waters. I for one strongly disagree with you on the idea that coders "accidentally" create frameworks, just like one might accidentally slip on a banana peel. I have written several codebases that have NOTHING resembling a framework in them.
If you believe GamerGate was about what it purported to be about.

(It wasn't, and you shouldn't)

But anyways - you got at least the pretext correct.
Tell HN: Slack is having network issues in Threads and group DMs/channels
I can't post the link since it was posted 7 months ago.

Per the official status page
"Some users are experiencing issues loading Slack, including Threads, Saved items, API hyperlinks, and group DMs/channels"

https://status.slack.com/
Zyvex Labs Unveils ‘World’s Highest-Resolution Lithography System’
The openwrt folk have released a similar vpn idea, using the kernel wireguard version and a DHT: https://forum.openwrt.org/t/new-wireguard-based-openwrt-vpn-... works on std linux as well. Very raw.
With New Crackdown, Biden Wages Global Campaign on Chinese Technology
Most companies selling ads have to do tracking in order to insure their customers are actually getting what they paid for with their marketing campaigns instead of having fake bot views. I’m not entirely sure how Apple can avoid that and still appease its ad customers
OCaml Wishlist
Imagine two charities.

One receives money and then pays a 3rd party organization to install mosquito nets. This charity has very low "overhead" in that a huge portion of their income immediately leaves.

One receives money and then pays employees to manufacture and install mosquito nets. Even if this charity installs more nets it'll have higher overhead than the other charity since things like wages are considered overhead.
OK thanks, thought it'd be in the View menu or such. Seems a little odd that it's so obscure.
Interesting decision to have zero images of the new design on the landing page. Could you share why you decided this way?
> We were all MMO-naive

Not just that, we were in the dark too. The information out there about the game wasn't very good. Want a map of a dungeon? You'll have to find some crowdsourced hacked-together jpeg. Now, you can watch a full dungeon walkthrough in 4k 120fps on youtube.

> minmax ultragreedy automatons

This has spilled out into the metagame too. People actively complain about anything that moves the game away from a "1-click win button", and will laud any change that moves closet to it. Automatons indeed.
Because a) folks that are the most impacted by this cannot vote and b) IIRC there are even limits imposed on political activity by visa holders, they get slightly relaxed when you get a green card (but do check it out, IANAL and may be misremembering).
Dogfooding is a good thing.

However, I find it can get tiresome / has potential compilations.

Customer's can be terrible with incomplete, bad idea, and nonsensical requests. But sometimes internally you get the worst "Someone spilled some words into email that don't sense / no you don't actually want that / bro this is accounting software not Photoshop." situations that folks who are more familiar with the origination might make, but customer's might not make.

It takes an extra level of internal discipline to deal with dogfooding side effects at times IMO. Still, a good idea none the less.
"We all decided that's not ok". And we also all decided it's ok to start doing something else in a Zoom meeting, because nobody will notice anyway?
> This is extremely misleading

LOL what?

> Legacy media sells ads.

Legacy media also typically has broadcasting equipment, large headcount, spectrum allocation, and so on.

> Infowars sells products.

I'm sure those supplements have extensive R&D and product development expenses /s
Would be interesting to see how to capture this metric within Obsidian. I can imagine a similar metric: "elapsed time between note created and first time note opened." This data might help answer whether or not we are creating notes that are never revisited, an opportunity to purge the note itself.
On Kodachrome you’d also get a negative you can’t develop…
Agreed, having been on the inside at Google - they are not good at producing customer impact. The orgs are so large, so diffuse, and upper management so disconnected from on-the-ground execution that it's really all about gaming metrics. Even people who still want to produce customer impact have to play the game of stuffing their feature into a metrics-shaped-box so their projects don't get shut down.

Google is obsessive about engineering quality - and IMO is a good example of why that shouldn't be the core principle of a tech company, even though as engineers we're biased towards it. Google excels at producing a lot of well-designed, scale-hardened, well-tested code... that doesn't do anything useful for the business and is a net drag on the company.

re: customer impact, and if you want to define "real engineering work" as "real engineering work that your users actually use/love", IMO Apple is the way to go in the realm of BigTech. It's the only one of the FAANGs where simply juking metrics isn't enough to get ahead, and you have to deliver customer impact in a reasonably robust way to succeed.

I've been at 3 FAANGs now, and Apple is the only one where a conversation has gone something like "wait, the metrics you're proposing are bad at measuring the actual quality of the user experience and does not account for hard-to-measure factors like (a), (b), or (c)", and that conversation is coming from an executive.
> Bash actually has a POSIX compatibility mode.

It's partial. A short example is `date&>FILE`.

[edited typo]

On a POSIX shell, `date` will run in the background and the date will be written to stdout (`date&`) and `FILE` will be created or truncated (`>FILE`). Using `bash --posix`, the date will be written to `FILE`, since the incompatible bashism `&>` still takes priority.
If your reason for using fgrep is that grep -F is more characters longer, the logical thing would be to have your own function or alias which is called just f or fg.

I stopped using egrep and fgrep in scripts ~25 years ago when I found out they weren't in the standard.

grep -F is only useful when the pattern contains regex characters that should be treated literally, and since the default regex language of grep is BRE, those characters are few.

If only one special character occurs you break even on character count if you use a backslash escape:

fgrep 'a*c'
grep 'a\*c'
After years of trying around multiple markdown tools like Standard Notes, and loads of open source I finally landed on Obsidian. Still trying to wrap my head around it but it seems like such a powerful tool
> Sometimes I feel like people here mistakenly or purposefully obfuscate TC info for one reason or another

So you're at least E6 and less than 30 or/and you join the companies when stocks were low. Don't think your particular case is the same as everyone else. Some people go to FAANG at E5 in their late 30s in Europe/Asia. 200K is more the norm for them, and it's not sure they'll be cruising until 50 in an IC position.
Fastest internet network upgraded to staggering 46 Terabit/s
Interesting, anecdotally testosterone therapy (even unnaturally super high levels) tends to counteract my ADHD impulsiveness and the obsessive or prurient behaviors driven by dopamine reuptake inhibitors like amphetamine.

Because of the descriptions of dopamine agonists, I suspect pramipexole and cabergolin have a much strong effect than DRI's. But maybe I've just lived with DRI's for so long that I can mitigate/resist the effects somewhat better than a person who just started on them in their middle age.

Based on personal experimentation I also suspect the elevated estrogen from testosterone replacement is largely responsible for the reduction in dopamine-driven behaviors. I tend to do best overall with estradiol on the high side of normal. When estrogens are low I get far more compulsive behaviors shadowing those in TFA, even in the absence of dopamine related pharmaceuticals.
Linux is not purely virtual, it is distributed. Many hardware companies employ kernel dev teams. There are multiple venues to sync-up across dev teams to brainstorm new ideas in kernel development.
The Better Everyday channel has a 3-part visit at the Kodak facility, it’s a fascinating look at the process of film manufacturing:

https://youtu.be/HQKy1KJpSVc
TikTok’s algorithm is deeply flawed to draw any conclusion about. Its a deep reflection on what other people in your content branch accepted, not you.

Simply looking at the comments on a video you disagree with, just to see if others are appalled or brainwashed is something that the algorithm will interpret as deep interest in that kind of content. I have to go find the “not interested” button. Its sad because all those other people are really stuck in that rabbit hole.
There's also something I appreciate about slowing down and considering each shot individually, since you only can take a finite amount of shots, vs the thousands I can fit on an SD card.

Yeah, I can't do astrophotography very well, but my shots on film are a lot more considered.
The Instructions of Ptah-Hotep
Ancient wisdom from Ptah-Hotep (~2400BC)

Fascinating read.
I’ve been meaning to read Practical Common Lisp for some time. Would you recommend this even for complete beginners to Lisp?
>and budgeting based on what they can afford at the moment

That is not budgeting, that is choosing what products to buy based on your budget.

One would set a budget of say $400 a month for groceries based on their income, this is would be fixed for the year. then when they go to the store, or make a shopping list that choose Chicken or Beef, Frozen or Fresh etc based on the current prices and what will fit into that budget.

> Anecdotally, no-one I know complains about beef being $3 last year...they are more concerned with it being $4/lb last MONTH and $6/lb now

Both are a concern, but only one deals with budgets. The $3 is important because that was the baseline for which the budget was set, choices on employment, hours, overtime, finding a new job, going back to school etc are based on this budgeting

the Mo over Mo prices factor not into the budgeting, but into if you buy 1lb and some beans for your chili, or 2 pounds of beef and no beans so you can make "real chili":) .. Of if you buy a steak vs ground beef, or chick...

Those are purchasing choices at the moments for the exact goods and services that will be consumed under your budget
That's the thing.

This is a spectacularly rare accomplishment for a kid that grew up in an academic family.

But it's nearly nonexistent for kids who didn't have these advantages.

So chalk most of it up to this kid, and some of it up to his rarified environment.
> There's nothing wrong in working at a FAANG for the money....

That's assuming you have no problem working for FAANG period. I have serious ethical concerns with 4 of the 5 and probably would never work for them for that reason alone.
I would be shocked to learn you’re using stripe billing and checkout sessions successfully internally - those products are so convoluted in how they overlap and don’t as to be unusable. All but the most basic use cases are a nightmare to both implement and then track rev Rec on. So much so that you’ve got a whole new product dedicated to trying to figure it out. If that were the result of a dog-fooded product I’d be pretty sad to hear it.
IIRC, .NET does something similar for OutOfMemoryExceptions. The exception is thrown before actually running out of memory. That allows just enough space for the OutOfMemoryException object (and associated exception info) to be allocated.
The managers could've been more upfront about that and what those metrics are during the hiring process!
Zsh doesn’t actually have a default history-file location:⁰

HISTFILE
The file to save the history in when an interactive shell exits. If unset, the history is not saved.

0. https://web.archive.org/web/20221012011928id_/zsh.sourceforg...
I switched to just grep, but it's still part of the same line of thinking. I really, really, really dislike it when something that used to be reliable changes or is removed. I understand and accept that things change, but when it's as simple as a symlink or what have you I really do not see the cost-benefit tradeoff for sunsetting something.
Sorry, to be clearer—we are moving away from the old billing service my colleague mentioned and to a new one. Our new system shares similarites with the Stripe Connect + Stripe Billing flow I mention above (specifically https://stripe.com/docs/api/usage_records).
Cool, congrats on the release! Can you tell us what game engine you used? I'm always impressed when someone releases a multiplayer game, let alone a co-op one. Was it hard to write all the networking/syncing code? Is your professional career in network programming? And did you do all the art yourself too, in addition to the marketing? If not, how did you go about picking an artist?
Per the article: "(Currently it’s determined even before startup, at compile-time, but startup is the important point since that is the first time that memory can be allocated.)"

Sooo are we sure you can even change this via proc restart? This is saying the limits are built-in during compile...
I'm very very very disorganized by nature. Some people I know seem to be organized at birth. All the systems I put are really just mechanisms are really aspiration, ways for me to emulate their behavior, keep me accountable, and gamify it a bit.
Syncthing is very good, but the best iOS implementation, Möbius Sync[1], is not comparable with the Android one (the OS limits the syncs, you need a regular notification and so on).

The great things about Logseq are his weakness for me. Everything is so interconnected (you can say: "here put the paragraph of this other note") that I sometimes lose confidence in the system. It becomes too complex. With Obsidian I know that a note is a file. Less convenient but simple and reliable.

Logseq really excels with his outlining mode, I miss it (but I don't like the way it saves states in the markdown file). It has some problems with the code blocks too.

[1] https://www.mobiussync.com/
Show HN: Atlas – Open-source Mixpanel/Amplitude alternative
Hey everyone! I'm excited to share my newest side project, Atlas. Atlas is an open-source product analytics tool that sits on top of the data warehouse. You can do things like funnels, flows, and retention analysis that typically you need to pipe data to Mixpanel or Amplitude for.

Under the hood, it uses dbt to run queries and is built using TypeScript, React, and NextJS.

Check out the live demo at https://atlas-demo.onrender.com/ and let me know if you have questions or thoughts. Happy Atlasing!
Cool article and an interesting concept. It's definitely good to think out of the box - but I've rarely had to deal with a database OOMing (I assume because they have strategies to write to disk before that happens).

There are plenty of strategies nowadays to avoid garbage collection and use-after-frees (rust comes to mind), I'm not convinced working with fixed amount of resources is the most friendly to operators.
This is straight up theft.
it was most certainly not virtually developed while becoming relevant. if you want to build your house getting inspiration from burj dubai, go for it.
> inferring gun owners are criminals.

The comment to which you’re responding made no such inference.
I don't have some links, but it's more straightforward than you might think (and TFA covers some of it).

1. Bound every whatever that requires memory to some value N

2. For all whatevers that can have a lifetime for your entire program, do that

3. For any whatevers that can't have a lifetime for your entire program (e.g. for a database server like TFA, a connection object would qualify), make a table of size N

4. When you need a whatever (again using a connection object as an example, when listen() returns) grap an unused entry from the table. If there is no unused entry do the appropriate thing (for a connection, it could be sending an error back to the client, just resetting the TCP connection, blocking, or logging the error and restarting the whole server[1]).

5. When you are done with a whatever (e.g. the connection is closed) return it to the table.

Those are the basics; there are some details that matter for doing this well e.g.:

- You probably don't want to do a linear-probe for a free item in the table if N is larger than about 12

- Don't forget that the call-stack is a form of dynamic allocation, so ensure that all recursion is bounded or you still can OOM in the form of a stack overflow.

I should also note, that for certain values of N, doing things this way is normal:

- When N=1 then it's just a global (or C "static" local variable).

- When N=(number of threads) then it's just a thread-local variable

1: The last one sounds extreme, but for a well understood system, too many connections could mean something has gone terribly wrong; e.g. if you have X client instances running for the database, using connection pools of size Y and you can have 2XY live connections in your database, exceeding N=2XY is a Bad Thing that recovering from might not be possible
Makes sense, definitely.

I’m just suggesting that robotics could reduce the frequency of increasing costs being used to raise prices.

Aggregation of marginal savings, etc.
I do not understand the Disneyland question.
A quick Google search confirms the ~$6B number, and as a lower bound. When the facts are this easy to find and you repeat wildly false information, you're not simply mistaken, you are intentionally lying.

Why do you feel the need to lie about this? Why are you so desperate to deny an obvious truth? Good men don't lie.

"Attorney General John M. Formella today announced a national settlement with Purdue Pharma and its owners, the Sackler family, for their role in the opioid crisis, that will increase the amount of funds paid by the Sacklers from $4.325 billion under the original bankruptcy plan to at least $5.5 billion." https://www.doj.nh.gov/news/2022/20220303-settlement-purdue-...
There are many people affected but perhaps is not enough to prioritize, the law seems appropriate to balance the scale

https://www.nidcd.nih.gov/health/statistics/quick-statistics....
Hi Peter thanks for this.

I'm European and I live and work in the USA (L-1B visa, no green card).

If my company sponsors a green card application, how long is the process? If they don't, what's the easiest option for me to move and work here permanently (including the right to change company, which I don't have now)?
China was using supercomputing and artificial intelligence to develop stealth and hypersonic weapons systems, and to try to crack the U.S. government’s most encrypted messaging, according to intelligence reports. For months, administration officials debated what they could do to hobble the country’s progress.

It really seems China sees AI as their silver bullet to becoming number one super power given their focus on it. US in contrast seems to content with western companies making advancements in AI which hopefully isn't a mistake.
The first pointer arithmetic bug I fixed, I only narrowed it down once I realized that the function was getting garbage data. Several others since have been the same way. This data structure has a value that can’t possibly be arrived at, therefore this data is fake.

When you point to real, dead objects, the bug can be anywhere or everywhere. If you have a pattern of using impure functions everywhere this can be a nightmare to identify and fix at scale.
at Bloomberg, even thought I didn't work on any financial product (I worked on their law product), I wasn't allowed to own any derivatives per my contract.
Deploy FPGAs from a Web Browser
so? if they aren't regulating properly they have oversight to remove them. what they invest in with their own money is their business.
Leading your team to a decision that works for them, and the team member who should have been fired but wasn’t is the mark of a true team. Dude needs to get his head out of his ass and if he needs his team to pull it out, so be it. But yes, a leader will involve a team in a decision that affects the entire team, the won’t unilaterally make a decision.
Yes. I made a mistake, I think cp(1) was separate.
Designing the architecture of a sourcing platform assisted by AI– Part I
This article is the continuation of a series of posts covering applying AI and semantic search to tech recruitment. I cover the system design of a sourcing platform assisted by AI, using Hugging Face Transformers, GPT-3,Temporal, and Vector Embeddings.
Google Keep

It's easy and practical to share notes between my phone and my computer. I can share notes and make them collaborative.