skysight-inc/HackerNews huggingface dataset:
> How do you scale your site or add * number of posts or headers and footers that do things like show the latest post?

It depends on your needs, some use a templating language (like Handlebars, Nunjucks, Pug, etc), others might write a script to build the site

The problem with many static site generators is that they grow beyond their initial mission and get bloated in an effort to please a wider audience, so previous adopters get tired of the imposed complexity and problematic dependencies they didn't need or ask for and start looking for simpler solutions that meet their needs.

I want to migrate, but my blog currently has this cool thing and I need it.

And since the audience probably can't settle, and keep trying different setups, all SSGs grow in complexity and more or less reach feature parity among each other.
> It's becoming harder to write non-safe c++.

It's becoming harder if you understand those features and use them correctly, on top of your knowledge of unsafe C++. Even then those are opt in, and it still takes a tremendous effort. I don't trust anyone using C++ correctly. It's just hubris at this point. You can use unsafe and call C but that's a smaller surface area to audit. Most big companies are transitioning to Rust for a reason. Some big companies were trying to replace C++ even before Rust was a thing.

Why make a C++ browser now? What's the point?
I think the problem to solve is more like : given a set of inputs and outputs, find a function that gives the expected output for each input [1]. This is like Newton's method on a higher order ;-). One can find such a tool in Squeak or Pharo Smalltalk, IIRC.

[1] https://stackoverflow.com/questions/1539286/create-a-functio...
In Germany you can get some soft drinks in reused thick plastic bottles.
When I was building an object store years ago; I needed a way to attach metadata tags to each object. The objects themselves could be files like a picture, a document, or some music; and I wanted to allow tags to denote things like the author, the camera, or the music genre.

Most systems use things like file extended attributes or a separate database to store such metadata; but I wanted something different. It needed to be able to attach tags to hundreds of millions of objects and find things that matched certain tags quickly.

I invented a key-value store to hold the metadata and got it working well. When it started to look like a big columnar store with sparsely populated rows; I decided to see if it could handle queries like a relational database. To my surprise it not only did it well, it could outperform many of them.

There are data models besides relational that can work extremely well for certain data sets.
Location: Odesa, Ukraine
Remote: Yes
Willing to relocate: No
Technologies: Golang, Python, C, Bash, PostgreSQL, Redis, Docker, k8s, Networking, Linux, ... (ask me for specific one of your interest).
Résumé/CV: https://www.linkedin.com/in/vladislav-yarmak/
Email: vladislav-ex-hncv@vm-0.com

I have about 18 years of experience and right now have CTO position in small crypto startup, but my agreement will end late August this year.
Just don't confuse it with engineering.

Software Engineering = Programming + People + Time
I coded my own JS based HTML include leveraging script tags.

https://github.com/miragecraft/x-include

The main advantage is that it’s not subject to CORS thus works directly from the local file system without having to set up localhost.
A current page for the system dead linked in the article, https://www.gatekeepersystems.com/solutions/purchek/
> Canada's wildfires last years polluted more than all antropic emission combined

That's inaccurate, and not what the article says. The article quotes research saying the 2023 wildfires added 3 billion tons of CO2 to the atmosphere, which is "nearly four times the carbon emissions as airplanes do in a year" or "about the same amount of carbon dioxide that 647m cars put in the air in a year."

For comparison, global fossil-fuel and industry sources emitted roughly *37 billion tons* of CO2 in 2023. This excludes land-use emissions: https://ourworldindata.org/co2-emissions

There's also the fact that fossil fuel emissions are net-new release of gaseous CO2 that's been sequestered away from the atmosphere for millions of years. Tree cover loss is bad, but forest-fire CO2 was fixed within much shorter timescales, and the article mentions the burnt forest area regrows and starts to sequester carbon again within decades.
DAB has also effectively been abandoned in Ireland (https://en.wikipedia.org/wiki/Digital_Radio_in_the_Republic_...)
I read an article about that last year. There are studies (a study?) going on to see how the changes have affected the trails and seeding you mentioned.

https://www.science.org/content/article/changing-clouds-unfo...
And might be a failure. Undervalued/overvalued is only in retrospect.
Is using model responses to train a new model against the ToS for the major LLM providers (OpenAI, Anthropic, etc)?
The Clockmaker (2014)
I've pretty much committed to GitHub Actions at this point, under the hood it's just running shell scripts on a Linux machine so it's a pretty solid base for deploying to whatever hosting I might use in the future.

For static stuff I can use GitHub Pages directly. Notes here: https://til.simonwillison.net/github-actions/vite-github-pag...
Why should we extend a ruling from a state court from 1905 to the entire US? By any stretch this seems like cherry-picking and goes to show how baseless the argument for mandates is.
Easier than most people think ... to get started, but there are relatively few masters compared to the number of practitioners.
> . Repeated document fragments have been a pattern since the very beginning of HTML. This is a missing feature.

With webcomponents, it's now trivial to do client-side includes. It's not really a missing feature anymore. See this post here (which, for some reason is being downvoted): https://news.ycombinator.com/item?id=40847759
On the other hand, if your SSG does break you still have the HTML files that can be edited by hand.
> Adept has around 100 employees, according to LinkedIn. The company declined to share headcount numbers. Update: Amazon said around 20 employees will remain at Adept.

From the article linked to in the prior post https://news.ycombinator.com/item?id=40832245

This is basically them gutting the company. I wonder how the investor base feels about this
I tried 2 different IP addresses from Brazil and they got blocked.

I tried an IP address from the USA and another from Canada, and both worked correctly.

The message you get when you're blocked is:

Sorry, you have been blocked
You are unable to access dillan.org
Performance & security by Cloudflare

Why have I been blocked?
This website is using a security service
to protect itself from online attacks.
The action you just performed triggered
the security solution. There are several
actions that could trigger this block
including submitting a certain word or
phrase, a SQL command or malformed data.

which is false since I wasn't doing any of the things they list.

I wonder why they think that Brazil and other countries shouldn't be reading this site? Is the owner of the site able to geo-target which countries he wants his site to be shown in via Cloudflare?
True, though you probably only need to invert some relationships to get the same behavior. Instead of a page including the header it wants, you have it iframe the content you want. Your landing page, then, can use javascript to pull out the location to know which page to include.

Functionally, it would be about the same? Caching would even largely go the way you want it to with it hitting the main layout page first, and then pulling in the content pages.

Edit: Amusingly, this organization strategy also provides a relatively easy way to try out other layouts. Since you can make a new driver page that iframes in your content.
A group of people who all sell similar products with similar names and dubious businesses very closely resembles an organized scam. From the offset it sounds like Stripe is simply doing their due diligence.
When the federal agency hasn't been explicitly given a specific àla cart power by an increasingly disfunctional congress, courts are no longer expected to defer to the expertise of the federal agency when it seems reasonable to the court and seems to reasonably follow the powers congress has enumerated.

eta: I like to think of it in terms of "implied powers". So, the previous standard was that if Congress says the police are allowed to fine people for speeding, the courts should probably assume that the police are allowed to measure people's speed. Now congress is expected to explicitly state everything the police are allowed to do, e.g. congress has to say

The city is allowed to set speed limits.
Speed limits are a maximum speed you are allowed to go.
If you go faster than the speed limit, you are breaking the law.
Police are allowed to measure your speed.
Police are allowed to record your speed.
Police are allow to compare their measured recording of your speed to the speed limit, to determine whether or not you were speeding.
If police determine that you were speeding, they are allowed to fine you.
The police are allowed to fine you greater amounts if you break the speed limit by greater quantities
If the police fine you, they are allowed to take money from you
If the police fine you, and you don't pay it, you are breaking the law.

Previously if they said "The city can, at their discretion, manage speeds for the safety of all concerned, and use the police for enforcement", the rest was implied. Now it's not.
McGill University in Montreal appears to quote the wiki verbatim here:

https://www.mcgill.ca/oss/article/did-you-know-history/7-was...

Gizmodo also has an article on this, but without sources:

https://gizmodo.com/7-up-used-to-contain-lithium-1634862072

This page, linked from Gizmodo, has a picture of what appears to be an antique label:

https://www.neatorama.com/2012/10/28/What-is-the-7-in-7UP/
Exactly, BloombergGPT performed worse on financial sentiment analysis then much smaller fine-tuned Bert-based models.

For many extractive tasks BloombergGPT was quite disappointing. A 5-10% performance hit with much larger inference cost compared to smaller models is not desirable.

But the research investment for Bloomberg makes sense to take the risk: a do-it-all generative model can mean significant complexity reduction in maintenance and deployment overhead.

It didn't directly pay off for many extractive tasks, but I bet they're iterating. Bloomberg has the data moat and the business needs in their core products to make it worthwhile.
They are. Because they have some measure and collected data, and some other measures totally invented. How can you state I "save CO₂ emissions" producing energy from my p.v.? How can you state up front that only CO₂ emissions count in pollution and climate change?

This is not science, it's a kind of religion, to convince people formed with a kind of scientific mindset but not really inhabited to reason individually, but to accept as truth what they read. Starting from the "data collected" form certain institutions who have NO PROOF of their collection, meaning their data are not really reproducible. Just a modern variant of the old colored glass to trade gold with certain populations.
https://archive.ph/HvScE
You’d get a deadlock, absolutely. But I’m fine with that: if the thread wants to access some state protected by a mutex, then while holding it (effectively) spawns a signal handler activation and waits for it to complete, and the signal handler tries to accept some state protected by the same mutex, then the program has just deadlocked (mutex → signal handler → mutex) and deserves to hang (or die, as this is a very simple situation as far as deadlock detection goes). That’s in any case better than corrupted state.
This article doesn't talk much about testing or getting training data. It seems like that part is key.

For code that you think you understand, it's because you've informally proven to yourself that it has some properties that generalize to all inputs. For example, a sort algorithm will sort any list, not just the ones you tested.

The thing we're uncertain about for a neural network is that we don't know how it will generalize; there are no properties that we think are guaranteed for unseen input, even if it's slightly different input. It might be because we have an ill-specified problem and we don't know how to mathematically specify what properties we want.

If you can actually specify a property well enough to write a property-based test (like QuickCheck) then you can generate large amounts of tests / training data though randomization. Start with one example of what you want, then write tests that generate every possible version of both positive and negative examples.

It's not a proof, but it's a start. At least you know what you would prove, if you could.

If you have such a thing, relying on spaghetti code or a neural network seem kind of similar? If you want another property to hold, you can write another property-based test for it. I suppose with the neural network you can train it instead of doing the edits yourself, but then again we have AI assistance for code fixes.

I think I'd still trust code more. At least you can debug it.
I’ve tried so many and the thing that just philosophically drives me nuts is when I want to purge it of the 80% of features I don’t want.
How to decide between competing explanations and theories
Eminent domain is considered due process
Rucksack and a small cool bag

coffee;
double cream;
Bialetti coffee pot;
small stove;
bottle of gas;
ball of string;

2 bottles of filtered water. I dont drink tap or bottled water

old Samsung Tab modded solely as a book reader loaded with hundreds of books

Arduino wifi jammer. I do hate being filmed without my persmission by Ring piece door bell owners and CCTV in general.

two phones and a battery pack:
RTL-SDR dongle

Bivvie and bed roll

No guns allowed on Airstrip One

Terminator sunglasses
Tell HN: Bitbucket is deleting empty workspaces
Bitbucket sent an email to all its users, including mine:

> You currently have access to an empty Bitbucket Cloud workspace that will be removed. Please note that this action will not affect your ability to login and access your Bitbucket Cloud profile and collaborate in existing non‑empty workspaces and content hosted in them or one's you join/create in the future. After July 31st 2024, we will begin deleting all empty Bitbucket Cloud workspaces. If you are an admin of the workspace, create a project or repository to prevent this deletion.
The amount of on-site only job listings now in 2024 is insane.

I cannot believe you people will work for these companies and managers that require on-site and not fight back. We're losing our power. I hope nobody applies to these jobs.

Datadog, on-site only in NYC, Paris, Boston and Tel Aviv.. lmao. I live in one of the USA HCOL cities (not those, I'm Denver/Austin) and I wouldn't go near those places rent wise. $3500/month for a 2 bedroom is high enough for me to sit on my computer and write go. I've worked at 4 companies in the last decade moving off of Datadog to Grafana and they require on-site in NYC to write log chutes and charging an insane amount for their product while paying their NYC engineers $300k+. Wild.
It ain't no 1999 party if you aren't using frameset to provide the shared page elements.
Hardware fails because of physical rules, software is more abstract and more flexible. I agree that higher standards should be required, but business people won't do it as it will make it as slow as hardware engineering. I'd love to see formal verification for at least the business core of any application. That should incentivize product managers to write better specifications.
Exactly. This is how it was always done and it works great.
End of Support for Mozilla Hubs
There was a time when Software Engineering was the application of a branch of Mathematics called Computer Science.
I think Texas is at a disadvantage because they were very open about the political motivation for passing the law.

But I’m wondering: suppose they pass a new law permitting state residents to challenge in court “arbitrary and capricious” content moderation decisions. And to publicly justify it, they find some examples of state residents who claim to be victims of such decisions (I’m sure they could), but for posting things that aren’t obviously political. For example, we live on the other side of the planet, but I’m thinking of the time my wife was suspended from Facebook for joking that her cousin’s baby was “so cute she had to kidnap her”-her cousin read that as just a figure of speech not a violent threat against a child, Facebook disagreed.

So, a law to permit judicial review of content moderation decisions could be sold as something apolitical, and a law with such an apolitical framing might be more likely to be upheld by the Supreme Court. But once it has been accepted with that apolitical framing, then there is the potential for the judiciary to apply it in more explicitly political cases; and the precedent of applying it in apolitical cases may make courts more likely to accept it as constitutional if its application is later extended to more political cases too.
CVE-2024-6387
Sure, but the <head> doesn't go into the body DOM either? Pretty sure header.html was supposed to be the navigation/menu and similar, so that wouldn't be in the <head> either
Now we know that US presidents are above the law. I always assumed that was the case so this is just confirmation for everyone else who had any doubts.
HockeyStack | Cracked Backend/Infra Engineer | ONSITE (San Francisco) | VISA sponsorship available | $180k-$250k + 0.2-0.4% stock option

HockeyStack is creating a single source of truth and reporting for marketing, sales, and all customer data.

We came out of YC S23, and raised $4.3M from General Catalyst, Madrona, et al.

We went from 0 to millions in ARR in a really short time and are in a DEEPLY URGENT need of really good engineers to help scale infra and backend.

The product collects data from CRM, marketing automation, ad platforms and data warehouses. The data then gets cleaned and transformed into a unified format. Out of the unified data format, customers can create any type of report the want using the UI. We have a dynamic query engine that transforms UI inputs into a query.

Because of the flexibility and how much data we process, keeping integrations up, transforming data accurately, reporting accurately and performantly is a huge technical challenge.

Please email me at bugra @ hockeystack.com if you want to take a crack at some of these problems.

Worth noting that we are fully in-person in a beautiful office near Oracle Park in SF!
I appreciate inventing a simple language to teach programming and this looks like a good introduction.

But at first glance, this looks SO similar to Python - just teach them to use some parentheses and colons and you'll be learning programming AND learning a very useful language.
I'm sure there was a T&C that included all this and you waive rights to complain about this or join a class action about it.
> You need a browser with WebAssembly support for this website.

No thanks.
> You are saying that "subjective awareness" can exist (whatever "exist" means) without any hardware at all. I don't think you (or anyone else) has any evidence that that's true.

A software program running exists. Its rules exist. It requires hardware to run on, but the details of the hardware, beyond accepting the instruction set the software uses, are irrelevant.

Checkers is a game with rules that are independent of the materials that make up its playing peices.

Minds as systems run, exist, on physical things. But they can be independent of any substrate in that any substrate that implements the rules they need to operate will support a mind. That exists.
Given the volume of resume spam these days, do you have any tips for getting eyes on my application?
But can it load them locally? Can it load them into the <head> tag? Sorry if these are dumb questions, I'm just getting started with webdev.
I was going to buy an Eight Sleep and then I immediately lost interest when I realized they pull this shit. If I'm paying you over $1000 for a mattress cover, I'm not paying you "rent" money just so the thing will work.
If you need more colors, you can use "color3 r g b", where the values range from 0 to 1.
Calling the Baby Ugly Won't Short Circuit the Emperor's New Clothes
Company: Planeto (early stage cleantech startup)

Planeto develops next generation software for design and operation of clean district heating and cooling networks, to accelerate adoption of renewable energies for zero emissions cities.

Hiring a Senior Software Engineer, REMOTE (EU/UK/CH, head office in Geneva, Switzerland)

https://cord.co/u/planeto-/jobs/125274-senior-software-engin...
This is my favorite concept: writing HTML by hand, but having a static wrapper, which also takes care of links and their validity, and things like tags, public visibility of posts, RSS feeds and so on. (The data feed for this may live in a static data file, as this will be still of moderate size — you probably won't have multiple hundreds of posts — and loads without db latency. As a bonus, since there is no input and no query, this should be quite secure. Or rather, as secure as you basic server setup.)
Here is my experience, having worked on a competing low-code/no-code platform for several years:

- can be great for quickly getting a proof of concept up and running

- may suit your needs indefinitely if your scale remains small

- will likely scale very poorly as needs or applications grow due to the fact that they generally obfuscate computational complexity

- can be a lot more difficult to style or brand properly
Published in 1944, Stick and Rudder[0] by Wolfgang Langeweische has this to say:

>Forget Bernoulli's Theorem

>When you studied theory of flight in ground school, you were probably taught a good deal of fancy stuff concerning an airplane's wing and just how it creates lift. As a practical pilot you may forget much of it. Perhaps you remember Bernoulli's Theorem: how the air, in shooting around the long way over the top of the wing, has to speed up, and how in speeding up it drops some of its pressure, and how it hence exerts a suction on the top surface of the wing. Forget it. In the first place, Bernoulli's Theorem does not really explain- the explanation is more puzzling than the puzzle! In the second place, Bernoulli's Theorem doesn't help you in the least bit in flying. While it is no doubt true, it usually merely serves to obscure to the pilot certain simpler, much more important, much more helpful facts.

>The main fact of all heavier-than-air flight is this: the wing keeps the airplane up by pushing the air down.

>It shoves the air down with its bottom surface, and it pulls the air down with its top surface... In exerting a downward force upon the air, the wing receives an upward counterforce- by the same principle, known as Newton's law of action and reaction, which makes a gun recoil as it shoves a bullet out forward...

>Say that the wing is basically simply a plane, set at a slight inclination so as to wash the air down... But it was early found that the drag, lifting, and stalling characteristics of such an inclined plane can be improved by surrounding it with a curving, streamlined housing [emphasis mine]; hence our present wing "sections". The actual wing of an airplane is therefore not simply an inclined plane; it is a curved body containing an inclined plane.

[0]https://openlibrary.org/works/OL3483476W/Stick_and_Rudder?ed...