skysight-inc/HackerNews huggingface dataset:
What do you escape for? Html? Postscript? Json? SQL? Latex? Custom report generator which haven't been created yet but you'll start using in 2 years? Things move - you can't choose the escaping format at input time.
Not Everyone in Your Life Has to Spark Joy
https://www.wsj.com/lifestyle/relationships/not-everyone-in-...
Complaining about the new CS is tradition. When go came out, people said source was better. When source came out, people said 1.6 was better. They changed bunny hopping and AWP quick scoping somewhere around 1.3-1.5 and people said the previous version was better.

Although I guess in this case they _forced_ people to change, which sucks. Let the niche communities keep playing the version they like. I guess it's because it's a live service game and they need to keep selling their loot boxes.
Sorry, it was a brain fart on my part.

If we do the 270% increase from 1, the stats become funnier.
Channels require a different goroutine to send values while also receiving them (which is how you’d have two loops communicating, essentially what you get from range funcs).

There’s nothing stopping you from doing this but it does mean you are introducing the requirement of thread safety in your code, in the case where the iterator is stateful.

I would argue anything that needs a range func beyond the simple functional things like filters is probably a stateful iterator (or generator if you’d like), and as such having range funcs is a great way to write code that doesn’t go wrong due to parallelism.

Now you could add two way communication to your channel iterator (or any other locking mechanism) for safety but honestly I think range funcs perfectly solve this use case, and have already used them to keep my code more readable and correct.

All this said, while I’m still a fan of Go and have used it regularly since 0.9 as well as contributed to the language, I will agree with the other comments that sometimes the language design bends over backward to be purist at the cost of having to add more footguns in user land.
https://news.ycombinator.com/item?id=40960124
The syntax just doesn’t sit right with me due to some reason. It gives me the same heebie jeebies as Python’s decorators. Not a fan of either. Maybe I need to get used to them.
Share section has always meant more than just share with other people.

It includes adding to favourites, publishing the page to other apps etc.
I haven’t found a CI that I like more than Gitlab’s, what are your major problems with it?
> 4) Hacking is Cool

Pardon my French, but this is the dumbest thing I have read all week. You simply cannot work on defensive techniques without understanding offensive techniques - plainly put, good luck developing exploit mitigations without having ever written or understood an exploit yourself. That’s how you get a slew of mitigations and security strategy that have questionable, if not negative value.
For this use case, not only do channels add an insane amount of overhead, they're also broken in all sorts of way e.g. there is no way to properly clean up resources around the iteration, and they add more opportunities for race conditions since the object under iteration has to be shared with the channel's producing goroutine.
Oh, and you omitted that you need to scroll down the share popup. A popup that primes you as scrollable sideways, don't forget.

When my family was discussing getting an older member a smartphone, I briefly thought about it and realized that the whole lore of what's srollable would be impossible to explain. If you don't want a feature used, put it "below the fold" in a popup.
As much as I agree with this, I must admit that it did trigger me to read the actual article :)

I assume that in a not-so-distant future, we get AI
powered summaries of the target page for free, similar to how Wikipedia shows a preview of the target page when hovering over a link.
>Android manages just fine on that front with full JIT

Is this the same Android that has a 5x+ share of malware compared to iOS?
> there’s no way to meaningfully count change over time.

You are right, should have finished my morning coffee first =) I guess for client-side generation it makes sense then. But how often is that really needed? I don't know...

As for the other points. I still don't buy that. For example implementing UUIDs vs implementing the transformation: CPU cost is negligible (you don't need to use cryptographic secure cypher). UUID might be a little simpler to implement, but combined with space and performance savings it's well worth it: 16 byte vs 4/8 byte (which might be stored multiple times in related tables) - it adds up and fills resources. Again I understand, most people don't seem to care about that, because they were born into cloud culture and have no clue what they are doing in terms of efficiency money/resource-wise.

Maybe I'm just too old fir this!
I'm surprised there is no support for cri-o
Three Reasons Why Developers Should Use DuckDB
https://slack.com/help/articles/12914005852819-Slack-data-lo...
Share is the button to bring up the menu with myriad actions like bookmarking, adding to reading list, printing, running third party actions, etc. Has been for years. Obvious? Maybe not. Obscure? Also no. There are very few buttons you can click to begin with: it has to be either AA or Share.
Company I write code for has an in-house app that's used on tablets by employees on retail floors. It's a platform agnostic PWA. Getting the managers to actually create a home screen shortcut to use it full screen always requires someone to walk them through that. It's just surprising and not intuitive to most people that a page in a web browser can be made to act like a standalone app.

To be clear, it's not really critical. They can do their job perfectly well using the app in any browser. But having it full screen does improve the UX quite a bit.
Like Sony..
Yes this is exactly what I wanted to say. I've been at 4chan since 2004, until I got banned several times in a row and just gave up going back around 2010.

Anonymous being blown up in the media was the funniest shit ever because we all knew what Anonymous was. It's more like a sub-culture than a hacker group.

Sure several hacker groups have existed under the anonymous umbrella but they were all 4channers, or b-tards. They were all under the same sub-cultural umbrella and could just as well been single actors acting under the anonymous brand.

So that's why anonymous will never go away, because it's essentially just people in some way influenced by the 4chan sub-culture, acting in the name of anonymous.
> Sharpe ratios and all those “risk” adjusted calculations all involve assumptions that may or may not be true.

On the contrary, these risk adjusted measures assume nothing more than a normally distributed random variable.

If you just look at annualized returns, then go ahead and invest in CDOs ETFs.

More seriously, the S&P for instance has around 20% annualized vol, which IMHO is way above what you would want for a retirement fund. I would target something closer to 10%.

> Comparisons of just annualized returns over long periods of time seems fine for broad market index funds

Do you have any sort of reasoning or is it just a gut feeling?
> If you need containers to build, then you need containers to deploy

That's not true. I've seen plenty of projects that set up a complex build pipeline made up of scripting languages and wrappers that are a pain to install, but the final product doesn't need any of that to run.

For instance, NodeJS web projects can require all manner of transpilers, minimisers, and what have you, but the end result is often a few large text files that will run in any browser if just served as static files.

If you use containers to build, you may as well use containers to deploy, but you don't need to deploy using containers at all. Just copy the compiled end product out of your dev container.
My top 3 reasons are:

1. Audio delay makes everyone feel like they're interrupting and being interrupted. And the audio quality is still abysmal. I get serious misophonia from this.

2. I talk with my hands a lot, so I feel I can't express myself properly when sitting in front of a camera. If I had the space I could maybe make it a presentation floor, but I feel that would be weird. In a similar vein I don't see my colleague's body language making it harder for me to gauge their interest or opinion.

3. I get really hot ears from on-ear and over-ear headsets. In-ears also cause discomfort after a while and the microphone sucks, too.
Yes, you can do that too
Even Wikipedia doesn’t include College Station
Gerrit is like old school git, the flexibility of github and gitlab far exceed gerrit's use in my opinion.
Just setup GitLab yesterday on my homelab server (containerized), it's a Rails beast and takes a while to start but the product they give away for free seems very polished. I looked at Gitea too before choosing GitLab, mainly for their CI.
With NetBoot.xyz, it’s just a DHCP server setting, setting up a TFTP server and very easy to set up. Much easier than dealing with a bunch of USB boot drives and keeping them up to date.
Fair 'nuff. I didn't read the article. Fair cop, Guv.
The author's point is very different -- it is that happiness can really only be pursued, as opposed to it being possible to obtain and retain happiness in an ever-lasting way -- but that it should be pursued nevertheless.

"huge part of philosophical and religious thought" is sweeping in the extreme.

Take for instance what a Christian would tell you about happiness -- they would hardly be saying the same thing as I mentioned above. Take a Buddhist or a Hindu -- they would probably agree with the first half of the proposition above (happiness cannot be procured permanently) but the entire thrust of those traditions has been (basically) to recognize this fact and give it all up and retire to the caves.
Scaling Chick-Fil-A's Design System from Tool to Service
Github is my preferred too. However I imagine it is because of how popular GitLab was in 2022. Pivoting mid migration would suck.
I personally very much enjoy using PWAs for things that are actually more like apps than websites. Things like Discord could benefit from a PWA version, but the ones I actually do use are for standard Fediverse pages, YouTube, Chrome Remote Desktop, Pokemon Showdown and a bunch more.

Sadly I do think that PWAs aren't very popular in the grand scheme of things since I think they often make more sense than a separate app that you download just for it to basically be a copycat of the website and to still not work offline.
Oppression of minorities is really just the outcome of democracy on long enough time scales. Run a democracy long enough and you'll have the boot of 51% of the population on the other 49.
The world is complex but... Why taxes exists? Try to answer.

In a working Democracy taxes are a mean to redistribute wealth to ensure that those who do more have more, because hey, we need incentives to work, but those who do less still have enough to avoid a too big delta between the poorest and the richest witch create deep social fractures.

Taxes "to pay public services" are a nonsense. In a Democracy we should pay civil servant, those who work for the public, creating money because there is no "public debt" in a Democracy, "public debt" is a nonsense invented as a way to rule a democracy like a cleptocracy making people think they decide while they do not. A soft power of few on the many. Money creation in a Democracy happen through public investments, witch are constrained by physical resources (natural, manpower etc of a State) so they can't create inflation. There is no fractional reserve seigniorage and so on in Democracy. The central bank in a Democracy is a State owned institution.

Of course we are not in Democracies so money are not such tool to help exchanging goods, services with something we all agree to barter for. In this models taxes are a way to impoverish the people so it's normal anyone try to pay less and of course those who understand better, who typically tend to be wealthy, do their best to being impoverished less. Because that's the anti-taxes point: taxes are not used to ensure not too much difference between the poorest and the richest to keep a society united but are used to makes the 2030 agenda "you'll own nothing", where the you means that the speaker, the WEF, count to own anything. The modern soft form of slavery.
If theres a question the answer is usually money in America...

Things they see as problems:

Reducing need for MacBooks,

Virtualised app-stores that use creative accounting or some other trick to circumvent apple tax,

True free-software culture on their platform,

Lack of control re privacy / data collection / platform guidelines / software publishing,

DRM circumvention...
> Creating a small wrapper type over a slice/map is trivial in Go

And yet it's specifically one thing rsc did not want. Further issues described in the rangefunc proposals:

- it would require the desugaring to run off of method-set analysis of userland types, something which does not currently exist

- it severely complicates resource management around the iterator, as you need a 3-step iteration for resource-bearing iterators (acquire iterator, defer cleanup, perform iteration)

And one not actually listed explicitly: for the limited amount of optimisations the Go compiler does, internal iteration is a lot easier to optimise as it pretty much inlines down to a `for` loop, the termination of which is much easier to analyse than bouncing through a bunch of pull calls.

Not only that, but `for range` works off of underlying type, so this is already valid Go:

import "fmt"

type Foo []int

func main() {
f := Foo([]int{1, 2, 3})
for _, v := range f {
fmt.Println(v)
}
}
QEMU interpreter uses all the tricks? Very much doubt that. QEMU is a JIT first, built around maximum flexibility, not performance.

A dedicated, optimized x86 on ARM interpreter could probably get 20% off the performance of QEMU Jit, if not more.
Well, right now this technically works, but is unusable - melted off 15% of my iPad’s battery life just logging in to XFCE and doing an apt upgrade (Debian ARM64), and is very slow overall. I’m going to try turning off the GUI and decreasing the core count to 2, but I don’t expect this to beat a-Shell on practicality or even iSH on usability.

In short, I’m going to keep using an ARM sidecar: https://taoofmac.com/space/blog/2023/10/07/1830

Apple doesn’t let us JIT nice things, and it’s just sad.
If an ape can't have copyright, why should AI?

https://en.m.wikipedia.org/wiki/Monkey_selfie_copyright_disp...
I'm interested in fora other than HN but HN is a great target because it is easy to get at through the API. Other fora have the problem of atrocious interfaces such as

https://arstechnica.com/gadgets/2024/07/german-navy-still-us...

or the half-baked "threaded discussions" that exist on Twitter, Mastodon and clones that people abuse in various ways. Those forums need it more.

So far as the PhD I brought that up as one specific example. (Funny I have a physics PhD from a while ago, I still remember a lot about Hamiltonian chaos and its quantum manifestations, can understand something looking at the math from string theory, etc.)

My problem is related to the moderation problem but is different because I don't need to be fair to anybody or be perceived to be fair.

In general I am talking with a friend about ways to make the commenting experience online better that include everything from tools for power users to large-scale modifications of "the system" to change the incentives to change people's behavior. I can demo the first one today, the second is a bit harder.
What's your main concern, the npm modules?
I've setup my static (hugo) blog on Cloudflare Pages and was very pleasantly surprised by the ease of setup and how fast they start build jobs after my github's commit. The fact that you can setup a custom domain and get SSL certs all for free with their vast CDN was a nice touch too.

I found them lacking in the department of logging and debug, my custom tailwind theme minification throws away used style classes even with Safelist specified in tailwind.config.js and I couldn't figure out why - it doesn't happen on my machine. In the end I left tailwind -minify flag out.
Sorry, I thought ShowHN was meant to be about sharing my work so that others can play around with it, and so that I could get useful feedback for improvement. Is that not so?
> Newly released documents show that the White House has played a major role in censoring
Americans on social media. Email exchanges between Rob Flaherty, the White House’s
director of digital media, and social-media executives prove the companies put Covid
censorship policies in place in response to relentless, coercive pressure from the White House
—not voluntarily. The emails emerged Jan. 6 in the discovery phase of Missouri v. Biden, a
free-speech case brought by the attorneys general of Missouri and Louisiana....

https://www.congress.gov/118/meeting/house/115561/documents/...
I'm comfortable with using alpine, is this another one of the many container solutions for tiny containers?
Yes, the spec says big endian.
It's not much the phone but the network. How many insist using craptops with crappy softphone webapps connected via crappy wifi because they think a damn desktop with a normal cat6 to the router is "an old thing"? How many even try to attend certain meetings on the go on crappy mobile macrobugs AKA smartphones on mobile networks?
Record-setting Lotus Evija X smashes itself to bits in seconds
Also to the works of R.A.Penfold, such as "An Introduction To Z80 Machine Code":
https://archive.org/details/an-introduction-to-z-80-machine-...
Someone has to develop and maintain it. It's difficult to quantify the development/datacenter efforts with respect to end user displays. I do doubt dark mode comes ahead at all at any rate. Morealso, OLED displays are overall ill-suited for regular work due to burn-in -- those are the only ones that 'can' save energy (unless you count CRT - but they would be way worse to begin with). The cost of the shorter lifespan OLED (burn-in) would heavily outweight the energy saved - you are looking at 15-20Wh top.

Note: displays with backlight (the extreme vast majority) display blacks by blocking the light, so the dark mode alone doesn't save anything. There are ones with local dimming that can partially benefit.
Amazing! Recently, I've done some digital art using Piet programming language, it kinda reminds of that, just with lines and dots. Awesome, keep up the good work!
And I guess technically correct is the best kind of correct, but rather than give money to Apple for some fantasy feature they will fight tooth and nail against, just buy something else.
Last time this discussion came up, someone shared this nice article[0] about all the different ID options. It mentions Stripe IDs, which have pretty prefixes like "prod_foo" and "user_bar". These are great for users of their API (no wondering what an ID refers to) and for internal tooling and debugging, but have to be stored as inefficient varchars, which is not great for indexing and whatnot.

So I spent the weekend creating "UPID"[1], which is like ULID but prefixable! Up to four characters for the prefix, 40 bits of time (256ms precision, but could change in a revision) and still 64 bits of randomness. So you can do pretty Stripe-style IDs without losing the benefits of a neat 128-bit UUID column. Have implemented it for Python, Rust and Postgres, maybe worth a kick around for someone!

[0] https://brandur.org/nanoglyphs/026-ids

[1] https://github.com/carderne/upid
Inside Google's Augmented Reality Reset
KSUID is better in everything
Do you mean they are incapable of taking notes or that they just won't bother to?

It is hard for me to imagine how someone would be incapable of taking notes. It is something you constantly had to do in school.
That guy is dead
Thanks! Perhaps you would like to share a link to your art? I mean, only if you are willing to give it in public domain…
What I like most about this is that it's self-contained, no external references whatsoever.
Returns from stock investing come from increasing stock prices.

Stock prices increase when earnings of the company grow.

In other words: when the economy grows.

You can argue that Amazon and Apple and Google and Facebook etc. will grow earnings even if the overall economy is flat or shrinks but I don't see how that would apply to passive investing i.e. investing in S&P 500 i.e. investing in 500 largest US companies.

S&P 500 is U.S. economy and they all are sensitive to overall economic situation. If people have less money, they buy less stuff. Amazon makes less money, their stock goes down. Apple sells less iPhones, their stock goes down. All other companies make less money, they spend less on advertising, Google and Facebook make less money.

I don't see a scenario where overall U.S. (or world) economy declines and S&P 500 doesn't decline.

In fact, declining economy is an argument for active investing. Even when overall economy declines, among 6000 companies listed on stock market there will be some that will be growing and if you invest in them, you'll make money.
I don't wanna bash Vercel for building a React based framework and then making you suffer to use it elsewhere outside of "their cloud" because that would be unfair. I have experienced similarly to you using Cloudflare Workers AI. The documentation wasn't up to date and I also encountered Wrangler CLI issues as described in the article you wrote.
There's no one to blame, but everyone honestly. And I feel this is the reason the dokku/self-hosting community hive mind is having such a strong comeback. Funnily enough there is a correlation between self hosting and old school framework like RoR Django and Laravel...

For my personal blog hosted on Cloudflare I am using Hexo.js - not as cool as Next but does the job and I can deploy it from gitlab using their Ci/Cd pipeline
I suspect that most people have issue on mere work tools, they do know by names tools from another era, while they never really used them, but they do not know the modern tools, so they create in their own minds strange hybrids between the old tools they never used and the new one.

In the past was common having meetings in a physical room, because the office was a needed tool due to paper-based workflows, and since attending demand certain time not only to meet but also to prepare the meeting, going to the right place and so on they was organized in certain formats. Things are, or should and must be different, but most fails to understand how to use new tools properly.

In the modern connected world attending a meeting is damn cheap, but we also have other tools to collaborate and depending on the task such other tools are better. Having searchable text trails, developing certain topics slowly a message at a time, having few "spontaneous" meetings between only few, than openly discussing something often is much better. But you should know modern tools and all must use them seriously.
I searched for weather in my area in Google then added that page as a PWA in Android.
dark mode gets harder to read w/ age progressing...
I think Python iterators are designed very cleanly.

They just take the function they decorate, and return another. It does not get simpler yet more flexible than this.
I'd say when something like a bank is involved, they need something more substantial to point at for their insurance arrangements if/when something goes wrong. "Our app allowed a $5000 transfer on the user's stock Samsung" is easier to grasp the state of the system they're playing in than a user modified one.

Also knowing what security risks are in play with N year old OS lets them decide if they want to allow the user to proceed or work around. Some applications are more aggressive in what version OS they need and that's a driver for upgrading phones, pushing the OEM to keep a phone in support for longer, or third party ROMs if this catch22 wasn't part of it.