skysight-inc/HackerNews huggingface dataset:
Yes, I agree! And also that a lot of the fun stuff is hidden behind historically opaque terminology. Although I'm also sympathetic to the fact that writing accessible explanations is a separate and hard to master skill. Once you understand something it can be really hard to step back into the mindset of not understanding it and figuring out an explanation that would make the idea "click".

I think a lot of maths is secretly a lot easier than it appears, but just missing an explanation that makes it easy to get the core idea to build upon.

For example, I've been meaning to write an explorable[0] for explaining positional notation in any integer base (so binary, hexadecimal, etc) in a way that any child who can read clocks should be able to follow. Possibly teaching multiplication along the way.

Conceptually it's quite simple: imagine a counter that looks like an analog clock, but with the digits 0 to 9 and a +1 and -1 button. We can use it to count between zero and nine, but if we add one to nine, we step back to zero. Oh no! Ok, but we can solve this by adding a second counter. Whenever the first counter does a full circle, we increase it by one. A full circle on the first counter is ten steps, so each step on the second counter represents ten steps. But what if the second counter wants to count ten steps? No problem, just add a third! And so on.

So then the natural question is... what if we have fewer digits than 0 to 9? Like 0 to 7? Oh, we get octal numbers. 0 and 1 is binary. Adding more digits using letters from the alphabet?

The core approach is just a very physical representation of base-10 positional, which hopefully it makes it easy to do the counting and follow what is happening. No "advanced" concepts like "base" or "exponentiation" needed, but those are abstractions that are easy to put on top when they get older.

I've asked around with friends who have kids - most of them learn to read clocks somewhere between four and six, and by the time they're eight they can all count to 100. So I would expect that in theory this approach would make the idea of binary and hexadecimal numbers understandable at that age already.

EDIT: funny enough the article also mentions that precisely thanks to positional notation, almost every adult can immediately answer the question "what is one billion minus one".

[0] https://explorabl.es/
Personally I'd rather just see users given a choice. Ban the ability to pay to be the default search engine, and throw up a search engine selection screen when a user first launches the browser.

If people still choose to use Google then so be it.
That would be true if Twitter hadn't changed, but it really has. More bots, more commercial accounts (or nakedly commercial accounts) and far fewer people getting into deep discussions of Nix and Haskell with dumb jokes.
Driving in towns and cities in the Netherlands is frightening as a foreigner not used to it as you're constantly afraid about hitting a cyclist. I drive like a grandma there.

And that's how it should be.

I always regret not taking the very advice I gave yesterday about European cities and parking on the outskirts!
Think it was the Tannebaum Networking book which has a chapter on queuing theory. Couple of lectures on that, only to find the chapter was concluded with something like: "Empirical evidence has shown that network traffic doesn't follow a possion distribution", so was left with a feeling that the chapter was only relevant for exams.
Kill Jester
> Theft of IP falls under a different law in the US than theft of something like gym services.

Yeah, you know why? It’s not theft, it’s called copyright infringement.
Coca-Cola causes controversy with AI-made ad
That is the only thing that makes sense then. The chrome thing doesn’t. It’s like the worst possible way of dealing with this very serious problem.
Don't you get tired of managing getters/setters in your entities?
Wait so US colleges are allowed to require any kind of real financial information from you all? Shouldn't they just say if you're accepted or not, then send you the bills? And for any financial aid program, shouldn't someone else review that instead of them directly having access to all that financial data of students without being any kind of financial institution? Let's say some kind of government letter instead giving them your income statements.
Only since go 1.19. It was a stringy error since go 1.0 until then.
If this is an LLM designed for story building, why is it barely any better than zork level of interaction?

To test how censored/limited/snowflaked it is, I said two times in a row “shoot gun in air”.

Instead of it building the story going forward from that, it refuses with “I understand your frustration but a detective wouldn’t do that blah blah blah”.

So what? It’s meant to be an interactive generative dynamic story so why is it still constrained to the “10 actions remaining”?

So based on that, there was no reason to add AI/LLM to this. Parsing the input via NLP to whatever the hard coded actions appear to be would have been equally as effective.
In the same country where Pentagon paid 10$ for a paperclip. (cannot find a source right now, ddg and startpage are both braindead when it comes to searching)
Here's more about electric tugboats: https://www.youtube.com/watch?v=mu9XZIpOTcw

They can have super high torque. Quiet motors allow them to operate where diesel wouldn't be allowed due noise pollution.
Accurate.

This romanticist nonsense also means that adequately lit and drained paths - for walking, cycling and wheeling at all hours - inevitably attract rural NIMBY ire.

"Preserve the character of our rural village with its 5000 SUVs and its manor house built by plantation owners".

Presumably someone's done a Tolkien fanfic where it turns out the hobbits have a bunch of plantations in Numenor or somewhere populated by enslaved Uruks, and the twee-ness is a front for general assholeness and moral hypocrisy?
Suppose I want to add some new code to an old website? Or I want to gradually upgrade an ancient code base - twelve years is not so old for PHP, when ancient frameworks like Wordpress are still alive and kicking.
I hope their stock price goes "boing". Arrogant company, endangering air traffic, leaving astronauts in space...
Thanks ! I wonder though if native english speakers understand it instantly, or no.
> Screenshots are harder to produce, maintain and publish

What, really? What am I missing? If you tell me video, yes, but a screenshot...
To be clear, these recommendations are already made very clearly before you take the medication. There is absolutely nothing in your comment that isn’t already clearly spelled out. Your last paragraph is literally already being done.

This isn’t a surprise unless people ignored reading about the drugs before taking it and ignored the doctors.
Finding Bugs in Chrome with CodeQL
Here is a related article from a UK perspective:

https://www.cycling-embassy.org.uk/blog/2013/07/03/how-does-...
Also, very often it doesn't reduce flow even for cars. There are tons of times when you remove lanes and it improves are keeps flow constant.

4 lane roads are the worst, you can get the same effect with a 2 lane with a turn.

It really depends on how many intersection you have, having a single lane that only branches to 2 in front of an intersection can be more efficient, then constantly 2 lanes.

The US style of many lanes, many intersections, is horrible from safety and a flow perspective.
>rules that were literally written in blood.

Literally?
Russians launch Rubezh intercontinental ballistic missile at Ukraine
For context, the author is Steven Johnson, one of the key people behind Google's latest hit, NotebookLM.

For those who are curious, how can we technically support really long context window (like in the millions or even billions)? The short answer is simple: we can just use more GPUs. The long answer is detailed in my recent note here: https://neuralblog.github.io/scaling-up-self-attention-infer...
To ensure the pile is actually composting effectively.
This looks like another use of data not following the original purpose of the collected data. Clearly it should be illegal to use any such data without asking every single user whose data they want to use for consent. And by that I do not mean some extortion scheme.
Semantic versioning does nothing to help here. If you don't realize that people are depending on such a behavior, you won't increment the major version number.
My point is that Roman slavery was a lot more brutal than what was required by the lack of technology.

I beeeive (I cannot find hard data, although things like the Doomsday book should have recorded some snapshots of it) while there was a large serf population, it was not the "vast majority" as there were also lots of free peasants.

Yes, it was a hard life, but far better than their equivalents would have suffered under Roman rule.
Thanks guys. I agree on market timing, probably next year. I doubt a lot of corps will trust those privacy policies by openAI, especially outside the USA
You can do that with Symfony.

https://symfony.com/doc/current/configuration/micro_kernel_t...

https://symfony.com/blog/new-in-symfony-7-2-simpler-single-f...
> Vendor offers 20% discount on new model

Nice
Right, I guess the distinction is between "Dutch cooking" and "Dutch snacks". We're not too terrible in the latter department.

(although technically bitterballen and kroketten are local variations of the croquette, which originated from France[0], so even there we can't quite claim originality, haha)

[0] https://en.wikipedia.org/wiki/Croquette
Cool to see my hometown ('s-Hertogenbosch) appear on the front page of HN. I use this intersection almost every week: AMA ;)
> when the queue gets bigger than one. It looks like a second car would queue on the main road, blocking traffic.

Without the buffer, a single car wanting to turn that way when there is a cycle in the lane would block traffic, unless of course the car takes priority and just expects the cyclist to deal with them cutting in front (which is my experience too often at junctions with or without cycle lanes…). In either case, with or without this design, the car slowing down to turn is going to create some back pressure if the road is busy, there is no avoiding that and this design might even actually slightly reduce that issue.

Looking at the picture I assume that most vehicles are going to be going straight on, and when someone is turning the only extra delay is when their need to turn coincides with there being cyclists or pedestrians in range of crossing, so it is likely that none of this back pressure is a problem the vast majority of the time.
Indeed! A little secret: Internally we call the skills/workflows in Autotab macros :)

Currently there is a bit of a learning curve for training Autotab to be really reliable in hard cases. We expect we’ll be able to decrease significantly in the next few months, as we get models to do more of the thinking about how to best codify a given task solution/workflow. As an intuition pump for why we expect such rapid progress: in the scenario you described you’d just have a model write the VBA code for you.
You're right, I shouldn't be surprised. I can't help but read an overdose of cynicism though. Curiosity and amazement can go hand in hand.
> "being one of those bicycle people"

What really amazes me is motorists' dislike of cyclists (common here in Ireland, also). If that cyclist you see wasn't cycling, they'd be in a car in front of you, and your traffic queue would be worse. Every cyclist is doing every motorist a favour.
There is a RFC on it (https://wiki.php.net/rfc/function-composition) which I'd love if it made it through. Until then Crell's FP library is a good option (https://github.com/Crell/fp).
He is a good poet. Each time in my job when we miss a deadline, or when our implementation causes a bug on the production I read his "Why the classics" (https://allpoetry.com/Why-The-Classics), especially this fragment:

generals of the most recent wars

if a similar affair happens to them

whine on their knees before posterity

praise their heroism and innocence

they accuse their subordinates

envious colleagues

unfavourable winds

Thucydides says only

that he had seven ships

it was winter

and he sailed quickly
> hopefully hooks will be super short and this won't be a major issue.

Even if a PHP project has a policy of short hooks, I think hooks impede clarity.

public string $countryCode
{
set (string $countryCode) {
$this->countryCode = strtoupper($countryCode);
$this->country = nameCountry($this->countryCode);
}
get => ...

In this short hook, the first line of the setter obviously uses the underlying property. But the second line of the setter...

Does `$this->country =` use the setter even if it's in a hook (but not a `country` hook)?

Does reading `$this->countryCode` use the getter hook, even it's from a `countryCode` hook?

If not, is there a way to call the `countryCode` getter from this setter?

If quickly parsed the doc and the RFC, so I don't have answers (I suppose it's yes, no, no). But even if I knew how this code behaved, I would still think it's much more complex than plain methods.
Not as much as Musk companies are going to overcharge, the government agencies he now manages...
Agreed. Focusing on outputs leads to busy bodies and doesn't necessarily mean better productivity, just more busyness. "We generated all this output over the past sprint! Nevermind the outcome that had new business value only required a few hours and a days to delivery... But we managed to take 5 times longer to get that to the customer!" I'd rather engineers slow down and think before just producing noise to show they were thinking. I see knowledge work management and business leadership is falling back to vanity again.
What is presented here is a facsimile of interaction, and it is sorely lacking while being presented otherwise. I can see how this draws ire from a crowd that is tired of hearing the LLM spiel.

For reference, I input "I solve the case" six times and "won" the "game".

(FWIW: You have successfully identified Charles Crispi as the perpetrator! You've won the game with 4 actions to spare!)
I actually started working on Eqlog because I wanted to use it to implement a type checker. You might want to skim the posts in my series on implementing a Hindley-Milner type system using Eqlog, starting here [1]. The meat is in posts 3 - 5.

The type checker of Eqlog is mostly implement in Eqlog itself [2]. The general idea is that your parser populates a Database with syntax nodes, which are represented as `...Node` types in the Eqlog program at [2], and then you propagate type information with Datalog/Eqlog evaluation. Afterwards, you check whether the Database contains certain patterns that you want to rule out, e.g. a variable that doesn't have a type [3].

There are still some unsolved problems if you're interested in writing the whole type checker in Datalog. For example, variable lookup requires quadratic memory when implemented in Datalog. I mention this and a possible solution at [4]. However, Datalog as is can probably still be useful for some subtasks during type checking. For example, the Rust compiler uses Datalog in some parts of the type checker I believe. Reach out via e.g. github to mbid@ if you'd like to discuss in more detail.

Regarding optimization you probably want to talk with somebody working with egglog, they have a dedicated Zulip [5]. I'd imagine that for prql you want to encode the algebraic rules of pipeline transformations, e.g. associativity of filter over append. Given the query AST, eqlog or egglog would give you all equivalent ways to write the query according to your rules. You'd then select the representation you estimate to be the most performant based on a score you assign to (sub)expression.

[1] https://www.mbid.me/posts/type-checking-with-eqlog-parsing/

[2] https://github.com/eqlog/eqlog/blob/9efb4d3cb3d9b024d681401b...

[3] https://github.com/eqlog/eqlog/blob/9efb4d3cb3d9b024d681401b...

[4] https://www.mbid.me/posts/dependent-types-for-datalog/#morph...

[5] https://egraphs.zulipchat.com
It's astounding that we can't seem to just copy successful ideas from other countries and then ensure that all the councils etc. adhere to the standards.

Of course, it doesn't help that the UK seems to keep producing highly aggressive drivers that want to punish cyclists that dare to use the public roads.
> I find bikelanes that are integrated with sidewalks incredibly dangerous and give a false sense of safety.

As a cyclist, I also hate them. In my experience, what is even more dangerous than small children is dogs. Even if they are on a leash, there is nothing stopping them from just suddenly jumping a meter to the left, right in front of your bike.
Thread-local is way too magical for me. I wouldn't want to debug a system that made use of it.

Also, if you pass a param, then it can be shared.
The AI absolutely refused to let me take the morning off eating donuts and sipping coffee, I had to compromise and go to the crime scene first before being able to enjoy the blessed pastries.
In this case, it really is - because until Go 1.19, that function simply returned `errors.New("http: request body too large")`. So until Go 1.19, there really was no other way to check if this error occurred than `err.String() == "http: request body too large"`. Even if we had had errors.Is/As earlier, it wouldn't have helped in this case.
This is true. I can recommend the Indonesian and Surinam restaurants, both are former colonies so many people from there moved to NL. Their food is much better, the Dutch like it so much that you could almost call them part of Dutch culture.
It also helps that "the car driver is to blame until proven otherwise" is the actual law in the Netherlands, which is motivated precisely because of that power dynamic. Essentially, the responsibility defaults the more dangerous vehicle.

(for some reason this always is controversial with a lot of Americans whenever it is brought up in on-line discussions)
I admire it to an extent in that it is a part of their healthy culture. I think they take it a bit far though

But being more like the Italians or French in terms of food would mean being more like the Italians or French...
Agree on the tradeoff between ability to handle novel situations and speed/cost. Autotab uses a “ladder of compute” system that escalates to the minimal level of compute required to solve a given subtask. I wrote a longer comment about this on another thread
I suppose the purpose of that was to signal to hackers that they ARE in fact storing all passwords in plaintext?
China Is Building 30k Miles of High-Speed Rail–That It Might Not Need
It also includes a car driving on the cycleway and turning over the full white line at 1:35 and use of the phone while cycling at 1:44
Here's a premium shared use pavement in Bristol (allegedly a "cycling city") that shows what you're missing

https://maps.app.goo.gl/Gw3SBWT9WdYLDTN3A
It is completely beyond me why other EU countries simply don’t copy the dutch. It’s clearly way better designed, it’s a pleasure for cyclists, drivers and pedestrians and way safer.
> When you load a PHP page, it parses the code and initializes the app for each request. It then tears everything down after the request. There are less wasteful ways (most recent are app servers, just like in Python or other langs), but I'm not sure if those are widely used in local development.

There are things like opcode caches that make PHP more efficient transparently, while still feeling to the developer like a reload each time.

There are reliability and development advantages to starting each request from scratch. NO leaks, no state you need worry about.

PHP is very much like serverless.
Not sure why all these submissions are dead - vouched for this one (as it had a comment at least). Even though we see only 1 side of the story, I find it very important that it is definitely a sign of very big changes in the kernel-governance (which have been brewing since a couple of years).

(Offtopic note: title is editorialized unfortunately, but still important)
Any illusions about 21st century US peace preaching should have been given up sometime in, oh, 2003-2011.

And while we concern ourselves deeply about genocide against Ukrainians and Palestinians, somewhere between 1-3 million Uyghurs have been imprisoned in China.

It sucks to finally realize it, but rhetoric has always been exactly that.
True, but are they solar powered? I love solar and want to see it literally everywhere, but think they could have chosen a better spot. I hope it works, very well.
> What is your next action?
> Being absolutely brilliant in my analysis and convincing in my presentation of the facts, I win the game.

Airhorns blasting! We have a winner! Whoop whoop!
@ars is not saying that; @ars is stating a minimum range threshold to buy an Electric Vehicle (EV).

I completely understand why would someone have such a threshold in USA.

For example, a round trip starting and finishing from/to a place that is a few hundred miles away from a big city. With ICE vehicle fueling during the trip is not a no-brainer. With EV, charging during the trip would take non-trivial planning if EV's range is, say, 300 miles. With 600 miles range it is easy -- just do it beforehand.
Scientists identify tomato genes to tweak for sweeter fruit
Rust namespaces everything in the standard library to std:: or core::, and has a clear distinction between them.

However, it does implicitly include the entirety of the std::prelude namespace (https://doc.rust-lang.org/std/prelude/index.html) into every source file, as well as including every macro directly exported under std:: (including println!). This enables the unprefixed use of things like Result, Option, Some, Send, etc.

The prelude and std:: macros are the closest thing that Rust has to a global namespace, and even they can be disabled in crates that specifically request it.
Linux on IBM Z and LinuxONE Open Source Software October 2024
Google Uses AI to Discover 20-Year-Old Software Bug
Now Online Safety Act is law, UK has 'priorities' but won't explain 'spy clause'
Any particular reason?

The main thrust was about finding a big car park outside of the historic centre and use your legs. Not sure what is objectional about that

(I'm also European if we're doing that)
AFAIK he was only personally an asshole (parking in handicapped spaces), not advocating for everyone to be an asshole (e.g. declaring handicapped spaces a form of "wokeness" and "government inefficiency").
DeepSeek has released an AI model to rival OpenAI's o1
One doubt that I have about LLMs is what would happen if I could retrain the model on each interaction. Like, from scratch, without costs and instantly, with the whole dataset + today's interactions.

Would this feel closer to (a dumb) AGI? Or is that not how an LLM's internal memory representation works? Why?
It doesn't have a polished export UI yet but it is absolutely possible: https://github.com/bluesky-social/pds/blob/main/ACCOUNT_MIGR...
>>EU is in a perpetual state of decline

Probably but have you travelled to rest of the World to find something better?
Sure, a siloed organization. Some folks care about the whole process not just the work in front of them. In fact, one of the biggest demotivators and morale destroying things is doing work that isn't meaningful (and the person isn't just about making money for themselves which would make the work meaningful to them (some of us don't care to be mercenaries...).