skysight-inc/HackerNews huggingface dataset:
On Windows, I tend to often see callstack frames going down a lot, especially in C++ debug builds where inlines are no longer such.

On top of that if you have work-stealing task scheduler, that if your current thread waits on I/O reassigns it to some other task to work it may bulb even more.
I don't love the UI of Youtube Music, but it came with a category killer feature for me: You can now grab tracks from any Youtube video.

If you consider that any track or music video ever uploaded to Youtube is now in their library, available to be thrown in any offline playlist, that's pretty cool. I have a bunch of old Japanese jazz albums that never got US distribution in one playlist. I have a bunch of random vaporwave and remixes in another. And I have another that is ambient noises for sleeping on the road.
Changed from 2008 to 2002 above. Thanks!
You consider total ransomware payments the "cost of ransomware"?

And the revenue of the cybersecurity industry the "cost of cybercrime"?

You seem competent, me I don't know much about practical cybersecurity.

But the combined cost of companies or medical facilities being infected by ransomware surely is not covered by the total ransom payments, right?

Sorry if I'n grossly misunderstanding your take, but I struggle to make sense of it.

I see however your point about surveillance.

And also, affected companies and institutions + the software companies, consultants etc they work with should carry a certain responsibility in some cases.

For example, a social engineering breach with one employee who had normal privileges shouldn't allow to easily propagate over the whole network etc
Not all, but the vast majority yes, because nobody bothered styling links with CSS.
I'm also curious about this. What prevents you from growing molars on your elbows, hips or forehead?
5% treasuries mean you lose money to inflation. It’s $50k/yr today but in many years it isn’t worth that. Broad market stocks are much more reliable if you want income forever.
Poor guy doesn't have macros.
Friend, you were the one who assumed "common law or similar". This is ancient common law precedent from England.
Deliver faster? Find 9 women for a baby in one month.

Sales is trivially parallelized, engineering is not.
Like any rule this can be taken too far. It happens all the time. People like simple rules. They want everything to be like assembling IKEA furniture: no thought required, just follow the instructions. We all like it because it frees up the mind to think about other things.

There are rules like "don't stick your fingers in the plug socket". But, if you're an electrician, you can stick your fingers in the plug socket because you've isolated that circuit. DRY is similar. As a programmer, you can repeat yourself, but you should be aware that it's thoroughly unwise unless you know you have other protections in place, because you know why such a rule exists.
Yeah, you asked it specific follow-up questions, designed to guide it towards the correct answer. That feels like cheating, because it's not generalizable. I'd like to see an evaluation with a generic prompt like "Is that the best solution? Make sure you look for trick questions.", because that is applicable to any input. Or something like "Pick apart this answer like a pedantic HN commenter. Do your best to prove it wrong, or begrudgingly say it's correct if you can't: <previous answer here>"
I don't work with typescript much but that code is pretty straightforward, it's just mapping objects to types. A few nested conditions and recursive calls aren't complicated at all. That a decent amount of devs seem to think it is makes me confident in my job security, at least.
Probably should prioritize telling them that red lights mean stop and that the arrow on the one-way sign points in the only direction you're allowed to go. Maybe mention turn signals too.

Allegedly there are three cities with worse drivers, but I find that highly implausible
If tweets had titles, the title of this one would literally be "YC in no sense fired Sam Altman", so really this is just Message Board Calvinball.
In my opinion, a link to a Google Form is superior, not necessarily because Google Form has the best UX, but because it has the most familiar UX. Many people would probably have filled in a Google Form before, so having the de facto default form solution is the easiest on users.
When all is said and done I predict that Cybertruck will be seen as more expensive in the form of opportunity cost than of direct cost. Not updating a mainstream EV to further dominate that market and not building out the charging network to make Tesla synonymous with convenient reliable charging will end up costing more than if all Cybertrucks end up being scrapped.
I really want to actually make progress in my career, and I want to make myself accountable for it too. I am just on the HOW part of it all. I tried asking people what they did to get a job (to understand what I was doing wrong), I asked people what they learned and how they did it (actual implementation of what they studied) but people are busy and didn't get much answers from LinkedIn network. So here I am again asking the same questions!
It's simply not true that microkernels have lower performance. At least it can strongly depend on what you measure. There are tradeoffs, but high-level workflows can accomplish comparable performance. The problem is that sometimes requires rearchitecting software against alternative interfaces. It's becoming increasingly more common for very high performance applications to all directly to hardware and bypass the kernel altogether. Async io such as io_uring also further reduces disadvantages of a microkernel, especially on systems with many cores.
They are for sure on 4chan(AFAIK there is a pretty obvious propaganda thread that is updated daily), but I thought 9Gag was dead? Do people still get memes there?
we don't support Falcon 2 yet but new models are always on our radar to be added to the platform.
Given that any of these bad actors can spin up local inference infrastructure to run their operations pretty trivially, what practical effect does this have beyond just "hey, look, we're doing something"?
The example is hilariously terrible. Firstly, this is the currently required code:

def set_deadline(deadline):
if deadline <= datetime.now():
raise ValueError("Date must be in the future")

set_deadline(datetime(2024, 3, 12))
set_deadline(datetime(2024, 3, 18))

There simply is no trade-off to be made at this point. Perhaps there will be eventually, but right now, there is one function needed in two places. Turning two functions that already could be one into a class is absurd.

Now, as far as teaching best practices goes, I also dislike this post because it doesn't explicitly explain the pros and cons of refactoring vs not refactoring in any detail. There is no guidance whatsoever (ie: Martin Fowler's Rule of Three). This is Google we're talking about, and newer developers could easily be led astray by nonsense like this. Addressing the two extremes, and getting into how solving this problem requires some nuance and practical experience is much more productive.
Larry Page knew about the crash and tried to retain him
Nobody is looking at websocket handshakes. What I meant relates to simplicity around recording communication - req+res+duration and notifications, the fact that semantics are familiar and very clear, it's easy to filter/plot/explore it, everybody knows what is happening, where to optimize etc.
Mixed, in my opinion. They've got some good stuff in Terminal and the Windows Subsystem for Linux plus Visual Studio Code if that's your thing. 90% of the time it can feel about like being on a native Linux or macOS. I think the Linux filesystem performance still lags though. They can have issues rendering fonts on high DPI displays at non-integer scales.

But they really shoot themselves in the foot with crap like constantly pushing the Edge browser, Bing, Copilot, etc. and forcing ads on the user.
That's very true. I thought about speaking more to that issue but the post was already longer than I wanted.

You might find this short analysis interesting.

https://www.arnaldur.be/experimenting/with/large-language-mo...

Here I do an exhaustive analysis of a range of simple math questions. I then visualize the output so you can see the failures.

I do contend though that the tikz question mentioned in the post can't possibly be wholly represented in the training data. There is of course tikz code on the internet but it find it highly likely that the model extrapolated based on having seen my tikz code, and a bunch of other tikz code.

I go further to contend that the extrapolation requires reasoning to achieve.
You'd only want to do that if you give up your job/income and need all of the income from the capital, right?
Something about them caring about this bothers me a bit.

Like, yeah ok it is a good thing that they are trying to curtail this abuse.

However, it kinda feels like we are just delaying the inevitable? With open source models like LLAMA, detecting and doing anything about this will become impossible in a year or 2 (in reality its already possible).

It just feels very, "look at us doing this good thing but ignore what we unleashed on the world" so please pat us on the back here.

Maybe I am just pessimistic, but I am not about to give OpenAI any praise here for this when they are the reason we are in the current situation.
This is the true purpose of REST. If you need to make multiple requests for a single operation you don't have enough endpoints.

The idea that resources and the underlying data needs to map 1-1 is wrong.
Related. Others?

A Mathematician's Lament (2002) [pdf] - https://news.ycombinator.com/item?id=35929333 - May 2023 (47 comments)

A Mathematicians Lament [pdf] - https://news.ycombinator.com/item?id=30829704 - March 2022 (3 comments)

A Mathematician's Lament [pdf] - https://news.ycombinator.com/item?id=15385104 - Oct 2017 (1 comment)

A Mathematician’s Lament (2002) [pdf] - https://news.ycombinator.com/item?id=14331752 - May 2017 (27 comments)

A Mathematician’s Lament (2002) [pdf] - https://news.ycombinator.com/item?id=8845507 - Jan 2015 (89 comments)

A Mathematician's Lament [pdf] - https://news.ycombinator.com/item?id=6994939 - Jan 2014 (1 comment)

A Mathematician’s Lament (2002) [pdf] - https://news.ycombinator.com/item?id=6187014 - Aug 2013 (119 comments)

New book Measurement by author of Lockhart's Lament - https://news.ycombinator.com/item?id=4317199 - July 2012 (4 comments)

Mathematician's Lament: An essay on math education and on how we view math - https://news.ycombinator.com/item?id=666563 - June 2009 (18 comments)

On Math Teaching: Lockhart's Lament - https://news.ycombinator.com/item?id=256176 - July 2008 (21 comments)

Lockhart's Lament: On Mathematics at School - https://news.ycombinator.com/item?id=130499 - March 2008 (20 comments)
I’ve had nVidia stock for the better part of the last decade. By far my best performer.

Whenever articles saying “here’s why it isn’t a bubble” start popping up, I tend to really start considering dropping a stock.
Just a note that the album represents a much more raw and unprocessed point of view - I wouldn't recommend it to anyone dealing with a recent loss.
What kind of business? Sounds like you'd be spending the entire $1M on it?
there's a chrome extension, "HLAI" that's playing around with this idea, too
I was just mulling this over today. DRY = easier-to-decode is probably true if you're working on groking the system at large. If you just want to peak in at something specific quickly, DRY code can be painful.

I wanted to see what compile flags were used by guix when compiling emacs. `guix edit emacs-next` brings up a file with nested definitions on top of the base package. I had to trust my working memory to unnest the definitions and track which compile flags are being added or removed. https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages...

It'd be more error prone to have each package using redundant base information, but I would have decoded what I was after a lot faster.

Separately, there was a bug in some software aggregating cifti file values into tab separated values. But because any cifti->tsv conversion was generalized, it was too opaque for me to identify and patch myself as a drive-by contributor. https://github.com/PennLINC/xcp_d/issues/1170 to https://github.com/PennLINC/xcp_d/pull/1175/files#diff-76920...
Shouldn't the microkernel architecture be capable of having fewer barriers in the fast path? e.g. you could have hardware like a NIC or GPU be capable of partitioning address spaces to have per-program command/response queues. Then the kernel asks on an administrative queue for a program's IO queue to be created, configures the memory controller (assuming an IOMMU) for the program to have those queues in its address space, and context switches to the program. While the program runs, there are zero barriers and it can simply talk to the hardware directly by writing into pcie space. Hardware knows what queues commands are coming from and can enforce whatever resource partitioning within firmware.

My understanding is that (perhaps except for virtualization/address space partitioning on the hardware device to be able to use it with many programs at once) this is approximately how/why user-mode networking is used for high performance today?
I don't know what any of this is paraphrasing. Here's what Graham actually said:

People have been claiming YC fired Sam Altman. That's not true. Here's what actually happened. For several years he was running both YC and OpenAI, but when OpenAI announced that it was going to have a for-profit subsidiary and that Sam was going to be the CEO, we (specifically Jessica) told him that if he was going to work full-time on OpenAl, we should find someone else to run YC, and he agreed. If he'd said that he was going to find someone else to be CEO of OpenAI so that he could focus 100% on YC, we'd have been fine with that too. We didn't want him to leave, just to choose one or the other.

He literally directly says they did not fire him and did not want him to leave.
I mean, with a nonzero temperature, the randomness will eventually produce every combination of tokens in the corpus, so with a sufficiently large "all the time you want" you can produce limitless correct answers
I’m going to venture a guess that you haven’t ever applied a single patch to any existing operating system, and that your knowledge of operating systems is pretty much based entirely on your experience as a user of them.
We continuously work on expanding SDK support, Rust is also on the list.
Malicious PyPI Package Promoted on StackOverflow Spreads Malware
This is why the Rails community should be applauded in my book, for their dogged determination that we should keep it a “one person” framework. Yes it may not be as performant, type safe or flashy on the front end but my god it’s productive.

At my startup there are 7 devs who can all do tickets across the stack and as we grow I think it would be good if we could resist the pressure to silo and specialize
perhaps consider a tutorial you can close with just one click? those always seem a good compromise
Starlink respects or flaunts local laws according to the wishes of the US State Department. They don't defy China or Russia, but do defy Iran.
Whatever you want to call it, NT is neither a pure microkernel nor a pure monolithic kernel. Linus' opinion of the term 'hybrid' being a marketing term is great and all, but it's just an opinion.

You could call NT a 'modified microkernel implementing monolithic kernel concepts', if you wish. The word 'hybrid' is much shorter, though.
I wonder what evidence could possibly convince you, if both sides of the alleged "firing" saying it wasn't so isn't convincing enough.
Wow, I find this very useful. The eliciting an expert, alternative experts, oppositional viewpoints... fascinating.

We're just getting started on what we can do with LLMs!
No tax burden. Assuming your balance is $1M free and clear.
Yeah I wouldn't take someone picking out these verses of the Talmud as a serious criticism of Judaism, but this is someone who is jewish using that text to justify his actions.
When I was about to graduate, I wanted to make an app for mute people to talk through their phone (Not tons of people know SL here) but my professor curbed the idea. Afterwards I didn't know where to start, and this is why I wanted to do a job so I could learn how real-life projects and things work.

But you are right, I need to get ahead my fear of failure.
Ask HN: Whould you replicate a protocol of landing a coin on the edge?
If I develop an extensive protocol of training, which may lead someone to flip a coin and land it on the edge (instead of heads/tails) with a bit higher than ~1/6000 probability, would you try to replicate it?

The protocol includes a range from safe enough harnessing of GABA-A etc neurotransmission for brain-arm coordination to esoteric focusing techniques modified for this specific goal. (Of course I'd test this myself first)
Definitely read up on the Torvalds/Tanenbaum debate as there are lots of moving pieces and interesting theories.

My opinion summed up ridiculously concisely is that the reasons are largely accidents of timing (i.e. there was room in the market for new entrants), mixed with trivial-at-the-time but high-impact choices. Had Tanenbaum been permitted by his publisher to give away copies of minix freely, Linux may never have been started at all. Had Tanenbaum chose raw performance over teachability (the kernel was a teaching tool after all), it may have made a difference. (warning: this part is controversial) There's also a lot of question about whether the GPL licensing kept Linux relevant, or if it was largely inconsequential. My opinion is that GPL made a big difference. Had the licensing of Minix been GPL flavored, it probably wouldn't have been used by companies like Intel for the Management Engine, but there might have been enough "forced sharing" to keep it relevant. Impossible to say for sure, but that's my two cents.
That doesn’t seem super human, or even very complicated. I think I’ve written more complex code to summarise output from instrumentation data within the last couple of weeks, and that was when I was on a plane without access to the internet to look stuff up.
It's a good call out -- we use smoothing parameters that are closer to what you see in the academic articles (they're tuned slightly, but not much).

We used 1/Rank in the article for simplicity purposes, though I can see why this might be confusing to an astute reader.
>> Ironically, the whole point of this scary complex “superior mega brained” type code is… to let the “anti-typists” have their cake and eat it too... We realized that we can provide all of the safety + convenience benefits of Zod to those who choose plain JSON schemas - with zero overhead for users of the framework.

How did we get to a place where this is what modern development looks like? Does this seem completely off the fucking rails to any one else? I feel like we have all gone the full Patty Herest and embraced the Stockholm syndrome at this point... "Well Im not gonna be able to fix it so I might as well power up the problems".

Our industry needs an enema...
not yet but it's something we have in mind as a future feature.
> Doesn't 4G include a time synchronization service for receivers with no GPS

Yes, but I believe accuracy is on the order of minutes.

> is the SI second unit (which is currently defined in terms of the cesium decay) const hardcoded in the new system?

Are you saying that a moon second should be defined to be slightly longer/shorter than an earth second to compensate for the relativistic difference? That wouldn't help, since relativity affects all physical processes; if you do that, all your other measures would be off too, including e.g. length (defined as the distance light travels in a given unit of time).
Thanks, but this isn't the worst situation. If you want to feel bad for me I can mention some things that are much worse!

This is an ordinary case of two regular phenomena: (a) a major ongoing topic; and (b) negative stories about anything YC-related. We deal with them as follows:

(a) We deal with a Major Ongoing Topic (MOT) [1] by downweighting follow-ups [2] and reserving frontpage slots for stories with Significant New Information (SNI) [3]. This is the approach we worked out 10 years ago after the Snowden debacle (I don't mean the debacle involving Edward Snowden, I mean the debacle involving Snowden-related stories on HN's front page). It has held up well in the years since. It requires a judgment call about what is/isn't "significant new information" but that's usually not too controversial and in any case it doesn't matter whether the information is positive or negative, nor who it's about.

(b) We deal with stories that are negative about something YC-related by moderating less than we normally would [4]. Note the word "less"—i.e. we still moderate those threads, using the standard principles we normally apply. We just do it less when the story is negative about YC. That's another approach that has held up well over the years.

It's fairly rare that we get a MOT which is also YC-negative. In such a case we're going to get complaints no matter what we do: if we apply the normal principle of downweighting follow-ups, people will accuse us of censoring the story; but if we don't, people will complain about the frontpage being filled with follow-ups.

[1] https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

[2] https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que..., because https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...

[3] https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...

[4] https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
Why does Ursula Le Guin keep coming up in these posts?

Does she really have that big of a tech following?

When I see articles like this, I assume it's part of a publicity campaign for an upcoming movie.

Like how we saw so many articles about Oppenheimer before the movie. Even some legit news was likely part of the PR campaign - such as the DOE "pardoning" Oppenheimer.

Am I just cynical and jaded?
The only time I think GraphQL works is when it is when the GraphQL schema and resolvers are autogenerated by the underlying data stores. As a ORM layer, I love solutions like Postgraphile and Hasura where they mostly just reflect the structures you've already designed in your database. I also like REST solutions like PostgREST for the same reasons.

Then I'm designing my table structure, optionally designing my views when I don't want a 1:1 reflection of how data is stored, setting up row-level security at the data layer, and making user-defined functions for the one-offs that deviate from plain CRUD.

But solutions like Spring DGS for Java, Graphene for Python, and Apollo for Node? No thanks. Never again. Way too much trouble and pain. I'd rather make lambdas that talk to the data store directly and output HTML than make and maintain a GraphQL schema manually again.

I really wish Postgraphile and Hasura were more popular, so folks could have skipped the low level plumbing and optimization fences like dataloaders that make GraphQL such a chore otherwise.

It really is elegant when you're not stuck in a swamp.
I used to have these frequently, as well as a variant where I was getting lost trying to find my way to class on a very large campus full of detours, and then realizing I wasn't even sure what my class schedule was that day.

But after a while these college based dreams faded. I actually came back to a childhood scenario, walking a newspaper route and suddenly realizing I didn't know which houses I'd already delivered or which ones still needed a paper.

And about midway through my career, most of these got replaced with various logistics challenges in generic international airports and vast hotels or conference/convention centers.
1950?
Knowing a little about who you're replying to, I don't think he needs a lecture.