skysight-inc/HackerNews huggingface dataset:
This seems to have been copied straight from the Spock Framework[1] (which I've been using for comprehensive tests for several years), but worse.

Here's what it looks like in Spock:

@Canonical
class Person {
int balance

def wire(Person other, int amount) {
if (balance >= amount) {
balance -= amount
other.balance += amount
}
}
}
class PersonSpec extends Specification {
def 'transferring #amount amount'() {
given: 'two people'
def pa = new Person(balance = a), pb = new Person(balance = b)

when: 'an amount is transferred from a to b'
pa.wire(pb, amount)

then: 'the transfer succeeds if possible, or nothing happens otherwise'
pa.balance == expectedA && pb.balance == expectedB

where:
amount | a | b || expectedA | expectedB
0 | 0 | 0 || 0 | 0
10 | 20 | 0 || 10 | 10
10 | 10 | 10 || 0 | 20
10 | 9 | 10 || 9 | 10
}
}

[1] https://spockframework.org/spock/docs/2.1/spock_primer.html
you create an in-scope reference within the function - and then 'stuff' it which converts it into an offset from the base of the stack - converts an "indirect reference word" into a "stuffed indirect reference word"
I started as a front-end developer, so doing lots of Angular, React and Vue. But over the past few years I've transitioned back to plain HTML (or at least templating on the server side), and I find it so much more enjoyable and much faster to developer as well. I don't have to constantly switch between front-end/back-end, having to build APIs, just so that my single SPA can consume them.

Although I really miss the flexibility of of React/Vue components that can take different parameters, and have rendering logic inside them. jinja2/pug and the likes, just don't have that.
I understand that autofree is WIP. I read that part of the docs, and I have watched the demo.

But I don't really understand what the intended reading of the documentation is.

If I were to completely take these two paragraphs out of context, they are factually untrue:

> Most objects (~90-100%) are freed by V's autofree engine: the compiler inserts necessary free calls automatically during compilation. Remaining small percentage of objects is freed via reference counting.

> The developer doesn't need to change anything in their code. "It just works", like in Python, Go, or Java, except there's no heavy GC tracing everything or expensive RC for each object.

So, what does this mean? Well, nothing, necessarily. If the context clarifies that these points are all untrue, then, the documentation could be considered perfectly accurate as far as I'm concerned.

However, when I asked if the intended reading of the documentation was that these points are untrue, the answer was--no, these points are all actually true.

I don't understand that position. These claims are straightforwardly untrue.

To me, your response is reinforcing my original proposed reading. That is--to me, your response indicates that I should read these claims as being false, and that the documentation is acknowledging them as false.

Now to me, that is a perfectly good response to my original comment. If this part of the documentation is not intended to be read as a statement of fact, that makes perfect sense to me, even though I do think it could be communicated better.

As it stands, though, I'm not really sure what I'm meant to get from this[0] comment.

[0] https://news.ycombinator.com/item?id=31955809
SEEKING WORK | Remote
https://www.paleblueapps.com

Email: info (-) paleblueapps com

How to build an awesome app? Solid app architecture, best-practices, and consistent monitoring. Our experienced software engineers can jumpstart (and maintain) your new app.

We specialise in mobile apps and backend development.
Pure anecdata. :)

I know people who are one-of-a-few experts in technology that is critical to a particular industry, and there's not always good succession plans in place for when they retire.

I could absolutely be wrong in this case - it might be well enough understood that you don't need decades of raw experience to begin to scratch the surface - but at the same time there really are so many advanced technologies held together by one or a few experts.
Shower thought:

If I didn't have the goal of buying a house in the Bay Area, I would totally try to find a job with Tailscale.
I remember seeing touch screens in sci-fi when the touchscreen is a large table or when the touchscreen is being projected into air.
Its funny to me how all these people who learned js/react (bootcampers/"fullstackers"?) before html are now discovering html. as a web dinosaur like me (15 years) i've watched this whole cycle play out.

not that js/react are not useful, but rarely should be your starting point. much better to use them progressively when the trade off are worthwhile.
It's forking all the way down. I run my code on a fork of Linux, just in case.
It does - failed recently. It comes up in a little black box overlay.

I should point out to maintain my gargantuan self esteem, it ended in a guessing game to find which missing letter was correct. Irritating.
That's not an estimate, that's reality: 2/3rds of Australian will get some form of skin cancer.

https://www.sunsmart.com.au/skin-cancer/skin-cancer-facts-st...

It's not quite as dramatic as that sounds though, because the really dangerous type (melanoma) has "only" ~5% incidence.
> That the USA essentially gives out free remote sensing data to the entire globe, is actually incredible.

Indeed, in the documentation for the Nigerian Gas Flare Tracker in 2019 I wrote the following:

> “I keep being impressed by NOAA’s and NASA’s openness. That they provide unfettered access to such an amount and quality of data sources and even their own time to answer questions for the benefit of foreign citizens (Spanish, British, and Nigerian) stands in contrast with the attitude of other agencies like the European Space Agency (ESA) and the German Aerospace Center (Deutsches Zentrum für Luft- und Raumfart, DLR). I must admit that the USA does such things better.”

> https://sentido-labs.com/en/library/#gft-2018

That project uses NOAA’s VIIRS data to monitor gas flaring in Nigeria, and is used by the National Oil Spill Detection and Response Agency of the Nigerian Ministry of the Environment.
no it doesn't. It just shows the location where you can find the glue. How do you actually remove it? Do you soke it in ethanol and pick it apart or how ?
Lehman Brothers was an investment bank, different kind of bank.
That was the Blair governments terrible idea to give public funding to all religious schools. Coming from northern Ireland where segregation in schools is pretty fundamental to the divide, I couldn't believe the stupidity in implementing this in England.
Mitigating an attack is really, really, really hard.

How hard is it? What are the challenges? Could you be more specific? Cause I keep seeing the blog and article headlines telling me how hard Auth is but a lot of them don't go into details. That's the kind of mystification I'm having an issue with.

I'm not against using service providers for CAPTCHA or CDN's like Cloudfront for DDOS/brute-force prevention. Refusing users the ability to register an account with breached credentials sounds like a great idea though I've implemented something like this myself already.

I'd wager that aside from what anyone put in their contracts with OKTA, that they didn't pay out a dime for the 25 minute Breach.

Do I want to just pass the buck for the sake of saying, I'm not personally liable or being able to deflect and say, "look this happened to a lot of other companies too". That's part of the fear that these blog posts and articles try to instill with absolutes of "never ever do this..." or "this is way too hard for you..."

I'd argue I'm less of an attack vector than Okta for most of my use-cases. And I think that's part of the issue here, that a lot of us are talking different scenarios and perspectives. If I was an IT head or sysadmin, yeah, I'd probably use something like Okta or onelogin. For a web app with an admin panel for a restaurant taking reservations, Yeah, I'd roll my own and own the users table with passwords as well. For an enterprise-level web app, I might consider compromising and use something like AWS Cognito. But for all my own personal projects, a few paid contractor jobs, and even a few large-scale apps, I have rolled my own auth and preferred it largely to alternative like firebase, and auth0. I'm starting to get the picture that I'm in the minority there. If you don't care about auth and don't want the liability, sure go with a provider. I did mention in my original comment that maybe I was weird in that I liked going down the rabbit hole on auth concerns.
I would argue that it is the thing most related to the issue.
That weird taste is probably just the taste of Chinese prison workers’ melted fingernails.

https://www.ft.com/content/1416a056-833b-11e7-94e2-c5b903247...
I don't find this anything better than just using Next.js or any similar framework. Custom solutions for bundling end up being custom reinvented square wheels in my experience.
Man.. i should start trading aus sunscreen for finnish mozzie repellent. Any finns into global small-scale logistics?
Each program is linked against a TCP/IP library. #defines control what parts each program gets, depending on what it needs.

The DOS TSR approach would make TCP/IP a common service for DOS programs. I went with the library approach for speed and customization purposes.
Bach didn't like the piano when it was first introduced. He was used to organs and harpsichord, where keys are kind of on or off. A piano is velocity sensitive and play style is quite different. He went on to work with piano developers to make the piano a better instrument.
Good idea! I looked into this when I first started thinking about the problem. MethaneSAT is launching this year, so I thought maybe we could do the same for refrigerants. Unfortunately I don't think it would work:

1. Methane is 1900 ppb in the atmosphere[1], refrigerants overall are ~12.5 ppb -- so a lot less out there to detect.
2. I think methane leaks tend to be from single, continuing, large point sources -- coal mines, oil wells -- whereas refrigerants are usually from these distributed small point sources which happen once. So by the time you detect it it's too late to intervene.

[1] https://www.noaa.gov/news-release/increase-in-atmospheric-me...
I like the nursery idea, but the supervisor idea - that someone might silently give you a special nursery that restarts failed tasks sounds like a bad idea. Because the function you pass it to might pass it to someone else that passes it to someone else that passes it to someone else that really doesn't failures retried.
Amid the FTE layoffs, are there any stats on how many contractors FAANG+ have been laying off? I wonder if contingent workers are the first to go, or the last.
I've never had one fail in a different manner. Modern LED bulbs seem to fail differently. I see lots of power delivery issues before they go
> We are in discussions with various parties regarding additional liquidity and the go-forward strategy for the company.

I actually smiled at that rather eloquent retelling of the old classic "dude, we're totally f*ked and don't know what to do".

As other posters have sagely advised, keep some of your money in a small regional bank!
Would you send your wife and kids on a 3 hour cross country trip in an old car with over 200k miles?

There are older cars that could make it --- but the potential risk of leaving them stranded is just too high for a lot of people. It's a judgment call but this perceived risk has a definite adverse effect on the value and utility of older vehicles.
Something it took me some time to understand, and I feel very dumb for that, is that with these modern "SPA" tools such as Next, you can still do quite easily dumbed down non interactive websites that do traditional form posts. It works perfectly fine.

The other way around, using the dumber tools and trying to do highly interactive apps, is a lot harder.

That might be part of the reasoning most things are nowadays built with these spa like frameworks.

Not that I agree. Just trying to understand.
Water is a very good heat transfer fluid, it has a huge specific heat capacity compared to many other fluids, it's cheap, abundant, non-toxic, non-flammable.

The problem is that if you want to reduce the temperature below ambient you need some kind of expansion cycle, either with a single-phase gas, or something that has the gas-liquid phase transition somewhere in the temperature of interest. Water doesn't really work for common AC or refrigeration uses.
I'm surprised that's what you got from the internet. My internet first and formost warns about nanoparticles in sunscreen.
You use DOS at work? What industry are you in?
At my last job, heroku was the cause of at least an outage a month. The redis add-on was particularly troublesome, as I recall.

That's not to say the rest aren't bad, of course, but I'd much rather have control in my hands than wondering if the next time it goes down again how many angry phone calls we'll get and if there is even anything we can do about it.

Give me a few bare servers any day, but you take what you can get I guess.
Can someone comment on how safe/secure tailscale is? I am not talking about the wireguard part but the closed source part and the company.
Ironically, what you've written there applies to modern Java frameworks too.
Why does this read like a thinly veiled native ad ?
This was… disappointing. I expected xmlhttprequest to show up about midway through instead of being the very first thing. It’s like the web didn’t even exist before xmlhttprequest.

I work on a number of websites at work. None of them use fetch. They all still use xmlhttprequest whether natively, through jquery, or using a library.
I'd avoid everything L'Oreal like the plague.
Being less convincing saves the scammers time, because you won't reply unless you're easily fooled.
I am one of those people who started reading a book on HTML when I was 10. I didn't understand a lot, but kept reading again and again and with 13 I understood enough context to create HTML websites.

For most projects I have been doing since it was either pure HTML, CSS wirh a few sprinkles of handwritten Vanilla JS, or Jinja2 templates with occasional PHP. When it got really complicated I used Flask or Django.

But to this day I never understood people who use js/react for pages that could have been handwritten with zero js in half a day (including a handwritten fluid CSS layout).
Good questions, we spend a lot of time thinking about how to ensure the actual additionality of what we're doing. The most important consideration - we pay per kg, and less than the market rate of new gas. So a technician that was recovering gas before to reuse it would be taking a loss if they sold to us and then went out to buy new gas.
I don't think people put money in these crypto high-yield investments because they love risk. The majority of people I have talked to were unsophisticated investors who didn't know what they were doing, and were under the impression that the investment was safe.
You should almost always use a bundler. ES modules work, yes, but using them naively subjects you to a waterfall (each module file may trigger the loading of others, though you could circumvent this with a sufficiently advanced server that recursively traversed modules in order to collect the whole set and send rel=preload links for each with the initial response), slow loading everywhere and exceedingly slow loading in higher latency, and the downloading and execution of much unnecessary code. For many completely realistic designs that would have been a hundred kilobytes in a one or two files, you’ll end up with it spread over several hundred files, reaching ten or twenty levels deep, so that it downloads and executes multiple megabytes of code, a lot of which is not even used, so that for someone on the other side of the world, what would with proper bundling have taken less than two seconds to load (including initial TLS handshake) will instead take ten or twenty seconds if everything goes smoothly. And I’m not exaggerating in the slightest here.

The situation would certainly be worse in HTTP/1 because of the lack of pipelining and the six connections limit, but HTTP/2 does not make not-bundling in any way reasonable.
AFAIU CO2 refrigeration system are making a comeback. In Europe it's apparently fairly popular for things like supermarket refrigeration, partially maybe due to ever tightening EU F-gas regulations making a big investment into flourocarbon refrigeration systems a risky proposition.
In releated news:

"Considered Harmful" Essays Considered Harmful
https://meyerweb.com/eric/comment/chech.html
Are they not technically in the set of failed U.S. banks? What kind of banks are on the list?

Why are there "other" kinds of financial banks at all?

If you'd said a food bank, I'd understand the fundamental difference.
What I am not overlooking is that they as a company and in this comment have an implicit bias against Dev's rolling their own auth since their business model is based on them not doing that. The most critical point that I raise that is not irrelevant is they are prone to making blanket statements and falling into absolutes with "Never ever do this..." and "This is way too hard for you..." even though there are a wide array of diverse scenarios and use cases in web dev. And even if it is open source, a lot of enterprise won't touch it if there's not a support plan, or at least a lot of companies would not be willing to fork and maintain a large open source lib they had little dev involvement with. So their death as a company would essentially equal EOL for a good number of clients regardless.
How did you get to the conclusion that anyone thinks they’re entitled to that information? Of course nobody is.

But that doesn’t change the fact that it’s this information is useful for outsiders, not a disservice.

As for wanting leakers to be dragged into court…

Are you saying, for example, that Amazon warehouse workers should not be allowed to expose terrible working conditions? Or pretty much any other unethical action of a company?

Because that’s exactly what you’re advocating for.
Location: Bulgaria

Remote: Yes

Willing to relocate: No

Technologies: JavaScript, TypeScript, React, Electron

Résumé/CV: https://astoilkov.com

GitHub: https://github.com/astoilkov

Looking for small projects (2-4 weeks) or consulting work.
Show HN: HTML Journal
I can believe it by extrapolating from my own domain (which is nothing to do with GPUs), where there are a bunch of people with mid-level knowledge, a very small number of people with deep knowledge, and an utterly tiny population of unique individuals who are the ultimate architects.

I guess it’s a power law distribution like so many other things.
It doesn't matter whether we talk about cheese or sausages.

The main point is that when you make laws that make it illegal to call something "vegan cheese" or "vegan steak", you are even more likely to be confronted with those confusing and misleading labels. If anything, the law should be the other way round, require a label that plain and simply says "vegan $product" prominently.
$399 sounds excessive. How much are people paying nowadays in practice?

I still have my 15 years year old legacy rate, just a bit over $100. Mutually a good deal I'd say. I use it very little, sometimes I completely forget about it for many months, so a good deal for them. But when I need to access some new topic that seem to have no good hits on the free (as in beer) internet I can acess Safari quickly. In the past there was a limit about how many books I can access at my rate. Seems that it's no longer there? Anyway, I have never really hit it, just needed to be cautious not to browse in too many books at once.
I don't understand what you're talking about. If you have any special knowledge on the subject, please share it.

The last comment claimed the vehicle had been a one-off, non-production car. I know nothing about Nürburgring. I just googled and found the above quote from Elon, saying that it was an unmodified car. I asked you whether that is the instance you were talking about. Now you're saying the lap time hasn't been certified. You seem to be switching arguments.
Technology is not a religion.
When someone uses what you created in a different/unexpected way you anticipated, you know you did something flexible which is useful for a lot of people in a lot of different ways.
This opinion is just gross. Always do your required reading kids.

- nobody uses semi colons, that's a huge red flag because the tooling will literally remove these symbols from your code, did you even run any go code? clearly not

- goroutines are not threads and galloping past that obvious chasm is also telling: you're not really sure what these magical things are but, somehow, you know they're bad. this is a flawed line of reasoning that was never going to convince me

- because you don't know how goroutines and the userspace scheduler work, you skip over all the benefits they provide and thusly nurseries give me nothing than a hand holding experience less effective than the existing tools I have. Thank you for wasting my time because I was genuinely holding out for _any_ kind of empirical reasoning. My mistake.

- As proof of the author's research negligence: Not a single mention of channels. Not one. Homework was clearly not completed

I'm all for debating a language's efficacy and tradeoffs, but not when the opposing side has no idea how anything works. Then it's not a debate, it's just the ignorant proclaiming a need to interfere with others. Go away, please.
That is a super interesting idea! Hadn't considered it, have you seen anyone doing this with carbon credits before?
The participants of the StackOverflow survey are likely not people who end up on StackOverflow randomly when looking for answers, but are more likely to be people who answer questions or are pulled in from other communities that link to the survey in progress (language subreddits, etc.). The actual programming community skews way more towards learners than an SO survey shows.

You can see here that there are more people with 5+ years experience than less:

https://survey.stackoverflow.co/2022/#section-experience-yea...

For what it's worth I prefer NeoVim and I've programmed since 2001, I don't think experience or anything has much to do with this preference.

I also think that anyone who doesn't Google stuff (and let's be honest, you'll probably end up on a Stack Exchange sub-domain when you do) for their hobby or professional programming is likely very stagnant and probably way worse and less experienced than they ought to be, since they're probably just doing the same old stuff all the time.

P.S. It's trivial to find default installations that don't have Vim, I don't get how anyone who's installed desktop or server distros at this point can not remember being surprised about the absence of Vim and having to install either it or NeoVim. I remember it being almost a regular occurrence when setting up machines.
Yea. My equity has been dismal. The benefits are fantastic though.
I wonder how his dad thinks a wah wah pedal is supposed to be used? :-)
> (B) had 200 unique visitors a month and a stack built on Kubernetes with
> something like 8 microservices. It was running Apollo, Socket.io, and on and on;
> literally overcomplicating everything...for 200 unique visitors a month. Every
> single aspect of that system was over-complicated. CTO was part of the problem,
> but was complicit in letting tech team go wild; many of whom just up and left > after playing around with the tech.

I do not understand how can anyone draw any conclusions from this whether or not the technology were at fault here for the implied failure.
Is APFS part of Darwin? If not, then that would support your point.
PostgreSQL Interface for Google Spanner
“OK Surgery” is not a name that inspires confidence!