skysight-inc/HackerNews huggingface dataset:
Ask HN: Have you built a website in XML and XSLT?
I have read up a bit on XML + XSLT the last few days, knowing very little about it, and was surprised to learn that it is rendered entirely in the browser without the need for server side processing or JavaScript.

If any of you have made a website using only XML + XSLT – how did you structure the content and what strategies did you use to write and include repeating elements (like header, footer etc)?

Feel free to leave real world examples or write-ups in the comments!
Depends on the city/locale. In NYC most drivers don’t own their medallions, they drive shifts for someone else’s medallion.

In fact I’ve had a lot of conversations with Uber and taxi drivers who started as taxi drivers, switched to Uber when the bonuses were lucrative, and then some of them switched back because they liked the predictability of a fixed shift and not being ordered around by a machine. Others felt exactly the opposite.
Ask HN: Anyone here make a jump from tech to sales/marketing/CS? How was it?
This is a cool business idea. All the best to the creator of the site.
When dealing with the most common case (I think) for pagination, clients (web/native) requesting data, are you suggesting keep a long running websocket only to fetch data in response to new page requests? What benefit would that afford, given that the requests are pretty far apart in time?

Or are you focusing more on the backend machine to machine case? In that case, some kind of automatic prefetching, lazy loading/yield setup sounds pretty nice if that's abstracted away when you want to iterate over a large dataset from a separate resource server. It's not a pattern I've used before, mainly because it's not often that one server wants to know everything that another server has.
Hard disagree. I don't want Tor and torrents and email and other crapware on my browser. And not on my Firefox. It already has too much of that with pocket. They can focus on the engine and the UI. Leave useless stuff as separate applications.
Exactly my point. We mandate seatbelts but not helmets. Why?

And for what it's worth, I ride. So helmet and gear but no belt on that.
I’d put it on cost and market needs. A membrane keyboard can be one-shot injection molded and that same membrane can then fit into many different keyboard designs. Touch screens are an instance where I’m not too certain they’re the cheaper option, however I think the cost reduction comes in software updates being free. An OP-1 isn’t an essential piece of kit even for professionals and you’ll find that same category of hardware exists for computers too.

Honestly most professionals probably don’t need that level of quality. I’d even go as far in saying if you need tools that reliable and expensive then likely they would almost never be for personal use. It comes down to consumers needing to understand the quality of the products they buy should only match their use expectations. Over-engineering an object is a waste of resources, and processes like injection molding aren’t nearly as bad for the environment as the public may think as long as the objects are useable to someone.
I like the way each one is hard panned left and right.
yes, access through storage layer through FDB using a SQL interface. aka SQL interface with FDB guarantees.
Chaos: The real problem with quantum mechanics
How long before that gets banned also just like Desal was banned California beause of environmental impacts (both saline and temperature).
Yep, I'm probably going to take advice from you.

And truly I care more about the curation aspects of HN than I do about having conversations with tech people. I remain convinced that for the most part it is a colossal waste of time. Very little listening happens.....
https://openbase.com/categories/rust/most-popular-rust-libra...

Does not work. Only JavaScript top list work for me.
See "What's the relationship between YC and HN?" in https://news.ycombinator.com/newsfaq.html YC existed first, then 'news' was added as experiment and the domain kept. Afaik users don't mind. It's just a name. Some more background at https://en.wikipedia.org/wiki/Hacker_News
That’s not a problem. Others find The Meditations applicable to their own lives because they contain honest self-advice. Some observe others finding the writing self-applicable, so they recommend it to people who haven’t read it yet.
Yeah, using a sign designed to cause offence in a very obviously joking and non-personalized manner is not offensive. Anyone taking offense is wound too fucking tight. Maybe if it were somehow historical used to target a certain group of people like certain words, I'd agree. But nothing like that is happening here.
This is a very old way of building websites. I have not heard of this being done in a very long time. The problem was maintainability of the XSLT sheets. And although you say no server-side processing is needed, the XML was almost always generated server-side from underlying database queries. That’s the only way to make the pages dynamic.
It takes a MINIMUM of 20 years to go from "lab to fab" or "science experiment in a lab to productively useful in real life". Maybe this indicates that clock has started but the requirement for that 20 years is 20 years of fully funded R&D (small R, big D) - otherwise bump the 20 years up to infinity without continuous funding.
you might enjoy this read 'The internet didn’t kill counterculture—you just won’t find it on Instagram'
https://www.documentjournal.com/2021/01/the-internet-didnt-k...
Then by your definition, here are some countercultures to the dominant globalist-corportate-captialist one:

Green/Solar Punk/Drawdown: deeply against the status quo of endless growth

Socialism/anti-work: alive and well and unsettling corporatists everywhere.

Tiny House/Van life/Minimalist/Homesteading: all variants on rejecting traditional consumerism.

Wokeness/anti-racism/Me too: gets a lot of visability, sure but a huge change in which groups hold and share power.

Trumpism/anti-globalist/nationalism: a giant challenge to the established order of the 21st century.
Why does it always have to be all or nothing? Is your codebase 100% covered by unit tests?

You don't have to make sure all the angles of your house are perfect right angles, but there's probably a couple that really have to be. Formally verify those and live with manageable imperfection for the rest.
I can already impersonate my users.

But yes, client side hashing is just one part of a security story, but it sure does make log leaks less damaging.
I also came across this blog while searching for various font stocks to use and he provided quite a good break down for many non-major platforms.

https://www.ctrl.blog/entry/font-stack-text.html
I don't know how it is now, because I've left since then. But in pre-covid times, Microsoft was pushing/advertising this carpool app they partnered with called Scoop. Similar idea, except it can include workers from other companies as well, and it isn't for making money for the driver, but just to cover the cost of gas + to be able to use the HOV lane.

As a passenger, you schedule your approximate time to go to work (or from work, or both, depending on how you want to use it), and the app matches you with a driver for the next morning who is going to about the same area, but maybe a different building. So they pick you up, drop you off, and go along their merry way, and you are only out of about $5-7 or so (that was the rate for going from Seattle downtown to Redmond, which is about a factor of 6-8 cheaper than an uber/lyft was at the time).

I used it as both a driver (a few times) and as a passenger (many times). Feels like a pretty great idea that worked well. If I was driving, I didn't mind a 5 minute reroute to pick up or drop off someone nearby, and those $7 + (more importantly) HOV lane access were totally worth it. I estimated that the HOV lane access alone saved me significantly more time than I lost by going out of my way to pick up/drop off the passenger. And the fact that those people are guaranteed to not be randos, but either other MSFT employees or employees of other nearby companies made it much more trustworthy for me (the app required work email to sign up).

Obviously, this wasn't meant to be an uber/lyft alternative, as it is only useful for going to/from work and only during specific days/hours. And you gotta schedule/get matched with a driver the night before, you cannot just wake up and spontaneously get a ride. Which makes sense given the context, because people typically want to have their commute to work planned the night before.
Quite the opposite in this case:

https://twitter.com/bodil/status/1520404060138094592

The author of this crate enjoys advanced type systems, and can't wait for Rust to add what you'd call "more complexity" in the form of higher-kinded types, generic associated types, and specialization (some of these features are available in an unfinished/experimental form in the nightly compiler, but may not become part of the language anytime soon, if ever).
Why not via this website?
As far as I can tell LogSeq is basically obsidian but open source.
https://logseq.com

Is it missing a key feature that obsidian has?
...Are you implying firearms are the solution to spam callers?
State Machines are the natural paradigm in TLA+. OOP is just poorly organized state machines. Try rewriting an OO program with state machines and you’ll have something that directly maps to TLA+, and it should demystify much of formal verification.
It’s been common knowledge in
atmospheric science for the past 20 years (based on personal knowledge, it’s probably decades longer). Not only does it shake out of climate models, but it’s intuitive that more heat to redistribute will increase the amplitude of all the wave-like properties of the atmosphere.
Absurdly ignorant statement. One of the most potent inspirations for stoicism is mortality itself, which no one escapes.
That says a lot about blockchain ideas
Thanks for the heads up! We'll take a look.
So that's not the greatest quote but the article shows postgres having to fall back on a sequential scan for a naive COUNT(*). The author goes on to mention that as of 9.2 Postgres can do an index scan (in the context of SELECT DISTINCT):

But now we come to a quirk, SELECT COUNT(DISTINCT n) FROM items will not use
the index even though SELECT DISTINCT n does. As many blog posts mention (“one
weird trick to make postgres 50x faster!”) you can guide the planner by rewriting
count distinct as the count of a subquery

To me it seems like you can trick the query planner into doing an index scan sometimes, but that it's a bit brittle. Has this improved much since?
Uber has a compliance department?
Are there any tools that check whether you're pushing keys and secrets BEFORE you've uploaded them to Github and it's already too late? E.g. checks your commits, and gives you a massive warning when you've committed something you're not supposed to? Even better if it prevents your commit from going through unless you force it
oldest since the big bang, not oldest since you were created
Do you know how many people you can threaten and actually kill with 1 kg of U-235?
What this essay utterly fails to acknowledge is that the use of cigarettes in cinema, as with modern commercial positioning, was a deliberate and remunerated case of product placement.

The seduction didn't pre-exist this. It was a manufactured cinematic fantasy.
Yes, I like them (and I feel like I've seen some other similar services but haven't looked into them closely). Its easy to start and stop interactive instances (easier than AWS imo) for doing stuff in notebooks, and to run training jobs on more powerful GPUs when you need to, because you're only paying for it when you're actually using it.

OVH actually has a (distantly) similar service (much less user friendly than grid and without the whole "grid" feature, but that matters less for hobbyists if you're not doing a lot of parallel runs). I liked the OVH one a lot in principle, but in practice found it too buggy to use properly (and they don't have customer support). For a budget project it could be worth trying.
A great capturing read.
This is a good reference, but IMO page tokens need to expire, even if you aren't storing any data for them. Expiring tokens make it possible to change pagination formats over time (you only need to wait the expiry time while supporting both formats), eg to improve efficiency.

Also I'll add that if you support a pagination API that accepts args (e.g. to filter on different dimensions) you should include a hash of the args in the opaque next page token, and fail the call if the args change. This prevents some nonsense scenarios where you started paging by scanning index A but the user switched filters such that you'd instead scan index B, but you don't have the key for that column.
The Rust Jobs Blog
Because whatever is default depends on too many variables.

Like if you're on a Japanese OS but your language preferences are English, the default sans-serif font is a Japanese typeface that often doesn't display Roman alphabets that nicely.
Why should someone go through all the effort to do that if they aren’t getting paid for it?
And yet, it seems that one of the first casualties of mass communications is intelligent thought.

Given enough eyeballs, all content is shallow.

Simple aggregation does not work for brains. Message assessment and discrimination are expensive.
Also, gaming is a heavily practiced substitute for Employment, Education and Training. For huge numbers of mostly men, it is their tune-in, turn on and drop out. It is also a nascent embrace of digital reality, a world that may quite literally end up being alternative to the real one.
Creating a 3D Printer Monitor inside of CSGO [video]
Companies like eBay have a global footprint and send/receive money in dozens of countries. eBay has apps for all devices and a website.

Uber has 3x the headcount as eBay.
This is the reason we didn't get Terraform. In a windows shop the state is never the same because most people will fix it via the UI and then the state file becomes useless
Web dev for many years chiming in: please step awayyyyy from the ugly solution. As another reply stated, you cannot guarantee pixel-perfect decision without sacrificing other aspects. It’s not something you should strive for at all in {current year}.

If you want to align the text vertically with an image, use flexbox. If the specific font they want to use doesn’t look right in that context, have them either (1) deal with it or (2) pick another font.
"Treating you like peasants demanding whatever they can get away with" is exactly how I feel about having to spend 4-7 hours every day on Zoom. Collaborations involving remote participants are excruciating and move very slowly. The workload hasn't decreased to compensate. We've just privatized onto everyone the costs of remoteness, in the form of longer hours and Zoom fatigue. Any union contract I'm going to accept needs to protect me from that.

This job used to be about solving hard problems with brilliant people, now it's about barking dogs and echo cancelation artifacts.
Keeping the server 100% authoritative but maintaining all rendering on the client with no interpolation gets you all of the same benefits and drawbacks as shipping video, and ease of implementation, but with dramatically lower network costs. It’s not really done however except for turn-based games, because you still have horrendous input latency. It’s also entirely the same defense against cheating, except I suppose a user could do things like edit assets locally but I don’t think anyone cares about that concern
Mostly the payments to drivers.
Reminds o hashify.me, ex: https://hashify.me/WFhYIGFyZSBzZWxmLWNvbnRhaW5lZCwgbWljcm8gd...
"We developers mostly read code, so let's optimise the writing part by writing bad code that will be slower to read."

Am I the only seeing a problem here?
> ideal one for a workers' cooperative

I am sorry, but there is not way a workers' cooperative can build a safe product for passenger and drivers. All of the leading rideshare companies have invested 10s if not 100s of millions into safety platforms that leverage the latest face recognition, fraud algorithms, and more to ensure that everyone can have a safe ride.

Both passengers and drivers robbed and murdered each before these investments were made to keep the bad guys off and the good guys safe.
Thanks for providing the link.
Thank you for this, I have been searching for something like bidb for months. We're moving soon and this is the exact data I need. Up until tonight I'd just been googling local providers and trying to find their maps.
AWS revenue is mostly per usage, not per customer. A handful of ML plays excepted, all those startups were tiny things with very little actual resources required. Most of Amazons money surely comes from giant customers like Netflix and Facebook (hell, even Uber and Lyft are probably lost in the noise, they don't stream anything).
It's crazy how everyone can wag a finger at the tobacco industry for paying actors/actresses to smoke in TV and films, but society collectively ignores the amount of "influencers" getting paid to vape on social media. Young kids with measurable influence over other young(er) kids pushing vape products. How is this OK?
The Bible of formal software logic, free of charge: https://softwarefoundations.cis.upenn.edu/
See Jeffrey S. Dukes, "Burning Buried Sunshine", which quantifies this.

Humans burn through petroleum at 5 million times the rate at which it accumulated.

https://news.ycombinator.com/item?id=28214230

https://plus.maths.org/content/burning-buried-sunshine

https://news.ycombinator.com/item?id=27827505

PDF: https://www-legacy.dge.carnegiescience.edu/DGE/Dukes/Dukes_C...
System font stacks are great what I’d like more are similar “magic” values to system-ui that provide reasonably metrics-matched local fonts. The biggest reason I use system font stacks is not as much to look native as it is to try to have similar text metrics across platforms without the overhead and quirks brought by webfonts.

The system font does bring some advantages though, like on macOS/iOS where that font is San Francisco, it’s designed specifically to look good and read well on screen. Under WebKit you even get hand-tweaked letterforms, metrics, and kerning for different combos of size, weight, and context (title, subtitle, body, etc).

Something that would be really cool is if all browsers did what Apple is doing with San Francisco by shipping with a FOSS screen-oriented font like Inter UI[0].

[0]: https://rsms.me/inter/
If I remember correctly they spend a lot of money on marketing campaigns against any law that could hurt their business model. So slashing marketing might actually hurt them even more.
you mean persistent thieves with access to a phone intent on stealing food from your family table? No, because where would you aim?
At some point, you just have to give up and understand that a pixel perfect representation of a design is not possible. We're not working in print anymore.

I thought something like this would been obvious after 2 decades of transitioning from print to web design, but I sometimes still get complaints for things like widows and orphans [0].

0: https://en.wikipedia.org/wiki/Widows_and_orphans
Well, yeah. Coal is one of the worst power sources, in terms of greenhouse gas emissions. Of course it needs to be phased out. This is nothing new
It's not fine even on Win10.
I really appreciate this comment, thanks for sharing
Does this site make Firefox mobile crash for anyone else?
That's fine, we don't have enough renewable generating capacity to charge up storage from yet. After will be the right time to build storage.

But pumping water and air, driving winches, and building pressure vessels are all mature tech.
Yep. Look to Radiolaria for inspiration.
How about a pre-commit hook?

https://github.com/pre-commit/pre-commit-hooks#detect-aws-cr...

Although a pre-commit hook exists for detecting AWS credentials, I can imagine other checks (e.g ssh credentials, passwords, etc)
Interesting that nobody already pointed out how wrong conflating Asians with Chinese feels.
I love the design recommended on this page. Straightforward and intuitive!
The big problem I see with DRM on air filters is that air filters don't do anything complicated. Remove the electronics module and connect the fan directly to power. Done. They should have done that in the factory and pocketed the profit from not buying electronics and NRE.

(This is less possible on things like printers, which have to synthesize somewhat complicated motion, carefully release ink at the right time, etc.)
Coke is somewhat of an impulse purchase. At least it needs to be in your mind to buy it at the grocery store.

Conversely, I'm not going to take an Uber ride tomorrow because they showed me an ad today. When I need to get somewhere I'll look at my options and choose the best. So long as Uber meets the minimum level of me being aware of it then theyre good.
Instead of a ring-shaped tokamak with magnetic confinement, the thought came: why not a 1-dimensional Möbius strip?

After a brief bit of web searching, it turns out that the design exists, and it's called a Stellarator:

https://en.wikipedia.org/wiki/Stellarator

And if you're ever thinking about building one at home, just try not to cause an accident. What's more dangerous than playing with fire? Playing with smoke detectors.
It does not. ARMv8.6 with PAC and MTE, but no SVE.
talloc[0] is a pretty cool allocator that also has the ability to do this sort of thing.

[0]: https://talloc.samba.org/talloc/doc/html/index.html
Amazing. That is the one feature of Firefox I hate so much I had to write an extension that uses a regex-based whitelist to allow entries in my browser history.

Otherwise my history, and thus autocomplete suggestions, is full of URls from single-page applications (webmail etc) that differ only in the 1000-character-long hashes in the URL.

Whatever logic Chromium does to filter out this chaff from autocomplete works much better for me.
As others have said, it just distinguishes between "Premises" and "Home". They're the same. They differ from FTTN (Node) or in the UK apparently FTTC (Cabinet) which is one of the boxes outside "near" your home or office, much like DSL works.
"All or nothing" is not the point I'm making, it's "any or nothing." Unittests frequently have justifiable value for their effort, even when only providing partial coverage. I'm arguing that the effort involved in creating formal proofs for any part of your software is almost never worth the benefits, outside of mission critical applications, when a dozen simple unittests could provide 99.99% confidence. And certainly not worth it enough to become "mainstream", which is the title of the post.
> if the cost involved to make software "provably correct" (time, salaries) is greater than the cost of the bugs, it will never be adopted.

It may already be. Where's the research? It may not be happening just because of quarterly cycles, other misaligned incentives, culture or all kinds of other reasons.

> Believe me, I see the appeal, but it's kind of like demanding your house have all perfect right angles and completely level surfaces. Living with manageable imperfection is far more realistic.

The difference is that those things are all within tolerances and serve their purposes and function correctly. Software often doesn't.
I think you're underestimating the number of global ride sharing companies.
> Like if you're on a Japanese OS but your language preferences are English, the default sans-serif font is a Japanese typeface

Please specify your environment. I use Japanese OS and I haven't found a single OS/browser combo would do that.

Use Windows as an example, sans-serif by default = Arial for Chrome and Firefox for English content.

And as a bonus, you can even adjust the default sans-serif font in browser setting to your like; while with these hard-coded CSS, you can't.
It's not privacy-first until the source is open.