skysight-inc/HackerNews huggingface dataset:
We've been doing the O(n) thing forever with PHP and CGI since 1995, the issue is that it required constant whole-page reloads and was a poor experience that got worse the more interactive your webapps got. React let you do the same thing but made it fast(ish) with local updates

We actually see similar innovations on the FP side as well, with persistent data structures that allow structural sharing so your "copy and update" operations can be fast enough to be usable (even if still not nearly as fast as in-place mutation)
The bot already does that, you command it through your web or mobile interface
Awfully funny considering our major security issues in code these days are from a type safe language.
Good luck, Saylor. Man's braver than I!
> it's because our whole lives we're told that "Gross Domestic Product", overall money, is the determinant of "best" and that's so engrained for us.

I grew up in the US and literally never heard this. It’s a way to measure economic behavior but nobody actually cares about that number. For the people who are money focused, they look at things like PPI and individual incomes. I’m not making a value judgement on how much focus should be put on that, but the point is that GDP is irrelevant to citizens.

For a concrete example, Biden/Harris got backlash about the economy sucking despite GDP being great because of the massive erosion in purchasing power during 2022/2023. Them pointing to GDP to show how strong the economy was even made it worse.
A made-up name is better than no name
Ask HN: Counter-Offer Woes
I got a new job offer that was a little less (about 5%) than my current salary. I already earn about 20% more than the median in my field/sector/age bracket.

Not exactly sure why I opted to apply, because it would be a step down "career"-wise. It would be a comfortable job where I'd know the ins- and outs of everything, but it'd probably offer few opportunities to really grow beyond that. More of an "ops" role and my current role is very much "dev"/idea guy/experiential and integrations oriented.

Asked my boss 6mo ago if I could get a $5k raise as an "ad hoc" thing. I wasn't exactly turned down, but it felt like I would have to make a huge effort to bag that - maybe that was why I went looking.

I handed in my notice with heavy heart and was really surprised by the reaction I got. Instant phone call with a 25% salary increase counter-offer and promises of a more "experimental" role, basically a free pass to be creative, try new tech etc.

These past two weeks they've tried to retain me and taken me to lunches, coffee walks- and talks, and overall been way nicer/more attentive than usual.

I know counter-offers are a mixed bag in the US, but in Europe I feel that they usually represent a true expression that the employer wants to keep someone - or at the very least that it'd be very inconvenient to lose that particular someone at this point in time. I could be wrong.

Since this is an employer I've been with for many years - my first job in fact - I was actually really emotional when I sent the resignation letter.

Now I'm worried that I'm burning bridges with the new place and scared of calling them to rescind my acceptance. They can't match the counter-offer whatsoever and it'd be an inordinate amount of overtime and late nights to get to that same level monetarily. Not sure I have that in me anymore.

I don't really have a question per se. The logical thing is to accept the counter-offer. In this case I'd both be learning and earning, for an employer that now has a more invested stake in me.

Are moral qualms like this normal?

Are employers forgiving of reneging on an already signed contract? My start date is almost 5 months from now.

Is it normal to feel bad for getting more money all the while thinking that I'm at an all-time-low in terms of providing value day-to-day? It's almost as if I deserved this salary more when I was 15 years younger and worked way harder, and that my current "senior" self deserves my starting salary 15 years ago.
You’re just proving the point. This stuff was easy when it was called Ajax. You don’t need React for that simple thing lmao.
Many sites have a two tier application with a CMS SEO “landing page” abd conversion funnel run by the marketing department and a user-login that takes you to a separate website that is SEO irrelevant.

So… a site that doesnt care about SEO and is not indexed and is purely for logged in users is also very common.
https://en.wikipedia.org/wiki/Red_Army_Faction
The Tower of Babel was a library that contained every possible combination of letters to form a 400 page book. Or something like that. It made me wonder, what if you made a content honey pot full of just random text and a chatbot vacuumed that up? Does it's data vacuum have a garbage detector?
> The CDDL is more permissive, it's a weak copyleft license while the GPL is strong copyleft, and that makes the two incompatible. Calling it "excessive freeness" is inflammatory, but they're broadly correct.

It's not really. Many aspects of the license are free-er, but that's not what causes the incompatibility. The GPL does not have any kind of clause saying code that is distributed under too permissive of a license may not be incorporated into a derived/combined work. It's not that it's weak copyleft, it is that it contains particular restrictions that makes it incompatible with GPL's restrictions.

BSD licenses do not have that incompatible restriction (= are freer than CDDL, in that aspect) and can be compatible with the GPL.
Sadly you're right. And obviously we're not about to give up on high IPC. I get it and I'm not judging -- it's just a bit saddening.
> Rust becomes popular for specifically web application development. It'll need to overcome the awkward WASM/DOM bridge, but then it'll sing.

Colour me doubtful. As long as the DOM is accessible in JavaScript, it can't be a first-class object in WASM. And no one is going to transfer the DOM into WASM and break every JavaScript app out there.
The question in this thread is not TypeScript vs JavaScript. It's framework vs no-framework. Specifically, is it possible - possible at all - to create an interactive web app without frameworks - one that isn't "just a document" or "brochure-ware". I've demonstrated pretty clearly that yes it is possible. You people just keep shifting the goalposts further and further... Now it doesn't count unless it's 50K LoC? As if unnecessary complexity was some kind of inherent good.
So... Good?
Wow. Never done one (working as dev since 1995)

I would probably fail if I did. Probably avg 40 wpm with touchtyping.
> One day we shall have to explain that no, wearing an onion on one's belt was never the fashion at the time.

I, on the other hand, will be photos hopping onions into old pictures if the grandkids ask.
I spent two days trying to get repeatable data from a piece of hardware. Was not able to replicate a dataset once, found out we had a bad high-pressure hose for the brake system and the numbers were all broken.

I have no fucking clue how a soft science study could replicate itself.
The basic idea is if you have n ways your page can display, with the old PHP/CGI whole page refresh model you needed to write n endpoints, but every interaction required a slow and disruptive whole page refresh

With pre-react single page apps, if you had O(n) ways your webpage could display, you needed to write code to account for n^2 ways that each of those n states could transition into another one of those n states

With react, you write code to render n pages, and get the fine grained interactivity for free with good (enough) performance. It basically removed a tradeoff/dilemma that had been facing web developers since time immemorial, so no surprise it was a big hit
> So China burns coal, to generate power, at huge heat and transmission loses,

Are they truly burning coal or are they making syngas for use with a CCGT and shipping the coke off for their steel? (Probably a bit of both, my wager.) Cause a CCGT is gonna be -at least- as efficient as an atkinson cycle gas engine.

> once they implement particulate filters on them,

You can hypothetically do this with a coal plant too, and what's even better is, it's easier to 'check up on' one power plant vs thousands or millions of individuals to make sure the filter is present and being maintained. (e.x. Cat deletes on gas engines.)

> A gasoline engine, runs for a very long lifetime now,

Short of something with a Toyota HSD style setup, you've still got a lot of -other- components that break down in increasing frequency to support that. Your Steel Belt CVTs, your 8-10 speed transmissions with too much complexity slammed in resulting in various reliability issues... And lately almost every manufacturer, even Toyota, has had to do a recall on some engines due to very bad failure modes. And all of it in the name of trying to keep gas engines to the need for efficiency while also trying to add far more power than most people need in a daily.
That's the norm in the React world nowadays. You should take a look at https://infrequently.org/2024/08/object-lesson/
Coffee prices at 47-year high on Brazil crop concerns
The wide range of preferences expressed here makes me think that the best apple is one grown near you—and different varieties are better suited for different climate regions.
There’s a certain type of American who sees Scandinavian countries as having 100% cracked the code to every possible problem. It’s not a viewpoint that allows for a lot of nuance.
> The difference between the AGI takeover and capitalism is just the choice of metric to optimize on.

Not specific to capitalism. The same thing occurs with any government/economic structure that is optimizing for a metric. Think of a communist government using “happiness” to drive decisions that just silently kills or drugs everyone who isn’t happy.
Yeau article was unexpectedly hostile to bsky. Was weird to see.
Do we? In mainstream American politics people recoil at the notion of “European” political ideals. On HN most of the “Europe is so much better” sentiment seems to come from actual Europeans.
This is a bad look. I expected the result would be Chrome and Firefox dropping trust for this CA, but they already don't trust this CA. Arguably, Microsoft/Windows trusting a CA that the other big players choose not to trust is an even worse look for Microsoft.
> Janitors don't delete posts that they don't see or are not reported.

So why is it that any alt-right or racist posts never get deleted? Even if they only deal with things that get reported to them, there's clearly a huge bias going on here when alt-right aligned posts never get reported while the opposite is reported and dealt with within minutes.

https://archive.4plebs.org/tv/thread/206317377/

https://archive.4plebs.org/tv/thread/206526786/#q206527439

https://archive.4plebs.org/tv/thread/206199053/#q206200223

https://archive.4plebs.org/tv/thread/206521664/#q206526548

> And yeah, if you don't give any examples it's hard to take you seriously. The example you did give was egregiously OT, and in fact potentially thread-derailing. The fact that you saw that as an example of janitors being unfair puts your credibility into question.

I believe I've given plenty of other examples not my own. I don't want to bring in my own examples because I don't want to be arguing about politics on this website, especially since I am not using a throwaway account like you are.

If the example I gave was egregiously OT, then so are all the dozens of race and politic baiting posts aligned with the alt-right that never ever seem to get the same treatment.

And for posts be deleted quickly, it needs to piss enough people off. The examples you used are the most softball examples that are not too aggressively worded and makes it more likely that alt-right users try and refute the claim rather than a knee jerk "report and sage".

Also tariffs are more of a tangential viewpoint rather than one exactly opposed to the alt-right.
There is no such thing as "grey market". USA is a free market. Everyone is authorized to sell all safe items.
For me it is not respecting the zen of python by pushing you to bad formatting sometimes just because the tool requires you to.

And just for reminder, the following is one important point at the beginning of the pep8:

Foolish Consistency is the Hobgoblin of Little Minds
First it was "10+ years experience", which would qualify me, but now you shifted the goalposts again to "decades" experience. Lol. I guess you can keep pretending that everybody who matters agrees with you when you just count everybody who disagrees as someone who doesn't matter
How do you write a singleton service that can feed state back into the component that calls it when that state changes?

For example, `api.fetchInfo()` would want to feed Loading | Success(T) | Error(E) back into the React component call-site when they change.

EventEmitters come to mind but aren't without their own issues like subscription leaks. And you have to track component arguments in order to know when to call the service again when they change which is a classic source of complexity.

Hooks provide a solution for this since they themselves are just nested React lifecycle constructs (like useState + useEffect).
If I'm reading it right, there are very few "upsets", where a hyena the scientists model as lower-ranked exerts dominance over a higher one.

That suggests that even if every hyena doesn't know the total ordering of the pack, he knows whether each other hyena ranks higher or lower than him. Maintaining that knowledge doesn't absolutely require knowing the total ordering, but it's an interesting computer science problem to maintain it without.
The practice of the scientific method is the path to empirical truth. This doesn't necessarily mean that a nominal scientific finding is true. It is likely true that, on a given topic, an acredited scientist in that field has fairly correct opinions, but I would not take this too far. Conflicts of interest, personal biases, incentives to obtain results, simple lack of reproduction, corrupt peer review, etc. are clearly issues, and it's all the more unfortunate that we can't even say just how deep these issues run.

Science is timeless and powerful. Scientists are human beings that nominally, preferably, fallibly practice science.
You should check out htmx. It goes really well with ScalaTags :-)
Which is great for the companies that have made the switch because those corvils were truly terrible.
Thank you for these comments. I appreciate them and I'll consider them in my next draft. However, I would like to point out a few things; just so that we have the larger picture in mind. Again, I do appreciate you took the time to look up the paper.

1. When I said we revise the paper between two submissions, I wasn't implying it was becoming "better". The message was that there is no general consensus around what should be expanded and what might be concise. Someone believes you should discuss prior work more, someone thinks the main algorithm requires more elaboration, someone wants you to talk more about BayesOpt etc., but you just have <10 pages in the main paper, and putting this stuff in the Appendix, or citing source, doesn't seem to be good enough in many cases (another comment in a sibling thread gives an example wrt GANs, and my experiences have been no different).

2. You say you randomly picked a few sentences to read; that's good for a casual discussion but that should not be how a review process functions. Some of the best reviewers I've encountered (and I hope I am continuing in that tradition) come back to say something like "I see what you're getting at, but your intro. doesn't sell it well enough; think about writing it like this ...". Rejecting based on random skimming is exactly one of the things I'm calling out. Let's face it - like a lot of things, high quality reviewing is hard. It isn't supposed to be quick or easy.

3. Predicting how much to elaborate: this is probably an extension of the first point, but I feel like this has become way harder in the recent years. The rule that mostly works seems to be that if its not a trending topic explain it as much as you can, because cited background material is overlooked. This is unfair for areas that are not trending - the goal of research should be to situate itself closer to "explore" on the "explore-exploit" spectrum, but the review system today heavily favors "exploit". And like I mentioned, a page limit means that the publication game stacked against people not working on mainstream ideas. This should not be the case.
Well, there's a couple of things going on, right? One is whether we it's a bad idea to judge an entire mass of literature because of its epistemology and the second is whether the OP's claim that psychology has horrendous epistemology is valid.

I'd say that judging an entire mass of literature because of its epistemology makes logical sense. However, in practice, it's not possible to make a judgment as to 'what the epistemology of an entire field is'. What would that even mean? Does OP think that every psychologist has an analogous enough epistemology that anyone can claim what the field's epistemology is? I think not.
My guidance was: "If it couldn't be made outside a factory, it's ultra processed."

An apple can be made outside a factory. A steak can be made outside a factory. That doesn't mean there aren't factory farms.

Sugar cannot be made outside a factory. If you press and boil your own sugar cane, you won't get refined white sugar.

The candied bacon you buy at the store could not be made at home. The sulfates and industrial products alone would be impossible to make.

If you made your own, that'd be way healthier.
No arguments there. Nothing worse than one-page website that seems to be a overly complicated SPA instead!
NASA's Solar Dynamics Observatory (SDO) server room affected by flooding
Thanks. This guy (John Ioannidis) is the real deal. You can tell both by the dense, detailed fact sets, presented one after the other in logical order. And hearing the honest, intelligent tone of voice ensures his fidelity.

"The voice never lies." --Blind woman speaking to a friend

And his story about his hearing of Theranos is lowkey hilarious. And topical, because he's a Dunning-Kruger true-expert.
There was an infamous supreme court case[0] in 2010 which has set off a steady increase in campaign. Before that influencing campaigns with money was much more regulated.

Since then it seems to me (I am not an expert in this) that there's been basically a race to the bottom in politics which Donald Trump correctly identified, and has had basically a "pay me and I'll do you political favors nakedly and nobody can do anything about it" approach, which appears to be a winning strategy, unfortunately for the system as a whole.

edit: I seem to have also missed a ruling this past march which had an impact:

> America PAC’s work was aided by a March ruling from the Federal Election Commission that paved the way for super PACs to coordinate their canvassing efforts with campaigns, allowing the Trump campaign to rely on the near-unlimited money of the nation’s most high-profile billionaire to boost turnout in deep-red parts of the country.

source: https://apnews.com/article/elon-musk-donald-trump-election-2...

[0] https://en.wikipedia.org/wiki/Citizens_United_v._FEC
Elm and the Future of Open Source (With Evan Czaplicki)
This is very topical in the UK at the moment, as Parliament has just voted in favour of the Terminally Ill Adults (End of Life) Bill at its second reading in the Commons. What that means is that it will probably soon be possible for individuals who are slowly dying to request their own euthanasia.

There has been a lot of debate in the press and online (and no doubt also in private across the whole country). The arguments range from the risks of potential cooercion to the morality of a 'coup de grâce'. Yet your point is also pertinent, as 'quality of life' often has as much to do with the quality of care as it does with the affliction itself, and quality of care is largely down to how much society pays for it.
The idea that the government is "meddling" is naive and absurd. Government is why you have the ability to post that comment.
also learning to say no is an important skill to develop. my current director asks the impossible just to get us to say no, and then we have a good back and forth on what's a realistic balance, like what features we can trade off for which time.
Also, we're talking about the web here. How many type-safe supersets of JavaScript are there? When you say "I don't care what language you use as long as it's type-safe", you're pretending as if there's more viable options than just TypeScript.
This is off-topic, but I can't find info on this from searches, or reddit. I'm new to this class of web app, so may have incorrect expectations.

On BlueSky, how do you view your subscribed feed? My visible options are A: Discover posts I'm not subscribed to. B: View posts I'm subscribed to, one category at a time.

I've clicked all over, but can't find it. Thanks!
You have a point, but custom Feeds are one the main features of BlueSky. I have several Feeds for different interests, Twitter doesn't let you have these types of custom Feeds. I think it's unlikely they'll ever remove it. I can always ignore the Discover feed.
The World Health Organization was claiming 3.4%. It turns out they were completely wrong.

https://www.usatoday.com/story/news/politics/2020/03/05/coro...
This refers to user docs rather than your team's README.md.

Programmers have the luxury of documenting the previously undocumented for their repos (assuming management allocates time).

End users would need to reverse engineer but that assumes predictability. Without that you get superstition as per article.
India–United Kingdom bus routes
While what you describe is absolutely a world I would like to live in the reality is more like domestic means they have an easier time with legislative capture. Quis custodiet ipsos custodes and all that jazz.
>No more JavaScript limitations.

But you accept a whole host of other limitations with WASM. It's a trade-off. You still need to access the DOM, which can't be done directly from WASM. Maybe someday it will happen? Okay, so use canvas instead and do all UI inside WASM? That seems like reinventing the wheel that is Javascript + DOM. WASM has plenty of uses, but replacing Javascript probably isn't where it shines. Javascript is still great for front-end tasks, WASM is good for lots of other things that aren't user-interface related, like running ffmpeg inside the browser. I'm doing this on a project and the front-end was easy to create a drag-and-drop file upload in javascript (React) and handle all user interface stuff like progress bars, etc. ffmpeg runs as WASM code doing whatever the Javascript tells it to do. I can't imagine also writing a front-end in Rust or something else that's supposed to run inside a web browser in WASM just because of vague "JavaScript limitations", when Javascript is really a good solution for front-end UI inside a web browser.
Show HN: Parse, Resolve, and Dereference OpenAPI Schema $Ref Pointers for LLM's
The standard way of dealing with OpenAPI specs in JS is json-schema-ref-parser[1], but it's no longer being actively maintained (strongly recommend reading Phil Sturgeon's post on that[2]). Therefore, we made this little package showing an alternative way of parsing an OpenAPI spec in JS.

OpenAPI specs are somewhat more valuable now with LLMs, so I'm hoping this is useful to some folks out there struggling with json-schema-ref-parser.

[1]: https://github.com/APIDevTools/json-schema-ref-parser

[2]: https://philsturgeon.com/bundling-openapi-with-javascript/
I feel the same way about cars, lightbulbs, and thermostats.