skysight-inc/HackerNews huggingface dataset:
I have and do use this for my 'normal' code, but not very often. I tend to prefer breaking things up into functions (usually named, not lambdas). Where I do use this style extensively is in self-testing code:

// set up data to be tested
var fred = ...
var cathy = ...

{ // check fred does something correctly
var result = fred.reproduce(2);
assert(result.length() == 2, "fred should have 2 children");
}

This prevents variable result from escaping and contaminating the next test, which happened an awful lot before I started doing this.

Then maybe better ways; suggestions welcome.
I have to agree. Even in some cases wisdom went into hiding and applied for witness protection when he saw what was being written.

But I think it's a good phrase to keep in mind when writing comments.
Actually as an occassional tobacco enjoyer (pipe, cigars) some of this is actually true lol
are there dumber alternatives? sort of like ndb cluster(its kv interface, to be precise) but fully disk based, so that transaction limits are practically unreachable?
As a total aside, I started to notice that folks most vehement about cars/parking being bad have a pattern: white male, no family/kids, bicycle in the profile picture. Usually they are young and in Twitter, funny to see the pattern hold for this older professor (no evidence of family in bio/Wikipedia)

Seems like a correlation between this demographic and being a sort of male Karen that's really bothered about how other people get around.

Obviously urban planning is an important thing with tradeoffs to consider, I am just talking about the most vehement car haters.
Basically, they have different use cases. Docker is designed to run a single application with immutable volume, while LXD is designed to run a (mutable) OS, like a VM. Sure, you can use Docker run an OS, but it is not designed for that.

Imagine you need to install an application that will install/persist some files to /etc, some files to /var, some files to /bin... etc. In Docker, you will need to install that application during build time, specify volume path, specify the ENTRYPOINT to the application and use the resulting image to run it. In LXD, you can exec into the container and install it, setup systemd service to run it on startup - exactly like what you would do in a VM.
Ideas are probably the last thing humans will delegate to AI. We have needs and wants that Ideas help us meet, AI only sets priorities in a reactive way.
YouTube is a poor man’s gold rush.

Content goes on there based on the promise of money, not the reality of it. If you’ve watched YouTube enough you know how many content producers have come to grips with how much/little money they are actually making and have adjusted their strategy.

I like for instance LTT’s philosophy on merch and patreon as money streams for review oriented content: if the majority or plurality of your sponsorship comes from manufacturers, how can anyone be sure that you’re bringing objectivity to those reviews? How can you be sure you are? So keep sponsors locked into a small pool of your revenue, that way everyone knows you can walk away from them at any time and still keep the lights on. There’s less temptation to even attempt coercion, because the leverage is weak at best.
real dolls, dakimakura pillows, OF subscriptions, strip clubs, etc.

been a lot of gap filling in there, and for a while. AI just weaponizes it.
Uber warns of threat to drivers under EU gig work plan
There are quite a few LLM monitoring tools in the market. But for monitoring (or evaluating) RAG systems, I found Ragas to be the most helpful: https://blog.langchain.dev/evaluating-rag-pipelines-with-rag...
https://archive.ph/ALVsW
Here is the YouTube video that I watched and grabbed my interest:

https://www.youtube.com/watch?v=kmAc1nDizu0

Also the BB Challenge site - where I've been getting definitions of TMs to run:

https://bbchallenge.org

e.g.

1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0RC0RE

I've ran that one even though there is no hope of me ever seeing it terminate

https://bbchallenge.org/1RB0LD_1RC0RF_1LC1LA_0LE1RZ_1LF0RB_0...
I think they'd agree with that example. If we take their quote and invert it:

> apparent politeness of the language is inversely proportional to the potential violence of the culture

=> apparent politeness of language directly proportional to the peacefulness of the culture
Not OP but I think it isn't always about storing, but having a log of events which get routed, processed, and aggregated in many cases.
Sorry for the confusion. I edited my comment to make clear that I have a problem with X/Twitter as it is now, not with the author‘s website.
This is nothing more than "I listened to them before they were famous" gatekeeping.
> What gamer doesn't begrudgingly have Origin and at least one of EGS or the Blizzard/battlenet launcher installed alongside steam?

That's me! Not that I could have had any of those, as far as I'm aware. When it comes to Linux support, Steam isn't just the best, the others are actively bad.
You'll be a God, but a God who has to look at ads all the time, and your angels will... also be ads.
If Apple has a record of the individual serial numbers on parts contained in each phone, that seems like a wonderful way of backtracking stolen phone parts to the thieves.

"Oh you're trying to replace your phone screen with one from a stolen item. Please provide your contact details so we can pass that on to the police."

Doesn't seem like a bad idea at all. ;)
Now if only they could get to fixing my account settings.

https://support.google.com/accounts/thread/222903183/u

> This question is locked and replying has been disabled.

Oh, nevermind then.
Because Android team had some Kotlin shills that pushed for it with management blessing, and they are in bed with JetBrains for the Android IDE, that is why, and even them had to accept updating Java support, otherwise Android/Kotlin would lose the ecosystem of Java written libraries, hence Java 11 LTS last year, and Java 17 LTS this year going, back to Android 12 with APEX archives.

Scala became a thing indeed, where it is now besides Spark?

ThoughWorks is a consultancy that recomends whatever brings new projects.
Reminds me of how google moved maps.google.com to google.com/maps so that they can ask for location permission in your browser for the whole google domain.
That is unclear to me. It changes the story a lot if it is. What does “blocked” mean to YouTube?
Microsoft will lay out its AI vision for Windows at special event: leaked memo
The people who make these marketing materials often use people’s names they know of, and sometimes employ inside jokes, or more common ones even.

Apple had a page for an iOS release one year explaining new calendar features. On the page I saw a calendar event for name of a guy I personally knew who worked at Apple! It was a dentist appointment at 2:30.
Usually it doesn't replace car traffic, it just allows more traffic from other sources of traffic, adding lanes to roads supports this, humans will fill the vacuum with something else. laws of efficiency demand it.
Well, a drone doesn't help ypu a tiny bit it getting across the mine field. Without that, well, your counter-offensive stalls, drones or not.

And for now, anti-drone AA is difficult. But not unsolvable. Jamming, small caliber radar controlled AA guns. Point defense weapons can shoot down cruise missiles and even artillery shells. Applying the same principle at slower drones isn't that hard.
comparing romance novels to 40k is like comparing apples to microwaves.

i also balk at the idea of "masculine romance" requiring over-the-top grimdark violence.
Do you have an example query? Quotes for literal words work for me. Domain search was always with with site:domain.com and not quotes and works fine. I think bing/ddg removed that feature recently?
I swear I've seen pictures with hearts, stars, smiley faces on plates. I thought it was California. though they might not be an actual integral part of the plate (real number is sans-wingdings)
UK’s Rishi Sunak considers weakening key green policies
Show HN: Apollo – An affordable brand copywriter for blog posts and articles
Apollo is your brand's wordsmith!

I've been writing a lot of content for a couple of other products, and it's been hard to not use AI and ML to turn a couple of ideas into a couple of paragraphs; however, most options out there are either too expensive or too hard to use for this purpose, reliably. That's why I built Apollo!

Now you can unlock the power of AI and ML with Apollo, your affordable brand copywriter. You can craft compelling blog posts and articles effortlessly, in your brand's unique voice and boost your content strategy today!

It costs $10 for 10 new articles and 5 rewrites (up to 1200 words each), after a 30-day free trial (no credit card required) which includes 1 new article and 1 rewrite.

I hope it's valuable to you.
A related point of fact is protobufs are limited to 2G anyway. You wouldn’t need 64 bits. Anything bigger than about 100MB is dangerously large anyway.
Robocall scammers sentenced in US after netting $1.2M via India call centers
Do you have links handy to other articles about this issue? I've never heard of it and I'm curious.
Here's the note I have on that: “For chatbot interfaces, emerging approach is to have another agent simulating the user (as opposed to a more classic approach based on token prediction probs on chat transcripts, what I think you're referencing). Then still use a model for grading. Only place I've seen this so far: https://github.com/Forethought-Technologies/AutoChain/blob/m... ” - AI Startup Founder
> They could have spent that money making unity better/more stable.

Public shareholders don't like that. It's not good enough.
Having worked on writing DB internals in both Rust and in other languages, I can say that there's huge time-saving advantages to having something higher-level & garbage collected at the layer of the query parser/analyzer/compiler. The borrowing/ownership semantics can get really snaky when dealing with complicated expression trees, iteration patterns, etc.

It's fairly hard to write ergonomic interfaces for more complicated iteration patterns in Rust while still respecting safety. That's actually fine and by design, and it's possible with a lot of effort and thought but this is not as much of a concern in e.g. Java. E.g. skim the discussion on this proposed "cursor" API for Rust's stdlib BTree: https://github.com/rust-lang/rust/issues/107540

(And while Rust's enum-based algebraic types & pattern matching are nice, they're actually fairly limited when compared to what you can find in e.g. Scala or F#, Haskell, etc.)

But I think there's also huge win in doing something like the pager/buffer pool/storage/data structure/indexes layer in Rust. For safety and efficiency reasons.
An LLM/AI companion based on your ledger, that grows and evolves with you, acting as a sort of Socratic daimon, a psychologic twin, assistant, advisor, and sparring partner. Like a journal that talks back and thinks with you. It'd need to be only personally accessible and safe/private. Biometric access and local running could solve this.
I think a lot of the drudgery is lack of language quality. But this is still a better argument than I’ve seen before for using it.
> I am glad that you've embraced a more neutral mindset, though!

Putting on the proverbial blinders and declaring software "better now" is not really something I'd consider neutral, to be honest. Sounds like expectations dropping over time, more than anything. Note how there are plenty of real examples of outright bugs that are left unaddressed here and no acknowledgement that yes, the world of software is full of them.

I don't particularly care whether someone has a rosy outlook in general, but it's pretty odd to declare that software is somehow so good when it's at the very least as bad as it was in the early noughts.

It's understandable that people don't like overly pessimistic people dooming and glooming too much but I find the inverse equally if not more annoying. If you factor in how much slower most software experiences are vs. what our hardware should achieve plus all of the bugs that are at least as plentiful if not more our general software output is much, much worse than it ever was. We're not even producing it much faster because of galactic scale overcomplication in software stacks as well.
Very cool. How many figures is your company paying them?
A different pattern I like in Ruby is the assignment with begin...end:

fred = begin
user_finder = ...
user_finder.find('fred')
end

Again, not always "self-documenting" as whipping out a new function, but useful if you need to separate chunks and keep the code linear.

The only issue with Ruby itself is that the scope is not lexical, so you can still use `user_finder` outside the block above (linters can catch it, though). But it's still worth to separate code without having a brand new method.
$33 dollars is the correct amount lol. It's coffee time fellas.
Have you been to any modern downtown? LOTS of modern skyscrapers have no access other than the emergency exits and guarded entrances on the bottom floor(s)
Could

if [ -f /tmp/dontrespawn ]; then break; fi

Instead of sleeping, you can create that file when you want it to stop. But perhaps that'd imply that someone would genuinely use this rather than only developing it as a toy
Yep, it's that project.

FWIW, you can replace twitter.com with nitter.net to see it (depending on why you don't want to visit twitter)

https://nitter.net/dmitrygr/status/1704350983877198013#m
Perhaps the only correct solution is a combination of methods: selective immigration + programs that make it easier to have children + maybe some state propaganda (state propaganda can be good, though not always is) + other approaches.

When you think about it, it really seems like a gigantic task
Thanks for the interesting post. Do you plan to maybe use in the future JEP 442? https://openjdk.org/jeps/442
And sometimes it severely lacking. I heard of this 5000 line "onClick()" function where most of the program, screaming and yelling, had been forcefully stuffed.
My first was a Vx (OS 3.5 iirc) and that was really snappy and overall a great ux compared to other handheld devices I have had. But after that I had two different Tungstens (OS 5.x) and those felt far slower and had much worse battery life and I did not like those as much even if they had color screens and more features.
I changed one of my cards to have just my surname on it, 'cuz I thought it looked cool, and there are a _lot_ of CC forms on the internet that don't like it.
I just hired all developers and won seems like a good recipe
> I ran up probably $20,000 dollars worth of tickets pretty quickly, given I could park with impunity in a place where parking was impossible or super expensive (central Sydney). Also various speeding tickets.

Hey, man. Cool hack. I’m sure everyone appreciated the dangerous driving and parking in handicap spots and bus lanes and what-have-you…
If you can sell your knowledge to an existing audience and then add a special category with a higher price for companies training LLMs why would you take the financial hit of selling to a single customer where they can now make demands of you as your only source of revenue?
Scaling your Software Development team can often be a daunting task. As soon as you grow to the mark of 5 engineers, that is an indicator that there needs to be a bit more structure in the team.

Imagine having 20 engineers and no clear structure and defined responsibilities. That is where uncertainty, misalignments, and miscommunication come in.

It’s important to separate the engineers into manageable teams, where correct responsibilities and ownership are defined.

So that the teams can function properly, there needs to be great leadership and that comes from the person that is appointed to be a team lead.

What are your thoughts?
I should say, unsuitable for certain use cases.
> Speaking of incorrect statements.

Correctness and being liked by you aren't the same concept.

Also "reality" as you called it, is just your own political opinion.

A union would help with getting fairly compensated for working nights, instead of "see you at 8.30am tomorrow".
For (1), anything outside of the code is going to be missed in the next code review. Eg:

// ACME-1275 Acme uses desc field to identify references

Perhaps you can use the reference to point to wherever you documented it. I'd rather just keep the ticket reference, which won't change. Who wants to read docs that get into that kind of minutia anyway?

But without any comment, I'm wasting time looking for it, if I even realize that there is something to be looked up.
Hackers who breached casino giants MGM, Caesars also hit 3 other firms – Okta
What can a court tell us that a bunch of likes and shares of a Vox piece can't?
"Oops, I thought it was my throwaway account."
Whataboutism. Both are wrongs and concerning.
It’s good at a beginner, early intermediate level when you need help with syntax and structuring basic things. It’s an excellent helper tool at that stage.

But it’s obvious outside of jr dev work and hobby projects there’s no way it could possibly grasp enough context to be useful.
If you think about it, irony is often mean and disingenuous. I could see a dimension where irony is socially unacceptable, like cursing at children and old people. Or cursing in general.
Dupe of https://news.ycombinator.com/item?id=37581485
Why? The state takes all sorts of other actions to protect children from their parents
Maybe... Garden of Eden Creation Kit?
Knowing what public health professionals think about this topic is pretty much table stakes for being able to make any sensible kind of contribution to the discussion. Otherwise it is like arguing the finer points of Rust lifetimes with people who couldn’t write ‘Hello World’ in Python.

In this case I think the relevant position is widely known. Supporting people to have safe sex works, whereas shaming them for having more than some vaguely specified maximum number of acceptable sexual partners does not work.
I'd say the main arguments are:

1. Many transports that you might use to transmit a Protobuf already have their own length tracking, making a length prefix redundant. E.g. HTTP has Content-Length. Having two lengths feels wrong and forces you to decide what to do if they don't agree.

2. As others note, a length prefix makes it infeasible to serialize incrementally, since computing the serialized size requires most of the work of actually serializing it.

With that said, TBH the decision was probably not carefully considered, it just evolved that way and the protocol was in wide use in Google before anyone could really change their mind.

In practice, this did turn out to be a frequent source of confusion for users of the library, who often expected that the parser would just know where to stop parsing without them telling it explicitly. Especially when people used the functions that parse from an input stream of some sort, it surprised them that the parser would always consume the entire input rather than stopping at the end of the message. People would write two messages into a file and then find when they went to parse it, only one message would come out, with some weird combination of the data from the two inputs.

Based on that experience, Cap'n Proto chose to go the other way, and define a message format that is explicitly self-delimiting, so the parser does in fact know where the message ends. I think this has proven to be the right choice in practice.

(I maintained protobuf for a while and created Cap'n Proto.)
Telecom Monopoly Power Is Real Problem In Reheating Net Neutrality Debate
It depends on the game.

In some games you can't hit some of the targets with the table in an elevated state because the flippers don't have enough power to hit a slow moving ball to the top of the table and up a ramp even with the reduced slope.

I think in some games with a working but insensitive tilt it makes the tilt sensor even less sensitive. Also I am pretty sure that I can nudge with stronger effect and better precision in the elevated state.

Now, there is a tilt sensor on most pins (and even arcade games) that is likely to be in working order which is the one on the coinbox. The coin mechanisms on most of those games is pretty rudimentary and if you hit the front of the machine hard repeatedly you'd be able to get free games if there wasn't something that would clear out all your credits for doing so. The thing is that there are techniques to get the ball back from the drain that involve impacting the machine at the right time and those techniques are pretty dangerous because they risk triggering that tilt sensor.
The Abandonment of Betty Friedan
Eh. I think the peak of computer ability was GenX. I’m not in that group but made up for it with sheer intensity. If you grow up on a phone you’re not getting any of the mental modeling to get close to what the machine is doing and you’re only going to be able to work with the limited tools of that level until you deliberately dive deeper.
Is OpenTofu also planning to maintain the language server (terraform-ls) or is that not within the scope ? I was not able to find any language server related repository.
I just hope my DoorDash order is not sandwich #9,836...

A locomotive would be even more efficient over long distances, carrying 200,000,000 such packages. A containership even more so, carrying more than 20x the capacity of a big freight train, though I don't think they have the draft to fit up the drainage ditch behind my house. Nor do I have rails.

I jest, but the long tail is a real problem with such efficiency calculations.

You're right that it's never going to make sense to have migrating swarms of drones flying above the interstate carrying packages cross-country, but are real efficiencies here at the individual level:

https://www.cell.com/cms/attachment/4b8da4bb-42c2-4b91-baf2-...

Graphic from https://doi.org/10.1016/j.patter.2022.100569.
Not only could something with cognitive capabilities superior to us destroy all of us, but it is likely to do so even without intending to: suppose for example it decides to create computing resources (i.e., big computer farms) on Earth (vast compared to the resources humans have already created) but foresees that all that pesky oxygen in the atmosphere will undermine the reliability of the computer farms. The computer farms are vast, so it is easier for the AI to remove all of the oxygen from the atmosphere than to enclose the computers in airtight structures that protect them from the oxygen.

Computing resources are generally useful for a wide variety of goals, and an agent that wants those resources as quickly as possible is likely to build them on the surface of Earth if it started out its existence on the surface of Earth.

"Removing the oxygen would require machinery or other changes that we would easily notice, and we'd put a stop to it," you might reply. Yeah, well, get in a chess game with a computer and try to put a stop to the process by which the computer captures your king. Similar to how a chess computer knows where your chess pieces are, the AIs of the future will know about us (and what resistance we are capable of putting up) and will know that we will try to stop it from removing the oxygen from the atmosphere.
I am not a lawyer, but my understanding is that this generally falls under Section 230, as you can make the same argument about Comcast, AT&T, et.al. who lets the bytes go over their infrastructure.
Neurosymbolic Meta-Reinforcement Learning Achieves Safe Self-Driving
If this is not a temporary reversal of ethics then this is part of The Fall.

Some of us are alarmed, some active, but nobody progressive thinks this is progress.
== does not exist