skysight-inc/HackerNews huggingface dataset:
I don't mean to belabor the point but if you ctrl-f in the readme for "generator" you'll see:

> I only have to parse sqlite grammar, and even then probably only a fraction of it. So it looks like writing a parser generator might be plausible and by now it's really my only option if I want to get any tests passing at all.

> So here's my grammar so far. It's parsed by GrammarParser. In theory I could do this at comptime, but until we get a comptime allocator that's going to be a yak shave and I am way too many yak shaves deep already. So I laboriously but reliably write out all the rules into grammar.zig.

> The Tokenizer is written by hand and seems to be basically done - it runs without complaint on the entire test set. I might discover bugs there later, of course.

> The Parser is fun. There is a single parse function, but because it reads the rules from grammar.zig at compile time it gets specialized for each parse rule. Basically I got the same result as hand-generating the parser code, without having to splices a bunch of strings together. After the jam maybe I'll have some yak shave time to cut out grammar.zig entirely and do all the grammar stuff at comptime, and then it'll be a pretty sweet system.

> The best part about this is that I get really nice parse trees by generating rich types from the input grammar. Eg.

And also:

> I made some changes to the parser generator, added a whole bunch of debugging tools to the parser itself and then sat down and cranked on the grammar till I can parse 100% of the tests. I'm finally out of the damn tunnel.
The climate future is now. Humans navigate a ‘perilous course’ on the East Coast
You could have linked to Yegge's site.
Yes, I was torn between not censoring at all, but some results friends pointed out seemed too bad to have them be seen on my site, so I build a small filter for now.
OK, and? The check doesn’t get cut to Shareholder X, it gets cut to Twitter. Then Twitter gets given to Musk. The order of operations is irrelevant to this discussion because none of this extra money over $54.20 will ever be returned to the shareholders. It will be paid to Twitter (and their law firms) and Twitter will then be taken over by (majority) Musk. Elon would be paying himself (and both his lawyers and Twitter’s which is exactly what will happen regardless of how this shakes out if Elon buys Twitter).
I wonder what the efficiency of this demonstrator was? And what do they expect for the final product?

I suspect not very high, as their is missing any specific efficiency numbers.
Oh? Please illustrate who the "good guy" was on that story then.
> Like the 330 lines long if-else chain in apps/api/src/lib/services/common.ts.

As far as I can see, there is no 330 line long if-else chain in that file. Nothing even close to it. Can you link to what you're talking about more specifically?
> Because police seem to be trained to empty their entire magazine any time they fire

> You do not stop firing until it is absolutely clear there is no more threat.

One does not mean or imply the other. "until there is no more threat" doesn't say anything about a magazine.

The only relationship between the two is the presumption that while reloading you will have time to realize your target is already dead, while you might not have realized it a moment before in the haze of gunfire. But nobody is obliged to empty their entire magazine before evaluating the effect they had. Police are trained to stop shooting when the threat is gone and there are ample body camera videos showing police who stop shooting before their magazine is empty. This demonstrates that one is not necessarily synonymous with the other.
To some degree yes. On the other hand, they'll optimize profit within the bounds of regulation, that's kind of their job. I wouldn't be surprised if margins on homeopathics were higher than margins on effective meds.
Or maybe you're getting downvoted because you were denigrating other people's personal preferences when you called the disc version "trash." You're guilty of what you accuse others.
Give it some time. Since the software for devices is all available as open source, I expect a lot of commodity products (lights, switches) to be made available as pure Matter, without any apps, because it reduces the software development costs. The Matter early adopter companies are all companies with more expensive product lines.
Hugging Face's diffusers library and explainer Colab notebook (https://colab.research.google.com/github/huggingface/noteboo...) are good resources on how diffusion works in practice codewise.
Given Congresses inability to get almost anything done other than the absolute "must-do's" like NDAA and yearly appropriations and then 1-2 big ticket admin items, why do you think that Congress has the capacity, much less the will to control or even exert significant interest over the Fed?
Ponemon Report Reveals How Many Hours Organizations Are Losing to Vuln Mgmt
Not OP. But I would ask to know if that is a very local problem (eventually the outsource company) or is that Amazon is really completely mess up. That could help to take the decision to go through the reclamation/escalation effort, or just kill the subscription.
They blew up a neighborhood block last year, while ignoring their bomb technician:

"“Based on my experience and everything, I said, uh, this is too much to do one shot, we’re gonna break them up, right?” the technician recalled saying to a colleague.

He said his colleagues and his supervisor told him that he was wrong and that he should “relax,” and the fireworks were loaded into the vessel all at once anyway, the inspector general found. Later, he said, he told a colleague measuring out a counter-charge, “I have a bad feeling … this is not good … this is too big,” and was again ignored.

The subsequent blast, on June 30, ripped open the containment vessel and destroyed much of the surrounding neighborhood, damaging nearly 40 vehicles and 35 properties, injuring 17 people and displacing dozens more residents — many of whom have never returned."

https://www.latimes.com/california/story/2022-02-25/lapd-bom...
OK, I am apparently not smart enough to figure out how to do that! LOL When I click your name, there is no email address or option to email. Perhaps you could email mine? We have also posted the job on UpWork if you are on that website?
I believe there was a teenage kid with an account posting all the flights of Musk's airplane. He was asked several times, and even offered money in exchange of closing his account. That would be a good canary on the mine.
I read this kind of sentiment often and I wonder the same thing. I mean, I'm much more tired (physically and emotionally stressed) than I was in 2013 or 2003, but I'm also 10-20 years older with 10-20 years of accumulated baggage and responsibilities. I think some people might forget that fact.
I stand corrected! In that case, I am much more happy about this.
Do you have a source tweet for the 10% discovery?
I have not built a business with Clojure and I wouldn't recommend it. For the reason that I'm hoping one day to build one and beat the averages. Stay away from Clojure, or else... :)
This is how it happens though. Some people are easy to convince with data alone, some are not, and others are simply in denial. Watch financial markets before a crash - lots of volatility while these groups are placing bets on the direction of the economy. Eventually we cross a threshold where the market crashes and all those that were unconvinced change their tune. It doesn't happen slowly.
Putting the discussion about C++ memory safety and concurrency issues aside, I am pretty astonished that C++ continues to include bugs where you have two actual language features - not library functions - which on their own work perfectly fine, but combining the two makes the entire thing silently implode.

I am trying very hard to imagine any other higher level language where two distinct language features, each used correctly in their own way, can not be safely combined. The only thing that comes to mind are python's default parameters and passing an empty list as one.

C offers total freedom in exchange for providing ways to shooting yourself in the foot. All of its "dangerous" features can be used correctly for some benefit. With C++ it feels like to me like that benefit is often lost entirely, and whats left is just incorrect code that for some reason passes by the compiler without error.
I'm unsure if you're being deliberately obtuse or if you're just trying to sensationalize what I've said. Neither are good... and this is quickly devolving from a discussion about being well-informed to a flame war. Let's not flame war please.

Nothing I've said says anything about shooting bystanders.

What I have said, over and over again, is using round count as some sort of point is very misguided. Given the events of that day already occurred, it is very unsurprising 107 rounds were fired. That does not make it right that any rounds were fired at all. I'm sorry if you cannot understand this nuance.
CIOs Still Waiting for Cloud Investments to Pay Off
> 50-cent saving is a point of great pride to electrical engineers

As an engineer you are given a power budget, a thermal budget, a size budget, a weight budget and a monetary budget, among many other constraints. This means, like any engineering endeavor, there are tradeoffs to make. That 50-cents you saved on some power controller might be "spent" somewhere else that has a higher impact on the product.

There is a near infinite set of things you can do to make the product better somehow. Unfortunately you don't get to do them all. Many of the things conflict with eachother--more battery life might mean more weight and size that you have to "steal" from some other aspect of the product to balance out. Faster, better charging might cost 50-cents but that might mean in order to stay on budget you'd have to use a lower quality plastic shell that is more prone to damage. That faster, better charging might also eat into your thermal budget, meaning you'll need to spend more on cooling, weight and size.

It's all tradeoffs. There is no free lunch.
> weighing 1.7 kg (3.7 pounds), it’s definitely at the thinner and lighter end of the market,

Seems more like medium weight to me; hoping that's due to a large battery.

> Battery life is rated at 10 hours.

Oops, apparently not.

Still, cool to see RISC-V in a laptop.
i have the impression there are jobs, but they are not getting filled because companies don’t want to pay proper compensation even though there is inflation and there is less supply now than a few years ago. they also still think that people are coming back into an office which is probably never going to happen again except in positions where you really need to because of security or confidentiality or physical access to infrastructure. HR people tend to be delusional and out of touch with reality. we’ll see what happens.
> it's not that "best practices" or any of those things are what causes trouble; it's failing to recognize that they're just tools, and people will still be the ones doing the work. And people should never be treated as merely tools.

For me, the concept of best practices is pernicious because it is a delegation of authority to external consensus which inevitably will lead to people being treated as tools as they are forced to contort to said best practices. The moment something becomes best practice, it becomes dogma.
>I'd say the solution to this problem is to have the public democratically elect police just like politicians, and to also have them be subjected to term limits just like politicians.

Are there not corrupt politicians?
The Zimbabwean economy is to the American one what a kids soccer match is to the World Cup.
Sourcegraph (https://sourcegraph.com/) | Engineering Manager, Security Engineer, Product Designer | ALL REMOTE
Sourcegraph is 100% focused on code search and bringing it to every dev and company, and are hiring across the globe.

Sourcegraph enables you to find and fix things across all your code. Companies of all shapes and sizes use Sourcegraph every day to build software you rely on. Works across any code host, any repo, any language.

Code navigation and code exploration improve developer productivity, contextual code intelligence enables better code reviews and onboarding for new hires, and code change campaigns automate large-scale changes.

Sourcegraph Universal Code Search lets developers focus on solving problems, not struggle to find code, while managing rapidly changing and complex codebases.

At Sourcegraph, you will be a part of our foundational team to bring universal code search to every developer and company so they can stay in the flow. Come join us!

https://grnh.se/0572f98b4us
> It may not follow that the same can be said a few years from now, or even a few months from now, since the bus factor of that project is one, and if "bus events" includes "I don't want to work on that anymore but nobody else knows it well at all" then for some users that's a problem (and for others not so much).

You may have been speaking generally, and you'd be right, but specifically the bus factor of the SQLite team and the SQLite Consortium is larger than 1, and they could hire more team members if need be.

If and when the SQLite team is no longer able to keep the project moving forwards, then I think we'd see one or more forks or rewrites or competitors take over SQLite's market share.
> Magic doesn't exist.

I see sarcasm is one of your strong suits.
I don't think there are more people retiring than entering the workforce in software specifically though, only because the field has grown significantly over the last 2 decades. 4 decades ago it was less common for people to study computing or computer science (many universities may not even have had the program).

Now, it's one of the most popular choices, and there are also many people entering the field without degrees (bootcamps and the awareness that software skills can be learned outside of a structured curriculum weren't so common over 10 years ago).
Thank you! That's a great question.
First and foremost, dstack treats artifacts are 1st class citizens.

Here's the basic way of using them:

A workflow may produce output files to a local folder. In your workflow declaration, you can mark what folders to treat as output artifacts.
Then, dstack would save output artifacts automatically, and you'll be able to reuse them via the unique name of the run, or a user tag assigned to this run.

All artifacts are stored in the S3 bucket that is configured for dstack.
dstack is capable of syncing artifacts at start//end of the workflow or mount artifact folders via FUSE (of course if that is needed).

Each artifact is stored using the following path: <s3 bucket>/artifacts/<run name>/<job name>

A run can have multiple jobs, e.g. if it's a distributed workflow.

In future, we also think of providing a high-level Python API for accessing/storing artifacts.

Please share your thoughts and feedback!
Plus you can even write your own reader literals to enhance your data format. Aero does this well/horribly depending on your taste but it's a cool mechanism for declarative formats.
Alley | Software Developers | Full-time | Remote (US & Canada Only)

We’re hiring at the Alley Group (alley.co)! We’re looking for software developers developers to join our team. We’re a people first, equity-minded company and we hope you’ll join us! Apply using the links below:

Software Developer: https://bit.ly/3patr3z
I thought so — then it is strictly better than JSON.
This is one of those things I wish I could write.

Persuasive, funny, well-reasoned, learned -- absolutely amazing.
We know that homeopathic medicines are complete fraud (ie no better than placebo). This has been shown over and over again in thousands of studies. What you are saying is that your car stopping because of bad gas is worse than your asthma not being treated.
6000 MB/s is 6 GB/s, no? Am I missing something?
If you use vendoring, it's also worth considering that there's always some inherent security risk in upgrading dependencies. If an attacker takes control of a package somewhere in your dependency tree, you don't get compromised until you actually install a new version of that package. This risk can often outweigh the risk of very minor/dev-facing CVEs.
Why Redis cloud over Google Memorystore?
Concrete Mathematics has some fairly advanced stuff (e.g. asymptotics) which I doubt Khan Academy covers.
I wonder if they'll attempt to replicate the portion of SQLite's test harnesses [0] that are proprietary but nevertheless beneficial to all SQLite users, tests comprising over a million lines of C code.

Those tests are possibly among what the blog author does not consider to be "modern tools," which I don't even...

[0] https://www.sqlite.org/testing.html
Your chart shows two copyright term extensions since Mickey Mouse was created.

As your chart shows ever since the first Copyright Act in the US, there has been a major revision every 40-70 years, typically to update for things that have changed since the previous Act such as new technology.

As far as I've been able to tell Disney has nothing to do with creating the 1976 Act, which was the first time their copyright term was extended. The 1976 was created largely to address the massive changes in technology and international trade since 1909.

As part of that there was wide consensus that the US needed to make its copyright law more like the rest of the world, to pave the way for the US joining the Berne Convention. The change in terms came as part of that, making US copyright terms match what nearly everyone else had.
> Had the EU forced tech companies in 2009 to use a micro-USB connector, would that mean they would still be on it now, and not using the (far better) USB-C connector?

They did exactly that, force micro-usb, but in 2010: https://www.engadget.com/2010-12-29-european-standardization...

And now it's upgrading to usb-c, so they do seem to be able to change with technology.
I've watched that Grok video a dozen times and drooled at the possibilities if it were available to the world at large. And now it is!! It'll also be nice that people will remember that Grok came long before LSP :P
I might. Send me a private message on Twitter: Twitter.com/mpaepper
Thanks!
There is a difference between "I deleted the footage" (which would be "fixed" if it automatically upload to the cloud controlled by a 3rd party) and "I conveniently forgot to wear my body cam" (which having it upload to cloud does nothing to address).
ICU4X: Solving Internationalization for Clients and Limited Environments
I'm hiring but I'm not sure if I'd post on whoishiring. I find hiring by recruiting specific people I know to be awesome to be much less pain than inbound.
The police departments attract the same kind of thuggish person who joins a gang. Someone hungry for power and respect. Many times there are people who have an axe to grind with society or were bullied so its time for payback

I had a friend who became a cop and he changed in a bad way, the power went to his head. After two incidents, one involving him pulling out his off duty gun in a crowded bar I cut him off. I did not report him out of fear of retaliation.

"Retaliation"? I talked to another friend, a former cop painted a hellish picture of the police: "Its a power struggle internally with everyone forming cliques and hierarchies trying to brown nose superiors to garner favors, overtime and promotions. Anyone who breaks rank will be targeted for harassment. If you report him there's a chance you'll be "randomly" pulled over one day and suddenly there's drugs and/or a gun in your car. They will ruin your life. Just keep your mouth shut."

I am genuinely scared of cops.
From my personal experiences these 20 something years ago, we were getting software mainly from variety of computer and gaming magazines releasing often on monthly cycle, coming with CDs. These were packed with freeware, shareware, trials and sometimes full versions. And if you got large circle of friends you could swap these CDs in kinda offline P2P way. If you were really lucky there was someone who had already broadband connection and you could ask for a favor. Internet Cafes were also a thing back then - you could burn stuff on CDs or come with your own HDDs; and people did, sometimes clogging whole connection with P2P programs.
> it punishes work that can't pay the copyright extension fee

One tradeoff is to have the fee be proportional to the revenue it is generating. But this could encourage extension-by-default, rather than making it an intentional decision the copyright holder has to make: Is it worth "buying the monopoly rights." I think I would be ok with that if the increase for future extensions was steep. But that does also come at the cost of the second part,

> that doesn't become popular until later

You have a small-time creator that doesn't extend, and so loses out on massive potential revenue derived from future popularity of the work decades later. This would be unfortunate ... but on the other hand I think society would be more likely to make this true and create interesting derivative works if there were more works that were derivable. You need to keep durations short to make that happen.
Out of curiosity: You are from the US, own lots of Aple appliances and hold APPL stock? Which one of my bets is wrong?
The coolest thing you can do is throw a dance party with lighting effects.

I’m not sure I would have any idea what the best thing is that you could do, however.
Yes, by default, it will copy the files. Or you could also tell dstack to use FUSE.

As I said in the comment above, we think of providing a high-level Python API. THis API will allow to avoid copying the artifacts as an initial step.

But of course would love to hear what you think! ;-)
Hey does this mean there's currently a max upload size of 1GB since each part can only be 500MB and you can only upload in 2 parts?
Yeah, but I'd argue those who don't have money to spare aren't going to have it for whatever alternative we propose either.

Right now I'm paying $50 a month (highest tier) for a group of writers / comedians I really love, and I don't see an alternative to Patreon that would allow me to support them at that level. I don't get anything extra out of it beyond knowing they can support themselves.

I think there are probably those with money to spare, but it's probably like the prisoner's dilemma and they don't want to be the one's contributing if others can get it for free.
What's hue's deal with not supporting thread? Seems far superior to their current setup.
I don't disagree with the unlikely nature of new taxes on the rich. That was basically my original point. It is wild that we decided that we would rather go into a recession than tax the rich and I don't understand why there is seemingly no public pushback against this.
Location: Los Angeles
Remote: Yes
Willing to relocate: For the right role.
Technologies: DevOps, Operations, Systems Administration, AWS, GCP, Cloud, Security, Compliance
Résumé/CV: https://github.com/devoopes/resume/blob/master/resume.md
Email: sean (at) ulation.com
LSP was clearly inspired by Grok.
Considering the number of authors, it might be more appropriate to default to an assumption of competence and basic knowledge of their subject in there somewhere.
Yes, Z-Wave as as protocol is basically synonymous with a Silicon Labs product line, to the degree that the different versions of the Z-wave standard are more often referred to by their Silicon Labs part numbers (500 series, 700 series). This does seem to hold up the price of Z-wave products but, to be fair, they end up still being pretty competitive with a lot of other options, although usually more expensive than the most cost-optimized WiFi products like Tuya devices.
Wondering, how's your daily server cost looks like? I'm planning to play with SD but isn't it expensive to run?