skysight-inc/HackerNews huggingface dataset:
Having tried to read Persig's Zen and the Art of Motorcycle Maintenance, I struggle to understand the book's popularity. The more I read the more I was convinced it was not the work of a healthy mind. Maybe he was schizophrenic? Wikipedia says yes, he was.

As someone who enjoys working on my own car and motorcycle - and as someone who does find a certain zen in maintaining the machines that I own - the book was a profound disappointment. Instead of finding philosophical insight from a relatable perspective, I found the ungrounded ramblings of a man who is seeking to understand a world which only quite exists inside his own mind.
multiple billion per year with tens of thousands of users per day?

Assuming conservatively that this is 1B/year and 100K users/day, that's still $273/user/day. What are you selling?
Depravity.
Some notes about my setup: Ender 3 v2 (textured glass bed), added a CR Touch, swapped out the bronze for a hardened steel nozzle, and installed Klipper firmware. I have PLA, PLA+, and PETG, I dried the PETG at I think 140F (convection oven) for 6ish hours, and then was finally able to print a Benchy boat if I set my first layer print speed to 5-10mm/s. I tried to print something that had small shapes on the first layer (small circles for a bolt to go into) with no luck. I was never able to get PLA or PLA+ to print, now even with the same gcode I can't get PETG to lay down properly. Eventually it just curls up towards the nozzle, then gets dragged and clogs. Can't even print a raft. The only adhesive I have tried so far is a mixture of wood glue and water. I've cleaned the bed with soap, acetone, alcohol, you name it.

I live in a very humid state, but I wouldn't expect my PETG to reabsorb moisture in the 2ish days after I dried it, can't print a Benchy or even just one of those single layer square tests you use for testing your leveling.

I just soaked basically my entire printhead/extruder/nozzle in acetone to clean it out, I tried doing cold pulls with all 3 materials, but the filament would just snap off instead of give me that clean nozzle shape you are supposed to get.

All that info. doesn't really inform my question for you, but I kind of wanted to rant a little bit :)

Is G10 better than say a textured PEI sheet for first layer adhesion? Ideally I would like to primarily print everything in PETG for its physical characteristics (heat, water, strength). Is it true that G10 can easily be gouged by the nozzle? I am a bit worried by that considering the cheapest I can find a G10 sheet for on amazon is $30.
That's an interesting strategy. How do you avoid getting pidgeon-holed into a role? What if you want to move into working something else?
I used sequence diagrams in the 80s doing network protocol design. UML was apparently published in 1995
University in the late 2000's was teaching UML and out of all of the different diagrams and notations, sequence is the only one I have consistently used since then. The rest of the diagrams felt like they mostly were used in big design documents that stopped being written as agile (or a bastardized form of it) permeated more and more organizations.
Speaking for myself here, I hate the Lemmy user interface.. do I really need lots of wasted screen space on the left and right sides of my screen? I also have issues with the expanded line spacing.. I have never liked reading text that is 1.5-3 spaced instead of single-spaced.. the colours they choose and the text size are also issues for me. I don't like white text on a grey background for example.

Lemmy as a user interface is not well designed. It wasn't made to be read on a web browser in a monitor. It was made to be read on a small smartphone screen.
>with modern mass timber solutions rather than raw wood

Do you mean things like LSL?

I actually wonder what the longevity of LSL is compared to raw wood. Since it's a ton of resin mixed with wood, I wonder about the resin part of it.

It does seem much better to build with as bugs won't eat it and it's perfectly straight.
Works for email. There are only a few big hosts and some larger-but-not-huge number of mid-sized ones, sure, but they all play nicely with one another. Like if you could post on Twitter from your Facebook account.

Of course, I doubt we could create email today, if it didn't already exist.
I can’t figure out r/sports’s moderation rules. Every now and then I will accidentally reply there because something bubbles up to my front page. I discovered 90% of my comments there get deleted without explanation.
Good points. Perhaps “cooperate” is clearer? Or “Connecting”?

Tho at a certain point we’ve gotta reclaim the fun academic terms from the MBAs!
I don't disagree and yet it's still a service that they provide. Dealing with user accounts, payments, refunds, taxes, recurring billing, support, etc is a pain (I know, I've done it).
On a related note, I've found that GPT4 is surprisingly good at building basic sequence diagrams, either based on a description or for open-source projects. E.g.

* "Write a MermaidJS sequence diagram showing a banking application's interaction between a customer, authentication service, business logic, and database"

* "Include database transactions in the sequence diagram"

* "Include OAuth in the sequence diagram"

Or for an open-source library:

* "Write a MermaidJS sequence diagram showing a CRUD Flask application"

* "Include actual function names of the Flask and SQLAlchemy API calls"

* "Add a redis cache"
Just make your backend server write out html, the year 200x way. You can add JavaScript for some dynamism. Add css framework, I personally like “no class” css frameworks these days.
Related:

Zluda: CUDA on Intel GPUs - https://news.ycombinator.com/item?id=26262038 - Feb 2021 (77 comments)
Yeah, at a high level more users == more money, but not all users are created equal.

Indian users cost the same as US users in operational load but are worth a fraction of the advertising revenue.

As long as they are net positive it’s good for reddit, but the fact that reddit was struggling to make money on the biggest margin users does not bode well.
Heterodox vs. Mainstream Macroeconomics
I get these for when your stack contains python/go/ruby and your page is SSR. But more recently I've just come to enjoy the full blown Javascript Framework. I use Svelte exclusively, and the bundle sizes aren't too large thanks to the compiler. I can write TS which is way more comfortable than JS or even Python or Go IMO.
Sequence diagrams were not original to UML.

Sadly, I cannot remember the method they stole it from. I do remember it was created by a man working for Hewlett-Packard in Britain who published a book around 1993.

Does anyone remember?
Ask HN: Are AMP pages a good or bad thing?
I've thought that when Google has ditched AMP from search results few years ago ( https://www.searchenginejournal.com/google-retires-amp-icon-survey/406770/) that sites will stop using AMP. But they didn't. What is the purpose of AMP pages this days?

If you are developing web sites do clients ask you to implement AMP?
The facade of platform capitalism continues to deteriorate(?)

Unfortunately Reddit is probably right that this will simply blow over eventually. Most people are entirely captured by platforms nowadays, used to the slurry of the algorithm and without much ability or drive to really leave the lazy river to either find content outside of that or create content outside of that.
> we're migrating away from pip as a distribution mechanism for this reason

Could you elaborate on what you’re using as a replacement?
Commend the investment in time on this and I will see if I can contribute. From a product lens it's great to see higher level thinking on how to incorporate agents. Feels like we're moving beyond the 'cool demos' phase now.
There is really no reason to comment if your vote is to shut down the sub. The position is already known and well described. What would the posts be? "I agree"?

Vs if you want the sub to stay open and are against the shutdown, your position is not obvious, and has value in explaining why you are against it.
I think the most weird thing is that. The ROCm works fine on linux. At least some dedicated workstation can use it with specific cards. And it already exists for many years. But somehow they can't make any single card work on windows after so many years passed. (Or they don't want for some reason?). It's really weird, given they already have a working implementation (just not for windows) so they are not lacking of the ability for making it work.
A person doesn't control a company like they do a car. Proving criminal liability for an individual requires evidence tied to that individual.

Much easier, and a lower bar, to hold the corporate entity liable.
In terms of your "Live to Ride, Ride to Live" comment I agree with you.

I don't think there's any evidence to suggest passionate motorcyclists are dramatically more passionate than car guys. Lots of car guys have their entire identity tied up in their choice of car and bury themselves financially to drive that car and are pretty much obsessed with it.
Here is my take on titles: When I'm working with someone, I don't care what their title is. If they can get done what needs to get done, great! If they can't, I don't rely on them anymore. I also hope people feel the same about me.

When I started my career, I would get ignored because of my low title, even though I could do what was being asked. Now that I have a "high" title, people defer to me when they don't have to, and it's silly. I end up being a blocker because people won't move forward without my approval, even though I tell people I trust that my approval is implicit.

This puts me in a weird place. One the one hand, I don't care what my title is, I just care about what my area of responsibly is. On the other hand, it seems like most people do care about titles, and more responsibility is only granted to people with high titles. So in that sense I do care about what my title is, only because it's what opens the door to greater responsibility.

When I look for new jobs, I push on the title, not because I care for my own ego, but because everyone else does, and honestly I hate it.
> Do they?

They do. Can they be influenced? Yes. Can they be coerced trough social pressure? Yes. Can they fall for targeted advertisement and/or manipulation? Yes as well. Does this exclude the responsibility of their own actions? I don't think so. We can argue that this problem was born because of their parents or their own lack of knowledge/critical thinking later in life.

> Where are you from?

I am brazilian.
This is designed as an embeddable component for learning, prototyping, and OEMs. A lot of people here are just sniffily dismissing it as 'DOA' when what they mean is 'I would not want to maintain this.'
With the odd caveat that you probably use sketches of these diagrams? As soon as you are trying to cram in all of the extra details stuff like class diagrams can do, you are probably wasting time.
> Also, web-browsers don't let you copy-and-paste the password from one box into another

Point taken; perhaps simply having that widget that lets you see the password unmasked would be better, than forcing you to enter it blind twice (and getting it wrong twice). Fact is I don't try to copy/paste one field into the other; I paste the same stuff into both.

FWIW I'm a normal person. I don't know what OIDC is, and I've never been asked to use Passkeys (I'm proud to know nothing about Apple devices, and I don't entrust my security to "the cloud" or third parties). My password manager is local, backed-up locally. I'm already annoyed once I'm presented with a registration form, and only complete one when I'm forced to. Every extra annoyance increases my rage.
Oh yes, very much so.

Here is a video that I stumbled across recently:

https://www.youtube.com/watch?v=lEw4cSUalZY
Our top_k search in our own product is in Go and it's ~25 lines of code. Super simple stuff, does the job of funding the top_k in 1ms, no index, no framework, nothing. We benefit from the corpus we embed being relatively static and we can just store them in redis, so it's not a hard problem to solve. Anyways, often you don't need some turnkey solution to this stuff.
Well, surely the government can’t allow anyone to just build a nuclear power plant, so some policies are required. I can’t judge how reasonable or unreasonable the current ones are. But I can imagine for reasonable policies to be unprofitable without government subsidies, and that would require political will.
>80/90's computer magazines

Comment was evidently trying to point out incorrect use of apostrophe.
> am told they're full because of too many new members lately.

This is good. This is a group that works well.They likely can give advice on where to ask, and whom to avoid. "Aww, I would've loved to play with you. Sorry that didn't work out - do you have recommendations where I could look?" is a good request.

> I generally stick around and chat for a few minutes, then I just leave because it's just weird forcing myself into a group.

The chance that you are the only singleton is small - find the other ones, talk to them. But also, talk to people about their interest. E.g. on the flea market "Hey, that's such a gorgeous set of drawers you're selling, really admire it, bummer I can't make space" gives them an opportunity to tell you a story. (Most people like telling stories about themselves. Give them the space to tell you that story.

Yes, both of these are freaking scary. (Well, they are to me, at least). But they are a good way to form at least a tenuous connection. And next time you see them, you have somebody you know. Especially in rural areas, folks often have deep networks and are roping you in once they have ascertained you are "safe" for group consumption.

(Downside: Some of these deep networks in rural areas are super-cliquish. I've lived in a place that talked about people as "the new folks" when they moved there 20 years ago. You can become surface friends, but deep friendship in those places takes forever. Find the other "new folks")
You are 100% right. Bostoners come to West MA.
I remember when he used to live in Auckland (he lives in Queenstown now in some mansion) he could not parallel park to save his life. Used to see his car alot around my old office.

Would be fine if we had a discreet car, but he had a big Black G-Wagon with the number plate DOTCOM. Seems like he doesn't own the plate anymore: https://www.carjam.co.nz/car/?oplate=DOTCOM&plate=D0TC0M
Show HN: Vercel AI SDK Playground – compare LLMs side-by-side
im not really interested in blaming the US. but the fact is he would never had gotten away with it had the US not stood by him. at that time in Russia there was a real prospect of communists returning to power ... through elections. mainly im interested in pointing out that the US is a hypocrite when it comes to its own values and that it too should be seen as an imperialist power. same as Russia. only once people see both entities as bad a proper thesis about a better more just world can be made. i have no problem saying f*ck putin or f*ck biden (or f*ck trump) as long as it is in the same sentence
The king of "use JS frameworks, output pure HTML" is Astro. (https://astro.build/) It's basically an SSG where you can use a number of frameworks to write your components, and shipping any JS is explicitly opt-in.
this might come as incredibly cynic for some, but illustrates an important point - languages/frameworks/whole marketed stacks like ELK are merely tools for you to accomplish the task, which in the end is either to reduce costs or increase revenue

so naturally it doesn't matter (in long term) what you should learn to get a first job, change jobs, change domains - prioritize ROI the tool would give you in future, a job market, and your sanity :)
Except in distributed data processing, where it's always skew.
ESP32 is great for low power apps, you can switch off most of the chip subsystems, rely on watchdog timers etc.
Amazon Delivery Drivers Walk Out in First-Ever Driver Strike
Related:

The Matrix Cookbook (2012) [pdf] - https://news.ycombinator.com/item?id=18566449 - Nov 2018 (39 comments)

The Matrix Cookbook (2012) [pdf] - https://news.ycombinator.com/item?id=14726223 - July 2017 (9 comments)
Some argument of this form has been posited since at least the 1970s. 50 years of failed predictions from the Neomalthusians
Yes! I don't think Mithril gets enough attention. It's my go to JS framework when I need more than Vanilla JS but don't need something like React.
Interestingly, I’ve noticed a significant drop in stackoverflow results when I Google in the recent months. Can’t really attribute it to anything, but an honest word sometimes I don’t use SO for weeks.
Hong Kong Put Pressure on 3 Major Banks to Take on Crypto Exchanges as Clients
Since no one is replying to your actual question:

The JVM takes bytecode and generates assembly for execution. It also profiles that code and improves it over time.

Sometimes long running java bytecode will be faster than statically compiled C++. In many/most cases, long running Java code on good JVM will reasonably close to C++ for some measures of "reasonable".

Garbage collection pauses, memory usage, JVM startup/warmpup is all more detrimental to Java in the speed comparison.

But "quite slow" basically, to me, implies it is 10-100x slower than C++. Sure you can come up with various benchmarks (lies, damn lies, and benchmarks) to make some corner case.

In general, the JVM is probably about 2-3x slower than C++ compiled code. It certainly is not "quite slow".
Twitter’s former CEO has a new app that looks a lot like Twitter
> How do you make new friends?

> How do you go to parties?

> How do you find someone to date?

These are actually impossible.
Why does Firefox not enforce it?
I'm not sure what you mean by "multi-dimensional" states. Is it something that statecharts [1] can help with?

[1] https://statecharts.dev/
The point has been clear all along. No books are being censored.

Nobody is preventing anyone from accessing the original version.

The publisher is not, and should not, be forced by anyone to produce any version at all.

If you had been an author you would understand that selling your rights to a publisher is no guarantee that the book will even be printed, there have been numerous examples over the decades of rights being acquired for a work and then never exercised such that that work is never published (this is especially common with movie rights),

Complaining that you as an author want to retain a right on editorial actions is fine if you dont sell that right. But if you were an author you would know that that doesn't always happen.

Complaining as a consumer makes very little sense. It's fine to air your grievance, but the truth is you have no right on what is produced at all.
Centralization works. It's convenient. It doesn't require a user guide. It's approachable for laypersons.

It works until it doesn’t: when the host of a centralized community decides to make enemies with its users. This is an old story for many people who went through the Digg to Reddit migration.

Now people have had enough. Our communities are too important to leave in the hands of one company. It’s time for all the people who create 100% of the value on Reddit to have control over their own community’s future.
Static-binaries – Some static binaries for Linux, maybe useful for bootstrapping
Email works because despite it's decentralized nature, it's functionally transparent to the user and you aren't constantly forced to acknowledge that nature.

The issue with "Fediverse" technologies is not dissimilar from crypto: it's designers care more about the ideology and the concept of being in the fediverse than they do meeting an actual product need.

In spite of a _dire_ gap in the market place and a substantial marketing opportunity to pick up market share, Lemmy and Mastodon remain largely unadopted by the masses and will likely remain in a similar market place as Diaspora*.
Fantastic input, thanks all! Extremely helpful.
Certainly your prerogative. I get a lot of value out of running Home Assistant (open source) + Zwave lights (local only + industry standard + physical switches for everything) + things like a Bluetooth controlled valve on my hose spigot that's underneath the deck.

The only real failure mode is that my server goes down and I have to control the lights with the switches on the wall like a normal person.

But I can certainly understand why someone wouldn't want to maintain the infrastructure.
https://www.youtube.com/watch?v=xoVJKj8lcNQ
Unfortunately it's not a popular belief anymore, but [asynchronous] central event bus is a terrible idea on it's own, and it goes against what [micro]services are about.

If you want microservices to work you shouldn't have anything central in them, and you should avoid async as much as possible.
m5stack.com
> Rust is also not a perfect solution.

Yes? That's explicitly what I said.

C is successful despite all the bugs, not because of it. If there are newer methodologies that solve bugs, one should use them, rather than sticking to their "tried and true way" while suffering through segmentation faults. Already parts of the Linux kernel as well as Windows are being written in Rust, so if it's good enough for them, it should be good enough for those bunch of C experts. They also don't have to rewrite millions of lines, they can incrementally improve the codebase.

All this to say that even in your above comment you're still committing the perfect solution fallacy. You are still talking about how Rust is not perfect even though no one said it was, and you mention trying to convince all of those C experts to rewrite millions of lines of code when, again, no one said they have to do.
> There are other reasons, but having access to the mountain of existing C++ libraries (and C libraries) is no small thing.

That's true. But a lot of code has a shelf life.

People used to point to CPAN as a huge benefit for using Perl. Most don't any more; while all that code is still out there, a lot of it doesn't really do much that's useful today. It was built for another time.

Some of the existing C/C++ code will rot in the same way.
> I think it mostly depends on maturity of the team and engineering culture, whether UML is used or not.

I suspect that's true: teams with a very immature engineering culture probably do use a lot more UML. It's a good way to feel like you're doing something useful instead of actually doing the hard part. Mature teams write code.
Go Sync or Go Home: WaitGroup
Nobody is presenting the changes to the book as "original"
The frontend reacts to a click quite fast but there's still a spinner for a lot of actions. The API goes over a websocket, request-response delay seems to be about 300-400ms for me so it's not super snappy, but not jira hell either.
Hackers exploit flaw in proprietary software.
what a coincidence, just been going thrubour grafana dashboards and setting heatmaps to at least perceptually uniform colour maps. this is great
I find Mermaid's syntax difficult to use and understand past the simplest examples. I've also run into some strange edge cases with it, but can't remember the details right now.

Out of these text-to-diagram tools, D2's syntax seems the friendliest to me. See https://text-to-diagram.com/.
Tiny Binaries (2021)
Show HN: My first full stack project
Just finished my second year at college studying Computer Science, and wanted to try and gain experience as a full stack dev this summer, so I made a website that allows users to create stories using openai's API, using embeddings for custom terms users can define, and create short stories and chapters alike. I'm mainly just looking for some feedback on how I can improve it or make it more presentable, so any help/feedback is welcome and appreciated!
There are trade secrets in code. Most people vastly overestimate the value of their secrets, but they definitely exist.

Pasting your code into OpenAI is definitely giving people outside of the company access who have not entered into agreements to leak it (intentionally or not).