skysight-inc/HackerNews huggingface dataset:
If anyone could do it, they can. I took both semesters at once, cause I already knew it, did both the final programs months before due, and did not bother to show up for the last month. The teacher called me I the lab... The only one who ever did, and asked me if I was going to attend the final, I answered that I had already receved enough
See my comments on PAGES2K on another thread, reachable from my profile link. But as you've worked with the data presumably nothing in those posts is news to you, and you're well aware of the sorry state of paleoclimatology.
I don't think anybody could claim TDD will make a sloppy dev write good code.
Though there's half an argument for getting more experienced/skilled devs to write the tests and the more junior or less capable ones to fill in the actual working implementation (but I'll be honest, I've never seen this work in practice over a prolonged period).
There is not a word that would contend any of the arguments made. If you meant:

> The only fundamental difference inherent to the respective designs of blockchains and traditional banking, is censorship resistance through genuine self-custody.

Then this is nonsense. The fundamental difference between the two is that one deals with real money while the other does not.
> All in all, builds are not a problem. If they're a problem, it's a symptom of a fragmented, immature ecosystem, which indeed many Linux/BSD distros continue to be, in the big picture.

Can you give an example of how builds are a problem due to Linux/BSD distros?
Writing has always been my passion, as much as coding has been, and sometimes the two are intertwined. I began a blog over 10 years ago and it is still going strong. From that blog has spun some additional side projects that I wanted to see come to life.

My biggest project was one that was actually sponsored by my website, back when the ads were working good and I was bringing in a few hundred a year. It was during COVID-19 when everyone was home and I took my shot... I interviewed over 500 women from every country in the world.

The concept was simple: "What is your life like as a woman living in your country?" At first, it was meant to just go on my blog... but I ended up turning it into a book.

https://mylifeasawomanproject.com

My advice... just keep going, don't give up. It's not going to be your only project, so get it done while its fresh in your mind to do so before you lose interest or it becomes a monthly thing.

Also... the other thing I'll say, which if I could do it all over again, I would, though I've already published the book, and remember, it was meant for my blog, so I wasn't bothered with word count or number of pages, but at one point, it was coming out to over 1,000 pages... I cut it down to below 750 pages when it was converted over to a book. The book is not a single story, but over 500 stories, so it's not meant to be read in a few hours or overnight, and it can be a lot to absorb no matter how you read it.

So ... longer isn't necessarily better. Get your point across.

Also, it's not going to make you rich or anything, but have fun writing it. You'll have to do some marketing, but you'll have to do your research to find your niche of people who want to read it. I've sold about 250 copies or so in physical and audio. Not a best seller. Not a world changer. I'm fine with that. I did it. I wrote it. I'm an author. I've since moved on to other projects, which are now my focus.

And joining a few Facebook groups, I've learned that there are many aspiring authors who just never publish anything. So set your goals and get it done!

Amazon KDP for self-publishing unless you want to go the another route.

Good luck!
Kao Soi is a staple in many Thai restaurants in my city!
To quote Kent Beck of Extreme Programming fame [1]:

--- start quote ---

I get paid for code that works, not for tests, so my philosophy is to test as little as possible to reach a given level of confidence

--- end quote ---

In my opinion, TDD as proposed by testing zealots is harmful. Instead of testing a unit of work testing frameworks and methodologies all but force you to test units of code, and that is not the same thing.

E.g., if your code responds with a list of items from a database, you should test that. Instead, people test the controller in isolation (mocking everything), the transforming function in isolation (mocking everything), the database layer in isolation (mocking everything)...

No. You have to test that your code, when called, returns a list of items. If you can't have the database, mock that, and only that. Boom, you have 1500% fewer tests, with the same coverage, and an actually increased level of confidence.

[1] https://stackoverflow.com/a/153565
Well this is timely, I was just yesterday needing a tool that would easily do embeddings for me so I could do RAG. LLM seems ideal, thanks Simon!

One question, I saw a comment here that doing RAG efficiently entails some more trickery, like chunking the embeddings. In your experience, is stuff like that necessary, or do I pass the returned documents to GPT-4 and that's it for my RAG?

For an example of what I'm doing now, I bought an ESP32-Box (think basically an OSS Amazon Echo) and want to ask it questions about my (Markdown) notes. What would be the easiest way to do that?
Govt to bring resolution to rename India as Bharat
Debugging MSFT stuff is such a nightmare that this is kind of funny to hear.
New product idea for USBKill... for the uninitiated, a device that is used to test hardware defenses against malicious input using high voltage [1].

[1] https://usbkill.com/
If tests are written first, (_and_ the dev has a good eye for design, which is not always given) then it is likelier that you will write a more ergonomic interface (e.g. methods having smaller number of parameters/dependencies, "intention revealing names", [0] etc..).

In a unit-testing paradigm, this also means that you will need to inject the unit's dependencies so that it can be driven into specific states by each test in the suite, encouraging dependency inversion and the open/closed principle (as given by Uncle Bob [1]; note that with dependency inversion it becomes possible to vary the behaviour of the unit in test vs. production environments simply by specifying different dependencies without modifying the unit's code itself). If the dependencies are too cumbersome or even impossible to set up, then the test reveals something about the design (e.g. high coupling).

Of course, it's also possible to just grin and bear the pain of tests being too difficult to write, without actually resolving the design problems revealed by the test...

[0] https://wiki.c2.com/?IntentionRevealingNames

[1] https://web.archive.org/web/20060822033314/http://www.object...
This means shipping an entire UI framework as part of the web app onto a computer that already is running multiple UI frameworks.

For example on macOS with Chrome, you’ll have Flutter running on Chromium running on AppKit. All of these provide text layout engines, compositors, 2D and 3D graphics, widget hierarchies, scripting languages… Hundreds of megabytes of redundant stuff loaded in memory to run some typically basic Flutter app.

I know, we can’t magically have native binaries delivered on the web (that was ActiveX and it was bad). But it somehow boggles the mind that this is what we ended up with.
I think it depends heavily on what you're mocking and what the code you're testing looks like.

I think Martin Fowler has a nice dichotomy where he splits tests up into solitary (generally using mocks for deps) and sociable (generally using real code for dependencies): https://martinfowler.com/bliki/UnitTest.html
Thanks for the tip! I’ve been growing my own but when I’m out I’d love to get more.
They are busy with the war in Ukraine, but as soon as they finish, you'll be the enemy again.
I love FreeBSD's docs.

I had an old HP Microserver with 1GB of ECC RAM lying around so I installed FreeBSD on it. I had 5 old 500GB hard drives lying around too so I set them up in a 5x mirror with help from the FreeBSD Handbook. First time using FreeBSD and it was a breeze.
Unless the bug fixes are so fragile and/or convoluted they make any change in business requirements almost impossible to implement.
Would you happen to know why your company was able to ditch mainframe iron? (Was it because you didn't need the uptime, for example?)
It is not (fully) automated. What is automated is the parsing of raw street names from openstreetmap. Figuring out which name refers to which person and adding the wikipedia link is done by hand. The errors are due to the lack of missing the cultural information, for all the 182 countries currently available, needed to make the right choices (or any choice at at all).

I will consider your input and thank you for it. You can also consider opening a PR if you feel some info is missing or is wrongly laid out.

Thank you for your input.
>if you were to invent C today you would just define int as always being 32, long as 64 and provide much more sane and well-defined rules on how the various datatypes relate to each other, without losing anything of what makes C a popular low-level language?

You'd lose something because those decisions would be impractical for 8-bit and 16-bit targets (which still exist in the world of embedded programming).
Show HN: PayPal Mafia
TAOCP has COBOL exercises (not python exercises, not lisp exercises).

Therefore:

COBOL is superior

argumentum ad knuth-ium quod erat demonstrandum
There's really no other kind in rural ireland.
In the ever-competitive world of marketing, every brand seeks that edge to stand out and maximize returns. This guide unravels a step-by-step approach that can potentially amplify your ROI tenfold.
https://ghostarchive.org/archive/VsBhm

I gave up trying after the third captcha and put it through rival archive site instead, captcha-free: https://ghostarchive.org/archive/VsBhm
> where you can't legally defend against attackers and biggest cities are controlled by gangs

Good grief, where do you get your information?

* In the UK, it's perfectly legal to defend yourself ("reasonable force").

* Beat policemen don't carry guns; firearms officers do. Any policeman can arrest anyone they suspect of an offence.

* Drug dealers rob one another; it's a direct result of prohibition. If you rob a drug dealer, he isn't going to report it to the police. That's nothing special to the UK (or to big cities).
It's on brand for "the register" whose editorial staff never miss a chance for a good pun or double entendre so the awkward phrasing is likely intentional.
that's simply not true. there is both enough food and space and technology (and energy).

the problem is allocation and distribution of that.

eating industrial salmon is not a necessity for anyone.
I looked into doing root on ZFS, but I ended up settling for /home on ZFS. Maybe I'll revisit it next time I build a new system when I'm more comfortable with ZFS.
That's easy. They shouldn't even come close to being billionaires. How? Stock should not be theirs in the first place.

Investors are buying the company's stock, why would it be theirs?

Especially after going public, it's not "your" company anymore.
I look more towards optionality myself. Take for example the encapsulation of randomness. Depending on an abstract notion of randomness (an interface) that decouples you from the implementation is both useful for testing as it is for maintenance of a system. For tests, removing randomness entirely makes it deterministic, allowing you to tests for exact matches instead of approximations. For systems, at a smaller scale get away with a reduced amount of randomness, while systems at scale require more sophisticated code for this. You don't want to replace all of that code in all instances, but rather leverage the capability and replace the implementation.

Another angle is the encapsulation of storage. Using in-memory storage for tests makes Ci pipelines very quick and production storage might evolve over time to accommodate scaling requirements (sharding and such).
Really good view. I think especially that it’s so early still there is lots of learnings to be made until this technology can be applied at scale.
For the things I back on Kickstarter, I see it as expressing honest interest in a long tail product. It's okay if it doesn't arrive. I just want the guy to give it an honest shot. And I'm comfortable knowing that I have to be the one who evaluates whether this is a risk worth taking.

I'm glad something like this exists in the world so that other people like me can do this together with me.

I really wish people like you wouldn't use this sort of site. If you wouldn't be okay with the effort failing, then please just go elsewhere.
Like Steve Jobs, Tim Cook has a public email address and may reply: tcook@apple.com.

That should be more effective at making your point than a random blog post or a boycott (which, let’s be realistic, has an even lower chance of happening).
One issue with mocks is that you have to ensure that the way they are mocked accurately represents the actual behaviour of the thing being mocked, in production.

Otherwise your mocks may end up driving the system to a state that is never actually encountered in production, while the unit test still passes. When you run an integration test or a real build of the application, the actual system itself will fail to behave as expected.

The mock implementations can diverge from the actual production behaviour.
The European Space Agency has a transparency problem
Yes, Sweden, Norway, US, Canada, UK and some other countries often times only include the last name on the street sign, it seems. If you're not immersed in the local culture it is quite hard to figure out who that person is. Again, thank you for your time and links.

"Two streets with the same name may easily be named after two different people." - that is 100% correct
Note that unlike the GPL, the CDDL is file-based. It doesn't require your entire body of software to be CDDL, it just requires that you make modifications to CDDL-licenced files available under the CDDL.
Maybe someone in the KGB thought that Operation RYAN was creating a real risk of a nuclear war and wanted to create a channel to the West to try and defuse things?
all those taxes are super low imo, except maybe that property tax.
And huge not-so-hidden costs in terms of chemical inputs. There are a number of stories in Gabe Brown’s “From Dirt to Soil” (well worth a read if you’re interested in large scale regenerative agriculture) that illustrate how financially precarious modern industrial ag can be.
Agree, I’ll use sweet basil (labeled Thai basil) and it can work okay for the dish!

The quality of the ground pork matters - especially in American grocery stores the ground pork smells like cat food. If it’s pink all the way through and looks ultra processed, it’s probably not good.
Wow, that's quite the story. Great to see you managed to both identify and fix it in such a non-invasive manner.
> However, what will be left is a blob, that runs on the dedicated core on the GPU

But that basically firmware, right? So not all that different from the firmware loaded by a NIC?
is there an equivalent "btrfs for dummies" ?
Gotcha, so if there was a big update during a party you'd have to either let everyone update themselves; or delete their overlays, download the update to the primary, and then make new CoW overlays for everyone.
Framer | (Senior) Backend Engineer, (Senior) Product Engineer | Amsterdam | Onsite/Remote (NL,UK,IE,DE,PT,ES) | Full-time

About us: With Framer, users can easily build complex websites straight from their design canvas, giving them full creative freedom without having to touch code.

Backend Engineer: work on many aspects of the product, like Framer Sites, cloud infrastructure, data pipelines, and more. Tech stack: Node.js, Go, Typescript

Product Engineer: Work on many engineering projects, including but not limited to our React-based design environment, native mobile apps, open source Framer Library, and custom code editor. Tech stack: TypeScript, React
I didnt say it was specific to testing. Nor did I say it was never appropriate. Nonetheless the pursuit of "unit testability" is probably most often why it's done.
nothing reliably forces good design, or good code. a shitty team will design a shitty application full of shitty code regardless of testing methodologies or anything else. what else is new?

does that mean that literally all development processes are bad and should be dismissed and everybody should just open their editor and start writing, organisation be damned? seems that way if you read comments on literally any post on hackernews.
Do you use Restic or Borg with ZFS? How do you have that set up? Do you use them in lieu of zfs send/recv?
Reusable modules of code involve implementation and the interface.

If you just write out an implementation without thought for how others are to use it, there's a risk that you'll end up with an interface that's more complex to use than it needs to be.

The idea is that by 'using' the interface of the module first (e.g. by writing tests first, or by writing documentation first), then the design of the interface isn't left to be an afterthought of the implementation.

Similarly, it's easier to consider edge cases when thinking about unit tests / documentation, etc.
I suspect the big dark secret of the public cloud is that some regions/AZ's are not all that big and that there is no secret tech that's the big players have that the smaller regional players dont when it comes to the actual physical layer.
Quite a lot of complains about GDPR were pure hysterics.
In my experience, test code has much more volume than the implementation in a lot of cases, but clean coding practices and maintainability go out the window; I often can't make heads or tails out of a unit test hundreds of lines long, so I become hesitant to change the component or its tests. Which defeats the purpose.
Category: Product Manager
Location: Enugu, Nigeria

Remote: Yes

Willing to relocate: No

Technologies: Product Strategy, Product Roadmaps, PRDs, PRFAQs, Scrum, Product Analytics, User Research, Jira stories, Gherkin, SQL, Wireframing, AB testing. I was a developer before I switched to product, so I'm not afraid of anything technical.

Résumé/CV: https://docs.google.com/document/d/1ohpE-be1rvBorNL3oOYyRUmS...

Email: osita.nwangwu@gmail.com
Terraria has Biome Keys, and you can create auto farms to get them ... so, close enough?
Ask HN: Is React Here to Stay?
Frameworks popularity is in constant change.
Do you think the same will happen to react, or is it here to stay?
They presumably justify the 30% to regulators by saying they host the store, provide the tools, etc etc.
That’s amazing because people have been arguing about TDDs impact or lack of as a design technique for over a decade!
It's not just two extra years, it's the year that makes the biggest step change in a person's life, and the year after.
Yes, I worked in a bike store and have access to all the right measuring tools. The fit itself isn't so much the problem as the inevitable areas where my hands contact the handlebars. My grip is too tight so that's why the padding helps as much as it does, it is much softer than the material that the handlebars are covered with. On warm days it isn't perfect though (because it also covers parts of my hands that I'd rather have exposed on warm days) and I've been looking at getting softer coverings for the handlebars to help with that. I've already changed a lot about the geometry of that particular bike to improve matters substantially, this is the one remaining bit.
Would it be possible to create two versions of the language: microC for embedded C programs where these decisions matter, and standard C for PC/servers which basically all use the same representation for these scalers?

My main point is that a C programmer today is forced to learn dozens of rules just to cater for many niche platforms that they will probably never target, so if you were to separate those two use cases you can get a much more neat C that targets modern 64 bit architectures with all the power of traditional C but a bit less portability.
Sure, but the same contract offers arbitrary delivery dates:

> The Estimated Delivery Date listed on each reward is not a promise to fulfill by that date, but is merely an estimate of when the Project Creator hopes to fulfill by.
Project Creators agree to make a good faith attempt to fulfill each reward by its Estimated Delivery Date

The point of this site is to gather enough money to make a good faith attempt at something. That's pretty obvious. Even an LLM can figure that out.
Been following this space for a bit. In my view, the literature on the internet is distorted about these things because of the need for certain OSS project creators and (non OSS) companies to promote their own products. It typically goes like this:

[Insert technique name] is a good technique, but it can be further improved if you enable [some complex workflow]. [Some example of how it improved a particular case]. We at [Company] already do this at scale and you can use it out of the box if you use it. Go make better things.

Nothing against people doing this stuff. It just makes me think how difficult is it to promote open source projects today.

Regarding Vector DBs, most have advocated for weaviate and pinecone. Incidentally, all run into quantization problems at scale (1M+ vectors) if the clusters are to be adjusted, and handle it differently. i tried it for a 6000 vector product[1] and got the best results by using a pkl file rather than any of the dbs.

[1] Not sharing the product here as such. We just scraped a govt tax website to create a search engine on top of that. Helps as the data is not indexed by google, and we had no interest from customers in wanting to chat. They were interested in original source along w a summary.
You must have never heard of intelligence agencies, and spying in general. People vastly underappreciate the value that intelligence gives and the lengths to which they'll go just to get access to information. This is as old as humanity, for example Sun Tzu clearly wrote that useful spies are the best compensated employees in the entire government.
Ok, I'm absolutely sure that hate speech is protected under the first amendment.

> White supremacy is nothing but a threat

That's not what the supreme court seems to think.
Rome Has Fallen
Google News is tiny and irrelevant - that's not what the law is about.

Again - do you really think that if you do a web search, and one of the results goes to a newspaper, then the newspaper should get paid? And none of the other links?
Have tried both, cannot go back to kinesis. Layouts seem very similar, but glove has home/end and pgup/pgdown keys in the main part, so thumb cluster has two alt keys and shift keys.

I cannot overstate how much better having shift keys on thumb cluster is.
When I read about it, I couldn't understand it either. They didn't explain precisely, but IIRC, it was a pistol with a tactical light, which explains why there might be more space that usual. I couldn't find the particular incident, however.

This sort of thing is unfortunately somewhat common:

https://www.thetrace.org/2023/04/sig-sauer-p320-upgrade-safe...

https://safariland.com/pages/service-bulletins
> With Apple, you're locked in into paying whatever they demand

People being allowed to charge a price they'd like to for a product or service they provide is a good idea.
Are you seriously saying that gun-culture is "not really that bad", because the people at greatest risk of being shot are schoolkids?
I've seen code bases where a lot of the tests are actually testing the underlying framework's code (i.e. dotnet framework) after they mocked out all the dependent services. In my mind unit tests are a waste of time except for testing really complex algorithms where the there are no side effects. Automated end to end QA testing is where the effort should be spent.