skysight-inc/HackerNews huggingface dataset:
One thing that's nice about functions is that they force the associated block of code to be named, and for state that is specific to the function to be clearly separate from external state (closures aside). It would be good to be able to retain those advantages even in linear code that nevertheless has clear boundaries between different parts of it that would be nice to enforce or at least highlight, but without losing the readability of sequential execution.

To some extent you can have that in languages that let you create a named lambda with explicit captures and immediately invoke it, e.g. in C++:

int g;

void doThisAndThat(int a, int b, int c) {

doThis: auto x = [&a, &b] {
...
}();

doThat: [&g, &c, &x] {
...
}();
}

The syntax makes it kind of an eyesore though. Would be nice to have something specifically designed for this purpose.
Nice.

And about the cost of finetuning: is there a difference in price when only training the model on completions?
> the Have I Been Pwned data breach notification service created by Troy Hunt, with whom threat actors commonly share stolen data to be added to the service

Do they? Why?
Maybe parent is trying to push for solidarity.
> Electing a president via popular vote would give populous states disproportionate influence over the country compared to other states.

It would give every human, who has the right to representation, exactly proportionate influence. The weird fashy retired cops in Idaho will have to settle for having the same number of senators as Californians have.
Maybe 3 categories?

1. Salary (straightforward, on regular schedule, and you'll get it)

2. Bonuses and RSUs (various vesting rules, and ways you can never see it)

3. Startup stock and (worse) stock options (probably worthless, vesting rules, and you might need an advisor to make sure you don't exercise and come out with a big negative)
I dont think it is a big deal but you can use your own image or give credit to openai presentation on YouTube.
I don’t think you understand how Google ads work. Here’s a super common example:

- I sell red bowling shoes

- I pay Google for access to anyone searching for ‘red bowling shoes’

- Once they land on my site I know who came via the Google ad (via the URL params)

- A certain percentage converts, and I get their personal info and payment info

I personally don’t think there’s anything wrong with that chain of events! It’s a win-win for both buyer and seller.

However, to argue that no data was sold is disingenuous at best. Google is the monopoly broker of the intent data on every buyer in the world.

Why should I let Google profit off of my thoughts/interests? Why shouldn’t I be making the money that the bowling shoe manufacturer paid to access my thoughts/interests?
> It's kinda crazy how basically every law meant to protect people from spam has a special carve out for political campaigns.

Electioneering is a golden goose of money. There are billions in Ad spend every election cycle and everybody is in on it - Facebook, Google, Twilio, Sendgrid, the telecoms, phone banks and call centers, nonprofits, for profits. Nobody wants the money to stop because is pure margin what they charge the campaigns for.
>Rust inserts Copy, Drop, Deref for you: it would be really annoying to write Rust if you had to call `.copy()` on every bool/int/char. A language like this exists, I'm sure, but this hasn't stopped Rust from taking off

Is it possible to disable this behavior? I think it might be useful as a learning tool to familiarize myself with the Traits.
https://xkcd.com/2176/
For that purpose you might want to use magnetic tape like they use in long term archival services

They are cheaper per Gio, and last significantly longer
People rarely have issues with advertising in general. They want to know about the special edition Coke, new bikes/guitars/phones/etc, local small businesses, whatever.

What people don't like is the current advertising business, which is intrusive, a blackhole of privacy concerns, rarely useful, and full of abusive companies (clickbait sites, for instance) that exist on the back of scummy behavior that hurts the advertiser (costing them money) and annoys/infuriates the consumer.

They don't like having an ad-free 7usd Netflix/Amazon/etc account that is now 12usd with ads, or 22usd without ads and the same privileges.
Except company A will eat company B’s lunch. CX is a competitive advantage. See Netflix vs cable TV or Uber vs taxis.
Here's some evidence to the contrary: Almost every family of old money has been built on one form of theft or other.
I wouldn’t worry about it too much.

I help with interviews frequently at my current employer. I and other interviewers don’t put much weight on GitHub activity during interviews. Some candidates eagerly share their GitHub profiles, but often the activity is made up of forks or minor cosmetic changes. If you’re active in the open-source community or have significant technical achievements, those are definitely worth highlighting, as they help build a public reputation.

As you’ve mentioned many employers don’t allow their employees contributions to be public or visible. Being employed and not having activity shouldn’t be a negative hiring symbol.

For most candidates, GitHub activity isn’t a crucial factor. Interviewers typically don’t have time to dive deeply into a candidate’s GitHub profile, especially when managing multiple interviews. It’s more important to focus on what directly showcases your skills and experience.
I just received my haveibeenpwned.com email...
A large proportion of the Chinese economy is at least partly owned by the state, but the rest makes up most GDP (iirc, suspect this kidn of thing is hard for westerners to measure)
I was expecting something much more damning from the title, but the article goes on about how Apple is helping police use their own iPhones/CarPlay as platforms for their work... which just seems like good business sense? This seems more parallel to their marketing campaigns for healthcare industry than anything along the lines of sharing data with law enforcement, which this article does not insinuate even once. Is it controversial if police use iPhones/iPads instead of the in-car touchpads? If anything it makes me feel just a little bit better about security. Do we really want Accenture or whatever building these solutions instead?
Even if you paid by credit card, there's zero chance they processed the payment themselves.
I've made a timeline of events: https://gist.github.com/xproot/b574dc868a9db012bbe07252a1f7f...

Fun fact! Troy actually got this database back in Sep. 30th.
I’m thankful that I happened to end up in this field but I’m not going to feel guilty about it. It is hard work and stressful, and if someone’s going to be “lucky” that they chose the right field why can’t it be me?
Did you miss the part about the DDOS attack?
I appreciate the question and it deserves a lengthier blog post reply that I will work on and share. In the interim, some brief thoughts on the topic that may be relevant.

The WordPress community operates on an open source, non-commercial basis. The community decides what is included in each release of WordPress, how it's tested, what documentation accompanies it, etc.

Because the WordPress Foundation, not Automattic, owns the WordPress trademarks for non-commercial use, Automattic has no control or veto of what code is stamped with the WordPress label.

By contrast, if Automattic retained non-commercial control over the WordPress trademarks it could refuse to affix the WordPress label to work done by and released by core contributor groups.

In case you are not familiar with how WordPress decisionmaking works: Volunteer contributors self-organize into groups that set their own goals, interface with other groups, allocate resources, plan a schedule, and resolve issues according to a Community Code of Conduct (see https://make.wordpress.org/handbook/community-code-of-conduc...). You can learn about how decisions are made in the WordPress project at https://learn.wordpress.org/course/how-decisions-are-made-in....

I am going to operate under the assumption that others may have similar questions, which is why I think this is a good topic for a blog post.
However, the utility of money starts to drastically increase once you reach a tipping point where it can start allowing you to wield real political power.

The graph of monetary utility may look like a logarithmic graph at first glance, but that's just because it's more like a C1 + (x-C2)^3 graph where you haven't followed x far enough to the right.
I used to think like that. Then C++11 arrived, and I realized I could get effectively the same performance with containers and move semantics, while spending less effort on writing and debugging the code.

If you need an array for your custom data structure, a standard library vector is almost always good enough. Associative arrays are a bit more tricky, but you should be able to find a handful of map implementations that cover most of your needs. And when you need a custom one, you can often implement it on top of the standard library vector.
True, it’s such a weird target selection. You’re not getting any money, you aren’t really making a big statement, why would you do this? Just advertisement for your DDoS for hire?
Interactive global weather visualization: wind and ocean conditions
Some algorithm improvements ripgrep uses could be brought into grep, but ripgrep at its core just operates differently. It uses threads by default, assumes unicode, has a completely different regex engine, amongst other things. It could also probably be argued that some things from ripgrep would be pretty difficult to port from Rust to C or C++ safely.

burntsushi has a blog post on it here: https://blog.burntsushi.net/ripgrep/
The original statement is comparing against non-copyleft licenses like MIT. It is clearly stating the author's preference for the GPL.
It's not automatic, they'll donate something of value to it.

Here is the default reality:

A) they can do this to any "60%" non-profit. 60% refers to the category of maximum tax deduction

B) they won't be in control of the assets after they donate

C) but they'll be loosing money they otherwise would have that exceeds the tax burden

But all of these are surmountable by already having your own non-profit with the same board members, or aligned board members:

A) OpenAI is a 60% non-profit that they control and so

B) they'll still be in control of the assets they donate as if they never moved it

C) you can donate illiquid things that would have never been able to be converted to dollars. for example, those PPUs? or perhaps just some cloud compute credits? shares, or membership interests, of an organization as long as a market value can be pointed to. A bunch of GPUs?

An illustrative example would be how the new for-profit OpenAI entity sold some shares for $6bn to represent a 157bn valuation, this means that 3% of the shares were exchanged for dollars. And all 97% of the shares are said to be worth the exact same instantly, and indefinitely into the future. You could donate 1% of the shares to the non-profit OpenAI and that's a $1.57bn tax deduction against whatever income you currently have that year. and if you don't have enough income to offset then it keeps rolling forward.

in a 60% non-profit, assets can only offset up to 30% of your tax bill, and cash donations can be used to offset an additional 30%. Alternatively, cash alone can offset up to 60%. Since donating cash is suboptimal, do 30% illiquid, appreciated, assets, and 30% cash. The cash can also be found by borrowed funds but this is not seen as optimal, it can be seen as strategic though.

Once again, all the donated assets are in a non-profit you still control, while obtaining the tax benefits.

How is this useful? many ways. Non profit has financial ammunition and firepower. It can pump investments you also own by purchasing, or getting involved with. The regulations curbing this are quite flexible. Its a pretty high percentage ownership threshold between you and the nonprofit for it to violate self-dealing regulations, and even when violated you have like 1 - 3 years to get under those thresholds. But even that's just for shareholdings. It can print revenue for things you like, buy more GPUs, burn more energy in compute from your organization, make external investors enamored.

It will also be doing its stated mission, research. Honestly, the stated mission is exactly what I would do if I was also interested in doing all of the above.

The longest preparation is creating the non-profit and getting that approved. They already have that. so the rest is just pressing play.
Ah, an economist from George Mason. Say no more. I expect he has no children due to the negative economic impact of child rearing.
Software spotlight: Cassette software for the IBM PC
will*

(Almost?) all mounts have their own focal distance from the backplane. I don't know of any two that share the same distance.
If Troy authenticates the data, they can use that as an 'endorsement' when trying to sell it.
I believe there was a typo in the post. If you read this thread you'll see a note below from Matt yesterday that the post was corrected.
That's what Troy got sent. It's not necessarily all the attacker took.
In C++ you can do:

auto f = [&] {
...
return barbaz;
}();

with the side benefit that you can also make the use of state explicit inside of [] instead of using wildcard capture.

Given that it's neither reused nor parametrized, I'm not sure why you see this kind of pattern as a "function by another name", though. Semantically it's more of a namespace if anything.
Proves they really did hack something. There's other sites where hackers register defacements etc.
> if you're right about that being the dominant effect we should see small businesses increase as a portion of GDP as online ads become more prevalent

Ceteris paribus. Running a small business in most states involves more rules today than it did in 2000. (Common denominator: the cost of financial transactions due to post-9/11 anti-money laundering rules.)
What would you do without a search engine? Who do you think is going to pay for it?
> Those languages don't come with mechanisms to let you to make system calls directly or handle the precise memory structure of the data

Here’s a C# library for Linux where I’m doing all these things https://github.com/Const-me/Vrmac/blob/master/VrmacVideo/Rea... As you see from that readme, the performance is pretty good too.
I don't think that's a good way to view it. How about the median home buying household? In my town the median sale price this year has been $1.6 million, considering interest rates and property taxes that amounts to $10k/mo housing costs, which is over half the take-home pay of a $400k gross income in California. This is not even to mention the fact that nobody will lend you a mortgage based on the equity portion of your TC, they will usually only count the salary portion and discount the equity portion.
> True, that would be an up front cost. At the same time, the IA is still live. This initial expense can be softened by building up redundancy over some years rather than trying to do everything at once

I think with that many drives, you'd be losing them constantly, and I suppose you wouldn't know which ones until later (assuming you're doing an offline backup, if you aren't you have to factor in power costs).
> single tasked high where interruptions are harder to deal with than with caffeine

That comports well with my contemporary and anecdotal understanding of cocaine's most popular effects.
I’ve had a similar experience but I’m tired of fighting against popular opinion
As you scroll around you'll notice it'll turn all the images into jpegs with bad artifacting like you're back on dialup surfing the world wide web. That's dedication to detail.

This degraded image effect was done by moving image viewport around within source images like this: https://www.dookiedemastered.com/images/gameboy-3-sheet.webp
Generics is hardly a major paradigm shift, and these two languages are worlds apart in amount of features.
reasonable people disagree on whether some things are positive or negative value.

IA is one of the go-to examples for that. is it good to make every book ever written freely downloadable (as they were trying with their library project a while back), or is that bad? you and i might think the answer is obvious. we might even agree on it. but we would occupy a rather different world if even a supermajority agreed on that question, in either direction.
I’d think this has almost literally nothing to do with the kernel.
The main issue that such hosting faces is that it's less efficient and more expensive than just regular centralized servers.
Previously: https://news.ycombinator.com/item?id=15105662
https://addons.mozilla.org/en-US/firefox/addon/sponsorblock/
> were using cocaine. It was a less concentrated form, sure

I was going to say this is pedantically correct, but on closer inspection, it's not even that. Cocaine, the chemical, is present in both coca leaves and cocaine, the drug. When people say cocaine--particularly in this context--they're referring to cocaine the drug, not cocaine the chemical.

Cocaine the drug and cocaine the chemical are homonyms, and it's incorrect--fully technically--to confuse their use.
I'd probably believe attribution to either Israel or the MPA with only a little evidence.

(I still haven't forgiven Sony for the album on CD I bought with a rootkit on it...)
No, Epic vs Apple and Epic vs Google ruling shows how inconsistent the ruling are on such a common sense situation.

So I don't want Google to be broken up and lose business only for MS, Apple, Amazon and Facebook to gobble up its business
As I noted above, we are preparing a blog post with further detail about Matt's role in the community. Of course, if that doesn't provide sufficient clarity, let us know.
> Rust really hasn't changed much in the past 6 years.

Even more importantly than this, Rust has a major emphasis on backwards compatibility. The author mentions a "hamster wheel" of endless libraries, but, in Rust, nothing's forcing you to switch to a newer library, even if an old one is no longer maintained.

In general, the complexity of your project is completely up to you, and (at least to me) it seems like a lot of the new features (e.g. generator syntax) are trending towards simplicity rather than complexity.
Kanji's a lot less daunting when you realize they're words not letters.They convey ideas instead of sounds (heck they don't even really convey a single sound considering the number of readings)
Damn imagine if everyone's vote was equally weighted, what a disaster for democracy that would be. Mob rule!!
I'm not an expert on color profiles and HDR stuff but it seems like the kind of thing that's possible with PBR and the right color profiling, which isnt too modern.

I'm sure that there are some colors in the human-visible range that aren't covered by sRGB but idk if gold is one of them
thanks for sharing.

the implications are fascinating, if the findings are generalizable and reproducible.

the study suggests LLMs may already be materially superior to experts in a critical field like medicine, and that inexpert users hold back LLMs.

given the author affiliations, it's also likely that the tested physicians are in the top tier -- suggesting even greater disparity between LLMs and doctors in less advanced areas.
Here’s an example of a single page React app that I wrote several years ago that requires nearly zero maintenance, is a single screen, uses Bulma for CSS, and manages state w/o an external library

https://better-skill-capped.com/
The Android Play Store alone generates about $100B/year for Google. I saw $40B as what Google has spent over the years on Android. That seems like a viable business.
Hike in every country and territory of the world. After that is done I deserve some rest…
I'm guessing most recent dissertations have been digitized, but this is probably the norm only in the last 10-15 years? Most universities likely have never given thought to digitize anything from before then due to the extra costs that would be involved in digitizing those physical copies. I am curious how much such an effort would cost though.
I agree, it's too late for Python. But it's not too late for people who think the work they're doing has serious intellectual content of lasting value to choose a different language today, so that their work doesn't become unusable five years from now, and it's not too late to keep the same thing from happening to other programming-language ecosystems.
>it would be really annoying to write Rust if you had to call `.copy()` on every bool/int/char. A language like this exists, I'm sure, but this hasn't stopped Rust from taking off

Well C++ does the same by default. You need to opt in for deep copies. C++ doesn't drop by default but modern practices like Smart pointers do.

>I'm unsure why this article is so upvoted given how vapid the content is, but it does have a snappy title, I guess.

Even HN isn't immune to the 90-9-1 rule.
> I frequently have rate limiting problems with my GitHub account

What are people doing to get their account rate limited?
Since this thread is going to be bait to more experienced Elixir devs, can someone tell me books, blogs, etc that you like that discuss performance in Elixir?

I am working on an Elixir project that in no circumstance should be taxing but it's falling over miserably at like 100 - 200 events per minute. The detail is it is distributed-ish IoT. I didn't write it, the person(s) who did write it are gone, and no one else writes Elixir. I've gotten some good gains already but I'd like to squeeze the 80 - 90% of juice I think I can get before resorting to beefier hardware.

I've gotten into instrumenting and measuring it and I have some ideas but I'd love to hear others point me to other ideas. The real problem is that the hardware is miserably underpowered and it is real-time, by that I mean I can't defer, schedule for later, or de-prioritize anything.

---

To actually contribute, I really like Elixir. I am not yet sure why I would advocate for it over something more 'simple' like nodejs (My background is, accidentally, Javascript World) but it's certainly a very nice language to write in. It feels magical but not too magical where you get scared it's trapping you into its web.

Before anyone jumps too much on me for it, I gauge "simplicity" by how many people can I hire to write it. You can barely swing a cat without hitting 3 competent Javascript developers. I tried for many years to hire another golang dev so I could write it professionally, I only encountered a few despite having been in most interviews my employers would do. With that said, it may just be that the Venn diagram between "writes Javascript" and "writes golang" is small.
I think as a general principle it would be best to break up companies automatically from a certain size on. We need more competition and less powerful corporations. I don’t see any benefit that these trillion dollar companies are providing for society. Only downside
Indeed, a blog post with more detail is forthcoming.
and we should be more like them, is the thinking?
Yes, IMHO calling it a Layer 7 proxy it quite misleading. I was expecting something closer to an ALG.
I run with `tsx [-w] src/main.ts` and `vite [build]`, so it's not that much of a step.

But in general, yes, ts is much benefit. I use shared typings for cross-end calls/returns, mithril supports full component typing which is useful, the whole devtime becomes more lively.

I'd agree at webpack 4 "zero" "conf" times, but rejecting ts now returns nothing.
This has always been one of my favorite questions to think about.

If votes could be legally sold how much would it cost to buy the US Presidential election?
Wow this is really cool, congrats on the launch!

Does the platform also help speed up the labelling of semi-structured data? I have a use case where I need to take data in word, ppt, pdf; label paragraphs / sections which could then be used to fine tune a model
Which laws have special carve outs for political campaigns?