skysight-inc/HackerNews huggingface dataset:
I can't seem to figure out how this would work or what this mean. Most of the links to the documentation seem to be missing.

I'd actually be curious to know if this seemingly ~10 year old software still works. Also how much bandwidth it uses, CPU/RAM etc.
> I don't recall any opinions about Vietnam

It was constantly on the nightly news. The Vietnam War was one of the first widely filmed conflicts. Plus, there were regular violent protests against the draft. I find it hard to believe that the adults around you didn't have strong opinions about it. Did that not interest you or affect you?

I am bit younger, but I was exposed to the outfall of Vietnam through Hollywood films and documentaries.

> the situation in Gaza

Your (hypothetical) 13-year old child is probably learning about it in their social studies class. Also: What age do you think German children begin to learn about the National Socialist/WW-2 era? I guess around 12-13 years old, and they turn out pretty well-adjusted to the world (in my humble opinion).
Heh, I'm kind of the opposite. I like talking about the time I gambled with a couple thousand on options and after a rollercoaster experience, lost it.

But my index funds are not an interesting topic, imo.
$1600 aluminum Icebreaker keyboard
The other commenters already have you a good heads-up about the risks with thr SF robotics position.

I'd like to draw your attention to the fact that there is a lot to learn still at your current job. Dive deep into Sales Engineering and learn as much as you can from the non-engineer salespeople at your job. Those skills are very valuable on their own, and you're already in a good place to learn them. You'll have time to dive deeper into engineering/development at your next job...
> Where just the concepts need to be whiteboarded and explained because they're unintuitive and confusing.

they're intuitive to somebody - just not the software engineer. This simply means there's some domain expertise which isn't available to the engineer.
Works fine for me (FF + uBO on Linux).
Is it common for rust to use serbian domains?
Yes, Americans are much richer than Japanese people
Don't waste your time with people who waste your time.
And of course the right way to do that is to take an extremely mediocre, rushed, incomplete language that is currently constrained to the browser, and make it run everywhere else, ironically having to reinvent many wheels and re-learn very old lessons the hard way along the way. Mission "reuse knowledge" is a hearty failure in node.js-land.
I built several internal tool to tail logs using SSE with Flask/FastAPI. Easy to implement and maintain.

For FastAPI if you want some hooks when client disconnects aka nginx 499 errors, follow this simple tip

https://github.com/encode/starlette/discussions/1776#discuss...
Sure, but it is an appropriate label for Russia today.
What is expected behavior? Surely `echo AB> foo.txt; echo CD>> foo.txt` producing `ABBC` is either a bug in COMMAND.COM, the emulator, or something else? That can't be correct.
Seems like a recipe for supply chain attacks
I run this in a 1u rack. Rather than mess with a pcie riser, you can power the kvm via an internal USB header from the motherboard to the kvm USB header directly for both power and HID.
For accounts I really care about, I use my own domain. Granted it costs money, and is temporary only as long as I pay, but the “ownership” is a bit better defined by law from what I understand than most email accounts.
It doesn't have to be free everything to qualify for open source. The source and licence are available. You can actually bypass payment if you want to do that as the source ia there.
On mobile I get

> An error occurred during loading:

> ReferenceError: WebAssembly is not defined

> Make sure you use a modern browser with WebGL and WASM enabled.
An asset has unlimited downside, in the same sense that you can't move anywhere. See, to move somewhere, you would first have to get halfway there, and to get halfway there, you first half to get a quarter of the way there, and so on, so therefore you can never move from where you are.
This is the best article I've read on programming in a while. When I code all I do is work on one object or one function at a time. Working usually on the end result. The key here is to develop a quick and easy solution without too many issues. This is also the difference between new and experienced developers. Experienced developers have less fluid intelligence so build reliable simple programs.
You can bind to it on some versions of Linux. I've scanned a bunch of Linux systems that host stuff on port 0.
Design Space for Code Search Query
Vlms-zero-to-hero: readings from the fundamentals to the cutting edge of VLMS
Tell people how long it would take you to walk five acres.
I think it was about the group being able to communicate effectively, to decrease conflict and coordination cost.
I scrolled, looking for "the rapist", and there it was.

That was a joke on The Benny Hill Show. (More than one time.)

https://www.dailymotion.com/video/x34id0y
If some program can generate that code automatically, the need to generate it, write it to disk, and for you to edit it is proof that there is some flaw in the language the code is written in. When the generator needs to change, the whole project is fucked because you either have to delete the generated code, regenerate it, and replicate your modifications (where they still apply, and if they don't still apply, it could have major implications for the entire project), or you have to manually replicate the differences between what the new version of the generator would generate and what the old version generated when you ran it.

With AST macros, you don't change generated code, but instead provide pieces of code that get incorporated into the generated code in well-defined ways that allow the generated code to change in the future without scuttling your entire project.

>others to come along and easily read/modify something verbose without having to go context-switch or learn something.

They're probably not reading it, but assuming it's exactly the same code that appears in countless tutorials, other projects, and LLMs. If there's some subtle modification in there, it could escape notice, and probably will at some point. If there are extensive modifications, then people who rely on that code looking like the tutorials will be unable to comprehend it in any way.
I know the post only uses SIMD as an attempt to do bitmask lookup for each byte, but a good alternative use of SIMD is for parallel data processing, i.e. operating on more than one character. Being able to identify a range of characters making up the identifier is much faster than checking one character at a time, especially for avoiding branching.

Did a bit of xmas hacking to come up with the function to find identifiers in parallel in 32-byte chunks. I used Zig since it makes vector/SIMD programming easy.

The code is in: https://github.com/williamw520/misc_zig/blob/main/identifier...

The generated code of the nextBitmask32() function has about 38 instructions. https://godbolt.org/z/7ME3sW55e

That's 38 instructions for processing every 32 bytes. With no branching!
What’s the reason for minimum set back rules? Is it just aesthetics
> but nobody wants to say something positive about JavaScript...

For obvious reasons...
They've been doing that since forever; not a Tesla thing. Enterprise and Avis do it too.
For egui, it will be rustybuzz, which is used directly by cosmic-text

https://github.com/harfbuzz/rustybuzz

https://github.com/pop-os/cosmic-text
With Serbia being run by the mafia and all, or?
You also now have to worry about vulnerabilities in portspoof.
Curious about the others in your list
> If it is done in literal second, why will you benchmark it?

The difference between one second and two seconds can be the difference between a happy user and an unhappy user.

> You don't need some fancy graphics, percentiles, etc.

You don't need those to tell you if your app is slow, you need them to tell you why your app is slow. The point of a profiler isn't to identity the existence of a performance problem. You should know you have a performance problem before you ever bother to start your profiler. The point is to give you enough information so that you can solve your performance problem.

> your worse enemy is not JIT but variance of user's hardware, from old Atom netbook to high-end working station with tens of 5Ghz cores. Same for RAM and screen size.

Yes, this are a real problem that client-side developers have to deal with. It's hard.
they can easily just blacklist ubo if they really wanted to remove it. And they can make it plausibly deniable - by blacklisting the extension id of anything that is in the chrome extension store that originally had manifestV2 (which will have some collateral damage, but obviously google doesn't care).
How are they better with the same meaningless 4 and 5?
I agree and will add in a few bits: although I will obey the language's idiom, in general, I like to keep the number of "things it does" per line of code to the minimum. Kind of an anti-code golf.

I also document (or comment code) when I am waiting for the flow to kick in. For me, the documentation starts at the appendices. One for input files or api source tricks or describing the input tables in a database. Another for the relevant outputs. Maybe a "justify overall design decisions" section. Just stuff someone would wish if they had to handle it in five years.
Aren't there systems like this instead? https://en.wikipedia.org/wiki/Identification_friend_or_foe
How do engineers know if something is strong enough?
i guess it always required prudence. good attribute to have.
How? Unless you have an atomic clock nearby, they will very quickly drift apart by many nanoseconds again. It's also impossible to synchronize to that level of precision across a network.
Plus 1 on this - I've probably had direct responsibility for managing fleets of roughly 50,000 linux hosts - never seen an immutable distro. We usually just burn a fresh image of whatever mainline ubuntu is offering every week or two into the fleet. Saying that containers are becoming a defacto standard is reasonable though - pretty much every company I've worked with and my coworkers have worked with have shifted everything into containers (at least in companies with x00k microservice instances running on ~100k machine environments).
> Even in Asia, those residential mall complexes usually house very expensive luxury apartments.

No. Some of them are expensive. Most of them are middle-class.
It was added to HTTP/2 as well and there is an RFC. (Though a lot of servers don’t support it even on HTTP/2)

My point is mostly that SSE works well and is supported and that has A meaningful benefit today.
It is interesting that people have such strong views about South Korea or Japan's declining birth rate, but have very little to say about rich countries in Europe. Why is this? I never once heard anyone saw that Italy will become a failed states in X years in the future due to population decline. Recently, I saw a chart from Financial Times (here: https://www.ft.com/content/1b139d1a-07ea-4612-9c2b-62c430119...) that showed birth rates in Italy, Germany, Finland, and Spain are ultra low (less than 1.5). More likely: These countries will import more and more temporary, and possibly, permanent labour, to help in their industries. Japan, South Korea, and Taiwan are already doing it extensively, but it doesn't get very much press coverage.
Lax enforcement on class H drugs (the non otc, but not addictive stuff), which spans combiflam to augmentin...

We also have pharmacists who act as doctors in a pinch and reccomend drugs.
This thing is amazing can you add recording?

Perhaps some samples you or visitors create?

Then add a little sampler for beat and it’s a fantastic tool
Openwrt: The future is now: opkg vs. APK
It's really good for scrappy prototypes, e.g. here's a water simulation demo I was using to learn Rust [1]. See the "view" menu for more windows.

The code for that is all contained in a single file [2], and IMO it's pretty small for what it does. It was really easy to add/change things while developing, a new button is just a single new line.

[1] https://andreivasiliu.github.io/cybersub/

[2] https://github.com/andreivasiliu/cybersub/blob/master/src/ui...
This was a well researched piece of journalism. Thanks for re-posting it here!
>The point generalises beyond semicolons; everything you leave to context is something other people have to load up the context for in order to understand.

This is not true, because an editor can add any on-screen hints that are needed to help a human understand the code. For example, in my editor, Python code gets vertical lines that indicate where the different indentation levels are, so I can easily see when two lines of code far apart on the screen are at the same indentation level, or how many indentation levels lower the next line is after a long, highly-indented block. Python could add an end-of-block marker like Ruby does to make things like this easier to see, or it could try to encode the vertical lines into the language somehow, but I'd derive no benefit because the editor already gives me the visual clues I need.
I've also enjoyed Google's blob opera, for something similar!

https://artsandculture.google.com/experiment/blob-opera/AAHW...
I do not agree that typing leads to less cognitive load.
Typing often leads to more and more complicated code.
Dynamically typed code is often shorter and more compact.
If dynamically typed code is well written, its function, inputs and outputs are clear and obvious.
Clear and easy to understand code is not primarily a matter of typed or not typed code, it is a matter of a great programmer or a poor one.
>why the hell would it be "easier to read" if I had to jump up and down the file to 7 different submethods when the function's entire flow is always sequential?

Because you don't jump up and down the file to read it.

Each method that you create has a name, and the name is an opportunity to explain the process - naturally, in-line, without comments.

I write code like this all the time - e.g. from my current project: https://github.com/zahlman/bbbb/blob/master/src/bbbb.py . If I wanted to follow the flow of execution, I would be hammering the % key in Vim. But I don't do that, because I don't need or want to. The flow of the function is already there in the function. It calls out to other functions that encapsulate details that would be a distraction if I want to understand the function. The functions have names that explain their purpose. I put effort into names, and I trust myself and my names. I only look at the code I'm currently interested in. To look at other parts of the code, I would first need a reason to be interested in it.

When you look at yourself in the mirror, and notice your hand, do you feel compelled to examine your hand in detail before you can consider anything about the rest of your reflection? Would you prefer to conceive of that image as a grid of countless points of light? Or do you not find it useful that your mind's eye automatically folds what it sees into abstractions like "hand"?

35 years into my journey as a programmer, the idea of a 100-line function frightens me (although I have had to face this fear countless times when dealing with others' code). For me, that's half of a reasonable length (though certainly not a hard limit) for the entire file.
What I mean is, you make your commit, cherry pick it over to the main branch, and open a draft pr. It doesn't break your flow, it doesn't stop anything, and is pretty quick. It also gives you a quick gut-check to see the PR; if you think your team members won't understand "why" it needs to be refactored, then you have one of two problems:

1. your refactoring is probably going in the wrong direction. Team members will be able to help here more than ever. Let them bikeshed, but don't stop working on your main refactor yet. Revist later and integrate their changes.

2. the PR is too small. it will have to be part of a larger PR.

In my experience, people tend to have the first problem, and not the second one, but they think they have the second one. There are many of these "massive refactoring" PRs I've reviewed over the last 20 years where the refactoring makes the code worse, overall. Why? Because refactoring towards a goal (implementing a feature, fixing a bug, etc.) doesn't have the goal refactoring should have: improving code maintainability. So, the refactored code is usually LESS maintainable, but it does what they wanted.
It's funny how the music reminds me of the Star Trek Voyager Theme, and yet it is not the same music :D
Callbacks with closures are continuations with bad syntax. Admittedly one could call those horrifying without being accused widely of hyperbole, so it’s not a great counter to your point.
Project images from your balcony onto the underside of the balcony above you.

Here is a link to a photo of my balcony in San Francisco during the initial stages of the virus

https://photos.app.goo.gl/xhDt7rmr7shjJbhu7
I believe that this is a technical issue now. In a more ideal world, procedure, legislation, regulation, protocols would be followed to slow the growth of antibiotic resistance, but there are just too many Defectors for that approach.

It's in nerd hands now ...
5 acres is one or two city blocks. So maybe 7-10 minutes to walk the perimeter depending on your pace?
Extremely solid advice. As someone who has worked at a trading company that makes the big bucks, I can say you (as a single investor) will never consistently beat the market on any remotely interesting instrument. The sheer resources the institutional traders put in is mind boggling. You must understand that you truly are gambling in the face of such a sophisticated opponent. The quicker you understand, the better (hopefully without losing your life savings first). And don't even think about derivatives, you will get eaten up and spat out like you can't imagine.
This is simply not true. Even research that suggests damage also suggests endurance athletes have better outcomes anyway: https://www.heart.org/en/news/2019/03/01/is-long-distance-ru...
Show HN: I Made a SEO Content Generator That That Learns from Competitors
Hi Everyone,

I'm Yossi, the founder of SEO Katana
I'm an indie hacker by night and a senior full stack dev by day.

I've been building products for the past 18 years and I love every minute of it.
SEO doesn’t need to be complicated. In fact, I feel we may be doing SEO backward! SEO Katana lets you start with the “end result”. A well-written, long-form content that will rank on relevant keywords.
It might get tricky. Midsummer already has a spending stimulus. Summer vacation is when people spend their money on tourism.
I use iBroadcast[0], it's a service dedicated exactly for this. Costs me a bit each year but I've felt it worth it. There's some differences to organising in iTunes like the handling of compilation albums that I'm not so fond of but you can see how it works on the free tier.

The browser client only does 128 kbps streaming but their mobile client can set the streaming quality (I have it at 256, max is 320) and I'm working on my own PWA client using their API that I've also set to 256, which would work on both mobile and desktop.

You can also set the browser client to stream the original file directly but browsers don't play most of my formats like ALAC so it just doesn't play anything then.

[0] https://ibroadcast.com/
That thread made MDN look good. I honestly can't see myself handling the situation as professionally as the MDN guy.
You can instruct egui to discard a frame. That way you can perform this two phase layout across two frames without showing an unfinished UI.

This mechanism can get you there most of the time.
>My principle has always been: “is this part a isolated and intuitive subroutine that I can clearly name and when other people see it they’ll get it at first glance without pausing to think what this does (not to mention reading through the implemention)”.

I hold this principle as well.

And I commonly produce one-liner subroutines following it. For me, 15 lines has become disturbingly long.
hint: 8 days ago txtai released their arxiv embeddings

https://huggingface.co/NeuML/txtai-arxiv
Demo to love
I believe it is a bug in the the emulator's implementation of COMMAND.COM. Often, these DOS "emulators" re-implement the standard commands of DOS, including the shell[1]. This is in addition to emulating weird 16-bit environment stuff and the BIOS.

The bug can pop up in any C program using stdio that assumes it's fine to do `fread` followed immediately by `fwrite`. The spec forbids this. To make matters more confusing, this behavior does _not_ seem to be in modern libc implementations. Or at least, it works on my machine. I bet modern implementations are able to be more sane about managing different buffers for reading and writing.

The original COMMAND.COM from MS-DOS probably did not have this problem, since at least in some versions it was written in assembly[2]. Even for a shell written in C, the fix is pretty easy: seek the file before switching between reading/writing.

The title of this post is confusing, since it clearly _is_ a bug somewhere. But I think the author was excited about possibly finding a bug in libc:

> Sitting down with a debugger, I could just see how the C run-time library (Open Watcom) could be fixed to avoid this problem.

[1] Here's DOSBox, for example: https://github.com/dosbox-staging/dosbox-staging/blob/main/s...

[2] MS-DOS 4.0: https://github.com/microsoft/MS-DOS/tree/main/v4.0/src/CMD/C...
I did something similar a while back with mpd its httpd output: https://mpd.readthedocs.io/en/latest/plugins.html#httpd
I think that's still pretty modern. My stream setup uses liquidsoap to generate HLS files which are served as a livestream directly from Tigris/S3. But a lot of users of liquidsoap still use the icecast output I think.
If your continuation has no state to hold your recursion should already be tail called.

If it does have state, it’s probably a stack allocated closure…
I think it is somewhat misguided notion that code could have a property whose value is its "cognitive load". Instead we should start from the premise that:

1. Somebody writes a program

2. Somebody else (perhaps the same programmer a few years later) tries to read and understand that program

So the "cognitive load" is a property of the communication between the person who writes the program and others who read and (try to) understand the program.

Cognitive Load is an attribute of communication, not of the artifact that is the medium of the communication (i.r. the code written).

Are we writing in a "language" that readers will understand? And are we reading in a way that our assumptions about what the writer is trying communicate to us are correct?

A program is instructions to the computer. But when written in a highj-level language it is also meant to be read by other prrogrammers, not just by the CPU. It is human-to-human communication. How easy is it for somebody to understand what somebody else is trying to tell the computer to do? That's the "Cognitive Load".
+1 for navidrome.
I’ve had better luck with the play:Sub app (iOS).

I think it’s important that these servers use a common API (subsonic), but it seems like the slickest apps are always targeted to one specific backend (plexamp, finamp, prism music).
Photo editors, CADs etc.

I mean... pretty much anything you have on desktop but in your browser.
He lives in London
You have no idea how much "product development" is done for that if this strikes you as odd
The retro hobby that can help boost your happiness
He succeeded! He arrived on Sunday.

https://therunningchannel.com/deo-kato-completes-run-from-ca...

Does anyone know how he ran from continental Europe to England?
They do not have a Linux player so the price tag is a bit hefty compared to Plex or the free options...