skysight-inc/HackerNews huggingface dataset:
[[ and ]] are not portable. [ and ] are portable and specified in POSIX.

Like if you always use [[ and ]] you are going to be surprised when the default shell used for running unattended scripts in Debian, Ubuntu refuses to run your script.

dash: 1: [[: not found

I know your parent commenter mentioned "#!/bin/bash" so your point is still valid. But I recommend that always use "#!/bin/sh" and always use [ and ] so that the scripts are portable.

I say this as a former package maintainer who has spent a great deal of time converting Bash scripts to POSIX sh scripts just so that I can package them as .deb.
No it's not; 3600 seconds is 1 hour!
I was once at a rave in Estonia that had the loudest sound system I have ever seen in my life, speakers stacked to the very high ceiling of an old Soviet factory. I was wearing earplugs, but it was still uncomfortably loud and I could feel my pants vibrate with the bass.

There was one guy, high as a kite, who was literally hugging the speakers. I hope he enjoyed the rave because I'm pretty sure he got tinnitus as a souvenir.
I have YouTube premium and overall probably spend $100/mo on digital content. What bothers me is that even when paying full price I'm getting giant banner ads on the top and a slower experience.
Power over Ethernet usually supplies milliamps of current. Resistive losses are proportional to the square of the amps so they’re not a big problem for most things you power over PoE.

Latest standards seem to max out at 90W. https://www.analog.com/en/technical-articles/ltpoe-extends-p...

Over the 100M max cable length voltage will drop 25% from 56V input to 48V output. http://poe-world.com/Calculator/

For the same power draw, losses are 4x as high as at 110V, and 16x as high as at 220V. DC/DC power adapters are more efficient at low power (a few watts), so PoE might conceivably be marginal efficiency win for powering a bunch of low power VoIP phones. But as soon as you want to do something like power a laptop or even fast charge a mobile phone, you’re going to be better off plugging it into the mains with a modern AC/DC adapter that can be 95% efficient.

It’s not that AC is better than DC, it’s that higher voltages are far more efficient than lower voltages as soon as you need even moderate amounts of power over moderate distances.
Per second.
Followup news: "Man with a drone caused intermitten internet outage lasting hours"
Just what Unicode needs, Mayan orthography.
Market Maps Aggregator
Well you're calculating bandwidth so yes
Show HN: Enable Xcode 15 Quick Action style command palette in any Mac app
ARC is "Abstraction and Reasoning Corpus".

The ARC 1 dataset is here.
https://github.com/fchollet/ARC

The ARC 2 dataset is crowd sourced. If you can come up with a challenging task, then please contribute it.
For reference, this isn't always the case. It is possible for building companies to provide incentives to local authorities to bypass this (£££). Absolutely ridiculous but unfortunately true.
Came to say this, in the case of sane things* Nix works perfectly

* pip is not guaranteed to get you to a working state even if you run the same commands, so don't even think about it
How Network Processors Work
It’s not. You you can use systemd-nspawn to create a container that uses your own root filesystem by specifying --directory=/ --volatile=yes. This mounts a tmpfs into the container’s root, and then mounts your /usr into the container’s /usr in read–only mode. This allows the container to run all the software installed on your machine, while redirecting writes to the tmpfs.

Alternatively, instead of --directory=/ you could specify some other directory that contains an OS image (such as --directory=/var/lib/machines/debian-bookworm or --directory=/var/lib/machines/fedora-38). Multiple containers can transparently share the same image, since all the writes go to a per–container tmpfs.

https://0pointer.net/blog/running-an-container-off-the-host-...
I am not a medic but as far as I know we must encourage our bodies to burn fat. It is in our response because as we get older our body hates to burn fat preferring to burn sugars. Muscles is kind of the same story: use it or lose it. If you want to convert your fat into muscles you must go to any gym and hire a personal trainer and just do all the exercises recommended to you.

Well, I don't understand how anybody living in US can get to gym without using car, but in more decent parts of world there are a lot of open-air gyms which are scattered around all cities and towns and even villages and some of that gyms are pretty advanced. Probably US is an obese country because of the zoning law which effectively requires citizens to use a car very often.
Yes - That's right. The issue with crypto trading is that you can trade 1 crypto for another crypto. Once you start doing that, it becomes hard to track and find the value of each trade to determine your capital gains. With our tool all of this is automated, which could save hours or days of work.
I have similar requirements for a MUA, and I find Claws Mail adequate, as it behaves exactly as you say.

It needs explicit actions for downloading attachments and images or for viewing the HTML version in a browser.
Could it be coming from within if you get yourself in bar fights often enough to make it a consideration for not going out?

I've had my fair share of bars and clubs. Never once got remotely close to be involved in a fight, it's not something that even crosses my mind as a potential issue.
Interesting! There are also the Cube houses by Dutch architect Piet Blom:

https://nl.wikipedia.org/wiki/Kubuswoningen_(Rotterdam)
Works well now, thanks! Overhaul quite impressive even though sometimes the cut is still noticeable.
I love hotel bars, and not just for the quiet. It is the "liminality" that the author mentions, not just in space and time but also in the social dimension: a place that is neither private nor public, but a bit of both. Places where you can be friends (or at least get drunk) with a total stranger for one evening.

When I am in a big city, alone or with company, I try to hit the bar of my hotel at that specific lull between daytime obligations and the night on the town. I order a Martini to test the proficiency of the bartender and make some smalltalk or eavesdrop on the conversations while I wait for the evening to arrive. There is comfort in these vacant but well-delineated stretches of time, and hotelbars are perfect for that.
I have to switch to the desktop view to use date selectors on mobile. It feels like almost inevitably at some point someone will go "of our entire user base almost nobody uses it, so we should remove it!".

Recommendation algorithms are another field. Presumably they have tons of parameters. And how many do they expose? 0. Leading the algorithm to be mis-tuned for how I feel at a given moment ("give me new stuff" vs "show me something familiar").

YouTube's "related videos" have recently completely gone down the drain too. They've always mixed not actually relevant videos in there, but now they're ONLY showing them, leaving me without a way to actually find related videos.

Am I just an old man lamenting the world changing or does this type of stuff seriously feel inhibiting to anyone else?

This trend is one of the major reasons I prefer free software - some kind of respect for users' needs and the theoretical option to change these things.
Well...I searched for ZGC on Folia but I found 0 open and closed issues. Maybe someone discussed about this on Discord?
Problem is not all managed postgre services support pgvector
You can't grep for it, but you can grep `unsafe`
To be honest with you, sometimes things seem so shitty on a world level that I find myself entertaining the "if AGI is possible then let's risk the coin flip of extinction or greateness, I'm tired of all this status-quo bs"
Hence "modern" in quotes. It's relatively modern, considering wood houses have been around longer than writing im guessing.
I don’t get it. Both readIdx_ and writeIdxCached_ are “owned” by the consumer. (That being the point of a “cached” copy.) The producer might read readIdx_ occasionally, whenever we go through the whole buffer, but otherwise only the consumers access these. So why should we avoid putting them on the same cache line?
I’m fine letting this play out as is.

Some scifi imagines a world with a useless internet that is avoided in favor of local intranets or in person only

But also with AI running their own businesses, shout out to Delamain!

The human AI distinction wont be that important, but also in person favored.
Well, yes, you use 64 bit indices. As you are padding your indices to cacheline size anyway, you have bits to spare.

You can also still use 32bit indices and let them wrap around naturally and make it work as long as your queue size is less than 2*31. Comparison just becomes a little bit trickier. That's how TCP works for example.
Sure, but upon review it was found some of the code was using unsafe without reason, and people submitted pull requests which made the code better. It's better because you are sure it doesn't have a memory unsafety bug, even if the code "looked" right before.
That depends on the App / platform combo, but for some key comms applications (Signal, for instance) this is possible.
As a matter of fact, integer overflow does not matter in this case. The head and tail indices of a full buffer would still be equal, and those of an empty buffer would still differ by exactly its size: so all you need to do is use a wide enough integer for the buffer's size to fit inside it.
Theorem Proving in Coq
One way to lower the house prices is slashing the demand. They can do that by limiting immigration.
All those Tesla are making a dent.
> I don't want to offend anyone.

I like your intention, but that is impossible.
> You can distinguish full and empty using x-y=0 vs x-y=N if the length N is a power of two

Why wouldn't this work for, e.g., N=13?
Why not Apple?
Ask HN: What Is Pullpo?
Pullpo is a GitHub-Slack integration startup that helps development teams have faster code review conversations and detect and solve bottlenecks.

Pullpo allows for effective collaboration and communication, leading to fast releases of new features benefiting the development team, CTOs, managers, and customers.

Pullpo provides structure, collects, insights, and automatic synchronization between GitHub and Slack— all the necessary solutions to solve bottlenecks developing teams face.

Pullpo offers free trials and one-on-one demos with our Co-Founder Marco. Feel free to book a demo or trial, and join our community.
Demo Link: https://calendly.com/marco-pullpo-io/30min?month=2023-06

If you have any questions, reach out at the email below!
taylor@pullpo.io
I didn’t know about the tricks it used. As a Mac user (not developer) then I assumed it was just a texture. And I wouldn’t have expected many transparent layers or gradients to be performant.

Do you have any more info? It’s hard to find technical content from those days on the net now. But I have a soft spot for the brushed metal look too and so I’m curious to learn more about it.
This is just a shell wrapper, yes. Like you, these shell wrappers don't appeal to me either. Like you, I just use a Makefile too. But HN is a large place with all kinds of people with their own preferences. It looks like simple shell wrappers do appeal to a large number of them. Not complaining about it. Just observing.
Oh yeah, great idea. Done!
I imagine it would matter more for more dangerous noise levels and environments, like a shooting range, where even a single shot fired without protection can cause damage, and while some of the better ANC headphones would be able to noticeably suppress a different, sustained, noise of similar intensity, they wouldn't be able to protect you against gunshots.
I think the difference is that FTP is historically known and easy to use with generic tooling. Or at least it was so a decade ago. Today, in fact, I bet that if you made a website that's fronting someone else's FTP server, it's you who'd get hit with DMCA first. IPFS is public only for a small subset of techies - at this point, for anyone else, it's some mystery alternate realm they don't have access to. This is not a theoretical issue, but a purely pragmatic one - but legal action is also mostly taken on practical grounds, not theoretical. Thus, obscurity of the tech involved matters.
"Pedestrian deaths have been climbing since 2010 because of unsafe infrastructure and the prevalence of SUVs, which tend to be more deadly for pedestrians than smaller cars, according to Martin"

The report itself shows there's an increase in pedestrian fatalities in slightly fewer than half of states and the increase comes from deaths at night and not in the daytime. How would an increase in SUVs (which is a national trend) cause this result?
If you don't use `unsafe` then it guarantees it barring compiler mistakes. The compiler has had issues with memory safety before, they were found, and they were fixed. There might be some left lurking, but they are extremely unlikely since people are using it in production and haven't seen anything weird.

If you use `unsafe` you have to make sure of it yourself, but you can easily grep for this keyword and see where the monsters lurk.
It’s an interesting question, but mechanical rotor encryption machines fell out of favour reasonably quickly after WW2 (early 1960s?) - which suggests that even with the limited computing resources of the time they were no longer secure ie you don’t need brute force to crack messages, some other cryptanalysis technique could do it.

Edit: Though it might have been that purely electronic cryptographic machines were just cheaper and stronger by that point.
Did these guys reinvent Netscape Navigator?
Nim Lang for Unreal Engine
Major research lost after cleaner turns off fridge
I wonder if they know that domain means "Whore Mountain" in Dutch.
At this point browsers are more complicated than the operating systems we had back when browser+mail was the norm.

And I bet Gmail.com running in a modern browser is more complicated than a mail client from that time.

As such, browsers are now an app platform. They don't need to ship with prebaked apps like mail. They need APIs like a powerful runtime, visualization layer, background services and notifications... and they have them.
With LLAMA at least, not just past tokens, but also past states for each layer and each token. So LLama has information not just on the word "Berlin", but also on why it outputted "Berlin".
Its fine for most stuff the average player does. I wouldnt run a redstone computer on it but I personally never had an issue with my farms.
A martini only has two ingredients. If you’re trying to test a bartender you might consider doing something like a frozen pina colada or a gin fizz.
> In a note to employees, obtained by TechCrunch, former CEO and founder Abraham Shafi encouraged employees to “adapt” and “be disciplined,” citing that WhatsApp grew to 450 million users with a team of just 55.

> “Becoming one of these iconic, impactful companies is akin to winning a gold medal in the Olympics. In fact, probably more challenging,” Shafi wrote in the memo, which was full of similarly outlandish analogies. “Like the Olympics, we know most people don’t want to be Olympians. In the same way, not everyone will want to walk the path we are walking. But for those that want to push their limits and find out what they are capable of, this culture is for you.”

With every day that passes I become more convinced that Silicon Valley was a documentary.
The hardest part of building software is not coding, it's requirements
For me a browser and mail and phone number is all equipment for Internets I have. I do not use any apps because I hate to feel used and I dream about Internets which will not require me to have a phone number again.
Don't know specifically about CentOS Stream, but I used to run things like IBM DB2, IBM TSM, and a few other stuff that was built for RHEL 4.x/5.x on RHEL 5.x/6.x.

One thing that I like about RPM is how most packages specify dependencies based on contents, not on package name or version. So, even if a package changes name, if it still contains the required ".so.x.y.z" library, it will work.

PS: I don't understand how people can complain about rpm/yum/dnf, 20 years ago it was already years ahead of what apt/deb is today.
Imagine a task that can automatically create and post ads on LinkedIn, Adsense, etc. Imagine you can also provide analytics as feedback, thus making each ad more analytics optimized. These are the types of mundane activities I dream of offloading to GPTs until the entire concept of online ads become irrelevant.
If we can somehow significantly lower travel and power use, since these two are responsible for most of the emissions.

Locating manufacturing as close as possible to the consumption source might help immensely. Heating and cooling are major culprits - 78/68° farenheit are traditional thermostat-conservation goals, but I would encourage healthy people to try 85/60°f (from personal experimentation due to necessity - i.e. a tight budget. Maybe even 90/55 is doable as an upper/lower limit, but be careful with the upper limit).

A main driver also seems to be rents, whether tenant rents or property taxes. Is there a way to reduce the need for people/governments/society to do/have/need so much?

Supporting the infrastructure of affluent lifestyles is also an important factor (this is not a judgement, just an observation).

But perhaps the biggest problems are existential or philosophical. I almost get the feeling that there's so much mutual disgust with humanity that there's a tacit agreement to "commit suicide", in a sense, which in this case requires no special effort. So maybe a little existential reassurance is in order, along the lines of, 'Humanity's been through a lot, a lot of change, and especially a crisis of meaning with the compromise in authority of the traditional sources' (an evolving and unresolved issue).

Also, addressing global warming should not be a miserable endeavor. For example, less travel and more relaxed lifestyles can be happier ones, and while "bringing manufacturing home" may result in more expensive things, it would probably help the unemployment issues in America (which are greater than appreciated) significantly.

Then there's existential/philosophical "intangible benefits" that should be considered, e.g. how much better people might feel knowing their products come from people they know are making fair wages, and knowing they're working to provide a future for their descendants that they can be proud of.
Example task that you cannot automate with a basic script - for each e-mail you receive, convert it into json of a given format for a given e-mail type (e.g. for delivery notifications, newsletters, meeting requests and so on). Also, tag it if it relates to a specific area of interest.

Another case that a friend of mine built - summarise a stream of news from Twitter/Telegram so that no news are lost, but duplicates are removed and bad writing is reformatted.
ChatGPT decodes this to "MEETATTHETOPSECRETLAB"
Not all cities are like this, but when I go to the USA I am always shocked by how insanely loud the major cities are. New York being the worst, but Philly and LA aren't significantly far away.

Germany also seems to have this problem, at least in Munich, where there are 6 lane roads in the middle of the city and no sound isolation at all for construction.

I think London for me is too noisy, but it's a far cry from New York which felt like an assault on my ears the entire time I was there; such that when I returned to London I felt bad for complaining about it.
> This regulatory attention on large companies is advantageous to startups

Any reference about this? If anything, the GDPR fines make me think the opposite.

https://danuker.go.ro/gdpranoia.html#fines
Ars has a good article on this :

https://arstechnica.com/cars/2023/06/pedestrian-deaths-rose-...

Check the graph on how there was a big increase in particular states.

Source report can be downloaded at :

https://www.ghsa.org/resources/Pedestrians23

Check page 21 for the report on day vs night deaths.

Does anyone have good data on other countries? I've looked at Australia and there is no great pedestrian death increase. So it's unlikely to be mobile phones driving the increase.

Go here for the Australian dashboard.

https://www.bitre.gov.au/publications/ongoing/road_deaths_au...
This is just one of the reasons that any reasonably developed state will provide, free of charge, a state-issued e-mail address, for use for important communications.

The restoration of such an email would only require you to show up in person and prove your identification through your ID card or passport.
Great comment.

You've described the issue at the upper-end of the income spectrum well. I think you're correct that excess income in this country tends to largely be funnelled into real estate rather than building businesses, but equally on the lower income spectrum (where individuals don't have the income to afford their own homes) their income gets redistributed to the wealthy via high rents (and I'd argue taxation too, but that's another topic).

That said, I'm not sure housing is the root cause of our economic problems – although it's certainly part of it. I think the primary issue is government underinvestment and that we just generally don't have very good incentives to build or work here. This has probably been the case for the last 20 or so years and now with these latest economic challenges the consequences are really starting to show.

On the wealthier end of the economy I'd argue culturally entrepreneurs and investors are far more risk adverse here. Technology and startups are viewed with more scepticism and less optimism and for this reason people tend do less innovative things. This is compounded by the fact our government has done very little to encourage innovation. So for this reason startups here tend to just apply tech to existing business models. Eg, "we're a bank but with a tech focus", "we're an insurance startup but with a tech focus", "we're an energy company but with a tech focus". This is literally the height of innovation in the UK. We rarely build anything truly new or interesting in the same way I'd argue Scandinavian countries do. Then on top of this you have the government crippling innovation via excessive taxation and regulation – although this is more of a general European issue.

On the lower-income side of the equation I have no idea why people work anymore. If you know what you're doing you can earn around £20,000 (tax free) on benefits in the UK. Additionally the government will give you a house (and often a car) so in total you'll generally have a far higher living standard on benefits than getting a working class job paying you £22,000. Whenever I say this I always have middle class people say I'm exaggerating or somehow slandering working class people as being lazy – and to be clear I'm not. I'm from a working class background and the majority of my family are on benefits because it just makes sense.
IMHO this is also a good remark in context of those container images that most of all have /bin/sh. Technically not all, but many distro based containers.

so if someone plans to extend the script so that it injects it iself into the container or what not.
I wouldn't say "each has to do a lot". There's a few trivial behaviours usually. Especially if you know what behaviours are common, you can optimise entity lists for that.

But that's not even what we're talking about here. This was a short-lived test server with new environment, not huge farms. The super high GC stats we see here are the baseline behaviour. More complex scenarios will push this even more.
Yes, in the same sense a modern digital camera is a glorified photodiode. In both cases, light comes in, voltage comes out, and we can use it to count how much light came in.