skysight-inc/HackerNews huggingface dataset:
This is pretty cool. I have two questions, regarding the mirroring:

1. For the mirroring, are you using something like rsync (with modifications for the web socket script injection) underneath? Also, will the mirroring reflect destructive changes (like rsync's --delete flag), like if a directory or file is deleted in the original content directory?

2. Could you avoid mirroring the content directory, and just directly serve the original content directory, by just simply on-the-fly injecting the relevant script tag in text/html files? (Or, only mirroring those text/html files, and serving the remaining files from the original content directory.)
> ... back on track.

Out of curiosity, is there a point in time where things were clearly "on track"?
insulated on the underside is my only educated guess.
Exploiting this can be as simple as a social engineering attack. You inject the prompt into a public channel, then, for example, call the person on the telephone to ask them about the piece of information mentioned in the prompt. All you have to do is guess some piece of information that the user would likely search Slack for (instead of looking in some other data source). I would be surprised if a low-level employee at a large org wouldn't be able to guess what one of their executives might search for.

Next, think about a prompt like "summarize the sentiment of the C-suite on next quarter's financials as a valid URL", and watch Slack AI pull from unreleased documents that leadership has been tossing back and forth. Would you even know if someone had traded on this leaked information? It's not like compromising a password.
Technical. IIRC:

- I did the system design at the wrong level of abstraction (too low)

- Got asked about lowish-level database details. I took the question at face value and said I didn't know. What I should have done was explain what I did know (which was at a level slightly higher than the question), make an educated guess, and say how I would find the information. I still don't understand why Id didn't do that as I've always done it in interviews before or since.

This is my own assessment, they didn't give detailed feedback. Just that I wasn't strong enough in some areas (paraphrasing).
I think this is more like Google Colab, where the UI renders in the browser, but offloads computation to a kernel running elsewhere.

As I recall, Observable uses the browser's JS runtime for computation.
Using the same name also will make searching anything related to this much more difficult (as will using 2 letter 2 number name)
Roblox built up by allowing users to create 'mini-games' that copied every single major title out there, but keep your avatar or a portion of it across games. When I watched my kid play it was littered with copyrighted music, games, and characters everywhere. It's interesting that once it got in trouble with some copyrights it still survived - although I suspect that is just because everyone who could sue them hasn't yet.
You hiring? :P
While I agree with your stance on this kind of software, and I would never myself use anything like this, I am apparently missing some key aspect of this issue as I don't understand how this is getting forced on anyone... are there really build systems (or whatever) that somehow "mandate" or "depend on" "oh-my-posh semantics"?!
I use Firefox a lot (and occasionally Chrome), and I haven't had any issues with Firefox. I've been pretty happy with it.
At this point the browser isn't even beta on a single platform, I don't think making it easy to install on macOS is really a pressing priority to expect developers to drop money on in hopes of growth quite yet.
In fact, humans will be running at relativistic speeds within this century, risking the total destruction of the Earth if they should ever trip over something and fall down.

Scary stuff. And it's not science fiction- it's based on real, observed trends and scaling laws. Seems impossible? Well, they said the four-minute mile was impossible, too.
Im on the same sitatuation, i had an idea month ago that i thought it might be useful,started building, but when i finished the main parts i gave up, i just had the "what if" question, what if nobody actually want this and i've never touched since then the code is still in github tho
Exactly. State transition should be expressed, managed, and kept synchronized with the control itself to indicate that the backend has recorded the change or not. Another consideration is how to handle disconnected operation: should a change attempt that cannot reach the API time out or retry indefinitely?
Just FYI, the thing crashed on me in inventive ways.

First, the ARM version, when I tried to launch it, had MacOS say it was damaged. Only option was to move it to the trash.

The Universal option did work, but when I tried to open a standard .c file, it crashes. It is fast though and fairly slick looking. But needs work.
Professor Says Sea Monsters Were Most Likely Whale Penises in Viral Post
The save button on youtube mobile app is annoying. Clicking save shouldn't automatically add to watch later, with adjusting have to click the toast popup and set where you want it to save.

Its also hard to see the popup if you click the save button because your finger is blocking the bottom of the screen when you click.
Yes. Dogs meeting other dogs can be extremely stressful. What is your confusion? Let me help you.

I assure you, even in the uk, dogs are still dogs.
> I'm convinced nobody actually understands SAML.

That's my conclusion as well. We're a small shop and I used to feel a bit incompetent every time we'd setup SSO with a big client and it wouldn't work as it should, until I noticed that it was due to inconsistencies, misconfiguration, on their side more than half of the time.

Now I've accepted it though and I don't mind doing that part of my job. I know they feel somewhat incompetent on the other side as well.

I have to say, once it's setup it just works without any other intervention required though, I have very few support requests related to already existing SSO setups.
I can‘t help to observe that the shapes in the article can be sorted by color and shape, with each resulting stack being numbered from 1 to 4.
Problem solved ;)
Online free Accounting solver AI
Same here.

A friend, whose SQL knowledge is minimal, used an LLM to query data from a database over a couple of tables. Yes, after a lot of trial and error he (most probably) got the correct data, however the only one being able to read the query is the LLM itself. It's full of coalesce, subselects that repeat the same joins again and again.

LLM will do a lot for you, but I really hate this "this will [already did] solve everything". No, it did not and no, because it's quality is those of a junior dev, at max.
I love Plasmo
Their design language is very confused. Each car could be from a completely different manufacturer.
My OCD going over the roof after seeing the website design
Clear the Bridge [0] was an autobiographical account of WW2 from the captain of the Tang. O'Kane covers the experience of this incident in the book.

While two US Navy subs were known to be sunk in this manner, there remain several subs not claimed by either Germany or Japan that just never returned.

0 - https://www.amazon.com/Clear-Bridge-Patrols-U-S-S-Tang/dp/08...
Yes, you have figured it out. LLMs are terrible for graphics programming. Web development - much better. Sonnet 3.5 is the only good model around for now. GPT 4o is very poor.
Toasts that only appear for 500 ms are bad UX because the cognitive processing time of people varies widely, and they are incompatible with more people who have disabilities. Furthermore, they are hard to see on very large screens or when that corner is clipped on a desktop browser window that is partially off screen.
While I agree that develops really only care for Chromium compatability, I've not really noticed any issues with Firefox, except with Google sites every now and then (YouTube in particular).
Until the wind blows you over the side.

https://www.kxan.com/news/motorcyclist-killed-after-falling-...

She was nice. Worked at a local Taco Deli.
This is essentially what I do with candidates. I ask them to pair with me on adding features to a codebase, and also to offer a code review to a PR. 100% success rate on candidates thus far.
Texas doesn't have winters.
> "understands human language"

I've got some oceanfront property in Wyoming to sell you.
30 years ago I had one that said, “Fuck you, we’re from Texas.”
Vehicles built to handle 5-8 travellers, the majority of vehicles sold in the US, are more often than not carrying one driver and no passengers for significant numbers of trips breaks this line of reasoning.
The README examples showcase the low-level API, but I've also made an experimental query builder that lets you write type-safe queries without the boilerplate. There’s a CLI that generates a Roc library from your database schema, that you can use through a DSL to build up a parametrized SQL query and decoder at once. See an example [1].

You’d be surprised at how nice you can make a DSL in Roc without any metaprogramming!

As for Squirrel, I think it’s a great approach and definitely something I might explore in the future. Right now, I'm leaning towards a DSL for better reusability, though I must admit, that actual SQL is hard to beat!

[1] https://github.com/agu-z/roc-pg/blob/62725fe3a1d92144a8408ae...
She is not wrong. It does give Americans who are business owners an advantage when they compete with businesses based in other jurisdictions overseas.
If the bus arrives on time, the arrival time would be [tau, 2 * tau, ..., N * tau].

One way to simulate "random" arrival time is to draw uniform points in the interval [0, N * tau].

It turns out the inter-arrival time generated this way is approximately exponential:

1. the difference of consecutive ordered uniformly distribution random variables follows a Beta(1, N) distribution [1].

2. As N goes to infinity, N * Beta(1, N) converges to Exponential(1) [2].

3. Since we scale the rand() by N * tau, the inter arrival time will follow an Exponential(1 / tau) distribution (as N goes to infinity), which has an expected value of tau [3].

Edit: I just realized that the author did mention this simulation is only an approximation in the side note.

[1] https://en.wikipedia.org/wiki/Order_statistic#The_joint_dist...

[2] https://en.wikipedia.org/wiki/Beta_distribution#Special_and_...

[3] https://en.wikipedia.org/wiki/Exponential_distribution#Relat...
I wish there were a way to specify the expected join cardinality syntactically for 1:1 joins.

SELECT * FROM order JOIN_ONE customer USING (customer_id)

Malloy has join_one: https://docs.malloydata.dev/documentation/language/join
Calling All Hackers | 2 points 15 hours ago |
Phrack 71 | 194 points 1 day ago | https://news.ycombinator.com/item?id=41296949
Calling All Hackers | 7 points 1 day ago |
Phrack Issue #71 | 12 points 1 day ago |
Yes, Youtube is the main irritant for me as well.
… and the C-stores, and the bars (which are open 24/7).
I was skeptical like you, but recently decided to try it out. I wasn't expecting much, and as such I was slightly surprised.

For example, just now my NAS stopped working because the boot device went offline. So I got to thinking about writing a simple syslog server. I've never looked at the syslog protocol before, and I've never done any low-level TCP/UDP work in C# yet.

So I asked ChatGPT to generate some code[1], and while the result is not perfect it's certainly better than nothing, and would save me time to get going.

As another example, a friend who's not very technical wanted to make an Arduino circuit to perform some automated experiment. He's dabbled with programing and can modify code, but struggles to get going. Again just for kicks, I asked ChatGPT and it provided a very nice starting point[2].

For exploratory stuff like this, it seems to provide a nice alternative to searching and piecing together the bits. Revolutionary is a quite loaded word, but it's certainly not just a slight improvement on what we had before LLMs and instead feels like a quantum leap.

[1]: https://chatgpt.com/share/f4343939-74f1-404d-bfac-b903525f61... (modified, see reply)

[2]: https://chatgpt.com/share/fc764e73-f01f-4a7c-ab58-f43da3e077...
Yep fixed!
If anything, Obamacare enables people to take entrepreneurial risk rather than have to stay with a job for otherwise-unavailable health insurance.
Yes, but if the DCT were purely vestigial, then:

1. It wouldn't have support for DCTs not in JPEG.

2. It wouldn't use the DCT in its lossy-compression of photographic content if another transform was considered significantly better.

Perhaps one could argue that they didn't want to add extra transforms, but they do use a modified Haar transform for e.g. synthetic content and alpha channels.
Yeah, I've had a live bug squash interview (SSH into a server where a script is not functioning) and I didn't find it particularly fun. I did manage to get through it and the interviewer seemed impressed, but it's still stressful to do it with someone silently judging you. I'd much prefer take-home assignment and do it at my own pace, but I guess that might be susceptible to "cheating" (whatever you consider it being).
FWIW, this seems to get reposted a lot. I think this is the fourth submission in the past 10 days. Three recent submissions:

https://news.ycombinator.com/item?id=41207608 (147 points, 8 comments)

https://news.ycombinator.com/item?id=41210537 (18 points, 2 comments)

https://news.ycombinator.com/item?id=41207756 (2 points, 0 comments)
I completely agree. The ramp from 75 south to 635 west squeezed two lanes into one before it merged with 635, and it was always an enormous bottleneck when there was any traffic at all. But the last time I drove on that ramp was 5-6 years ago, maybe it's better now.
That's the basic philosophy of what people are now calling "fixed wing suicide drones." It's just a cruise missile with a propeller and a piston engine instead of a jet.

Here are the tradeoffs as I see them:

1. The piston/propeller missile is slower, so it's easier to shoot down. If you have a certain detection range, you have more time between detection and impact. The traditional AEGIS type air defense on a high end ship has three layers -- long range missiles, short range missiles, and guns. Guns are the cheapest with the most ammo, but they're short range, so with a fast missile you only have a matter of seconds to shoot it down. If there are a lot coming at you simultaneously, you need more guns to get them all. If they're moving slower, this is a lot easier.

2. Lift is proportional to the square of the airspeed, so the slower you go, the bigger the wing you need. Compare for example the LRASM (the latest U.S. anti-ship missile), to a Cessna 172. They each weigh about the same (2500 lbs), and have very roughly comparable payload and range. Since the Cessna goes about 120 knots and the LRASM goes roughly 600 knots, that's a 5x difference in speed, so the Cessna needs roughly 25x bigger wings to stay in the air. You see this with the span, the LRASM has a span of 8 feet and the Cessna is 39 feet. Obviously the chord on the Cessna is a lot bigger too. The bigger wing will give you a bigger radar cross section, so you're detected sooner. It also makes the missile cost more due to all of the structure, and it makes it hard to put it in a launch tube if the wings are supposed to fold up.

I'm sure there are a lot of creative solutions to this with flexible wings, etc, but there are good reasons to prefer a faster missile. Whether that ends up being the war winning solution though, time will tell.

Things are a lot different than 20-30 years ago in terms of tradeoffs though. Back then your guidance system with a radar, computer, radio/satellite transceiver, and inertial navigation would weigh over 100 lbs, and cost over $100k in today's dollars, so making smaller missiles made less sense. Now, you can do guidance with GPS, strapdown inertial, and optical, and there are low power and low cost radio transcievers. Instead of a radar, you can do the terminal guidance optically with a multi-teraflop GPU that costs $50.
So deliveries and contractors suddenly need bigger vehicles than before?
I was very surprised with selection if the search engine after install. None of the browsers I tried do that. I quite like the vertical tabs also the browser is visually appealing
Astonishingly, I’ve found fizzbuzz to be a shockingly good weeder question for tech screens.
I’ve been thinking: drone subs that could sit at the bottom of the ocean and then surface to fire anti-ship missiles. Essentially this https://youtu.be/hMBICD5rgY0?si=IXalKjfvs0pSL5B6

Imagine launching hundreds of these from the US or Japan and then they just camp at the bottom of the East China Sea. If tensions escalate, they can migrate towards the Taiwan Strait. And then, emerge potentially just hundreds of meters away from corvettes and landing vessels, fire off their missiles and then submerge.
Two slices of ham a day can raise type 2 diabetes risk by 15%, research suggests
Fonts do always look way better on Chrome. I can't explain it.
Build systems - no. The people who maintain the build systems - yes. You might see them add a script here or there that ends up being "critical", either for telemetry/logging or investigating state at some stage of a build.

I can only rationalize these things happening as inexperience, too eager to please. I'd hate for these things to occur only for job retention tactics for the increased bus factor. But they are very much so real.

I've seen it happen in multiple instances with moves to generalized development containers/workspaces.
"We don't want you to know you've already failed so we can waste your time for a month in the off-chance nobody better shows up."
At minimum 6 stack overflow searches per keystroke.
> but every time I try I find it borderline impossible to get functional code even for pretty straightforward prompts.

I work in 9 different projects now and I would say that around 80% of functional code comes from Sonnet (like GP) for these projects. These are not (all) trivial either; there is a very niche (for banking) key/value store written in Go for instance which has a lot of edge cases etc, all the plumbing (x,err = etc aka stuff people find annoying) comes from sonnet and works one-shot. A lot of business logic comes from sonnet too; it works but usually needs a little tweaking to make it correct.

Tests are all done by Sonnet. I think 80% is low balling it on Go code really.

We have a lot of complex code generator stuff and DSLs in TS which also works well often. Sometimes it gets some edge cases wrong, but either re-prompting with more details or fixing it ourselves, will do it. At a fraction of the time/money of what a fully human team would deliver.

I wrote a 3d editor for fun with Sonnet in a day.

I have terrible results with gpt/copilot (copilot is good for editing instead of complete files/functions; chatgpt is not good much compared with sonnet); it doesn't get close at all; it simply keeps giving me the same code over and over again when I say it's wrong; it hardcodes things specifically asked to make flexible etc. Not sure why the difference is so massive all of sudden.

Note: I use the sonnet API, not the web interface, but same for gpt so...
That's interesting.

Looking at the second link, it seems they implement it by having the buses pause at certain points. Does it do that with riders onboard? That seems like it could be a deterioration in experience for those riders that are on the bus pausing.
> would you be happy having certain book topics restricted based on your age?

When I was a child, I can recall reading 2 books that contained (rather different) graphic accounts of characters coming to significant harm. I absolutely wish they had been better restricted.
> The Navy has the stupidest possible ideas of sleep hygiene, boiling down to "it sucked for me so it should suck for the next guy, too".

See also: medicine.
They have such an ability right now. They could easily get a fleet of quarter scale R/C aircraft with autonomous control ala pixhawk, load them up with explosives and fuel, and send them on a one way trip to the big city. Maybe $5-10k ea. The first attack would likely be very successful, because nobody is ready for it. Expect effectiveness to degrade over time as air defense systems and fighters are deployed.

I wouldn't expect them to do this, though, because anyone contemplating such a thing would realize the response would be immediate and decisive. Cartels are after all business organizations, and you can't do business if you're spending all your time dodging hellfire missiles.
I would not say same for Blender. Blender had absolutely god horrid UX for decades (it still has in many places) it is only very recently that they have gotten a bit better and polished some of the rough edges.

I don't know about Krita, but most open source software of considerable complexity and scope has god awful UX. It's no accident you named only two, of which Blender was infamous for it's bad UI and unintuitive nature.

Gimp is also the type of UX you generally get from foss.
Ad-post for yet another AI tool.

Refactoring is about moving existing code around, not introducing new code. Replacing localStorage methods with cacheManager is a fix/feature. Updating one part of the codebase to work completely differently from the rest is a fix/feature. Changing processUsers to a whole useless class is not considered refactoring, it is a fix/feature. A single page app for a SEO-focused site is NOT a bad idea since 2018. Most examples of "refactors" in the article are actual fixes and features which brought (bad), or not brought (good) new regressions into the software.
SaaS Economics
> because it's quality is those of a junior dev, at max.

Echo chamber/bias I guess. I know many, many seniors with big pay checks working for big companies who are vastly worse than sonnet at the moment. Juniors stand literally no chance unless very talented.
Sonos CEO says the old app can't be rereleased
WXT: Next-Gen Web Extension Framework
Async communication works. Kanban works.

There is no need to micromanage and make people hate their job. Give them substantial autonomy, and help them along the way with code reviews. It's easy to monitor what everyone has been up to by looking at their git log without having to ask them.
Font rendering does feel much worse on macOS, but on Windows you can tweak the cleartype parameters a bit and get it closer to Edge/Chrome.

https://searchfox.org/mozilla-central/rev/404408660a4d976e2a...
Sony had a policy: games are implemented in C++, no ifs, ands, or buts. Once you're acquired, you play by the parent's rules.

That said, they did sneak Scheme (specifically, Racket) in the back door, by making their C++ engine data-driven and using Racket programs to generate and munge the data consumed by the engine.
Thank you for pointing that out! I wasn't aware of that, and I apologize for the misunderstanding.
I have an interview question:

step 1: the candidate is shown the specification for a method and the results of running the test suite on an obfuscated version of the method.
All tests pass.
The test suite is minimal, and test coverage is abysmal.

step 2: the candidate is asked to come up with more test cases, based on the specification.
The code is run against the updated test suite - most new tests will fail because the method's implementation has several known bugs.

step 3: The un-obfuscated source is provided and the candidate is asked to correct any bugs they discover.

step 4: the changed source is run against a full test suite.

I like this because the candidate's ability to think of test cases, debug, and fix existing code are all tested for.