skysight-inc/HackerNews huggingface dataset:
It's quite simple, actually. There is no need for a central entity, just like computers on the internet do not need a central server to communicate. You might say that they need a DNS server, but the equivalent of that on a UNIX system would be the filesystem, where named sockets can live (or you could use X11 properties to communicate between desktop apps).

Anyway, I feel that all the microservices are making me lose control over my system (and systemd is quite literally the mother of all these microservices, hence why I bring it up here).
OP didn't include any context here, but I frequently link this resource to friends! So allow me to pitch it to folks who come here first: reading a transcript is a bit odd at first, but there are so many unfiltered gems in here analyzing how to not just how to compete and win, but also how to improve and coordinate across teams and different work styles.

To the extent that your team is operating in a competitive environment & you like seeing how other domains beyond just Tech & basic self-help business books really build & maintain advantages, you'll get a lot out of reading this.

I've also found it applies wonderfully to competitive videogames, but I'm not sure that's as relevant to this forum.

If winning is not your primary objective, this may not be as interesting to you.
I could imagine some behaviour along those lines in search engines, specifically if you're searching for similar documents. Which none of them seem to — would be useful! Let me know if I'm wrong! — but imagine a search engine that lets you look for documents 'similar to this document here'. Also imagine that's threshold-based; you want equal levels of similarity regardless of the rarity of the input document.

In that case, as the size of the corpus grows it should get easier to find ones in the right range of similarity.
Apparently it does not run Outrun 2!

(I only have the JP version, which I assume will never work with my UK Xbox Series X, even if the UK version would actually be compatible. Maybe I need to dig it out of my garage and try it anyway.)
That's reasonable to do, but not necesarily to ask for
What if you loose your internet connection and can't log out?
Or have a power cut, or have to leave in a hurry, or drop dead on the keyboard while using the computer

Unfortunately for devs, RL is messy and even if you can convince some people to do the best thing, if you're large enough you have to go by Murphy's Law and work around the people that you know won't / can't
Deutsche Bank - just about the only real use it has for me is to build a credit history here.
If you consider using this bank in Germany and you're not a big business, avoid them like the plague.
I like ASP.NET Core approach of having an `appsettings.json` where you just specify your settings, and also allowing to have `user-secrets` on a different directory, which prevents you from accidentally adding it to source control (which happens way more than it should). Of course, you can also use environment variables, but creating a JSON file that allows nesting properties is quite nice and probably easier for noobs than figuring out each .env implementation's quirks.
Harvard's CS50x on edx is probably the best free and online introduction to CS and programming. It will give you an incredibly strong foundation. [0]

teachyourselfcs has a solid list of canonical resources that are common across many university programs. [1]

The Art of Problem Solving books are great if you want to learn math to a high level, though it isn't strictly necessary. [2]

[0] https://www.edx.org/learn/computer-science/harvard-universit...

[1] https://teachyourselfcs.com/

[2] https://artofproblemsolving.com/store
I don't think your credentials mean much here, we all know the basics of the Constitution. We all can read the news and see how 702 was abused over and over. Time to snuff it out and start with a blank slate. We have a method of getting surgical strike warrants for only those communication that are necessary to spy on. It's time for the dragnet methods to die off. Freedom comes at a cost and that cost is not making the lives of the CIA and other TLAs any easier to spy on us.
Nitter Is Fixed Again
Drivers being kernel specific is really annoying
Related, https://oec.world/en/tradle/
This is addressed, rather extensively, in the article.
Thank you- your link to non-constructive proofs led me to this HN comment, which seems to flesh out why such proofs are not applicable to P = NP

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

Im just reading about constructive vs. Non-constructive proofs, but my intuition seems to be that a proof would P = NP would have to be constructive.

https://news.ycombinator.com/item?id=19720511
Well to offer the other side. What if they don’t know you have these things readily available?
consistent hashing requires a bunch of additional memory to solve load variance. there's a nice equation to calculate this somewhere that I'd have to search for, but roughly you need 100 virtual slots in your coordinate space per every destination server to reduce standard deviation to about 10%, and 1000 virtual slots to reduce it to less than 5%.

There's some alternative hashing solutions (rendezvous hash, jump hash, maglev) that improve load distribution without the memory overhead, but still have similar challenges with node addition/removal overhead. Also, integrating state into any of these solutions is incredibly difficult and really antithetical to their point (being deterministic). This is fine when you're assigning uniform workloads and preferred when these assignments need to be long-lived, but for request load balancing you're dealing with uneven workloads and short-lived assignments.

This is where power of two load balancing shines, as it allows you to perform stateful load balancing (using queued requests, cpu utilizations, host perf) efficiently with low memory overhead and minimal effort to add/remove nodes. And if you lose a node with state its no big deal because the lifetime of a request is so short.
> Rust probably won’t allow me to implement a couple of lockless parallel algorithms I have implemented in my Ph.D., which are working on small matrices (3K by 3K)

That’s a bold claim to make without evidence. Things like that totally seem doable in Rust without a lot of ceremony. You might have to launder some lifetimes through unsafe if you can’t convince the compiler statically, but that’s not that hard.

> Also, if BSD guys can write secure code with C, everybody can. I think their buffer overflow error count is still <10 after all these years.

As was the problem with Linux enthusiasts claiming Linux was safer bedside fewer CVEs, BSD similarly benefits from having almost no attention paid to it + very few core developers so the feature growth rate is minimal. I don’t but the claim that BSD’s qualities extrapolate anywhere rather than a more mundane explanation or that BSD is the exception that proves the role somehow given no other successful project seems to be able to do the same.
One might think of executive pay in the same way startups think about user acquisition cost versus lifetime value. The question isn't just about the numbers per se, but about the underlying value an executive brings to the organization, and whether that value justifies the cost.

History has shown that markets often reward the bold and innovative, but they also have a way of self-correcting when things go astray. The parallel with executive pay is intriguing: how do you quantify the value of leadership, vision, and strategic acumen?

it seems the debate around executive pay reflects deeper societal questions about value creation and value distribution. maybe, possibly, the solution isn't to reduce executive pay outright, but to tie it more closely to demonstrable long-term value creation, not unlike how successful startups operate.
> A library author can spend ridiculous amounts of time

That's true. But simply having knowledge of the goal and a few simplifying assumptions can beat all the optimization in the world. In other words, a polished sub-optimal approach isn't as good as just having a better approach. `std::unordered_map` is heavily optimized, but can't make any tradeoffs because it's a general tool.

> plethora of generic C++ hash tables which would match, if not soundly outperform, their C counterpart.

Post one.

> not only is it possible to specialize generic code for particular types, but it's absolutely routine to do so.

Yep, it can do type base specialization, not application based specialization though. That requires a programmer.

> how do you explain qsort often being beaten by std::sort

a standard library C function often cannot be inlined to remove the comparison function pointer call, whereas std::sort trivially can.

If you wrote one yourself for a particular problem, it would not have this issue. This is actually a great example of where C excels because the choice of sorting algorithm so much depends on the kind of data you are sorting.

Let me be clear about my claim: tailor made solutions to each problem will almost always be faster than generic solutions. Do you really disagree with that? If you want to argue that maybe it's not productive to work that way, that's a different argument.
There are different types of understanding, and self taught musicianship is not excluded from this. In fact, they involve exactly the same type of effort as learning theory in the standard fashion. They rarely even deviate from it. The old blues masters might not be able to name the chords and scales, but they're pretty strict about the blues and pentatonic scales, turnarounds, and how to start and end riffs on the correct underlying chords, when and how to throw in a 7th chord (or even what a 7th chord is, and major or minor or diminished, for that matter), etc... which means they absolutely know the theory even if they don't verbalize it well in a classical manner.

Simply copying someone and saying theory isn't needed is akin to using Dall-E to generate a drawing and calling yourself an artist for having done so.

And that's the distinction being made here.
Pretty much all SaaS products charge per unique user, not active sessions, so I don’t really understand what point you’re trying to convey.
Ask HN: On which sites could I get the most traffic for a gaming blog?
in your opinion which sites could bring me a lot of traffic to my blog since my niche is video games and their characters. which ones would you recommend? apart from reddit kkkk :D
Making unreasonable requests repeatedly is a form of harassment not "Ask culture."

It's not like people in ask cultures just go around asking random strangers to hand over all their money...
This is an interesting example of a broader phenomenon to me. I'm not sure if there is a name for it or not but it goes something like this:

Sure, there's 6502 assembly on the screen but the fact that it's some kind of valid hardware code invokes a kind of gritty realism to me. It might break immersion but it does it in a way that then brings me back in even more so at some level.

Imagine for example that it was Visual Basic or PHP. That would be hard for me to deal with in a way that 6502 assembly isn't? Especially given the time period of the film.

I think there's a kind of "atmospheric accuracy" that some details can invoke even if they're not strictly realistic. That is, I might know something is sort of unrealistic at some level (it's unrealistic that they'd be using 6502 assembly that far in the future, with machinery like the Terminator unit) but also feel like it's realistically grounded at another (there's some actual low-level hardware code involved).

A plumber might know that a certain type of pipe wouldn't be used in a specific setting in the film, but also know and appreciate that the pipe in the film is a sort of obscure pipe that is closely related to what would be used, and itself might be used in a very similar scenario.
Thus my comment. Let’s cut these “bullshit” jobs and have another French Revolution already.
Well, it's an adaptation of a comicbook. They didn't have believable personalities there either.
3 mile island was a nothingburger, though.
> you're generally pretty lucky if you can get something from the XP-era or older to work out of the box.

That's actually pretty good. XP was released over 20 years ago.
What do you mean if nobody knows what you'll be asked? You have to actually have been asked something to decline to answer.
I think there are a lot more potential buyers of $38M companies than $380M companies, particularly if the burn rate is low. There are a lot of exits in this range in the B2B software space to private equity types of co's that are rolling up companies in a particular vertical.
You might be interested in TinyStories:

https://arxiv.org/abs/2305.07759

> In this work, we introduce TinyStories, a synthetic dataset of short stories that only contain words that a typical 3 to 4-year-olds usually understand, generated by GPT-3.5 and GPT-4. We show that TinyStories can be used to train and evaluate LMs that are much smaller than the state-of-the-art models (below 10 million total parameters), or have much simpler architectures (with only one transformer block), yet still produce fluent and consistent stories with several paragraphs that are diverse and have almost perfect grammar, and demonstrate reasoning capabilities.
The Complete History of the a Button Challenge (2022) [video]
R coefficient is how you assess fit to model. P is for significance you might use it to assess which model is better (typically using an interaction term).

That 0.11 shows that the alternative model is not significantly better than the model presented.

That might be confusing because typically everyone just thinks p<0.05 is good.
I think that in this case it is definitely a case of analytic-cotorsion.

There is _heated_ and mostly opinionated debate about the low-dose regime. Briefly some people believe low-doses of radiation have a threshold (that one could get a certain amount before having excess cancer risk), there is "no-threshold" meaning relative risk = 1 and dose = 0, and there are people who say that some radiation is good for us because it stimulates our repair mechanisms and kills weak cells.

All of this heated debate brings us to the currently misunderstood findings, and is why the author's say over-and-over that the linear model is a good fit.

People, specifically the regulators and the nuclear industry, make a _bunch_ of health decisions on excess risk based on Linear-No-Threshold (LNT) models because they believe it is conservative.

The main issue here is that in order to get good statistics, you have to irradiate people, and the two best datasets prior to today are Hiroshima survivors and the small number of low-dose exposures. People are torturing this analysis to resolve the debate, which in my opinion only feeds it.
I think the issue is all the other cases, where it is fraudulent. For example, millions within 6 months [1].

[1] https://www.theverge.com/2021/12/6/22820318/youtube-copyrigh...
> The parallel with executive pay is intriguing: how do you quantify the value of leadership, vision, and strategic acumen?

Post-ex?
And that’s why you stand where you are and Microsoft stand where it does.

You’re thinking like an engineer. Microsoft is a business. Backwards compatible is its major core competency.
I think print debugging is great, but if all of your colleagues use a debugger, you might work in a context where that's a useful superpower.

You actually have an opportunity to learn how to use a debugger well right now and you should probably take it.

Once you learn how to use it well, you can make an informed decision on if it's actually better.
I'm from Mexico. Given the landscape with energy worldwide, the current president has been overhauling the energy sector to keep foreign influence low. It makes sense in the current geopolitical climate, which really shook the energy market worldwide. I mean, France straight-up nationalized Electricite de France for example [1].

The USA is not happy about this [2]. Understandably, this affects American companies' business in the country. The USA is happy do take action in defense of its national security and its national industries, but fights back when other countries do the same.

[1]: https://www.neimagazine.com/news/newsfrench-government-wins-....

[2]: https://www.aljazeera.com/news/2023/1/6/whats-behind-the-ene...
The Ocean and the Meaning of Life (2021)
Taped. This isn't arguing out of ignorance. I feel well-versed enough in contemporary art to both make my accusation and stand behind it.
Serde has started shipping precompiled binaries with no way to opt out
> No, the "right to remain silent" is absolute.

Constitutionally, no, the right referenced by that phrase in, e.g., the Miranda warnings is the 5th Amendment right against self-incrimination (“No person... shall be compelled in any criminal case to be a witness against himself”).

The belief that a more general “right to remain silent” exists may be a moral belief of some people, but, it is not a legal right, and judges can and will conduct questioning to assess if the legal right applies.
> Would the world really be any different if executives were paid $4 million instead of $4 billion?

The coast wouldn't be dotted with grotesque clown house mansions. YMMV
It's the international part, if there's such a difference between west, east, south and north it just doesn't seem necessary to say where you Mr grandma's from

Edit: I want to move to the Netherlands, if I have kids there they'll be Dutch
> Navigating corporate America as a guess-culture person

Another thing that you can do, if you're in a position of some leadership (doesn't have to be management), is recognize others who are maybe not asking as much as they should given the ambient culture, and help them thrive by putting them forward when appropriate. Some of these folks don't just feel underappreciated, they are also underutilized.
Not a stupid question. CDIs are groovy for minting secrets that are bound to the exact firmware that's running, but are a bit less ergonomic out of the box when it comes to keeping long-lived secrets around across a firmware update. Firmware changes --> CDI changes --> anything derived from or sealed to the CDI is gone, by design.

A more ergonomic approach for sealing long-lived data is to use something like a hash chain [0], where the chain starts with the equivalent of a DICE UDS, and the chain's length is (MAX_VERSION - fw.version). The end of that chain is given to firmware, and the firmware can lengthen the chain to derive older firmware's secrets, but cannot shorten it to derive newer firmware's secrets.

This presumes that the firmware is signed of course, since otherwise there'd be no way to securely associate the firmware with a version number. If the public key is not baked into the HSM, then the hash of the public key should be used to permute the root of the hash chain.

[0] https://en.wikipedia.org/wiki/Hash_chain
I would happily give it a try, when I have some time on the side. But that day is not today, unfortunately.

> I don’t but the claim that BSD’s qualities extrapolate anywhere rather than a more mundane explanation or that BSD is the exception that proves the role somehow given no other successful project seems to be able to do the same.

It's mostly about "it's done when it's done" mentality and always putting the discipline before writing code fast. It's a vastly different mentality when compared to modern, conventional software development. This mentality also makes what Debian is Debian.

On the other end of the spectrum, we have the stressed solo developer syndrome, which brings us OpenSSL with its all problems and grievances.
That's not passive voice. Passive voice would be "It's very, very good for people to be held accountable".
OdinMS was such a fun time. I too started programming MapleStory private servers. Vana was my intro to C++ and as I learned in Uni it made it so much more fun.

That and Minecraft modding with hMod and Bukkit.
"Session tokens are pretty secure. The threats described above are easily fixed with other measures, such as disk encryption, locking your computer, or HttpOnly cookies."

Or simply log out if a token is stolen.^1 After logging out, the session token is expired. In some cases one can log out non-interactively with a single HTTP request. No need to visit a page in a Javascript-enabled graphical browser and navigate interfaces.

One can use a forward proxy to insert tokens for selected sites. This allows one to scrub/disable/clear cookies globally but stil remain "logged in" for certain sites.

1. The problem is the user might be unaware that a token has been stolen, at least until it is too late.
1. Use GPT-4

2. Clearly specify the column names as part of the prompt and that there are no other columns.

3. Occasionally you may get an error that you have to feed back to GPT-4.
Fixing the TPM is hard because taping out semiconductors at scale is not yet facile [1] and there's also still a proprietary PDK in the way of 'traditional' manufacturing [2]. The article submarines [3], which looks very interesting. I do wonder how the Lattice iCE40 will fare under fault injection and just how many grams of epoxy you'll need to stick to it.

[1] https://atomicsemi.com/

[2] https://www.bunniestudios.com/blog/?p=6606

[3] https://github.com/tillitis
"Why Pascal is Not My Favorite Programming Language", Brian W. Kernighan, April 2, 1981:

https://www.cs.virginia.edu/~evans/cs655/readings/bwk-on-pas...

One of the major problems, as I recall, was that Wirth's basic Pascal definition was very limited---the max 256 character strings, for example. So the makers of "production" Pascal compilers added extensions to do all of the things that you would want to do and unfortunately those extensions were all incompatible.
Because it's running on my machine, using my resources.
To get that, sometimes you need -ffmast-math, sometimes said undefined behavior, or code patterns which translate to better code for the processor you target.

There isn't really any fundamental limitation of Rust for those situations. A better reason why C++ is better than Rust for compute is the support for OpenACC, OpenCL, OpenMP, CUDA, ROCm/HIP, etc.

Also, if you give half an effort, C++ is pretty secure and robust to begin with, esp. on the pointers department.

The problem is that even if a "Safe" C++ could be defined, it would need to interoperate with the rest of the "Unsafe" C++ world. Perhaps a programmer can write absolutely safe C++ themselves but all bets are off once you're working with other programmers.

Just be mindful, and run a couple of valgrind tests on your code, and you're set. Been there, done that.

Seriously? A "couple of valgrind tests" would be insufficient for catching all but the most trivial and/or blatant memory safety issues in C++, especially when dealing with malicious users. Although I agree that dynamic analysis like valgrind and sanitizers should be the default for C++ development, industrial grade static analysis tools are at least as important. And needless to say, if you find Rust complains about code too much then just wait for what static analysis tooling will complain about.
I think most of the stuff in this repo is too much and trying to beat a square peg into a round hole, but the little things like Option and Either patch a hole in Go. I don't think I'd use them without them being in the stdlib, though, which is where such fundamental types belong. Those aren't even really functional, unless you count null pointers as necessarily imperative.

>... read some blog post about how functional programming and type theory will save the world, instead of actually being productive

I see the opposite side in Go a lot, where without testing or trying anything they dismiss everything they aren't already using right now as useless ivory tower academia, which is its own set of popular blog posts. Seems both sides have a lot of time to argue on the internet though, oddly the people who actually write code tend to be the productive ones regardless of philosophy.