skysight-inc/HackerNews huggingface dataset:
Gerrit looks ugly, and the admin story is a nightmare, but it's such a better experience for code reviews (plus you can actually enforce code review in a way Github cannot). I can't stand dealing with Github for code review after spending a few years using Gerrit.
I am in Europe. Please don’t speak for me, thanks.
> There is space for a new runtime, a Python phone. Creating a simple app for iOS or Android is way too complicated.

I disagree. Just hire software devs who are not overwhelmed by languages other than Python, and that's it.

Then you seem to completely miss the point that Python is a programming language, not a mobile SDK. How do you plan to replace the Android SDK with Python? If you just call the same underlying libraries, then you just changed the language, but you did not change at all the complexity of writing an app.
I’ve experienced the same. In fact, I recently tried migrating to Ubuntu. The user experience is a lot better than it once was, but it’s still not great. For instance, if I want to see what the temperature outside is on gnome, I need to install a weather app. There are several, and amongst them, the Ubuntu software installer says they’re not verifiable because a 3rd party developed them. Ok, fine, I just want the one most people are using, because I assume that is the one that is best maintained and has the best features. I’m not sure which one that is. Oh well, install the first one after a brief search to determine which is considered most “native” to gnome and Ubuntu. After installation, I don’t see the weather on my top bar. I open the weather app, look around the settings, but there’s no option to see the weather displayed on the bar. I give up. Later, my machine seems to be stuttering a bit (64 GB RAM, AMD 5970, RTX 3060), so I reboot and it’s back to normal. I try to play a game, and get an error stating that Vulkan isn’t installed (it is). I reboot instead of fiddling with it to find the root cause, and it’s working again.

I don’t have to do this stuff with Windows. It just works. I don’t mean to downplay the efforts Ubuntu developers have gone to in order to get it to its current usability. It’s pretty good, it just has a bit more maturing to do before I can make the permanent jump. A while back, I read that Ubuntu was hiring a product manager for the desktop, or maybe gaming? Anyway, I wish them luck, and hope they’re able to make strides on the experience.
In my sole experience working at a company (startup) that embraced those who understood category theory, those types were not the ones producing any discernible value for the company. They instead attempted to browbeat certain thinking into others at the expense of their focus. I'm a fan of "sane FP," but the pseudo-intellects left a horrible taste in my mouth on the subject of the underlying math that I very likely will never recover from.
Honest question, why not just use… JavaScript? I get that this is scoped to only templating json, but the syntax is already diverging pretty heavily from actual JavaScript, while also trying to pretend to be similar? You’re using operators and a self/this keyword and things, but I can only assume they obey different rules.

Could just be config.js. (Or just generate JSON in your app programmatically, it’s a pretty simple well-defined syntax and there’s already a hash-to-json library for whatever platform you’re using)
Building a collaborative asynchronous work environment
Or Dana Carvey trying to get into the Turtle Club.
What if someone was asking to generate garbage in Blender though?
Can anyone use the ChatGPT Retrieval plugin yet? Or is it limited to whitelisted beta testers?
I've already resolved that my next gaming PC will be a docked Steam Deck. I'm through with Windows.
I would say, show me the data (and with a file system on top). Log-structured file systems don’t overwrite data, so the randomness of writes becomes moot, as it converts writes to become all sequential.
Being Outcome Oriented Is Overrated
The power of choice: the ability to choose how you want to show up in the one life you have.

A contrarian opinion to being outcome driven in a world that professes it, reinstalls it, and deeply values it.
Best doesn’t mean good, just that there was nothing better.
I wish manufacturers exposed a way to manually provision the drive as all SLC / MLC / TLC, a small SLC cache drive would be great for several use cases.
Why does the site want my location to read a blog post?

Ew lol
I do, I don't let it get to this point. But once it is, there's no recourse but to let them find their ikigai.
given that Svelte aims to be mainly pre-processed, how hard is it to combine it with more real-time solutions like Vue for instance? (you mention that you migrated from Vue2)

is it possible to use Svelte more for client-only or client-mainly views, and use other solutions for stuff that communicates more with the back-end? or do they get into each other's way?
There is a subtle difference between "can't be done" or "I'll spend an afternoon digging through documentations, code & examples to implement this".

Quick obvious example - use views for data retrieval (that may contain more fields than the actual model) and tables for data insertion.
Well, everyone has their own set of principles. For me, I find it great that the Mac ecosystem still has this whole cottage industry scene, with a lot of small companies making money selling their products, instead of focusing on selling their companies.
shameless plug: https://github.com/kubecfg/kubecfg
Oh, thanks. I thought somebody got a fine-tuning version of GPT-4. However, the author used the exact same prompts to demonstrate the ability of his interface, so I don't think it says much about its fitness for the purpose.
It's unclear what kind of political message we can take from this one person's life and death story. After all, the title says he died from loneliness, but I'm not aware of any political party that has a proposal to directly address this real issue.

Of course there are various political policies that could have improved Mike's life in several ways, but whether they would have changed the ultimate outcome, who knows. "He had stopped trying to meet a woman by his late thirties." I'm not saying there weren't any economic aspects to that, but the author doesn't explain exactly how his partisan political analysis is relevant to that, how either party would have or could have helped. There's no obvious, conclusive logical inference from Democrats forgetting about the working class — which may be true! — to Mike's loneliness.
Awesome that you shipped.

I had trouble reading the retro font of the text on my laptop display.

Good luck.
> This is brilliant! Nice job!

Thanks!

> Why didn't you do the same for OctoSQL?

I started with OctoSQL! But the SQL dialect is a bit non-standard, while DuckDB uses the popular postgres dialect. This came up esp. with more complicated queries, where GPT was generating queries that failed with OctoSQL, while it manages to do well with the DuckDB dialect (even though it sometimes needs 2-3 attempts, but those are automatic).

> Are you considering DuckDB for your compute engine for OctoSQL?

I've been exploring that. The main disadvantage is that OctoSQL has support for temporal features and live-updating queries (something like reactive materialized views, in a sense), which would not be possible to accomplish with DuckDB.

Moreover, if you're already using DuckDB for the execution engine, there's not much reason (other than the plugin system requiring you to use C++) to not use it end2end. I think in that case a more duckdb-native project would make sense to just fill in the niche of simpler plugin authoring for DuckDB. Something like Steampipe for Postgres foreign data wrappers, but for DuckDB.

For OctoSQL I'm experimenting with WASM now as a SQL compilation target, as that could be designed to support the features I've mentioned above.
“Manna” by Marshall Brain: https://en.m.wikipedia.org/wiki/Manna_(novel)

Written in 2003 (!)

Describes a very realistic scenario of what can start happening in the near future, as people look for ways GPT-4 can save them money.
Show HN: Live code sharing platform with React and Dyte
It depends on how much cooperation the EU would extend (assume zero). For example paying other companies in euros requires transactions with the central bank. If the EU don't want you to leave they can just say, well, the moment you declare you're out we cut you off from the banking system and you can't settle your government debts anymore because you can't make euro transactions. For example.
Agreed on all points about self-signed key server authentication being clunky, but my point is that SSH is doing client authentication better than HTTPS, which is orthogonal to it doing server authentication worse.

I think an ideal solution would offer some hybrid of TOFU and PKI for server authentication, and self-signed keys for client authentication (like FIDO and WebAuthN, for example), but at the protocol level.

HTTPS really falls short here and means that everybody has to implement something custom on top of it, and too often that is a login form driving OAuth.
Related: https://m.youtube.com/watch?v=jN7mSXMruEo
The illustrated guide to a Ph.D. - https://matt.might.net/articles/phd-school-in-pictures/

> Every fall, I explain to a fresh batch of Ph.D. students what a Ph.D. is.

> It's hard to describe it in words.

> So, I use pictures.
Singapore Taiwan Japan South Korea
I couldn’t get through the article because the website crashed twice when I tried to get rid of one of several modular ad windows covering the article’s content. The modern internet is a dumpster fire, even in articles covering the ways in which the modern internet is a dumpster fire.
No, you didn't read it right. I was referring to the OP that justs wants to code without giving estimates or any kind of confinement to their exploratory software engineering. I don't assign blame. I don't have sacrificial lambs. This isn't a meat factory.
If the makeup of the companies was roughly 50/50, then 6% is not likely to be particularly noteworthy. But we know that the makeup isn't anywhere near that, so it being close to 50% IS noteworthy.

You would expect the layoff ratio to fairly closely match the overall ratio of the positions eliminated. This might be explained by the HR bit, but it might also not be - only about a quarter of the positions eliminated were in HR, and while we know HR tends to skew female where tech tends to skew male, it's not 100% in either case.

There's not enough information available in the article itself to really come to a strong conclusion here, but it's not nearly as simple as "Well basically half of people on the planet are women so half of the people being let go being women makes sense"
It wasn't a confidence vote, was it?
This is the point where I would pay a bit more for the DRAM cache.
Anticheat makes a lot of multi-player games not work on Linux.

Can't play Rust on a steam deck.
Perhaps the concepts of vector embedding and the attention mechanism could be explained. Also you could use some prompts for LLM to generate new content for your intended audience, mostly to classify them, so that your reader could copy your prompt and ask for further clarification.

Example: In chapter 5 here is a prompt that resembles the content of this chapter, to solve some of the exercises or clarify some points, your prompt would be along the lines ...

Just some ideas.
Great name! They used to say that “naming things is the hardest problem in computer science,” but now that we’ve settled on the Llamas sketch and other woolen domesticated quadrupeds for puns… I believe we have a closed-form solution.

I call “The Larch” for my next project.
> If you render the view without any cache with 10 things then you'd perform 20 queries but after the cache is warm you'd perform 0 queries. If item 5's Y gets updated then you only need to bust the cache for item 5 and query only item 5's Y association. Performing a preloaded query to get all X 10 things with their Y associated things could be an expensive query.

The technique you describe makes sense, but how often is that preload query actually that expensive? Usually if I see an expensive query in Rails, it's because either 1) the indexes are missing for the joins or 2) you're instantiating extra full-blown objects when only some tiny amount of data of a primitive type is required.

This kind of stuff is a good opportunity to just write the query directly that gets the data you really do need, rather than relying on the ORM and its overhead.

If the problem is "maybe the user will want to see this, maybe they won't" then in many cases the easiest win is to lazy load the more detailed view with a new query that is only fired on some user interaction.
I note the comparison to the common PIR motion sensors which are affordable but not that good.
That indicates that there is no strong preference of English over German, but not that the people buying German products aren't largely English-speaking. If only 20% of German speakers don't speak English, then a store can expect a 25% boost in sales by offering a German version. And assuming German-English bilinguals are indifferent to the language, there's then little reason to offer the English product anymore. It's a winner-takes-all situation.

(FWIW, first-time university students have consistently made up >50% of Germans in their respective age cohort for the past decade, so most ≈20–30 year-olds are in that university-educated English-speaking group.) https://www.destatis.de/DE/Themen/Gesellschaft-Umwelt/Bildun...
Do you mean that Swift/Kotlin are the problem? I completely disagree, those are amazing languages.

The "problem" that all those technologies are trying to solve is that people want to be productive without learning the tools.
I think he's referring to the fact that as a function, calls to malloc result in a new stack frame.
> being a politician should be a curse that the dedicated bear for the good of humanity, not cushy job and badge of pride

Nobody I know would run for state office. They pay poorly. You have to work in the state capitol, which in most state's is awful. You lose your privacy. And for what, a marginal legislative role?

The historic benefit was pride. But with nihilism in vogue and trust in government low, that reward is non-existent. Our intelligent and ambitious don't aim for public office. (It even feels trite to call it public service.) That's a problem.
From the conclusion of the OP:

> I could do more experiments and try to definitively determine what's happening, bottom line, don't use $RANDOM, even for unimportant random numbers.
Which browsers don't support HTTP2?
I don't know why I'm even responding to you -- but, the decision to isolate ourselves in pursuit of status, career obsession, and a life full of materialism -- is completely our own doing. And in other Capitalistic societies, like Mexico, the tight-knit, community-oriented culture is still alive and well, as is the case in many other countries that are also capitalistic. Your ideology has blinded you.
> With some select authorities being exempt from this due to national security.

I fear your carveout would quickly become an "Inner Party" situation, with those with real power declaring themselves exempt due to "national security" reasons. Imagine then that anyone in any position of authority but not real power would be subject to the surveillance as an "Outer Party" member.

I get that the intent is to show the people in charge the negative consequences of such policies, but I don't think that's the worst that could come of this.
Ah, I've responded there already, but posting it here for future reference: https://news.ycombinator.com/item?id=35327014
GALT 2.0 would be more appropriate
Are there downtime safe GitHub alternatives?
The science of archeology is a destructive one. Temples and tombs escavated in the late 1800’s could have largely benefitted from the rigour and advances made in modern archeology. How much information and narrative are lost to time due to their archeological mistakes?

The same applies here. Experimenting with chemistry at all runs the risk of destroying the information forever. During these tests, the artifact must be preserved. If you destroy the artifact but are able to read it, did you really come out ahead?
I’d like to chime in on the all-fields-are-public debate.

If I’m a library author and release something which exports a struct… I can never change any of the struct’s internal data structures? I can never rename a field. Or delete a field. Or change what should be an internal field’s type. And that makes non-breaking changes as a library author much more challenging, which may be a very serious problem for Zig, especially if the stdlib isn’t Go-style “batteries included”. I would seemingly need to version the structs to work around this: ArrayListV1, ArrayListV2…

Part of the beauty of great code is in its API design. And forcing my libs to document:

/// Don’t touch this field.

Without any way for me to hide the field itself from users or prevent them from using it is very strange. Users can’t intuit what to use and not use without studying documentation, which a well-thought out API might improve.

Go has been extremely successful in part due to its nicely thought out APIs in the stdlib. They have certain fields which anyone would care to use, and all the rest are—for your purpose as a user—not there. And this same design has made refactors of libraries/packages (without breaking changes for users) very easy.
Since 2000, white working-class Americans between the ages of 45 and 54 have been one of the only demographics in the world that has seen its life expectancy fall. These deaths are mostly suicides. Some are officially blamed on alcoholism and addiction, but that’s just suicide in slow motion.

As an recovered addict/alcoholic I've heard every sad story in the book. If you find yourself similarly trapped in the personal drama of substance use disorder, know that in your neighborhood there is likely a 12 step meeting with free coffee and cookies where people will greet you and even get you to have a laugh at your common predicament. As my buddy Jimmy B used to tell me "you're a special case of the same old thing". Don't listen to the do gooders who feel sorry for you because that sh*t is deadly.
Ukraine does not publish any official numbers of Ukrainian losses, only confirmed numbers of Russian losses.
>
Another reason why it aint gonna happen is that it's what the majority of Germans voted for.

In 2005, Angela Merkel (CDU) gave the campaign promise to simplify the taxation system immensely (using a system that the renowned export Paul Kirchhof (https://de.wikipedia.org/wiki/Paul_Kirchhof) developed). Independently, at the same time, Friedrich Merz, Merkel's "frenemy" at the CDU, independently made his own proposals to strongly simplify the taxation system ("Bierdeckelsteuer" [beer coaster tax]; meaning that for a typical citizen the whole tax declaration should fit on a beer coaster).

I know a lot of young people who voted for the CDU in the 2005 election exactly because of the ideas of Paul Kirchhof to simplify the taxation system despite otherwise not being attracted to the election goals of the CDU.

In 2005, the CDU became the strongest party in the German Federal Parliament. But Angela Merkel and the CDU broke this campaign promise. In other words: these politicians are nothing but mere fraudsters who deserve to rot in the jail for breaking such a campaign promise.

Thus: The problem is not that the Germans did not vote for this, but the problem is that the politicians are fraudsters breaking election promises and thus belong in jail instead of the parliament.
>> many-gigabyte streams of sequential writes?

More often than many would expect. Downloading/installing games can do it. No doubt many complaints to Valve about slow servers are likely the fault of slow consumer SSDs not able to keep pace with modern download speeds. And people with the smaller/slower SSDs are more likely to be installing/removing games more often. It's a strange strange world where local storage might bottleneck a residential internet connection.
I'll take a Moscow Mule please.
It is read-online but its read systems are relatively complex and work at scale.
There is a bit of a difference between an employee who accepts a salaried position and the benefits and responsibilities thereof, and asking or demanding an hourly employee work off the clock for free.
> I'd propose writing a query more appropriate for whatever part of the code contains the iteration.

This is an identical solution to adding “select_related()” in the right places, and thus we loop back to the start of our thread.
paraphrasing

>It's ok for windows to push sponsored content because Tom's hardware is sponsored content, but its not ok to push bad sponsored content.

I dont understand how you could arrive at this claim. Surely the only reasonable diagnosis of the problem is that Windows is pushing content at all.
I'm late, but the model can remember 4000 tokens, which according to openai is about 3000 words
> now, all meaningful negotiation happens behinds closed doors

This is fundamental to loss aversion and compromise. There was never a "before." Open "negotiations" reward posturing, not compromise.
It is still a relatively complex multi-machine RO operation. It isn't like serving a static site.
Simple introduction to Binary Search in Rust.
How old are those cheap SSDs? When using older (as in production date, not usage) ones I'd be way more concerned about their reliability than speed, especially when sustained writing is involved.
Wow. This equals communism to Stalinism, then it mentions abortions as deaths. There I have stopped reading. All the while calling onto "russians" as a group of people that could be held responsible for the decisions of their oppressive governments/ dictatorships.
I don't know you but I'd say no one you know is a committed public steward. However plenty of those exist outside of your bubble.
> And to top it off I just got a 256GB M2 Macbook air for travelling which has horribly crippled IO perf compared to the other models, which I didn't realise until after I bought it.

When buying anything from Apple (be it an iPhone or a Macbook), always need to make sure it's at least one notch above minimum storage tier.

For example, if the lowest tier is 512 GB, should go for 1 TB storage.

This helps both performance and the longevity.
Man. I get that it's a sad story, but I got a few paragraphs into this and the "heartstrings pulling" the article was doing made me stop reading.

It feels like it's trying to make me sad and empathetic, and that makes me feel it's manipulative.
About time! This one has been going on for years now and they’ve been flagrantly in violation of the law.

The only way I got them to stop harassing me was to finally pick up and waste their time. They asked me for my mileage and I put them on hold for 20 minutes while I “walked down to check my odometer” and then I gave them an impossibly high mileage for the model year I made up earlier so they got the picture that I was on to them.

Reporting then to the FCC multiple times achieved nothing, until now maybe.
I can attest that getting one of those cheapo SSD-s for a gaming PC and then downloading games on Steam over a good connection (500 Mbit/s) can overwhelm the SSD and cause the whole system to be unusably slow, with similar multi-second latency numbers being shown in Task Manager on Windows 10. It’s a relatively common situation among the gaming community, I’d say.
Misdiagnosing SVB