skysight-inc/HackerNews huggingface dataset:
I don't have a big house or fancy car. I don't dine in fancy restaurants or stay in fancy hotels; sometimes I sleep on the ground. I never pay for more than coach. But I do need to go places and see things. Sometimes that's out in the forest or the mountains or the coast. Sometimes it's local. Sometimes it's very distant.

The world! The people! It is amazing! I stand agape at the scope of it all. I'm sorry I will not be able to experience every single bit of it.

But that's just me. I don't intend or expect you to be convinced it is right for you. Likewise, you can't tell me what has or has not enhanced my world view. :)
Yep, sounded like papal bull
Yeah, we can consider `string`, `int` to both be subtypes of `string | int`, and `string & int` to be a subtype of both `string`, `int`.

There are some problems with doing so though, such as inferring the types, but this can be mostly mitigated by giving types a polarity, as Dolan introduced in Algebraic Subtyping[1].

This can be a bit hard to wrap your head around at first because given a function `f : a -> b`, the parameter `a` has negative polarity and return type `b` has positive polarity, but in the function body, the polarities are reversed, and the argument becomes positive, with the result value being negative. Local variables are ambipolar as they can be both introduced and eliminated in the function body.

It becomes even more of a problem when you have types of kind `* -> *` or higher where the type argument can be covariant or contravariant. As far as I'm aware type inference for handling these in combination with algebraic subtyping is still an open problem.

[1]:https://www.cs.tufts.edu/~nr/cs257/archive/stephen-dolan/the...
Yep, that's why I said "helped". Obviously software piracy was a problem in some corners. And we knew the kinds of moves that were being made (not just on this, but on things like surveillance and censorship). Then comes things like Napster, serving up on a silver platter a high-profile pretext -- and increased legitimate need that couldn't be ignored.
> This should be an industry standard for other games as well!

It's only a matter of time before single player games require always-online kernel-level DRM.
I’ve added more details to a sibling comment. I’m not sure I can add much more. I’m not an OPS person, just team lead on the development side.
Its easy to see how people would become used to expect everything to be slow. Python is the most popular programming langauge both in schools and in general.

I can't think of a slower language. Then all your IPC is done through json as if everything was a website hundreds or thousands of miles away instead of something more sensible such as a shared memory.
I would say that in many cases duplications are preferable than a bad abstraction created under the DRY justification.
> A trait is object-safe as long as no trait method returns the implementing type (like T::clone() -> T)

That, and much more: https://doc.rust-lang.org/reference/items/traits.html#object... .
The great thing about all this is, when the pendulum inevitably swings back 15-20 years from now, we’re going to get a 20 lane highways.
I don't think that "leave dangling locks" is obviously a possibility from rollback failing. What's the method to clean up those locks? Rollback harder? Commit? If a transaction is ever aborted and there's a chance that locks specific to the transaction (MVCC locks necessary for transactional semantics) are still held then it would be safest to always issue this mythical "clean up locks" statement after every rollback attempt.

The default final state of a transaction that is not explicitly committed (and even autocommit is still explicit) is that it is aborted, purely because the only way a transaction can be committed is by commiting it vs there are an infinite number of ways and reasons for the transactions to abort. If the rollback is successful or not there is logically no way that the state of the transaction after rollback being invoked is that the transaction is still usable for something.
So this isn't just me. I thought I was getting more impatient, but performance does seem to be degrading as it's no longer considered to be a feature. There is absolutely ZERO reason why a modern operating system or some rudimentary site with 10K users should not be blazing fast.

I have to constantly close my browser on a 12-core Intel Mac MINI just because four open sites get its fan spinning like it's a Hoover Dam turbine.
Building a Chrome Plugin with ChatGPT: A Journey
No mention of the competing MingKwai typewriter of Lin Yutang, the famous popularizer of Chinese culture to the west. Apparently his prototype suffered an embarrassing failure at an investor meeting and couldn’t get off the ground. But the idea was good. Article here: https://thereader.mitpress.mit.edu/the-uncanny-keyboard/
Nuh, elon screwed it up for everybody
About quality, it's weird it doesn't matter how much bandwidth I seem to have (currently with 1Gbps fiber), the streaming keeps the quality varying down without explanation. If I just pirate the highest quality in less than five minutes I can download the best version of a movie at around 20 GB and watch it in the best quality from start to end without any degradation. Why can't the paid streaming services deliver at the same quality as the pirates?
Hermann Grassmann and the nature of abstractions
I find this guy endlessly fascinating to read about and wanted to share some of my thoughts that developed as I learned more about his life and work.
Me too. It makes very general points but it could apply to Twitter, which is IMHO what makes this so ambiguous. The fact that X is actually slower than I think it could be (remember the "light" version that didn't need JS at all?) adds to that ambiguity.
It might be better to look at it as a "strategically timed" car wash. Its so dusty in the summer your windshield can be hard to see out of. We have little humidity in July. Just horrid oven like heat. We open the door and windows to get the air out too. Probably the lack of humidity in June / July allows this to work in a way it would not in non-desert places.

Also after a week or two over 115, 110 feels absolutely "cool" to us here in Phoenix. We really do say "Hey, today the high is only 110! Fall is coming!".
Hosted a few small but profitable web sites on Hostgator since 2005 - cheap and no need to worry about infrastructure beyond hosting files. Only problems have been wordpress sites getting hacked.
I dunno man, after we moved to SSDs I felt like things sped up dramatically.
Cloud offerings are incredible for small teams. Don't even bother trying to do your own thing until you can clearly articulate the savings and factor in the risks and costs.

Odds are you'll never need to move.
> but do you think the people who make content on Youtube deserve to get paid for it

but do you think the people who make content on Youtube get paid for it ?

The vast majority of them, no.

Remember how Youtube came to life ?
Not the OP but air quality monitors that measure particulates at different sizes? It's a pretty standard way of measuring air quality.

There's a map of official California monitors: https://ww2.arb.ca.gov/applications/air-monitoring-sites-int...
>Commentary on one of those net worth sites: the Foo Fighters “have consistently been one of the highest-grossing touring acts in the world for more than two decades.” So yeah.

Data about “net worth”, especially on free clickbait websites, is garbage speculation with no evidence or basis in reality. It’s not like those website makers have any access to someone’s brokerage accounts and list of assets they have title to or the debt they have.
People work on bootstrapping with GCC 4.8 which is still C.
What does my moral system have to do with it? Or yours?

Are you a taxpayer in any of the jurisdictions involved? Do you own any of these boats?

Are you going to fly over there and solve this problem yourself individually?

Near as I can tell, you’re just moralizing about how other people should solve the problems created by the ship owners without doing anything to actually solve the problem, and with no skin in the game.

Same as me, of course. But I’m trying to explain the reasoning of the folks with skin in the game.

It’s easy to be high and mighty when it isn’t your actual problem, and you don’t have to pay for it.
Presumably there's work needed from the app side for this integration, the OS component won't know what the app / user wants captured or not.
I over use the word but the idea that property crimes are merely a matter for the insurance company is the most neoliberal thing ever.

You can imagine an alternative system where if someone steals your cat the government has to pay for that.
> A returned value of 1 seems to say, "I'm here, but you can't use me."
> Strange as it may seem, that's exactly what is going on. A return code of 1
> means we're not allowed to install the print spooler because interrupt 47
> is being used for some other purpose by some other interrupt handler. This
> is a fascinating bit of business to contemplate.

https://archive.org/details/The_Peter_Norton_Programmers_Gui...

To me it sounds like that the service hogging interrupt 47 is saying that it can't be used for print spooling purposes.
My understanding is that replay attacks are possible with a TPM, if the consuming logic is flawed.

IIRC Microsoft's original implementation of signing Primary Refresh Tokens with TPM was flawed in this way.
I am surprised this doesn't get optimized by the compiler. I assume this is necessary in the general case (map could be modified concurrently, causing the bucket for the key to move) but it obviously isn't here.
Just because all languages adopted OOP features.
Another thing I really appreciate about go is how easy it makes cross compilation.
coda.io?
TLDR someone? What book, which rules it broke and why it became a bestseller?
(a) You've misunderstood. It isn't "10 people ever": it's "10 people often". Unless you're requesting an ongoing relationship, the answer is "no".

(b) What is trust? Examine the nature of trust, and you will see why "you can trust FOSS" is a truer statement than "you can trust Microsoft software". (Neither are true, in my opinion, but I have a higher standard for "trust".)
> When an LLM is trained, it essentially compresses the knowledge of the training data corpus into a world model

No, you added an extra 'l'. It's not a world model, it's a word model. LLMs tokenize and correlate objects that are already second-order symbolic representations of empirical reality. They're not producing a model of the world, but rather a model of another model.
> In Florida it is illegal to mention climate change in any state document.

citation needed. Oh, found one:
https://www.miamiherald.com/news/state/florida/article129837...
( https://archive.is/P9k4m )

> DEP officials have been ordered not to use the term “climate change” or “global warming” in any official communications, emails, or reports

I'm not sure that amounts to illegal, but they did at least make it career impairing. Would be interesting to see someone sue for wrongful termination on that basis...
They don't even have to do that. As I understand it, they freely have the option to keep the money paid for them so far and just inform NASA that they are not flying the 6 operational missions, and shut it down.

The reason not to do that is that as stated above, most of the money in the contract is in those operational missions. Even if the contract will lose them money in total, if they think it will cost less to complete starting from right now than what those 6 pay out, it will make economical sense to keep trying.
Oh that's interesting, and probably manifests a bunch of issues related to storage and rollback segments being consumed with the transaction staying open for months.

But that's not the same thing as rollback failing (although it is the invocation of rollback failing) as neither rollback nor commit was fully issued and received, so it makes sense that the transaction would stay open (given that the database doesn't tie transactions to the a connection or a session, and for a two phase commit scenario I'd expect the transaction coordinator to "own" the transaction so it's lifetime isn't necessary tied to a session).
Gratuitously off topic.
You don't see how having perfect / idempotent memory of every single thing you've seen on your computer would be useful? Half my day on my computer revolves around trying to dig up info I've seen previously that I didn't save/categorize properly. Not even having to bother with the categorization bit in the first place would be an amazing productivity improvement.
No offense, but I'd love to see what they've successfully built using LLMs before taking their advice too seriously. The idea that fine-tuning isn't even a consideration (perhaps even something they think is absolutely incorrect if the section titles of the unfinished section is anything to go by) is very strange to me and suggests a pretty narrow perspective IMO
> "mutable state should be localized, tightly scoped, and/or coupled to the code that will be mutating it

Typical enterprise OOP did the opposite of this, coupling state to unrelated code via inheritance. To quote the creator of Erlang, when you want the banana it gives you the whole forest.
Any semantic pedantics that involve discussing ontology is always a fun time. This was a fun read.
Amusingly I’ve gotten more job offers for web software written in assembly than PHP
> towards "mutable state should be localized, tightly scoped,

Ironically, the way to do actual encapsulation / localized-mutable-state is to just use stack variables - the C way.

Fields (what OOP added) are leakier and less localized than stack variables.
The bug being referred to isn't the connection problem, the bug is that in the event of a loss of communication with the client, the transaction isn't fully cleaned up, including the release of held locks, when the transaction enters an abortive state.
blocks linkedin. couldnt be happier
The performance hole is the javascript. Drop back to rendered HTML and some simple CSS rules for display, avoiding redraws and never having a single reflow, use system fonts, and host resources on the same domain as your HTML. You will be amazed at the speed!
Inflation has been 80% since then, but that doesn't mean it's 80% off. $1000 in 2000 is $1800 today, so a discount of 44%. 80% off would imply it's $5000 today, but prices didn't 5x fortunately.

Good joke, though.
Afaik, not Great Britain which is Scotland, Wales and England combined. It was part of the British Empire when it broke away.
Almost all of this should flow from common-sense. I would use what makes sense for your application, and not worry about the rest. It's a toolbox, not a rulebook. The one point that comes more from experience than from common-sense is to always pin your model versions. As a final tip, if despite trying everything, you still don't like the LLM's output, just run it again!

Here is a summary of all points:

1. Focus on Prompting Techniques:

1.1. Start with n-shot prompts to provide examples demonstrating tasks.
1.2. Use Chain-of-Thought (CoT) prompting for complex tasks, making instructions specific.
1.3. Incorporate relevant resources via Retrieval Augmented Generation (RAG).

2. Structure Inputs and Outputs:

2.1. Format inputs using serialization methods like XML, JSON, or Markdown.
2.2. Ensure outputs are structured to integrate seamlessly with downstream systems.

3. Simplify Prompts:

3.1. Break down complex prompts into smaller, focused ones.
3.2. Iterate and evaluate each prompt individually for better performance.

4. Optimize Context Tokens:

4.1. Minimize redundant or irrelevant context in prompts.
4.2. Structure the context clearly to emphasize relationships between parts.

5. Leverage Information Retrieval/RAG:

5.1. Use RAG to provide the LLM with knowledge to improve output.
5.2. Ensure retrieved documents are relevant, dense, and detailed.
5.3. Utilize hybrid search methods combining keyword and embedding-based retrieval.

6. Workflow Optimization:

6.1. Decompose tasks into multi-step workflows for better accuracy.
6.2. Prioritize deterministic execution for reliability and predictability.
6.3. Use caching to save costs and reduce latency.

7. Evaluation and Monitoring:

7.1. Create assertion-based unit tests using real input/output samples.
7.2. Use LLM-as-Judge for pairwise comparisons to evaluate outputs.
7.3. Regularly review LLM inputs and outputs for new patterns or issues.

8. Address Hallucinations and Guardrails:

8.1. Combine prompt engineering with factual inconsistency guardrails.
8.2. Use content moderation APIs and PII detection packages to filter outputs.

9. Operational Practices:

9.1. Regularly check for development-prod data skew.
9.2. Ensure data logging and review input/output samples daily.
9.3. Pin specific model versions to maintain consistency and avoid unexpected changes.

10. Team and Roles:

10.1. Educate and empower all team members to use AI technology.
10.2. Include designers early in the process to improve user experience and reframe user needs.
10.3. Ensure the right progression of roles and hire based on the specific phase of the project.

11. Risk Management:

11.1. Calibrate risk tolerance based on the use case and audience.
11.2. Focus on internal applications first to manage risk and gain confidence before expanding to customer-facing use cases.
strlen.com/treesheets ?

via hackersearch.net
I didn’t know the Mazda has some cork option. I still prefer the i3 wood plank but its a matter of personal tastes I guess.

The i3 is for sure not the best winter car but I didn’t have major issues in the Oslo area. Also thin tires is somewhat better in the snow. At least that’s what they go with in WRC.
Sorry you invested in commercial real estate, but I'm not going back to the office.
I highly recommend extension for mobile browsers "SocialFocus: Hide Distractions" to replace YouTube and Instagram apps. It lets you block features and UX improvements that keep you on the platform, like thumbnails, feed and reels/shorts.

I like to think to combat addictiveness of modern apps, you need to actively make it less convenient. It's hard to completely quit it, but if it's clunky to use you'll naturally use it less.
> Computer sales seldom focus on mhz.

For good reason. Clock speed isnt the sole factor in performance. A PowerPC 970 can clock up to 2 GHz, but it only achieves 8 instructions per cycle (on average!) for arithmetic instructions. Modern mobile CPUs clocked at a fraction of 2 GHz achieve much higher throughput for arithmetic. The branch predictor in the PPC chip, while impressive for its time, is simple in comparison to those of modern processors. A CPU without pre-fetching is going to have much worse latency and throughput than any CPU with it. So on, so forth.

Overall, it's naive at best to focus on clock speed for performance. I used to fixate on it when I was a teenager, but not anymore.
Ah, yes. I didn’t know about the third planned. CM I thought was brilliantly written. Just a joy to follow down each little flashback.
I think this is the first time the Twitter rename has caused me significant confusion with an unrelated article.
Talking about distraction, this is off topic, but I found Carmack's method very useful.

He used to go to a random motel, book for a few days, away from office, and work on a hard topic (usually graphics) non stop.

I took a poor man's option instead. Go to a chain coffee shop where you can buy a cup of coffee and sit in a corner undisturbed (human noises do not concern me). Bring a dumb phone just in case, turn off WiFi, and you are good to go.

I tried this a few weeks ago and went over one and a half chapters of "Crafting Interpreters" in 3 hours. I had to admit it was tough to go beyond that, but you might be able to do more with a healthier body. It was also from 10AM to 1PM so hunger had an impact as well.
There's a serious internal problem Google needs to address if your hiring people down the pipeline only for them to get laid off within a few weeks before even completing their training.
LA has actually built a lot of subway: https://en.wikipedia.org/wiki/Los_Angeles_Metro_Rail# and much more than NYC or Chicago during the same period.
everyone's morality is different, one would hope the government optimizes for something else, like you paying more to slowly kill yourself because it costs the government money when you stop paying taxes early and use your social security net instead of working
There was a decent sized discussion here yesterday about the larger hack [0]

The original article was pulled, strangely with no explanation as to why. and to make it even more confusing, Snowflake’s press release is pretty heavy with corporate speak making it difficult to tell if they’re outright denying it happened or if they’re dangling keys trying to buy themselves time.

it’s worth going to the discussion.

[0] https://news.ycombinator.com/item?id=40534868
When it comes to transit I think the lol make driving sucky so people will support mass transit is inane because of the backlash potential. Much better to get ahead of the hose than always be trying to grab it's ass. You're not going to get boomers and GenX to take the bus. You probably could get younger generations to do that especially if there are options.

Really there should be a high speed rail along the front range and subways in places like Denver. And zoning that prioritizes development that utilized that.
Nor will it ever exist.
> Effect systems have always felt to me like the functional programming community re-inventing dependency injection

Yeah, so, in python, I've been playing around with "structured dependency injection", basically DI + ideas from structured concurrency (i.e., dependency injection bound to well-defined lexical scopes). And whenever I read about effects systems, it definitely feels like they're talking about, if not the same thing, at least something in the same nuclear family of things.
That's true, loading times improved drastically with SSDs. The responsiveness isn't just about the loading times though. E.g. if you're typing text some web sites (thankfully not this one) manage to introduce a measurable delay between a key press and when letters appear. Computers in Win95 era were quite slow to be able to do anything complicated on each key press, so usually there was no extra processing and thus no extra delay. Also, few remember, but CRTs weren't limited to 60 Hz, and I remember using e.g. 100 Hz normally (with lower resolution), and the difference was quite noticeable.
1)

Most of web programs are slow because of ad business.

You need to be evaluated. Are you a robot? Which cohort you fit into? Which ads should it fed you?

They capture every bit of information about you, so you could be tracked more, or to sell your data.

Then they display what you want to see.

Corporations focus not on providing info you would like to see. Therefore X/meta/youtube will not have a good subscription UI / behavior.

The corporations focus on suggestion algorithms so they can spoon feed you with data they want to monetize for advertisers.

2)

Big corporate projects are built by thousands projects, and thousands abstractions tied together by a duct tape. Layers upon layers, built by engineers not happy with outcome, but engineers that met deadline.