skysight-inc/HackerNews huggingface dataset:
When writing goes to 120 characters or you regularly write "thread" / 1/n at the bottom of your tweet, you lose some of your ability to think
Maybe in US, I never got anything like that in any European company.
Uh, go to peering.google.net. See their “GGC” google global cache nodes. Those are all in-ISP. YouTube arguably has a larger in isp cache network than Netflix, Hulu, Disney+, …etc combined.

Id argue a large amount of YouTube’s traffic is cacheable.
He's so damn smug about breaking the user patch of their terrible mess of explorer, too.
> Twenty five years ago, it didn't exist. Today, twenty million people worldwide are surfing the Net.

As someone who didn't get to experience the early days of the Internet, this seemed to me as if the book was published sometime around 2000-2005. 1996! I didn't expect that many people using and enjoying the Internet so early on.
American post-war affluence is because of McMansions? That’s certainly a novel theory.
There are a bunch of BASIC interpreters out there, my own isn't so complex or thorough, but I definitely had fun writing it:

https://github.com/skx/gobasic/

My own vision was to reproduce something akin to the ZX Spectrum, rather than the more advanced Microsoft BASIC.
> I think pg underestimates the amount of trivial and mundane copy most people write day in day out.

Can attest. I had to write a bunch of definitions and do some preliminary research though nothing very technical. I asked chatGPT, it listed a bunch of stuff, I looked around the net, found some more hints, asked again; then I had the model to collect everything for me into a neat little markdown doc, and shared that.

Saved me a couple of hours of searching and writing useless / boring stuff.
Most Millenials who can afford to rent an apartment can afford to buy a condo in a city - maybe not SF or NY, but a studio condo on Chicago's North Side, or in older buildings in the Loop, can be had under $150k. A newer studio or older one-bedroom can be had under $200k. Sure, there's a HOA, but it usually includes some amenities; the key difference in affordability is the dramatically lower down payment (the largest barrier to home ownership for most young people) than a large suburban house. A mid-six-figure McMansion is in a completely different price class - especially when accounting for the heating, cooling, and insurance costs of the much larger home.
5 minutes ago I copy pasted a 200 line react component and asked ChatGPT to explain why I was getting a certain bug. Although it didn't quite get it right, it allowed me to quickly identify the cause.

It only needs to save 10 minutes of my time a month for it to be worth the $20 - I would estimate it saves hours.
NSA Releases New Best Practices for Securing Home Networks
... but why?!
It does run with caches enabled, my memory is murky but I remember Go processing requests on an order of magnitude faster (10x). Maybe it's about dependencies reconnecting on each request, or the large amount of classes in the monolith? I remember marking dependencies as "lazy load" helps.

>there are OPCache tweaks, preloading facilities which help improve the request initialization performance

I remember we disabled some of the settings for preload because we hit a bug which manifested as a segfault due to PHP's shared memory space for preload getting corrupted under a high load.

In any case, everything is fast and usually doesn't require a lot of tuning in Go out of the box.

However, I do love PHP's shared nothing architecture for the reasons of memory isolation: we have thousands of B2B tenants and with PHP, I'm confident we won't accidentally spill one company's data into another company's account. Things like when ChatGPT exposed your conversations to random people because a bug in the Redis connection pool inside Python's shared memory space returned a connection for a different user, due to a race condition.
I struggled with sorting out Contracts vs Facades vs Traits. I graduated from university 20 years ago with a software engineering degree, where it was drummed into me that simpler often is better, and much more robust. Reading the Laravel docs however, leaves more questions than I started off with.

eg. https://laravel.com/docs/5.8/contracts – talks a lot about how Contracts are powerful additions (like all the other features of Laravel, the docs are good at telling you they're powerful) and the examples show just some barebones code that doesn't really do much without a lot more work. The examples in the documentation seem to be more on the side of being some code snippets that don't convey much context.

Additionally, there's lots of "congratulatory" text in the documentation ("Laravel has a powerful feature called <x>", "in Laravel adding <feature y> is actually really simple", "some developers enjoy using <feature z>". You simply don't see this in PHP.net's docs, it just tells you what the function / feature is, gives you examples that work straight out of the box, lets you know of any pitfalls or differences in PHP versions to watch out for, and there's a whole list of comments contributed by other PHP devs spanning years, that are up/downvoted.

Another example of powerful documentation was that I learnt what MPTT is, and how to implement it effectively, purely from CakePHP docs back in the day (I'm talking v2 here). I can't see how anything as remotely useful would be able to be taught from Laravel docs alone; for someone who doesn't have a computer science degree, there would be a LOT of tabs open, full of rabbit holes that need to be explored. This is not effective documentation in my eyes.

The difference between these sets of documentation is like night and day to me. The Laravel docs needs to stop patting itself on the back, and be more like other software projects' documentation.

Don't get me wrong, I love working with Laravel, it is powerful. My issue is with the documentation, which leaves a lot to be desired.
>Your view is right at home in a Star Trek The Next Generation world where everyone's needs are met and people act ethically, with good intentions and are in return treated fairly. A civilized, meritocratic world that doesn't exist.

Right, but this is why ST:TNG is such a nice show to watch, because it's the kind of show that some of us, at least, want to live in. Whereas Star Trek Discovery is a terrible show to watch, because it's not. Who wants to watch a show about a bunch of unlikable characters that fight each other and backstab? (Apparently a fair number of people these days, or else the show would have died quickly.)

>Like it or not, we live in a zero-sum dog-eat-dog world

If you want to see the best depiction of the universe we live in, watch the Star Trek episodes about the Mirror Universe (esp. the "In a Mirror, Darkly" 2-parter in Enterprise). Those episodes show humans as they really are in our universe, unlike the moral and conscientious humans depicted in ST:TNG.
You’re right. Psalm has been a god send on the project I’m working on.

Unfortunately, it’s taking far too long for Laravel to catch up so parts of its API are a black hole for types.

Especially things like request input, which returns a union of string and array as opposed to using a conditional return type.

You end up with assertion soup every time you touch Laravel so over time the project uses less and less of it.

A well-typed framework and set of libraries would be very nice.
If nothing else, it's less of a silly moniker: Why would I want to get my Web page wet in the first place?!? Remember, DRY!
let me shill you this wonderful alternative https://odysee.com
Email addresses, that is the only reason why we got the .com domain. I think the other arguments in the article are pale.
But why? I‘m working with it daily and what I learned is to read the docs properly. Usually it‘s me not reading correctly. There is some advanced stuff that‘s not covered in the docs, but not necessary to build an app.
I adore those artists, transports my mind to another place like no other music. However I can’t help but feel a little disappointed this stuff didn’t catch on more, like they should have inspired 1000 followers to invent new sub-genres by now. Maybe they did and I just don’t know where to find it.
We provide a docker container which manages running the SuperTokens core (the java part) for you. You can easily run several of these behind a load balancer and scale to millions of MAU. We have several users who have done this with no java knowledge whatsoever.
So as I said, I'm glad they've given me more incentive to not use their products. It's ok if we disagree I guess.
I think that you are at least using the same one that I am.

"Hype" can also mean marketing.
phcode.dev a web based IDE for Streamlined HTML Editing. With Phcode, you could live-perview your HTML edits, simplifying your HTML editing process. One standout feature is its ability to identify the exact HTML element you need to edit with a simple click. Tweak colors using the CSS color pickers and adjust CSS numbers visually with an intuitive wheel feature. We developed PhCode in response to the often frustrating visual editing experience in VSCode.
This might also be worth taking a look at, it was extracted from the Stadia codebase when that shut down https://github.com/google/hierarchical-state-machine.dart
I had bought a tablet but I rarely bring it outside of home except longer trip. Even if I bring it, it's annoying to take out from my bag for a short time use. I finally bought Fold3 and I put it on my pocket everyday. Having it 100% of time is too useful for everything. Crease is too minor problem than that.
You get the same security benefits by truncating and/or hashing the ip address before storage.
You can choose to pay for convenient download functionality and background playback on mobile, and think of the ads as a bonus, if you prefer.
This is huge news. Nobody comes close to having the 3d coverage that Google has there have been no viable competitors on the horizon. Until now there was just no way to use that gorgeous data.

From a more personal point of view - Google Earth in VR is one of the most stunning experiences I'm aware of and it's been on life support since Google lost interest in VR. Now it looks fairly simple to build something similar on top of the same data source.
Here is how lawyers in Germany do it. They ask ISPs for the person behind the IPs (cough, cough, carrier grade NAT) and then they send cease and desist letters demanding 800€. If you sign their letter you are considered guilty but avoid further consequences, similar to a plea bargain.

It only takes a dozen people having money and fearing court for this to be profitable. The lawyer doesn't want to go to court because that costs money, he just wants you to confess and get paid.
My son had loads of fun with Hogwarts Legacy, and that’s before any DLCs or multiplayer. Same with Stray, Unravel, and other titles. I agree there’s lots of games that I just don’t consider playing because of the reasons you mentioned.
Great! Let's go back to a hunter-gatherer lifestyle then. To make it work, since the ecosystem can't support very many people living that way, we'll have to trim the global population down to about 1 million, so we'll have to set up some big death camps to eliminate billions of excess people. You're volunteering to be first in the gas chamber, right?
>I work for AWS; these are the definitions we use, more or less.

you're just being asinine - we're literally talking about binary code that's never seen by anyone that doesn't compile from source and goes digging around in the build dir - how could you possibly call that code "transparent" in any sense of the word? are blob drivers also transparent according to these "AWS" definitions?

>I was specifically referring to the computation graph of the model that is used by autograd.

it's literally right there in bolded text on the first page of the original paper (the 2017 neurips paper):

>Immediate, eager execution. An eager framework runs tensor computations as it encounters them; it avoids ever materializing a “forward graph”, recording only what is necessary to differentiate the computation

autograd has absolutely nothing to do with the graph - autograd is literally 10s of thousands of lines of generated, templatized, code that connects edges one op at a time. you can argue with me all you want or you can just go to repo tip and see for yourself https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/t...
I noticed that you haven't been talking to your AI very much lately, what's wrong?
I don't disagree, and I wouldn't suggest a creator constantly bombard it. (However, that might be most effective, as constantly bombarding with "like and subscribe" seems to be, though personally for me I don't tend to watch channels that do that and for the random videos I do see where they do, it's often skipped by sponsorblock.) However I think if a creator wants to be honest with their viewers that they will stop creating unless they can receive $X across ads/premium/superchats/patreon/as many options as they can, rather than trying to bully them into thinking the only choices of support are an absurd premium fee to the platform or psychological self-harm by enabling ads, that is a good thing. As would be their decision to actually stop spending their time doing something that isn't worthwhile to them if they can't make it. Meanwhile other creators will happily go on creating high quality stuff for free because they don't care about making money that way, and youtube itself will be fine as even adblocking users, who also never directly monetize another way, contribute enough indirect revenue (user profiling, algorithm shaping, user growth, recommending...) to the rest of google's empire that it doesn't matter. (And if they do monetize ever with e.g. a single $5 superchat once in a blue moon, google's $1.50 cut of that, even after their expenses of payment processing, can make up for quite a lot of missed ad impressions.)
Synology's Disk Station Manager recreates a desktop environment.

https://demo.synology.com/en-us/dsm
I've been using Laravel for the past year at work, not a hater type but still find it meh even with all the improvements.
Yes, holy shit. Empty IC shells are super common in counterfeits. If they aren't counterfeit then QC is a nightmare, if you need consistency and spot-on values, they're dire.
Yes, exactly.

But this reduction from 'select n largest' to my problem is still instructive: it tells us that in some sense any (deterministic) solution to my pet problem has to be at least as complicated as (deterministic) median finding.
I'm going to sound old here, but why use Svelte? Why yet another one? Why not an established framework like React or Vue? I realize Svelte is compiled but it's oh so close to the others, and its performance is only better in certain corner cases. I ask because of learning exhaustion with the plethora of lookalike languages and frameworks and the constant, unending learning curve associated with all front end development now. I'm not dissing creation or incremental progress. I just sometimes don't think the constant change for new languages and frameworks that come with only minor syntax changes or small differences under the hood is worth the never-ending mandatory learning thrust on developers.
Impersonation-as-a-Service
Agree, though I would put Java in the same category as well (and actually prefer that). Great ecosystem, great frameworks for every conceivable business case, excellent performance, tooling.
Twitter: Encrypted Direct Messages
What browser were you using? Firefox took a while to implement the blur filter for example, but it's supported now.
The real question is "How can you prove that somebody/something has the ability to think ?". If LLM can reason and answer satisfactorily based on context I would deduce that it can think.

What is the argument that human does not have transformer architecture. We are also predicting one word after next in our brain.
I know people with that rating who saw a much larger (10-20%) raise. I know others who got a raise in line with what you’ve said too. I don’t know the exact distribution but it’s definitely not “you get 0.5% if you’re SI”.
This is the sort of stuff that has me concerned for some of the newer all-or-nothing security like TPMs being used as sole sources of auth (e.g.:bitlocker), "passwordless" stuff that boils down to 1FA auth (pins/codes protecting the thing don't count), PATs,etc... it feels like people designing security products keep getting out of touch with actual threats that impact people. My point is, they don't take a defense-in-depth approach. Their new solution is so amazing you don't need anything else.

Drivers, Kernel module and boot time software should be signed by a trusted cert, but how about requiring a boot password where every module and bootware must also be decrypted or MAC validated by KDF output of that password? Yubikeys are amazing but also have passwords? SSH keys are great but again, also have passwords? PATs suck! but if shitty attempts to lock you to a platform work for you then maybe also have a yubikey or some other off-device auth?

I can just imagine a world where everyone is hooked on PATs and FIDO2 and one leak/vuln impacts billions! Lol.

The person who brings a knife in addition to a gun to a gun fight wins when everyone runs out of their silver bullets.
Cosmonauts Caught Littering Directly into Space During Spacewalk
Must be an america thing with the ads. In asia there’s no ads and it’s instant.
Airbnb CEO: CEOs calling workers back to the office 'going away to the Hamptons’
An absolute truth
I can't say I did not fall for the bait, but I believe its a leftist troll attention seeking. Other comments left both immediately recently and over the past few days at least are all roughly the same on topics where the concern is at best minutely related
In personal projects I do whatever has the code outside of the `if` block longer. e.g.

function login() {
if (isLoggedIn) {
return
}
if (!isAuthenticated) {
throw AuthenticationFailure
}
// Do the login
...
}

It doesn't matter that `isLoggedIn` is positive and `isAuthenticated` is negative, the point is both of those are short-circuit cases.

Though what usually actually ends up happening is

function login() {
if (isLoggedIn) {
return
} else if (isAuthenticated) {
doTheLogin()
} else {
throw AuthenticationFailure
}
}

function doTheLogin() {
...
}

Where there's no "long case", so the order really doesn't matter and I just make everything positive.
Rasterization can still lead to different sizes due to rounding, if the edge (or the rotation point) just happens to coincide with the raster edge between pixels (or something like that). You can't just rely on the shape being the same mathematically, you have to take quantization effects into account. Using dedicated shapes instead of the transform may also be more reliable.
SSDs are useless for offline storage: if they aren't powered on and accessed often enough, the data just disappears. They're totally unsuitable for archiving.
Say I have a fairly good idea how to make a #3 product in a category a #1 product in a category. But, my work life balance would suck for a couple of years and I would have to be more adversarial with others to get them to pull their weight and not waste time on bad ideas. Eventually, if it works, existing employees will benefit from growth and new ones will want to join a success story.

Or maybe I am mistaken and someone else is more capable of making the top product, in which case I might still get my own team out of growth. Let there be some meritocratic process and ability to assume responsibility for risks and reap the rewards. But if there is no potential reward, why should I suffer from overwork and inevitable interpersonal conflict when stuff needs to get done? Why should anyone? Eventually the whole product will be cancelled since it's not making headway and all of us will move to new gigs.
It was great to read about you on HN! I once met you on AzzurraNet IRC, cool moments.
Keep up the work that's funny for you.
Exactly.

array_filter and array_map, have different order of arguments.

($array, $callback) vs ($callback, $array)

A small example of how inconsistent the language is from the ground up.

Most people can explain their respective web servers, but I've never heard anyone even come close to what PHP/Laravel is actually "doing".

Side Complaint: If you are working with Laravel Queue, it is such a hassle to reload your code changes when developing.
It seems really great at vacuous american essaywriting.
Isn't that synthetic benchmarks for toy projects? The amount of code which is run on every request grows with the size of the project in PHP/Symfony (which can take quite some time in a huge monolith), while in Go, everything is usually initialized once at startup.
PHP has been a great language for a while, essentially since the world of enterprise became web based instead of application based. I suspect it’s not seeing too much adoption because it wasn’t always great, partly because a lot of enterprise is married to Java (which is frankly also in a decent state) and because JavaScript (with types) and Python lets your teams do a single language while also doing a react client or a lot of BI/ML.

Most mature programming languages are nice to work with these days though. At least in my opinion. About the only one I dislike is C#, and that is mostly because whenever I need to use C# I need to use it with a combination of libraries (Odata, Entity Framework, Asp.versioning) as an example which simply don’t work together unless you overwrite/extend half of them. Because for most use cases C# is as excellent as all the rest.

But PHP was essentially build for the modern use case of everything being web-based and it’s weird to see the reputation it still has. Then again, django is also an excellent tool for most modern work that doesn’t see the adoption it should. I’m so sick and tired of having to deal with things like umbraco failing at things that have been a fundamental part of django for longer than some of the people reading this post have been alive. :p

But I guess its all those things that keep me well paid. So maybe I shouldn’t be too angry about it.
Can you put those numbers in terms of exec salaries?

Like, Google Cloud's 2023Q1 profits being ~85% of Sundar's 2022 earnings [0].

[0]: https://www.cnbc.com/2023/05/03/google-employees-complain-ab...
We actually first created it with https://github.com/blueedgetechno/win11React then I was learning Svelte didn't have any new project ideas so redid it with Svelte and found out its just much better DX. Much easy to maintain + much more :)
> and it's not possible for the particle to already have a pre-defined up/down for every possible angle.

Why?
These foldables are a great demonstration of why the screen diagonal is an unintuitive metric.

This device has a 5.8” screen when folded, and a 7.6” screen when open. Looking at those numbers, it doesn’t sound like a very big difference. Yet anyone can see that the 7.6” screen is twice as big as the 5.8” one!

The diagonal only made sense for TVs because the aspect ratio was fixed at 4:3 (and later 16:9). It shouldn’t be used for computer screens or phones.
Seems unfair to call a suggestion to fix the main cause of many problems “mental gymnastics”. Raising police salaries and lowering housing costs are both about making things more affordable, just from different ends.
I generally like strongtowns attitude and articles, but a lot of their detailed calculations about the cost of suburbs being unsustainable focus on sidewalk maintenance costs. One example:

https://actionlab.strongtowns.org/hc/en-us/articles/13529213...
For anything serious password + WebAuthn MFA with Ory Kratos. It lets me choose any method really, can be self-hosted or used as SaaS.

IMO it's almost always good to offer some OIDC social login, just depends what provider your users use.

- https://github.com/ory/kratos
Isn't Chat-Bison-001 Palm 1?

Edit: It seems I can't use my free credits on Vertex APIs... Not nice.
Dotfiles is an Unintended Consequence