skysight-inc/HackerNews huggingface dataset:
I found that Inkscape mostly has everything where I expect them, but maybe I just got used to it. I wish the "filters" and "extensions" menus would be better organized since they appear to be just dumping grounds for all advanced features, but I thought the core functionality of drawing shapes and curves were reasonable.
Calculators are needlessly bad (PDF, 1999)
I think what you and others are confused by is that you will be required to have many specific apps regardless of whether the protocols are “open” as you do now because the companies building the apps will always build proprietary features to get you to use their specific app, otherwise we would just coalesce around one messaging app and most will lose a lot of the money they are currently making.

There is nothing stopping anyone from using open protocols or different messaging apps today.

What’s so frustrating about Google’s attempt to leverage lobbyists to handicap Apple is that customers did coalesce around an app: iMessage, and all of this talk about “open protocols” is just marketing. The protocols you want to use are already here and already open!
Hey HN,

North America leads with 48% market share. AI's reducing latency and personalizing experiences, but what about global accessibility challenges?

Keen to hear your thoughts!
https://www.rmg.co.uk/stories/topics/space-race-timeline
Given the Space Race timeline, it seems like that would mean beating NASA to MANY major milestones.
4 October 1957: The USSR successfully launches Sputnik 1, the first Earth-orbiting satellite in history.

3 November 1957: The USSR successfully launches Sputnik 2, carrying a dog named Laika into space. They become the first nation to successfully send a living organism into orbit.

12 September 1959: The USSR launches Luna 2 and accomplishes its mission of creating the first spacecraft to reach the surface of the Moon.

4 October 1959: The USSR launches Luna 3 and succeeds in their mission of sending an object into orbit around the Moon and photographing the far side of the Moon.

12 April 1961: The Soviet Union achieve a clear triumph in the space race. Aboard the Vostok 1, Yuri Gagarin makes a single orbit around the Earth and becomes the first man to reach space. He remained in space for one hour and forty-eight minutes before landing in Saratov Oblast, west Russia.
Don't get yourself too hyped up, in the end WebGPU is running on the same GPU as WebGL2, and unless your code is CPU bound you won't see performance improvements if your WebGL2 code is already well optimized.

And currently some high-frequency WebGPU calls have an even higher CPU overhead than similar WebGL2 calls (I wrote about that here a bit: https://floooh.github.io/2023/10/16/sokol-webgpu.html).

WebGPU allows more flexibility of course, compute shaders and storage buffers are more flexible and cleaner than trying to shoehorn the same stuff into vertex/fragment shaders and using textures as "poor man's storage buffer", but that doesn't mean that one approach is slower or faster than the other.
Dr. Russell Barkley has research on the topic if I'm not wrong.

He says it's effective as a treatment for ADHD, but less than traditional stimulants, more prone to addiction and side effects.

Also, despite the rest of the discussion in this thread, nicotine ITSELF is carcinogenic, regardless of the way it's ingested. Not something you want to take long run recurrently.
I like it. Using hyperlinks is far more idiomatic in HTML.

https://en.wikipedia.org/wiki/Hypertext
Having the "one" line up with the "two" is the benefit here, and the point of the monospaced font. If you don't care about that, fine. But objectively lots of people do.
https://archive.org/details/movies?tab=collection

You can search the internet archive directly though
Getting Lucky Isn't a Plan
We also need to be careful trusting headlines that might confirm our existing beliefs. I see a lot of comments here amounting to “well obviously, everyone has known this for centuries”. But none of us have been alive for centuries or across many cultures. The way the culture we live in represents history informs our biases, and may not be accurate. In fact it can serve the status quo to suggest that the way things are now “have always been this way” regardless of the veracity of these claims.
Obviously we need an Open Source car company.
This is so nice, if only it worked it would be even better.
Code quality is for developers, not end users. It's fine for code to be atrociously structured if literally no one is ever going to read it, even in medical devices, as long as it works.
It says Google OCR in the usage example, but your description above mentions GPT-4 vision. So this makes no sense. I see nothing about Open AI API key in the example.
People who own houses in expensive coastal markets can't easily be dislodged. We can't force them to put their houses on the market or adopt reasonable prices. The rental market, however, is a quite different thing. I track the rental market in Berkeley very closely and while rents have been steadily declining since 2019, in the past few months they have been plummeting. Current market price for older 1-bedroom apartments has fallen back to 2009 levels. Almost sort of affordable.

I have a feeling that a lot of small-time landlords who thought they were signing up for a lifetime of "passive income" are getting kicked in the teeth right now.
Perhaps you should post this question as a comment in your previous post https://news.ycombinator.com/item?id=38235124
Nice! I can finally run a model locally on my 16GB M2 Pro Mac without a lot of futzing around with CUDA.

Ollama is very nice.
> [...] saying that 'friendly' examples would have been much the same but were unavailable/unsuitable for publication...

I agree in that it is counterproductive to not educate people about propaganda (or active measures, public relations, or whatever term you want to use) done by "friends". If the present day is too sensitive politically, there would be a treasure trove of data for this task in national archives of all countries. After all, the techniques and tactics are pretty much similar throughout the globe and historical eras.
I did. It was a base distro install just booted up, as I already stated.l, on three different, bog standard machines. They were not interested either.

I take my bug reports a bit more seriously, and I don't use instances of success to discount instances of failure. A bug's a bug, a good proces cares about outliers (and as you say, Wayland erroring does not seem like an outlier) too.

I understand not all combinations of hardware can work flawlessly, but Intel machines with Intel hardware seems like a good baseline to ensure always works before you mainline Wayland.
The owner of archive.today doesn't like Cloudflare[0].

A local dnsmasq[1] is the simplest solution for tech people, and decent odds you already have a local resolver anyway.

0. https://news.ycombinator.com/item?id=19828702

1. https://gist.github.com/ardislu/b2f2b4b439c5da2f7ccb6bb42e7a...
Not the OP, but happens to me too. Steps to replicate: put your laptop to sleep (suspend) and try to wake it up (resume). You end up with a black screen. Often times, you can SSH into your laptop, but the screen remains unresponsive. Only hard reset helps.

There are many reports of such bug. It's common on Wayland, but happens on X11 to some folks. The only constant is it happens on devices with Nvidia cards.

I tried pretty much everything and I gave up on solving it.
How good your code is depends entirely on context and priority.

Context and priority should be defined for a project, not just left to the decision of each developer.

I am building code for a startup right now. The context and priority is to "get the damn thing working". Thus code quality is largely irrelevant - this codebase is flat out garbage - it is full of commented out code, duplication, files that were obviated ages ago. It is unstructured, disorganised, uses different approaches to solving the same problem all over the place - there are ZERO tests, no CI/CD, the code is uploaded directly to production. This is exactly the right way to build this because none of those "terrible sins" matter when you have no customers and your only goal is to get something working as fast as possible and every secong spent making things nice is a waste of time and money because if the business fails then every second spent making things nice was wasted.

If however I was working for Nasa on code that was running a rocket launch system, then hopefully it is stated to all programmers working on the system that reliability is priority one. This informs every about how the code is written from that point. It means few lines of code, alot more eyes on the code, must more rigorous quality control and much lower overall output.

If however I was working in an ordinary business making a CRM system then the stated priority I imagine would be something like "we want a balance between productivity, reliability, maintainability" etc. This explicit definition of the context and priority sets the scene for how the code will be written.

I've never worked anywhere that is was explicitly stated across a range of parameters what the code should prioritise in terms of security/reliability/performance/maintainability/time to market/quality etc.
In many ways, you're right.

In my opinion, the main strength of WebGPU is it removes the cost of re-implementing something when targeting a different platform. If that was present in 2015, maybe we'd have more games, more interesting applications, and less pressure on people who feel locked into one vendor's ecosystem.
Information can be dense and designed. It's actually more important for dense information to be designed well to avoid devolving into soup. KDE and its many design inconsistencies and automatic collapsing of menus into "... and X more items" leading to menus nested 5+ deep is not good design.

Away from KDE, away from GUIs, a dense text readout of key value pairs with no new lines presents a lot of information, but is functionally useless. A tiny dash of design - pairs on new lines, some boldness for keys, indentation for values that wrap to new lines - drastically increases the readability. No matter how familiar you are with this particular text dump, this remains true. You can't escape design by running off into the terminal.

In GUIs, having movable, modular panels can be good design. Blender's design is quite good, especially among its peers, and everything about it can be shuffled around in ways most apps with modular panels can only dream of.

Again, we're not talking about a 1 dimensional spectrum between design and density. Design isn't just "add padding" and "remove customizability."
I've never seen a PoC that was allowed to have the time to be cleaned up properly to make it to the Good Enough phase. Management types tend to want to take the PoC and move it directly to production and assume you're incompetent if you push back.
People who say they wouldn’t murder people for food are saints. I would definitely do it. I like living more than I like other people living.

However, I wouldn’t murder anyone in anyone in a modern civilized society. Why not just use social services? And if that doesn’t exist, then steal. Even if you’re caught they’ll be obligated to give you food.

Society needs to devolve to far far below what is the US standard before murder becomes a reasonable solution to food problems.
Midomi has been doing this since 2005.
> the list will be extremely short, perhaps half a dozen names such as "Anna".

Even shorter, if the languages include Brazilian Portuguese: "Ana".

(Source: In a research poster/demo session in the US, I'd named one of the example characters as "Ana", since I was recently interested in Brazil, and had been seeing that name. One of the people who saw the poster/demo wasn't a native English speaker, but they made an effort to kindly and gently point out the spelling error, with a smile, as if they were trying to save me from the additional embarrassment of showing the error any longer. I thanked them, and didn't tell them.)
> Cars are required to be online for an emergency call in case of accident.

No. They are not required to "be" online but just capable to connect if/when an accident occurs.

That these modules that can connect are abused to always be connected is an invention of the manufacturers.
It's time for me to prepare for internet outages with hard copies, not only of maps but all important reference material.
Yes, it is literally encrypted in transit. This encryption, however, does not offer any value in protecting the user from microsoft stealing their credentials, because microsoft is the recipient of that encrypted message and is able to decrypt the credentials and therefore has access to the plain text password.

Just like this comment I am writing is literally encrypted when it is send to HN, and still everyone can read it.
Assuming they can keep making it illegal to build new homes, prices will keep going up. It's worked fine for them so far.
None of this seems too terrible to handle. The title of the song can be an empty string, so use *string/Maybe string instead of string to distinguish between unset and "some idiot made the song literally untitled". I am surprised there are no songs that use characters only available in two different character sets, or are the same Chinese character repeated with multiple different writings (Simplified Chinese, Traditional Chinese, Korean, Japanese).

I suppose that some people are running into trouble by using CHARACTER VARYING(n) instead of TEXT in their database, but if you pick the most likely database for your local music player, then it doesn't matter. (sqlite doesn't care, basically.)

The song that's named after a virus test signature is amusing. I guess encrypt your filenames and database so that the OS can't pry into the details. Since you hopefully didn't write your music player in C, there should be no way that a virus can affect your music player.

(While I was researching this post, I found an interesting Defcon talk about what happens when you turn the EICAR virus signature into a QR code and scan it. https://www.youtube.com/watch?v=cIcbAMO6sxo A lot of stuff breaks! I almost got forced into adding similar breakage. At work we make what is essentially a database, and we got acquired by A Large Company, which had to do a security audit of our software. One of the "security vulnerabilities" in our product was that we don't scan the data in the database for viruses. We pushed back to not do this, because one of our customers literally uses our system to store viruses they analyze. But, it appears that a lot of other teams got this same suggestion and just made their price checker or passport validator crash when the barcode resolves to a virus. Easier than input validation or not calling `system(whatever the barcode resolved to)` I guess?)
Vulkan is moving away from the extreme "everything is baked into immutable objects" philosophy of Vulkan 1.0 (see: [1], [2], [3], [4] - although these extension swing the pendulum back too much to the granular OpenGL API model, which also sucks), while WebGPU will be stuck with the "rigid model" for quite a while and even adds more rigidness (for instance baking shader resource bindings into immutable BindGroup objects).

WebGPU still has a nice balance between convenience and a somewhat modern feature set, but going down to the native platform 3D APIs (Metal, D3D12 and Vulkan) will always offer a much bigger feature set and less CPU overhead (mainly because WebGPU also needs to support mobile GPUs, and some of those are indeed 10 years behind the curve).

[1] https://registry.khronos.org/vulkan/specs/1.3-extensions/man...

[2] https://registry.khronos.org/vulkan/specs/1.3-extensions/man...

[3] https://registry.khronos.org/vulkan/specs/1.3-extensions/man...

[4] https://registry.khronos.org/vulkan/specs/1.3-extensions/man...
Well, the things you're working on don't sound like things that I'd feed to chatGPT. But if I need to look up some language feature, or write some basic boilerplate code, for example, it's a big time saver. If it's something that will take mental energy to generate, but I can verify in a few seconds before adding to my project, it's good. I wouldn't ask it to code any algorithms for example, but syntax/language feature stuff and API gluing it can pattern match pretty well.

TL;DR don't ask it anything to do with logic, but anything to do with documentation and stuff like that it's pretty good
> In the vast majority of cases, writing good, maintainable code does not require more time

Yep. Especially with practice. You can pretty much get to a point where you build things reasonably well by default without even thinking too hard about it. You have to want to attain it, and be willing to ruthlessly evaluate and file down your design repeatedly.

I believe there's a compounding effect at play here, which accounts for super-linear gains in ability, given enough focus, time, maturity, and number of projects.
I find that dubious but want to believe. Can you cite the numbers at least?
It’s a bit hard to believe though that the parents wouldn’t have realized how the name sounds like in their respective native languages.
The US Navy reports from the 2005 (not 2015) USS San Francisco and 2021 USS Connecticut groundings can be found here. In both cases primary blame was placed on the crew, although charts were a contributing factor.

https://www.cpf.navy.mil/FOIA-Reading-Room/
A first step would be to make virtualization part of HTML, that thing is a nightmare.
Same exact thing happened to me. I only dealt with the various credit agencies and Ford. And I had to make a police report to my local PD despite the crime occurring at a dealership across the country — the officer was very kind, and made clear that they would do literally nothing other than produce the case number I needed for the credit agencies.

I wonder if Ford in particular is more susceptible?

In any event, I’ve no idea whether a law enforcement eventually looked into it. But the sense I got was no one was going to do a damn thing.

(Oh and Progressive, because they got insurance for the vehicle in my name and also didn’t pay that. But it was 1000x less dollars, literally, so when I told the debt collector “lol not mine” they just went away).
This.

And it's often simple techniques like preferring pure functions or using immutable data structures that enable a huge improvement in maintainability, yet few seem to be employing them.

Occasionally the difference comes purely from the fact that someone looked into the library docs and chose the appropriate API method.
How do you figure?

Why must it be Kowloon Cube and not any form with an intermediate density?

I live in Trollhättan, a Swedish city of about 60,000 people and don't have a car. It isn't hard. And Saabs were built here, so this isn't some sort of anti-car place.

I used to live in Santa Fe, NM a US city of about 70,000 people. I had a car, but across later visits was there for a couple months without a car and found life much harder.

Santa Fe was founded in 1610 so was a city for 300 years before cars became popular. Its population was about 5,000 in 1912, so most of the build-up was during the car era.

Trollhättan became a city in 1916, when the population was only 15,000, so again most of its build-up was during the car era.

Why does transit-oriented development make sense for Trollhättan but not Santa Fe?

When you say "small town", what size do you mean? https://en.wikipedia.org/wiki/Town#United_States says it varies by quite a bit - Alabama says a town has a population of under 2,000, while in Connecticut, West Hartford is a town with a population of 64,083.

Could you gave an example of the urbanists you mean? There isn't much need for public transit if you can walk across town in 15 minutes.
I gave several reasons why someone would want garage delivery. Services like walmart InHome are fairly common in the US. Consumers are willing to pay extra for the service and retailers like not having to refund stolen packages in sketchy neighborhoods
Renters are typically of lower socioeconomic status, so don't have that down payment invested in the stock market either.
https://www.youtube.com/watch?v=ExgxwKnH8y4
If only Californians didn't actively try to stop construction. If you want to build housing and that will cast a shadow on a nearby playground, that's no good.
California is literally the worst and most expensive place to develop anything.
Thanks, I spent quite some time on the UI / UX to make it smooth and intuitive.
California has one of the lowest property tax rate, yet one of the highest income tax. We need the opposite to incentivize the right behaviors
.
Ah yes. Maybe we go back to the good old days before cell phones and the internet where kids were tethered to their parents with a 50m piece of rope.

/s
You should not have been arrested.

MDMA should have been legal.

End of story.

https://www.nature.com/articles/s41591-023-02565-4
https://pubmed.ncbi.nlm.nih.gov/34708874/
https://www.nytimes.com/2023/08/18/well/mind/mdma-ecstasy-ri...
https://www.euronews.com/next/2023/07/03/australia-just-lega...

It's legal or decriminalized in Portugal, The Czech Republic, The Netherlands, and Switzerland, by the way. Surprise: Those are now the countries with the lowest number of drug deaths and drug related crimes in Europe.
Yeah, as someone that knows liyyle to nothing about music theory, I was hoping to learn something interesting along those lines, even if I admit it's unlikely to be useful to me. Instead it's about storage schemas and correctly mapping domain values.

Which, honestly, is more useful to me, but also I find it much less interesting because it's well trod ground.
Thanks, maybe I should implement more examples, it looks like this is the most efficient way to help people.
All my data and methods are at https://observablehq.com/@jwb/berkeley-rent-board-data

The key graph is https://observablehq.com/@jwb/berkeley-rent-board-data#cell-...
There seems to be no consensus as to what sum types actually means, but the most popular definition I find in my travels is: Tagged unions. Which is funny as a sum is not a union, but anyway...

Assuming you share in that definition, while Go might benefit from tagged unions in general, I'm not sure they actually help in any way with remember to handle errors. A union is just as easy to forget to handle as a single discriminate type.

But perhaps you are of another sum type school? Perhaps one of the other sum type definitions are useful here?
How come white's the only group not capitalized? Just funny to spot.
Title is misrepresents what the report says. The report says that 15% can afford the *median* priced home, not "afford a home". 15% isn't good, not is bad as the article suggests.
I do research on oceanic lidar. The basic problem is that light is absorbed and scattered by water, to a far greater extent than it is by air. Thus, even though we have no problem seeing through hundreds of kilometres of air, even a kilometre of water is sufficient to filter out nearly all light [0].

In practical terms, this restricts the ability of lidar systems to detect features underwater. As a general rule of thumb, in the very clearest oceanic waters, a lidar has a maximal range resolution of roughly 70 metres. Naturally, this low range becomes further degraded in coastal waters, which are more turbid. Thus, lidar — the best method we have for mapping land — is basically impossible to use outside shallow coastal areas, and we have to rely on more difficult methods such as sonar (about which I don’t know very much at all).

If you want to learn more about this stuff, I can highly recommend [1] — a free and remarkably comprehensive reference on ocean optics (which turns out to be a surprisingly large and useful field).

[0] https://en.wikipedia.org/wiki/Aphotic_zone

[1] https://oceanopticsbook.info/