skysight-inc/HackerNews huggingface dataset:
It's a shame SQLite doesn't support indexing arbitrary JSON data similar to Postgres. This works by hashing the paths and values within each JSON doc (or just the paths if you choose json_path_ops which you probably should.) https://www.postgresql.org/docs/current/datatype-json.html#J...

Unfortunately I don't think SQLite has generalized support for multi valued indices, though perhaps it would be possible to implement using the virtual table mechanism like full text search. https://www.sqlite.org/fts5.html
> that's a tiny bit more space for the guy who actually needs to go somewhere and work in person

For a little while. Until the bus company decides not enough people are riding anf the 1/15 minutes bus becomes the 1/hour bus :/
From what I understand, it's POSIX that reserves the _t suffix, not C.

That being said, I picked up the _s/_t habit from working on idtech codebases, and decided that I'm fine with my own C codebases forever having a "not POSIX compliant" stamp on it, whatever that means in practice. For C++ I just use InitialCamelCase.
This is what work computers are for.
Given the complexity vs DX trade off with GraphQL presented in the post: perhaps GraphQL goes the way of SQL.

SQL is a phenomenal API but nobody builds a “sql api server” at work.

People do build products that present a sql api, because it’s a great API.
Avionics code isn't written by hand any more. We (society) can't write sufficiently reliable C such that pilots and passengers can rely on it. Writing C by hand these days is hubris, in my opinion.

Most avionics these days are done in Simulink, and then you hit the Autocode button.
Which FAANGs in particular are you talking about? And where do the brightest go?
This leads to loss of knowledge. We could live in the much better world that Tesla and Einstein dreamed of. Perhaps we would prolong life and prevent the loss of the great people I see every day. Human life and knowledge is the most important thing.
> I don't know of any IDE that provides even half of what i want TBH.

> On Linux (which is my main OS these days) pretty much all options involve a text editor

You obviously haven't looked hard enough.
CLion fulfills a decent amount of what you're looking for.
https://www.jetbrains.com/clion/

A lot more limited, but still much more capable as an IDE than text editors is KDevelop, for example your request here :

> (i haven't touched topics like VCS support and how i'd like to be able to see and use different version of the code from inside the IDE - like e.g. go back in time to a different function while the debugger is running - or anything that has to do with GUIs)

https://kdevelop.org/features/

> An especially useful feature is the Annotate border, which shows who last changed a line and when. Showing the diff which introduced this change is just one click away!

Also example snippet of the debugging integration :

> You can also hover the mouse over a symbol in your code, e.g. a variable; KDevelop will then show the current value of that symbol and offer to stop the program during execution the next time this variable's value changes.

https://docs.kde.org/trunk5/en/kdevelop/kdevelop/debugging-p...
Quakecon 2023 is happening right now till Sunday, maybe you can get back some of those memories watching the Quake Pro League matches live stream https://youtube.com/@Quake
// yy079 part 2 of 2

if(!url2)
{fprintf(stdout,"<a href=%s target=_blank>",getenv("url2"));unsetenv("url1");url2++;}
if(getenv("url1"))
if(!url1)
{fprintf(stdout,"<a href=%s&range: bytes=0- target=_blank>",getenv("url1"));url1++;};
if(itag>0)
{
/* fprintf(stdout,"%02d,",itag); */
for(x=16;x<yyleng-1;x++)if(yytext[x]!=34)putc(yytext[x],stdout);
if(url1|url2)fwrite("</a>,",5,1,stdout);else putc(44,stdout);
}
}
\"title\":[ ]\"[^\n]+\", {
if(itag>0)
{
ch = 0;
for(x=9;x<yyleng;x++)
{
if(yytext[x]==92)ch=yytext[x];
if(yytext[x]==34&&ch!=0){putc(34,stdout);ch = 0;};
if(yytext[x]!=34&&yytext[x]!=92&&ch!=0){putc(ch,stdout);putc(yytext[x],stdout);ch = 0;};
if(ch==0&&yytext[x]!=92&&yytext[x]!=44)putc(yytext[x],stdout);
if(yytext[yyleng])yytext[yyleng]=0;
}
title = 1;
putc(44,stdout);
}
}
\"lengthSeconds\":[ ]\"[^\"\n]+ {
if(itag>0)
if(lengthS==0)
{
y=0;for(x=18;x<yyleng;x++){if(yytext[x])yytext[y]=yytext[x];y++;};
if(yytext[yyleng-18])yytext[yyleng-18]=0;
w=atoi(yytext);
fprintf(stdout,"%02d:%02d:%02d,",lenh(w),lenm(w),lens(w));
fwrite(yytext,1,yyleng-18,yyout);
putc(44,stdout);
lengthS++;
}
}
^[ ]{4}\"channelId\":[ ]\"UC[-A-Z0-9a-z_]{22}\", {
if(itag>0)
{
for(x=18;x<yyleng;++x)
if(yytext[x]!=34)putc(yytext[x],stdout);
}
}
\"viewCount\":[ ]\"[0-9]+\", {
if(itag>0)
if(!author)
{
for(x=14;x<yyleng;++x)
if(yytext[x]!=34)putc(yytext[x],stdout);
}
}
\"author\":[ ]\"[^\n]+\", {
author++;
if(itag>0)
{
ch = 0;
for(x=10;x<yyleng-1;x++)
{
if(yytext[x]==92)ch=yytext[x];
if(yytext[x]==34&&ch!=0){putc(34,stdout);ch = 0;};
if(yytext[x]!=34&&yytext[x]!=92&&ch!=0){putc(ch,stdout);putc(yytext[x],stdout);ch = 0;};
if(ch==0&&yytext[x]!=92)putc(yytext[x],stdout);
}
putc(10,stdout);
}
}
.|\n
%%
int main(int argc,char* *argv)
{
if(argc>0)if(argv[1])if(argv[1][0]==97)append++;
yylex();
exit(0);
}
And usually when this happens it’s for some weird technical reason, and it almost always is a power of two number. Here it’s just plain weird!
I am picturing a room full of non-programmers staring at all these documents, codes and Docker commands and saying “Well, Greg was obviously crazy. Instead of leaving any of his passwords, he just left pages of gibberish. I guess we’ll never be able to access anything.”
Fuck Cloudflare
> A bespoke wireless sensor monitoring and communications system, integrated into an old heating/cooling system

Ofc I'm just speculating here, but based on the article's description I suspect this whole wireless integration could be stripped. Maybe in the 80s they saw the need for a central computer running all the logic, but I suspect that nowadays this computer could be replaced with programmable controllers, one at each building. Industrial controllers are very reliable and there are available professionals for support.
I think it is dumb for employers to do this.

However, these examples don’t seem to have anything to do with spying on your private life, i.e. outside typical work hours.
The Pulumi Kubernetes provider is a native provider. It does not take a TF provider as a dependency. Instead, it works directly based off the k8s API spec.

The Google TF provider is actually maintained by Google via Magic Modules, a single source for both TF and Ansible . The generated TF provider does reside in HashiCorp’s GH org tho.
But it doesn't restrict you! You can create a choice field with a value that contains ;# and select it, but then it can't display correctly.
Relatively minor bug as bugs go, but still...
Show HN: Bruno – helping you discover your curiosities
I started working on Bruno because I wanted to give myself a consistent stream of essays and podcasts that would send me down new rabbit holes and make me lose track of time (a good feeling). The internet is tailor-made for exactly this, but parsing the signal from the noise is too difficult, especially in the age of generative AI.

Bruno uses a “give-to-get” model to aggregate high-quality thinking and then predicts which ideas that are anomalous to a user's stated interests they'd find most interesting. Each week, users can submit links to three things they find interesting, and by doing so, they get access to recommendations for the next 4 weeks. The recommendation system will try to predict ideas you’d find interesting, but you didn’t know you hadn’t yet discovered.
I was hoping one can setup a "modern" C development environment without resorting to Docker.

Using Docker for setup a C development environment indicates that there are too many moving parts and the development environment is essentially very complex and that there's nothing that one do about it.

I wish more people would write such guides with the aim of reducing the development environment to its essentials that can be installed system-wide without being disruptive and thus not needing "Docker".
Isn't it the exact opposite?

If you need to get reelected every few years, you need some help. It would be easy to compromise.

If you don't need to get reelected ever for the rest of your life, why would you compromise?
Again, the number of classrooms leads me to ask, "Where is the tuition going?" It's not a good excuse. The students are paying plenty of tuition. Why shouldn't they get the courses they want?
At what point do you just have robots deliver packages though? The downside is that the higher the pay today the sooner more jobs are automated out. Is paying someone the salary of a doctor to carry packages to a house sustainable?
If you have played any large mobile games, then you would not be surprised to see apps downloading massive files during first open.
I have to agree. I've been playing around with this for a while at https://github.com/outages/ (which includes the bchydro-outages mentioned in the original comment).

While it's easy to gather the data, the friction in analyzing it has always pushed the priority of doing so below other datasets I've gathered.
Very impressive - but it would be terrible if they have to move house!
I don't know enough about plan9 to understand what you're getting at there.

There's definitely a LOT of scope for innovation around how the values are compared over time. So far my explorations have been around loading the deltas into SQLite in various ways, see https://simonwillison.net/2021/Dec/7/git-history/
my dad's ancient parallel cables

With a null modem? I had same setup with my college roommate in our apartment. This was mid 90s, so it was Doom 2 and other FPS from that time.

Great memories.
My naive assumption would be that it would be a fairly gradual process. You'd just always have a sliding window of the last N years of memories, with the older ones being progressively more fuzzy and unreliable.
wow, this is one of those things where I've thought of the problem many times and the solution makes me go, oh duh.
Thank you. As a user only, 2FA at works sucks. I get locked out multiple times a day, I have to constantly have my phone on me, and I have had a few days where I can't get in for funky reasons, and now the service provider is forbidden from helping me. I get it might be more secure (I still hear about security breaches every couple months), but it is a horrible experience. I use 2fa personally, but in the b2b space there is seemingly no consideration for the user.
The word "open" has pretty broad implications and only one of those implications is "visible". It's pretty reasonable to expect more from "open source" than just the source being visible.
Robotaxis get the green light to expand to 24/7 service in San Francisco
The overthrowing of the the Supreme Court is done. It's been years in the making https://www.theatlantic.com/ideas/archive/2018/07/how-conser...

and the attacks have been fueled by vast sums of money https://www.propublica.org/article/leonard-leo-scotus-electi...
Aren’t justices groomed for the court decades in advance? Why would you expect inconsistencies when they’re selected in the beginning for their ideology?
That’s a great way to put it. Who are you?
Call of Duty: The Board Game Brings FPS Excitement to Gen Con
> What I never see in any of these articles about justices getting favors or gifts or this and that is any link that influenced the outcome of a case.

Ethical guidelines are established not just to prevent bribery and corruption, but also to prevent the appearance of bribery and corruption. Public faith in institutions, especially ones as powerful and far-reaching as SCOTUS, is important and shouldn't be brushed aside.

As to the rest of your point - it's hard to disprove a negative. There have been justices that have 'evolved' or grown throughout their tenure - Roberts is a current example. The kind of social leverage that providing round trip flights on your private jet to view the unveiling of a portrait of yourself[1] can absolutely be applied to ensure adherence to 'predicted' outcomes of opinions. Kavanaugh has been the swing vote on several recent decisions, and the early leaking of the Dobbs draft opinion strongly implies the application of this kind of social pressure to a Justice like Kavanaugh.

You may think this kind of herd-mentality extreme when it comes to such a vaunted position but the absolute requirement that conservative scotus nominees belong to the Federalist Society is just another example of this sad reality.

[1] https://www.propublica.org/article/clarence-thomas-other-bil...
Brain’s ‘appetite control centre’ different in people who are overweight
Way bigger. The universe is a mere 10^185 Planck volumes.
The article didn't allege that. Probably that wasn't the intent for any case. However such things happen and so we must always be careful about allocations.
"some" quality - naive quantization (that isn't just the usual full->half) absolutely mutilates the model, to the point that picking a smaller model is much better.

gpt-q is also more than just group wise quantization and takes a decent while. Quantizing models without a major performance hit is not possible on the fly.
> I argue the window is moving as to what “open source” means

Only if we let it, and stop shouting about it and finding alternatives every time a company does this.

This isn't a new thing; companies have been trying to play "almost open source" games for decades, and they'll continue playing those games as long as it either works or doesn't have sufficiently large penalties for trying. (Much as companies will continue violating copyleft licenses as long as they either get away with it or the penalties for trying are simply an expected part of the risk.)

The best possible response to a company doing this is that someone forks the code, starts or expands a competitor, and the original company's revenue drops massively as a deterrent.
Is this enough detail?

I work at AWS in Professional Services until tomorrow. I worked with the SA and had meetings with the service team responsible for the AWS Service in question to discuss the API shortcomings that we needed for automations. He contributed to Terraform once the APIs became available from our service team and I wrote the equivalent CloudFormation custom resources for a project (and open sourced on the public AWS Samples GitHub repo after going through the approval process) as part of a larger project.

I found a bug in the underlying service API that affected both my implementation and the Terraform provider my coworker wrote. I posted a sample in our internal Slack channel where the developers of the AWS service hang out and they fixed the API bug relatively quickly.

My coworker, had no problem getting his TF code merged in. I know the code he wrote and I went to the GitHub page before posting this and it is in there.

Later as native CloudFormation support was added, I replaced my custom resources with the native equivalent as part of the larger project I was working on.
Too bad with the bulk of panels and especially their components made with coal energy, panels net out to the same carbon footprint as clean natural gas.
https://environmentalprogress.org/big-news/2023/7/3/solar-pa...
That's my guess. People will increasingly be moving away from the coasts due to flooding and storms and moving north to avoid the heat and other hazards (insects, diseases, etc) that are moving north and spreading.
That feels a bit like criticizing all the c-style programming languages for splitting the C community... Which is an analogy I rather like, as it suggest Vim has become so foundational that its legacy goes beyond the direct users of it. I've certainly found that to be so, as in addition to using vim itself, I also use its key bindings wherever I can.
Retrieve, remove indent, compile, strip

#!/bin/sh
x=https://news.ycombinator.com/item?id
links -dump $x=37083675|sed -n '6,82s/.\{7\}//p' > 079.l
links -dump $x=37083946|sed -n '6,84s/.\{7\}//p' >> 079.l
flex -8Crf 079.l
cc -O3 -std=c89 -W -Wall -pedantic -pipe lex.yy.c -static -o yy079
strip -s yy079
I learned a lot about bankruptcy in a short time! Good bot.

You might want to train it to give a generic answer to off topic questions, e.g. this happened:

Q what is 3+4

A court stated that "[T]he good-faith gateway asks whether the debtorI'm sorry faces, but the the kinds provided text of does problems not that contain information relevant to your justify question about the sum of 3 and Chapter 4.
I believe that US households on average get a higher percent of their energy from electricity than do European households. For a proper comparison we need to compare energy use, not electricity use.

The average US household used 77 million BTU of energy in 2015 [1]. That's 1.94 TOE (tons of oil equivalent).

The EU average in 2014 was 1.3 TOE. It ranged from a little under 0.5 (Malta) to around 2.7 (Luxembourg) [2]. UK and Germany were around 1.4, France around 1.7, Italy around 1.9. Belgium was just under 2.

[1] https://rpsc.energy.gov/energy-data-facts

[2] https://www.enerdata.net/publications/executive-briefing/hou...
I'd rather have proprietary than "almost open source". Both aren't useful, but only one attempts to damage the common understanding of what "Open Source" means.
Did I miss the logical and physical diagrams?

I appreciate your hobby of a well installed home network. Add the diagrams and you will increase your readers' comprehension several fold.
pytype dev here - we're actively working on 3.11 support at the moment, targeting somewhere in Q4.
> if we completely nationalize it we might end up with inadequate commie blocks for everyone.

oh no! the horror of everyone having a home that's ugly on the outside!
Evidence for modified gravity at low acceleration from binary star observation
point is, 5 vs 6. I don't know what's different between our two systems but it's not working for me.
Good idea, I'll work on some
No one is arguing that generative AI will " instantly receive widespread interest and reverence." Although the best of it is already interesting and evocative.

What's being argued is that the capitalists who control the industry of art will force it on consumers. Which is already happening - AI is being used to generate everything from game assets to product photos to movie trailers whether you like it or not.

This is not about culture in the ephemeral sense, and I really wish AI opponents would stop framing their arguments that way, because it does not matter. The "inherent humanity" and "je ne sais quoi" of "true art" speaking to "fundamental human experience" is not relevant to this conversation. 99% of the art people encounter in their lives is not a profound expression of a soul bleeding onto canvas, it's a means created by a corporation of selling a product.

Culture is already machine generated. It already comes out of a box. People will learn to accept AI generated media for the simple reason that corporations will normalize it and create the push to make it trend through influence and social media. They already control your reality.

Yes, people will still value human generated art but when all of it is pushed to the fringe, what does that matter?
This. If you aren't helping test your company's security - who is??
The USB-C iPhone won’t clean up Apple’s Lightning mess
I'm not a he (some other folks used "they" which is fine), but this is otherwise a pretty good interpretation - it absolutely was a dig at C, not elitism.

If you're going to learn a bunch of modern tooling and start a green field project that justifies that complexity, C is generally a poor choice. Learn a modern language.

I use C somewhat regularly, including for kernel stuff, embedded, and legacy code.

Mostly, though, when I use C, it's because I'm doing a small thing that I need to be very fast, and I haven't yet bothered to get comfortable with Rust.
Are you implying that it's impossible for a company to be both profitable and have a good internal culture?

That's a scary thought.
It does not need such letters anymore. The US got a better thing called "sanctions", which apparently allow US Navy to forcefully detain ships on the high seas and sell their stuff on the grounds of them being engaged in "illegal trade", despite the ship having nothing to do with the US.
This doesn't seem that overkill to me other than using fiber optics, although I've done that in the past, unless you're doing exceptionally long runs copper cabling is sufficient even at 10Gbit within a home scenario. Seems like a decent setup.
Obligatory Arrrrgggghhh!
‘’’
It runs on a schedule at 6, 26 and 46 minutes past the hour—I like to offset my cron times like this since I assume that the majority of crons run exactly on the hour, so running not-on-the-hour feels polite.
‘’’

Not sure how much of a difference it makes to the underlying service but I will also do this with my scraping.

Thank you for point that out
Years ago I heard some random guy talking about how he wanted to skydive with a paintball gun and shoot at the ground as he was in free fall and my first thought was, "I bet he could end up getting hit by his own paintballs."

I did that math that evening, and yeah. Absolutely. While paintballs get shot out of a marker at ~190 mph (plus 120 mph terminal velocity for a person), their terminal velocity is closer to 50 mph. So the paintball will rapidly decelerate, and you keep chugging along at over twice its speed.
I find Airbnb types of schemes to be contrary to my personal morality in most cases. I don’t know how people do it. Running an Airbnb also seems to entail a mass of undesirable work. I don’t understand the appeal.
Here you would need a breaker after the UPS before going into the wall because UPS is not considered up to code for breaking leaking current and all outlets must have protection. That's why I ended up not having a central UPS. How is it in USA?
Q2 explosions were actual meshes which I thought was rather unique.
Who and what determines whether a human can consent? It it an age thing consistent across all humans or a developmental thing? If it's a developmental thing, well then how do you feel about those with developmental disorders (mental or physical)? Is it the case that one legally definable day based on age you become inarguably and unambiguously capable of consent?

Obviously, not arguing for CP here, but I'm pointing out that the age of consent is indeed is a (valuable!) will imposed by society on others. I'm bringing CP up because it shows a bound on behavior which exists, and thus there is a line which needs to be drawn.
Apparently, by requesting it from the state, and fulfilling a whole laundry list of requirements. Including exams, background checks, disclosing financial information, adding an alarm system to the car, and more: https://www-bussgeldkatalog-org.translate.goog/taxikonzessio...

This also mentions that a concession cannot be sold, but if an entire taxi business is sold, the concession can be sold with it. It expires after 5 years however.

I still don't understand how what is going on in New York has anything to do with taxis in Germany. Whatever Germany is doing seems to work, and whatever New York is doing apparently not? I don't know, I'm not familiar with NY taxis.