skysight-inc/HackerNews huggingface dataset:
For me the principal benefit of ChatGPT is it helps me to maintain focus on a problem I'm solving, while I wait for a slow build or test suite or what ever. I can bullshit about it without annoying my coworkers with Slack messages. And sometimes I'll find the joy reveling in the chatbot's weird errors and hallucinations.

I suppose my lunch is about to be eaten by all these people who will use it to automate the software engineer job away. So it goes
>Foundation

As long as you haven't read the books. It's pretty much has nothing to do with them.
I wrote configuration management software. Mocking the filesystem was a disaster. It worked much better to take the whole system that was responsible for modifying the filesystem and just "dependency inject" a real file or directory and do real POSIX operations on it and include the POSIX filesystem as the "system under test".

So as a concrete example if you have a system for editing /etc/{passwd,shadow} on Solaris you can create a tmpfile (even on Linux) that looks like a Solaris /etc/{passwd,shadow} file (a 'fixture') and "DI" that tmpfile into your system and then do operations on that file and check the result. This is testing the "update the passwd file on solaris" system in isolation, so it isn't a proper full integration test of the entire configuration management run, but there's a lot of moving parts under test. It also allows devs to run it on Linux and while you still have to test it in CI on Solaris before shipping, the likelihood of any incompatibility between Solaris and Linux filesystem semantics is pretty low. And it doesn't mess with the actual /etc/{passwd,shadow} file on your CI server. You can worry about coverage of "okay it edits the tmpfile but can it edit the real file" and we had some tests that would really add a fake user and really delete a fake user on the CI boxes as well. In practice I don't think that was necessary since we just required root.

So you're testing everything under the "please create a user" API down to the hardware and not having to insert mocks into your own code or to attempt to mock the entire POSIX filesystem API (I did that at one point much earlier in my career and it still lives on to this day as the biggest mess of a test I've ever constructed -- unfortunately it works and doesn't change much at all and would have taken way too long to rewrite it).
Hey bro, it's unnecessary to call people jerks. Assume they're ignorant at worse, or really incapable of juggling all plates. Running a small software shop, especially a startup, is extremelly hard and stressful. You're constantly struggling to survive financially. To a lot of folks, this alone already takes up everything they have to give.
Precisely.

I use it undocked very rarely, to the point that those hardware advantages are irrelevant.

The downsides are still there when docked however (the horrible glossy screen and the awful OS I have to handle).
It makes a lot of sense for them to try though - the obvious reaction here is to switch to VSCode, devs using JetBrains can’t wait for Oracle to fix this. I imagine JB are churning a lot of users because of this
> There are forms of asbestos that are really not all that dangerous to the general public

Source?
I order vitamin D directly from the sun, light-fast, gradual and free delivery
Strange, that same observation and the corresponding 3 million worldwide deaths yearly didn’t change our attitude towards fossil fuel combustion and its air pollution.

Even more remarkable, the fact that nuclear is kept out of the hands of corporations, but the oil industry is not might have been the cause that the latter put so much money and effort into the nuclear fear campaign.

More people die of fossil fuel air pollution per year than have died of COVID. We might have saved more lives during the lock down by the reduction in pollution than the actual virus containment.
Yep, the tape to tape copying days were really happening around 1984 so the manual in either red or green paper was the only way to keep it selling. The sprite library package and Forth's closeness to machine code were its strengths. Not easy to work with though.
Lawsuit over Apple AirTag stalking claims can proceed, judge rules
Taking vitamin D daily did wonders for my psoriasis. Over the years it had gotten to the point where I was breaking out in patches all over my body, and only getting worse as time went on. I went from like 2% coverage to 20%.

Started taking vitamin D and am now back at 2% (where it has sat for 4 years now since I started).
Might also depend where you live. My doctor did as yours, but I live in northern New England where we don't typically expose our skin to the sun for months at a time. Perhaps doctors closer to the tropics assume at least a low level of sun exposure?
The Department of Homeland Security Is Embracing AI
It's kind of annoying that the author made me search for what an RP2040 was, rather than including it in the first paragraph.

https://en.wikipedia.org/wiki/RP2040
When did you last see him walking?
Hertz CEO out following electric car 'horror show'
Ask HN: Any good "cert expired" horror stories?
I'm thinking about building a new take on certificate/domain monitoring.

I'm looking for good examples of how easy it is to forget/miss when people leave, teams re-org, systems change, etc.

Here's mine for example: I created a cert with a 5-year expiry for my startup's primary DB. My thinking: in 5-years we'll have millions of users, and a whole team of smart people working on the DB. We did have millions of users, and the smart team, but no one thought to check the cert. We had to re-learn the signing process during the outage.

Any good horror stories to share? Monitoring best practices?
This looks interesting. I tried a service to upload PDFs and using textract and it did a good job using TS.

~~However, it used pulumi SDK in the code instead of aws. Not sure if this is intentional?~~

Edit: I didn't realise that you have your own SDK. Great use of AI!
So take out the asbestos and they are still at risk because the fundamental issue is a lack of PPE. You can regulate PPE. Many industries have done it. Shadetree work, sure, people do dumb things like cook hotdogs in shopping carts and sell that too, that will always happen. But for a brick and mortar mechanic they are already going though many regulations (e.g. how they deal with oil). PPE requirements are nothing in comparison to having to deal with things of that nature, or even just general small business requirements.
I mean, while it was inevitable it would implode, I must say I’m _slightly_ surprised that it has imploded before it event _started_.
I never focussed much on sleeping postures, but one day I read this article about how acid reflux goes away if you side-sleep on your left hand side i.e stomach is at a lower height than when you sleep on your right hand side

that really changed my life, it was like, how did I waste 28 years of my life without finding this trick :D
Wasn't aware of that context in the anime art community, that's good to know about, so thanks. Currently, artist drawn anime images weren't a primary stylistic focus, so the gap makes sense.
In what world is cost not a good argument?

In fact, assume cost is not a good argument – then why should it even be legal to compile programs that aren’t universally accessible? It’s always beneficial, and just a matter of cost after all.

Or are you perhaps being completely one-sided and unreasonable?
Yes of course but not good enough, imagine darker not ultra short hair, how do you spot one on the back of your greasy hair.

I live in places where lyme is barely 5% incidence, and even that not everywhere. If it would be like 80% like some mention, doing week-long hikes alone would be outright suicidal. Better chances for retirement in base jumping.
not to mention the perl5 / perl6 split

perl6 is now called raku
The main problem is that GDP can and is defined in so many different ways and massaged and changed to anyones liking.

Same with inflation. It's hard to measure correctly in the first place and becomes even more useless as it is defined differently at every occasion or when it does not match whatever one tries to achieve.
I was trying to be helpful. I've made elitist remarks on HN that were dubious in at least two ways: it was dubious if I was actually all that elite, and it was dubious if any amount of being elite justifies or makes useful a posture of elitism. My internal jury is still out, but as of writing I think I probably underestimated how unique my first-hand knowledge and contributions were, but more than made up for that by the claims exceeding the reality by a huge margin, for a massive net lose that made me wish I could take the remarks back.

I click on every HN username I reply to, because I've been hanging out here for like 16 years and more than once I've mouthed off only to later realize it was about C++ to Walter Bright or something, and looked a fool as a result. I've since apologized to Walter for disrespecting a legend and he was very gracious about it, to cite just one example.

Your initial remark wasn't even that bad, certainly others talk that way, and I tried to frame it accurately as one guy who tends to FAANG-flex carelessly rather than thoughtfully to another guy who probably doesn't talk to people like that face to face and is probably a pretty good guy having a tough day. I was trying to say: "been there, maybe cool it man you're probably going to have the same bad time I've had on this sort of thing".

But this is getting to where I'm starting to lose my temper a bit, I've been pretty cool about this. I even went and read the Dart/`llama.cpp`/`ONNX` stuff because I've also messed around with binding to `llama.cpp` and `whisper.cpp` and stuff just to make sure I'm not mouthing off to Jeff Dean's alt or something. I'm not talking to Jeff Dean.

I surf with `showdead` on, and I don't know the current meta so I don't know if you know that you've been flagged dead 3 times on this subthread already and as much as I'd like to, I can't really argue with any of the 3.

But given that you've clearly got similar interests, and therefore probably things that you could teach me if I were willing to listen, I'm going to propose a do-over.

If you'd like to start this over from a place of mutual interest and write this thread off to "a pair of people had bad vibes on an Internet forum once", email be at `b7r6@b7r6.net`.

If not, no hard feelings, but in that case, let's just give one another a wide berth and call it a day.
Not to disagree in any way, but as a species, we are also one good asteroid hit or gamma-ray burst away from elimination.
It is a completely different risk profile.

Asbestos is dangerous, mostly for people who work with it, but other than that, it is just rock, and it occurs naturally. After a few years of not using it and disposing of the decaying remains of stuff made with it, it is unlikely to stay a problem.

PFAS on the other hand are not natural, we are putting out tons of stuff that can last for thousands of years and is very hard to get rid off. Maybe it is a problem, or maybe not. If it is not, then we are lucky, but if it is, then our grandchildren and their own grandchildren who may only remember asbestos from history books will be left with a major problem to deal with.
I've been using Gemini in lieu of Google search where I'm asking a question I want an answer to rather than searching for a website. Microsoft is doing this with Bing, it tries to understand when you're searching for web sites and when you're searching for answers. I imagine Google will eventually integrate these offerings.

Where Microsoft's integrated approach presents challenges is Gemini provides for a conversational approach (context). If I ask a question and subsequently need to provide further clarification, I can just provide the clarification. I don't need to re-ask the entire edited question. It's amazing how fast I've become accustomed to this conversational approach.

WRT Apple, Siri has become irksome. She can't reliably handle basic tasks on your phone, much less general-purpose questions. At this point I think it's going to become the case that AI is a commodity, and I don't see what Apple gains by building their own commodity service.
I think the example of a person in the background's face was replaced with a leaf was from an iPhone trying to clean up the image and got confused.

Of course my favorite is the phone that recognized a humanoid shape and placed Ryan Gosling in the image.

https://petapixel.com/2020/08/17/gigapixel-ai-accidentally-a...
It is absolutely a big deal.
> If he’s overdoing it he’d be talking gibberish

I mean, have you _seen_ his tweets?
Searches for VPNs spike in Texas after Pornhub pulls out of the state
NATO personnel already in Ukraine for arms control, intelligence operations
Onexplayer 2 Pro handheld gaming PC with Ryzen 7 8840U coming soon
No. The problem in this post can be vectorized (== expressed as array OPs) with idiomatic numpy, making it very fast (see sibling comment).

Numba is designed to speed up code where looping is unavoidable, i.e. the code can't be (easily) expressed as array OPs.
> Apart from what the AI model is capable of, we should ask think in terms of how accurate the solutions are. Initially these models were prone to hallucinations or you need to prompt them in specific ways to get what you want.

Today's prompts are yesterday's intermediate languages & toolkits. Today's hallucinations are yesterday's compiler bugs.
I think the point here is that 'dads' like to watch stories about competent men they can admire and look up to, who invariably tend to be older/wiser than them. I think the situation isn't helped that there isn't a lot of prestige quality content about men their age - that tends to fall into the 'dad tv' genre (ie, Yellowstone, Billions), not 'Prestige Dad tv'.
The Jupiter Ace, a comparatively weaker (ZX81-equivalent) computer, came with Forth built into its ROMs. The use of Forth was such an efficiency improvement over BASIC that, as I recall, simple video games could be written in its 1 KiB of program RAM.
True enough - they're cheap enough that I'm not worried about wasting money.
Does this also work with qlora
Designing a simple object from scratch: two-minute timer
This has an overview: https://www.etui.org/sites/default/files/ez_import/Asbestos_...

Nothing is in the final product, and there is no worker contact except around every 10 years as the cell is replaced.
Ehh we can go back and forth on semantics all day but I think the point still stands that as long as there is a demand for plastics there will be no phasing out oil.
I think they meant metaphorical headaches dealing with asbestos remediation. As in difficulties.
Aren't the concentrations of concern down in ppt range? Surely that can't be the explanation for why so low a concentration would affect much of anything.
Collection of System Design Articles
How do you decide when to reach for Polars vs DuckDB?
In Copenhagen and Amsterdam, the people meeting clients probably choose their transport based on each day's needs. Several clients in the city centre? Bike, or even on foot. Spread around the suburbs? Car, or maybe bike+train if the offices are near stations. (More likely for office jobs, less likely if your clients are manufacturing/industry.)

It is rare for people visiting us to ask for a parking permit.

(Drinking alcohol with the clients in the evening? Then it can't be car.)
Funny Onion template, but how much C is there in the world compared to other languages? I'm guessing a ton more.
The work to maintain this eventually became too much for me. Everything I did had to have the custom certificates installed, otherwise it would yell at me.

Then there are systems on which installing certificates is hard, like your niece's iPhone. Oh, just use Overseerr to request that movie. What you you mean? Certificate error? Oh, let me fix it.

I get a wildcard from ZeroSSL (after they bought acme.sh) and a couple of non-wildcard ones.

One thing to remember that a wildcard for .domain.com doesn't work for .foo.domain.com. You have to get a second-level *.foo.domain.com wildcard.
That still wouldn't justify being asked a hundred times. But I also cannot relate. I use Firefox as my main browser and start Chrome and Edge semi-regularly. Only Edge keeps asking me to make it my default browser. And then of course there were the few times where a Windows update "accidentally" set Edge as my default browser.
People may, but I am not. Back then, we gave them equipment for free to beat the Nazis.

Today, Russia buys western equipment at a 10% markup after sanctions. As Lenin said: 'The capitalists will sell us the rope with which we will hang them.'

The supplier relationship in both wars is simply a symptom of the West being more advanced in quality or capacity for the parts and services in question.
I, Pencil

https://mises.org/mises-daily/i-pencil
A lot of writing that is very funny on stage or screen doesn't work on the page. This is because delivery matters in dialogue, and actors study the scene to prepare their delivery, but a reader only gets one chance sight read it with no prep.
A friend of mine from college has a form of dwarfism that gives him extremely limited walking ability. I have spent many hours pushing his wheelchair around college and now around towns. Newfound dislike of cobblestone streets lol.

During one busy winter, he had to drive his mobility scooter to class in the early morning after a huge storm. The "ramp" to get from the sidewalk to the street to go where he needed to go was covered in snow and he couldn't push through. He asked the groundskeeper/janitor/maintenance guy who was shoveling nearby if he could clear it.

"Not my job"

I often wonder if Americans are especially selfish. There is this disgusting undercurrent of greed and "fuck you got mine" in our culture, and it harms everything we interact with. Think about the parking lot of your nearest grocery store, and how many carts have just been left in parking spots by people who think their shit doesn't stink.

I wonder how many of those people run local businesses or government departments.
Do you have any basis at all for such an absurd claim? The law actually works in the opposite direction (kinda):

You may use "legitimate interest" cookies/tracking without saying so, but as soon as you show a privacy dialog you actually have to disclose everything you're doing including legitimate interest.

Basically by having a list of what youre're doing with your user's data you're giving up your right to do anything not listed.
This complexity forced me to abandon it for learning and switch to STM32. I was able to write blinky with few dozens of assembly instructions for STM32. I spent like month reading about SPI, QSPI, flash chips and still was not able to understand how to proceed with RP2040 other than copy&paste their "bootloader" as an opaque blob.

May be I'm weird, but for me RP2040 was terrible chip for learning ARM. STM32 on the other hand just worked and I gradually learned to blink the chip, to write linker script, to write UART, to use C, to use CMSIS and so on. In the end I was able to write a commercial firmware with it.

I understand that if I would just use their SDK with cmake, that wouldn't be a problem, but I'm not going to use their SDK. I hate cmake and I need to understand everything from the ground up.

I think that at this moment I can grok this bootloader and write my own version of it, because I know much more about it, but it wouldn't serve its purpose as a chip for learning.

IMO that's a flawed approach: to throw infinitely complex tools onto a beginner. It's much easier to start simple, with just an assembler and may be linker. And a chip for beginners must not require those complex initialization procedures.

This chip is also incredibly complex with its two cores and PIO cores. It's absolutely cool thing, but it's absolutely not for beginners, it's for experienced engineers. I'd prefer something simple, like STM32, with built-in flash, but with proper documentation and without any compromises. Like flexible voltage source, on-board programmer, plenty of hardware blocks, not cheap price (because who cares if chip cost is $1 or $10 for hobby).

RP2040 documentation is superb, I must admit. That's what they did perfectly.
> The endpoint is that being a programmer becomes as obsolete as being a human "calculator" for a career.

Yeah, the same time the singularity happens, and then your smallest problem will be eons bigger than your job.

But LLMs can’t solve a sudoku, so I wouldn’t be too afraid.
Same world, different time period / technology
https://archive.ph/gtdqv
Title seems to be missing “creators”
Online orders begin for first over-the-counter birth control pill in the US
Prop 65 is also way too broad. It needs to be specific about what carcinogens you’re being exposed to and not just “it’s a parking garage and this is our legally mandated sign”
Lots of reports and peculiar symptoms don't rule out psychogenic causes.

https://en.wikipedia.org/wiki/Mass_psychogenic_illness

We had a case of it near us in upstate New York a few years back. https://www.nytimes.com/2012/03/11/magazine/teenage-girls-tw... (https://archive.is/EoY7e)
Are web browsers not accessible by default? If you make everything out of the core primitives they provide: lists, paragraphs, buttons, forms, etc, a screen reader will have no problem, and reader mode can let the user tweak it. It's only when people reconstruct primitives that assistive technology breaks. I don't see how you can fix that at the browser level except by taking away all the toys and breaking 99% of the web.
Speaking without vocal cords, thanks to a new AI-assisted wearable device
Company goes against grain, creates wooden bikes, fridges
Thanks for the hint! A friend recently asked about a kanban-style app, and they're already using Nextcloud.
A way to tell how clean grid batteries are
I don't know - I'm always amused at how companies will try all sorts of growth hacks to eke out an extra 1% of DAU or whatever, but won't prioritise building products for human beings.
DuckDB is nice but I’d like to see some alternatives to RAPIDS in the GPU space.
what is the pricing? LOL
Hitting the Jackpot: The Birth of the Monte Carlo Method (2023)
Comac hasn't killed any passengers yet.
That’s most likely because Canada’s RDA for this is far too low. I take 5000IU daily during winter. I know this is the right dose for me because I actually test my blood for vitamin D deficiency twice a year, and 5000IU puts it smack dab in the middle of the normal range. In the summer I take 2000IU.
Vitamin D Wiki
Apple Shortcuts Vulnerability (Still) Allows Easy Export of User Data
> This new paper demonstrates that their model can fit a part of the observational data, including parts that could not be explained by the previous models using dark matter.

That's how nearly all successful models started out: being able to explain a part that the established models can't, and then later being expanded into other areas. But of course, only a small minority of such models ever make it to being the dominant/accepted one.

I'm all in favor of this process, the only thing I'm weary about is how it's communicated to the public. I know so many people who read such an article and come away with "dark matter isn't real after all", and I don't really know what to do about it. Media outlets don't really have the incentives to communicate the amount of caution that is appropriate towards such a model, and even if they did, it's somewhat hard to do well.
Yeah, I'm still stumped by the whole supply graph because everything requires tooling, and tooling required research, which required benchmarks, more tools, computers.. which required tooling .. so on and so forth. It's easy to forget how much time, effort and people are involved into anything, and all that had to be handled over economic and finance theories and logistics ... quite the madness.

And while we're at it.. I often look at insects the same way. That's a tiny ecofriendly, self reproducible (or almost), fault resistant, pretty smart nanotechnological robot.