skysight-inc/HackerNews huggingface dataset:
I always approach a codebase with intent to change it, even if I'm just casually curious. This leads me to specific points deep in the codebase that naturally lead to more exploratory questions, such as how/when the execution path gets there, how the change can be tested, etc. In short, I try to look inside, then move outside.

Using blame or navigating closed issues can do a lot to put specific problems into plain English to help with this kind of inward-out exploration (which can also help with understanding the use cases of the application). Same with reading any tests that might be there. And if there aren't tests, writing them is a great way to get into understanding specific functionality.
It really doesn't seem slim to me. This article [0] (which was previously discussed on HN [1]) found that "just 0.1 percent of miners (about 50 operations) are responsible for half of all mining output". So it seems like a very real threat to me. I rarely hear anyone pro-crypto talk about this implicit assumption they make about the mining being "sufficiently distributed & diverse".

[0]: https://www.techspot.com/news/91937-bitcoin-largely-controll...
[1]: https://news.ycombinator.com/item?id=29008910
Depending on your interest, I could vouch for OpenBSD having a very clean readable codebase. Often it has some of the best practices coded in with useful commentary.
I did this when I was webdev freelancer. I was doubling my price. Requesting half upfront then if the customer was well behaved and the project didn't have too much of unanticipated scope creep I gave generous discount in the end.

That gave me some well paying, well behaving, happy returning customers.
C++11's std::duration manages just fine without that much scope bloat. operator* for two durations is simpley not defined so will lead to a compile error.
DO and friends wouldn't exist in the CPU side if that was true, so a spot economy in GPU side makes sense, and even more so bc they are higher-end time shares

Even if we didn't have an open ticket with Azure since Christmas for more GPUs, the ability to burst non-sensitive tasks on say 20 cheaper GPUs for 5-30 min is attractive.

That stuff adds up fast, and lowering cost both opens accessibility for low-end users and helps scale what power users can do.

My bigger surprise is vast has been around awhile and only ~20 available servers, so I'm guessing < 100 total. Is this a friction issue?
Godel's 2nd Incompleteness Theorem Explained in Words of One Syllable [pdf]
Data Insertion in Bitcoin's Blockchain (2017) [pdf]
The future of operating systems will be of microtransactions and loot boxes.

- Oh, you want to format your hard drive? Purchase in store :-)

- Checkout our file utilities bundle, 50% off today!

- Congratulations on formatting your hard drive, here is a free loot box!

- Share your hard drive formatting experience with our award winning app instaclip!

- Subscribe to our feed and give us a thumbs up!
I always used that too.

However, it's ironic that the author has now given up on Windows, for the problems the script attempts to solve.
the commodification of our personhood taken to the extreme. i think zizek was the first person i heard recognize this problem with capitalism today.
I'd love something like this for European football leagues. The "best" I've found is https://livescore.com but for a while they stopped working on iPhone (they really wanted you to download their app) and I'm quite sure they're probably full of trackers and stuff.
Maybe this is just me, but this suggestion seems worse than the problems

def frobnicate(timeout: timedelta) -> None:
...

timeout = timedelta(seconds=300)
frobnicate(timeout)

Now instead of remembering that frobnicate takes an argument of seconds, one now needs to remember it takes a completely different type, the constructor for which now also needs to be memorized. When the main problem presented is one of memorization, this seems obviously worse?
I don't understand why manufacturers haven't waterproofed keyboards. It's such a common failure mode you'd think it's be an easily marketable feature. And they're already doing it for phones.
There’s no indicator at all that this plane suffered a technical failure.
Facebook, Twitter, Instagram think that they are the arbiters of morality.
I see that you're primarily looking into Python work, so I'd recommend `smart_open` as a nice, compact way to get started.

https://github.com/RaRe-Technologies/smart_open
It's wild to consider that, thousands of years ago, there were already languages that were considered old and dead.
This second definition was retroactively added once it became clear that TDD’s not good at testing. Unfortunately it’s even worse at designing since it’s only capable of “designing” how something may be tested and used without addressing any e.g. non-functional requirements, data structures or algorithms.

There’s tension between testability and good design (encapsulation, achieving more through abstraction, hiding/reducing complexity, usability, etc). Starting the design process from API or method calls makes no sense at all unless one wanted to reanimate a failed testing method.
Doom 3 is a perennial favorite for "most beautiful C++ codebase" lists [0]

[0] https://github.com/id-Software/DOOM-3-BFG
One absolutely essential companion to gdb is 'rr' [0], it's a 'post mortem' debugger, but unlike a core file, you can replay the action, in reverse if necessary. You can reverse-cont, reverse-step create watchpoints, run forward again etc etc. It's absolutely amazing!

[0]: https://rr-project.org/
> What excuses have French for Vichy "Republic"?

No "excuse", Philippe Pétain have simply understood that war for France was lost and he choose the Germans because they were less oppressive than the Brits the France gov. choose. Actually at first he was right. He imagin Germans from WWI not nazis, of course, but history tell a thing: German nazis was no more "nazi" than neoliberals who win them. Oh and I say that from a socialist point of view, read that last sentence three time.

A thing I learn from the history is that some regimes start with good ideas, but they end very badly, some other prefer "less good" ideas and sometimes they land less badly. What I still miss is how Democracy can born. And that's a big issue for me...
That only works if there's no fill tube.
Code is the canonical source of truth.

Tests are executable examples of code under use in different scenarios, usually showing both input and output.

Textual documentation is an attempt to extract the most useful bits of the first two into a more manageable form, and potentially explain the reasons for said code's existence if it's not obvious. It will always go out of sync with code in small ways that will bite you, unless you've got executable documentation like some OpenAPI implementations or the venerable "doctests" in Python.

All of them are ways to learn about the API, or iow, "documentation".
nVidia is the dominant discrete GPU vendor, as well as having a fair amount of laptop market share, and their drivers haven't adequately supported it. It's rather difficult to flip the switch when a big chunk of your userbase can't make the move. I finally switched off of nVidia, in part because of the Wayland situation, but the majority of users aren't likely to do so.
I suppose that it varies depending on the project/person, but I agree that using timedelta is less intuitive than just using seconds (as is done everywhere in Python).
In that photo the plane looks totally vertical. Is that common on crash accidents?
Go 1.18 generic functions for slices, maps and channels
MIT has a graduation rate of about 85%, which means that if you get in then you'll likely graduate. So it's like Stanford or med school: the real barrier is entry - once you're in they'll do all they can to get you to graduation.

I don't agree with this philosophy b/c it means an MIT education adds no more value than any other university. MIT, as well as many other schools, would improve their reputation by culling more students out in the 4 years.

So congrats: you've made the cut(in life)! You'll never have to worry again unless you really screw up (drugs, criminal behavior, etc). Hmmm, IIRC MAD MAGAZINE once published an issue that parodied this "med-school" situation.
Different cultures may assign different connotations to what "bar" means, but first line of the original text says "walks into a [place]" and other sources using that same word [place] involve serving beer to patrons and/or prostitution there, so "bar" or "brothel" or "inn" may be roughly decent approximations; but "bar" has the "... walks into a bar" English trope going for it.
Poor mac user here; just want to weigh in with the opposite: I feel bad for Windows users with their single key combination and inability to discern between cycling windows and cycling applications. Just to show that this kind of variability between DEs is good and healthy, as it better reflects the broad spectrum of user preferences.
Betting data is expensive because people are building trading/arb bots with that data.
Student loans aren't a scam , they work just fine. Unlimited student loans are a scam. Unlimited tuition increases and colleges taking advantage of unaware students is a scam. Colleges don't seem to understand "no" or budgets to new, unfunded enterprises and try to go beyond their own means. They'll just raise tuition to compensate. The government has to cap student loans, just like it has to cap medical care costs or the cycle is just going to feed itself.
To be fair, it's hard to see how many users are not using telemetry when they're not using telemetry.
I have to laugh at the suggestion that Python code is portable. It is, only to the extent that you don't depend on any third party packages with a binary dependency, and then you're often worse off than C/C++, because at least there people tend to think about packaging for multiple architectures and operating systems.

This even now extends to libraries that are so common they're effectively part of the standard library in Python. The cryptography library now depends on Rust to build. That's fine if you can just use the binary wheels that they provide. But if not... you can't use Rust on a number of architectures because LLVM doesn't support them. And now you can't build the library.
While I've seen it happen, it's usually an honest mistake by a developer.

What makes you feel it's "a lot of practitioners"?
Modern version of an E.B. White quote: "Explaining a joke is like dissecting a frog. Sure, you learn something but the frog dies in the end."

Original version:

"Explaining a joke is like dissecting a frog. You understand it better but the frog dies in the process." - E.B. White
From your own earlier comment:

> and is proof that you don't need vendor lock-in and a 3 trillion $ valuation to achieve the same features

> the Apple apologetics brigade will shout loudly that vendor lock in is the key to Apple delivering these features and that openness is somehow bad

Can't have it both ways.
This post may be useful: Contributing to Complex Projects https://mitchellh.com/writing/contributing-to-complex-projec...
It sounds like it didn't work in large part because you actually weren't willing to walk away (which makes sense in a lot of cases; if you need something and don't have a good alternative, you may reasonably choose to accept a worse deal than if you were indifferent).
I just get black background on the letters in Firefox – I tried all the letters. Does this work in Firefox?
Rational arithmetic on a computer does not satisfy this property, either, for the exact same reason floating point does not: there is a finite amount of memory. Floating point embraces this edge-case in a rigorous way that none of the rational arithmetic libraries I've used have ever even attempted.
Crypto very much suffers from a chronic case of "one bad apple spoils the barrel".

There was a time when I was proud of working on crypto, and how most of our users were actually, genuinely using our product to evade various forms of abuse from their local authorities. Once prices started going up and and a bunch of people started using it as a get-rich-quick scheme, that rapidly became a vicious cycle with people like me started leaving the ecosystem in disgust, and we lost what pressure existed within crypto-adjancent companies to stay true to the original goals.

This article makes it sound that Vitalik is reaching that state of disillusionment as well. Shame, he's one of the last few "true believers" I know of.
They played Putin, this anthem, in very strange way: https://www.youtube.com/watch?v=1bgMl3NQwS4 , Dec 12, 2021.
Like everything in programming, the cultural part is more difficult than the technical part. I've seen more than one a fellow coworker comment all my tests. If you don't create the correct culture, and there isn't management buy in, it won't work.
No bar tho.
& this joke explained: https://www.youtube.com/watch?v=X0G3Gm-1G2Y

& this behavior explained: https://old.reddit.com/r/starcraft/comments/ewsj2o/brood_war... https://old.reddit.com/r/starcraft/comments/ewsj2o/comment/f...
Oh, sure. More accurately translated as "tavern".
Your editor will just tell you the type you need, no?
Bhim UPI-'Revolutionary' money transfer technology from India
Yes, they do! Check the link!!!! More than $1 Billion (with a B) has been awarded.
There hasn't been a check after the illegal surveillance was made public though, so it doesn't exist in reality and it is unlikely to change.
Ah, fair enough... I guess it's like a garden hose in that way -- a relatively easy problem to solve, but still a pain and maybe an eyesore.
Nobody seems to have mentioned that you can probably learn as much in 4 years at MIT as in 5-6 years at Z. The courses at MIT are going to be more rigorous and likely cover more stuff, and the ancillary learning / problem set sessions / dining halls will have a core of really committed students, so you'll absorb a lot of stuff that you haven't formally studied.

The result is that you'll be highly qualified to work after 4 years, and you'll save two years of studying -- the economics of that are extremely positive, not to mention you get two more years in your twenties.
It's not a Max
Also one of the few things that Siri seems to be good at.

As long as you are only interested in certain very large sports teams. (She has no idea there are any minor league baseball teams.)

But at least if you ask for a score and the game hasn't started yet, she's smart enough to tell you the time it starts, rather than giving you the scores for yesterday's game. Though, maybe she should do both for completeness.
I believe it just describes the display of the data (i.e. plain text).
So saying that "the hashrate has only gone up" implies the hashrate never goes down [between any comparison point], but you agree that over some comparison points as displayed by the five year graph the hashrate has gone down correct?

Yes, the hashrate graph has a positive slope over large time series, but it does go down at various points along the time series so therefore saying "the hashrate has only gone up" is a false statement.
> the constructor for which now also needs to be memorized

This seems less like a memorisation problem and more of an IDE one. If I'm presented with a type in my IDE, I can just look through its constructors and methods to find the one I require; no need for memorisation.
Someone told them an old joke:

A father have his son money to buy a knife. He went and bought a pocket watch instead. A father is furious, but is trying to explain: "Imagine, enemies came, murdered your parents, raped your sisters. What are you going to do then? Tell them 'It's half past two now'?"
Not such a good point, given that one indeed survived, and that in that particular case it wasn't the impact that destroyed the other one but the post crash fire.
The only formulation for FizzBuzz that I've seen 'in the wild' is "Write a program that prints XYZ (to standard out)"
Of course I agree with these confounding decisions, and I've written about it before. I must, however, point out that yes, you do in fact need an Apple account to log into your Mac device on recent versions of macOS. Not only that, but you won't be able to download any apps (free or not) without adding a credit card to your account.

I found the mac setup experience to be even worse than Windows 10 (both of these done in the last 6 months). I haven't even tried Windows 11 and have no intention of doing so. In both cases I made choices during the setup process that were not the default, and I believe that it broke some things, at least in the case of Mac, where most of the users do have another Apple device to use for 2FA, or do want to use iCloud for backups (or OneDrive - I'm sure some people use these services but I have absolutely no desire!)

Anyway, it's very frustrating to watch the user experience getting worse and worse from organizations that have an amount of resources to work with that we can't even fathom.

Edit: to say I'm not hugely invested in either Windows or Mac's longterm success. There are no personal or professional computing needs that I have (or predict) that can't be satisfied in Linux, and my usage patterns reflect that.
particularly since TDD organizations often maintain the constraint that the tests _should never change_ since they somehow embody the requirements. personally I'm not settled on an architecture until I'm part of the way through..I can't really understand how its all going to fit together until I'm in the process of building it.
Similar story (tho a bit less than 2 decades)

KDE on manjaro here.
It absolutely works with Wayland... I just recorded a screencast yesterday with OBS on Wayland. The only thing that changes is you have to explicitly grant OBS rights to your display/window when it starts.
Where are the lines drawn?

Take Agile. It clearly outlines that you cannot have managers getting in the way. Yet, I don't know how many companies I've seen trying "Agile" without giving up their managers.

If you're not even willing to move past the first step, indeed it is doomed to failure. But surely you should recognize that when you decide to go down that road?

Removing the managers from the equation requires a team of developers who have a very business-oriented mindset. I expect a lot of developers don't have that, and may not even be capable of it. For any given business, chances are that does not describe your team. I think it is fair to say that Agile is not realistic in the vast majority of cases.

Is the fault Agile for being written for a narrow scope of situations or for practitioners trying to adopt it where it was not designed to fit? I would suggest the latter.
Bert-based Sentiment Analysis Models biased towards certain Country Names
Off-topic, but "Native American" is not the most widely preferred term[1].

[1] https://www.youtube.com/watch?v=kh88fVP2FWQ
Sidekiq: https://github.com/mperham/sidekiq
Isn't Apple ProRes exactly this?

(I don't know codes well, this is an honest question.)
A bit old now of course but both Underscore [1] and Backbone [2] have annotated sources and are a pleasure to read.

1. https://underscorejs.org/docs/underscore-esm.html

2. https://backbonejs.org/docs/backbone.html
Actual Ukrainian gov. since at least 2014 coup commit a slow genocide on it's own Russian-speaking part of population, around 30% or so. Just now they decide to ban all other parties and force all broadcasts to spread just government propaganda.

At least putin have killed single individuals who are against him, nothing new under the Sun, but so far he do not commit any genocide against it's own people. So fat he finance some nazis, and mercenaries of similar kind (Wagner), but fur less than NATO-armed, trained and financed Azov, Pravy Sektor, C14 et al. and for the mercenaries nothing different than Blackwater and co.

In purely political criminality terms putin is a criminal like Biden, Trump or Jonson, with a difference: so far he have killed FAR less then them around the world. Try to be honest, looking at raw news behind propaganda.
Wait, that game is still around!? I played it so much as a kid. I actually logged a lot in the original AOE. That is fantastic and a testament to what is lost with modern games requiring a server to be continually provided.
Dang, you said it a lot better than I did in my previous comment. I agree with everything you said, and basically paraphrased it in my previous comment :) . Student loans can work with "adult" oversight. Kids can't make these decisions, they have no probably signing up for a degree that won't even pay their regular bills let alone $200k in loans for that obscure history degree.
Ask HN: A primer on how computers boot
I'm a dev and when I recently had to solve some issues with GRUB I realized I didn't know anything about how my computer boots. EFI partition, MBR, GRUB, Bootloader, etc
At work it seems that a lot of my colleagues are in the same situation. Looking for some primer and easy to read material to learn about this.
Thanks !
People Management for AI: Building High-Velocity AI Teams
ESPN has a surprisingly comprehensive JSON API that isn't locked down. If you're only using it for a hobby app, you won't run into any issues. It's been around for quite a while.
> What is your lame priority for sticking with it? Don't tell me gaming - get a console or VR headset, or steam on Linux.

Tell me you're not a gamer without telling me you're not a gamer.

The desire to play with mouse + keyboard is reason enough to stick with a PC. Wanting to play in 1440p @ 144 fps is another. First-class support for Discord. Steam sales. I could go on and on about reasons to play on PC.

Steam on Linux is getting better, and the success of the Steam Deck might convince developers to offer greater Linux support, but it's still not at the level it needs to be. Not to mention this argument completely ignores non-Steam games like League of Legends. It kind of works on Linux...sometimes...and with a lot of configuration and work.

Also, the suggestion to just get a VR headset is absurd.
New cities on the Cloudflare global network: March 2022 edition
Agreed: tests only test for discrete "points" of the input space (even with things like hypothesis testing and randomized input testing), and in general, in pure TDD, it is sufficient to test for one each of the class of points (eg. only one negative case to ensure negative part of the code is triggered).

But we should not forget we are all working against legacy code bases and libraries outside our control, and sometimes, tests might be the best available tool for achieving something other than their primary purpose, which I'd happily accept as a fun hack.
NFTs lower the capital required to "pump" because each token is one-of-a-kind and can be pumped individually. You also don't have to convince a bunch of people that your coin is going to be a valuable, new, currency (as with ICOs). Just that this single collectible (or "collection" of collectibles) is valuable. It helps that collectibles in general are experiencing a bull market (see Pokemon cards).
> It is stunning that these kinds of lazy, unexamined biases are accepted in non-fringe media outlets.

It is what it is. With crypto you have all the tools to stay under the radar, it's the main selling point.

It's always white men who are not happy with just the riches but feel the enormous need to spew whatever opionion they have through traditional media and the interwebz.

You can't complain that journalists who are essentially haters and believe people are inherently bad (much like cops, detectives and attorney generals) then single you out as the bad guys when they inevitably come to the space and have to write a piece on it.

Just to give a quick example from non-crypto industries: nobody is calling out Sergey Brin, Larry Page or the French guy at the helm of LVMH.

That's because their jewish heritage coherently suggested them to just be happy having more money than God, stay under the radar instead of pursuing attention and sociopolitical clout.
AOE2 has actually had a great renaissance fairly recently due to a remastered version being released.