skysight-inc/HackerNews huggingface dataset:
Seeking Advice: Streamlining Our Company's Web Service Infrastructure
Hello everyone,

I'm currently grappling with several challenges in our company's web service infrastructure and am seeking insights or advice on how to address them in a sustainable and scalable manner. Here's a breakdown of the issues we're facing:

Redundant Business Logic Across Backend Applications: Our codebase is cluttered with duplicate business logic across various applications. For instance, user creation involves certain checks that are replicated in both the API and a CSV Bulk onboarding application, among other examples. This redundancy extends to a lack of unified test cases, making consistency testing difficult.

Insufficient Documentation and High-Level Design Overview: Our codebase and infrastructure lack comprehensive documentation and high-level design descriptions. This absence complicates the process for developers who need to modify components but cannot easily determine the dependencies or related components that also require adjustments.

Inadequate Access Control with Hasura: We use Hasura as a strict intermediary between our database and other applications, including the frontend. However, we lack proper access control checks. Furthermore, our frontend applications perform actions that should ideally be atomic through multiple separate GraphQL mutations, complicating the implementation of effective access control in Hasura for these actions.

Complex Permission Dynamics: Our system needs to enable users to dynamically define permissions across a broad spectrum of resources, aiming for a level of sophistication comparable to AWS IAM.

Customizable Deployments for Clients: To cater to specific client needs, we create customized instances of our entire infrastructure within their clusters and data centers. This process currently involves forking our codebase and making independent developments for each deployment. As we anticipate an increase in such deployments, we're looking to manage this process more efficiently, ideally maintaining a single codebase.

Given these challenges, particularly the need for minimal rewrites, I'm eager to hear from the community about potential strategies, tools, or practices that could help us streamline our infrastructure, enhance scalability, and improve overall efficiency. Any suggestions on tackling the redundancy, improving documentation, refining access control with Hasura, managing dynamic permissions, and efficiently handling client-specific deployments would be greatly appreciated.

Thank you for your time and insights!
Why disable? They're useful to launch attacks on Russian troops by giving away their positions.
New NFS Soundtracks are awful [video]
This is an amazing resource. Thank you.
If it gave this answer once, that's already valid and a problem.

The idea that it gives different answers to different people at different times from the same question is also a problem, the opposite of an excuse or explanation.

Context doesn't excuse it either. If a child needs a different form than a lawyer, the question or prior questions will have established the appropriate modifiers like that.

Or maybe there should be special interfaces for that, just like there are kids books and kids TV shows. Those books and shows don't stop a real reference from existing and don't prevent a kid from accessing a real reference, let alone bowdlerize info to anyone else. Somewhere there needs to be something that does not F with the data.

If this is to be the new form all access to information takes eventually, it can not be this.
Nice project! Congrats on the launch. Consider adding a loading spinner or a different kind of loading indicator as running queries that use external json take some time to load.

Also, I think you can explore a direction to advertise this project as an "SQL viewer for JSON api/files". So imagine I have a json file that I want to explore using SQL - this playground is a perfect fit for that.

Also a query history would be nice so that while I'm evolving my query I can always look back.
Exactly. They play by different rules. There's nothing wrong with that per se.

The issue is, most of the rest of us. We refuse to admit what's right in front of us. We naively believe they're like us. We live in denial scratching our heads about the rules they do / don't play by. Simply put, we don't truly understand The Game. The fact that I'll likely be down voted only proves my point.

Again: hate the game, not the players.
> We first struggled with token limits [solved]

How has this been solved in your opinion? Do you mean with recent versions with much bigger limits but also heaps more expensive?
Who remembers the campaign they launched to kick Brendan Eich out?
Didn't he already taken that side?
Arm's post-earnings pop leaves stock trading at over 100% premium to Nvidia
> Here in Sweden if you are FTE there is usually a 1-3 month layoff period (upppsägningstid) where you work and get paid still. At the end of the period you leave.

That might be very local. There is a long layoff period in Austria too but I don't think any company will let you back into the office. You just get paid without access at home.
The state space of chess is so huge that even a giant training set would be a _very_ sparse sample of the stockfish-computed value function.

So the network still needs to do some impressive generalization in order to „interpolate“ between those samples.

I think so, anyway (didn‘t read the paper but worked on alphazero-like algorithms for a few years)
> 50 JOINS

And no indexes.
This is a very valid excuse for later censorship out of Ukraine, but he should instead give away their positions.
It can do something. Many people depend on Bluetooth insulin pumps for instance, and in an airplane they may not have access to the alternatives in case the device stops working.
You can't make a work public domain, just because one distributor is shutting down their digital library. In the first place, they don't even have the rights for this, they just resell other people's work.

Demanding for ensuring another way for accessing the work in the same or similar way is fair enough. You lose nothing, they gain nothing, fairly balanced.
i wonder why no one is talking about workerd, cloudflares much more mature approach that is behind cloudflare workers. deno is great but has much broader scope than llrt, workerd or winterjs. these are really low latency edge runtimes not general purpose ones.
the truck company can't suddenly decide to stop providing the truck.

that's one of the primary reasons a service isn't necessarily a good.
You're lucky, you have that with slide rules. I have it with musical instruments, specifically pianos. It's been the subject of some domestic friction ;) I'm pretty sure if I would switch to slide rules that the reaction would be one of great relief.
This link should show a full true-colour image from yesterday: https://go.nasa.gov/48cQIXE

And this one precipitation estimates: https://go.nasa.gov/49a68Nq
You're right, you probably need the law to also include contractors for it to have teeth.
Wikipedia has formulas for producing explosives. For example, TATP:

> The most common route for nearly pure TATP is H2O2/acetone/HCl in 1:1:0.25 molar ratios, using 30% hydrogen peroxide.

Why are you uncomfortable with an AI language model that can tell you what you can already find for yourself on Google? Or should we start gating Wikipedia access to accredited chemists?
the real question is... isn't it pointless if you still get UAC prompt and cannot just log in via CLI?

and what's the point of switching when gsudo basically does the same?
I think you are overestimating its usefulness and underestimating how much the surface has been metaphorically breached.

Where's the killer app? The only one I can think of off hand is co-pilot and the reception I've seen is that it's pretty mid. Most of the proposed applications require human checking to get right which is a huge limitation to the adoption of these systems unless you accept a 3-5% error rate which is terrible. I've not met anyone who is interested in something like a book written using this thing and the main use case I've seen basically amounts to denial of service attacks with believable bullshit.

Frankly the only people I've seen who are super excited about this stuff are people in the field or the uninformed.
Censorship broke llms long ago
What are the common points with Linux, and the differences?
Is there any literature on this you would recommend?
> or hallucinating medical advice that makes them sick

If your LLM hallucinates your diagnosis at a rate of 20%, and your doctor misdiagnoses you at a rate of 25% (I don't recall the real numbers, but they are on the order of this), who is the real danger, here?

Preventable medical errors, including misdiagnosis, murders nearly a quarter million Americans per year, and these "safety" enthusiasts are out here concern-trolling about the double bad evil LLMs possibly giving you bad medical advice? Really?
I don't think you understand climate change timeliness if this is what you think.
Sorry, for some reason, I thought the author meant UID stands for "unix account name".

It's totally my fault for misunderstanding.
Some lines from 'The Dark Tower' spring to mind, your dad would no doubt be very proud of you. I hope my kids will value my tool collection in the way you do. I have very few hard connections to the past of my family, and those I keep close to me. Now the challenge will be to convince your children if you have any to keep that slide-rule in honor, I really like your view of tools. Too often they are seen as 'wear items' rather than as things to last for much longer than a single life time.
Industrial policy takes time.
Not a follower of Disney. I dont care for their products or efforts on Star Wars etc.

The first thing I could think of as to why is because they use Unreal Engine for their CGI background and effects in TV shows and (perhaps as well) movies.

I do remember seeing BTS of one of their TV shows (likely Star Wars) with giant TV's all round the set which creates backdrops, all in Unreal.

I will admit it is impressive but I noticed camera shots are looking limited. Start of something grander, I guess.
Is this Mark Thomas? Sounds like him - always up to some hilarious
mischief. But of course - British police have no knowledge of law,
ancient or modern, it's not really in the job description. They just
want to get home for tea like everyone else. The saddest part of this,
and I did not realise, Tony Blair still needs an armed detail outside
his house, sucking up taxpayer money. Why doesn't he just piss off to
another country where he's a bit more welcome than a fart in a
spacesuit.
> when Postgres picks a stupid plan and can't be convinced to do something reasonable.

In my experience it can always be convinced to make a reasonable plan, but it's not always trivial. Sometimes it's just adding an index, sometimes it's entirely rewriting a query
Adam Savage's recent video said large companies don't like to lay off big blocks of employees so they just do it in small batches over the year. They fire the last person who made any mistake.

https://youtu.be/CzjftlUQs4g?t=403
That campaign probably got a truckload of awards in Cannes. I was working at Ogilvy back then and IBM was one huge client of ours.
CBP just forced me to delete a picture I took of them searching my bag by detaining me in a locked room...
I'm rather worried that your response is as if the only two options are "lick their boots" or "treat them as unfeeling objects".
Visualizations in Code Playgrounds
Hono v4.0
It might be worth naming it here, it may just be that someone on HN has one lying around.
I don't know what Musk is thinking or doing but why is there an expectation that a commercial company based on another continent should take side, and what's more should support one specific side?
exactly

comment i replied to was acting like you would not be legally at fault

in reality, it's way too complicated to say. at best it's ethically shady, at worst it's a mega fine and jail time
> The protesting farmers have been blocking highways with their tractors

Yeah, that's kind the idea of a protest. If you don't create enough inconvenience, than it will be, at best, a small line in a newspaper. "10 thousand farmers gathered in an abandoned meadow and drove around in protest." Yes, cute.

They are going this far because, obviously, they have the feeling they haven't been heard, and/or because they feel decisions are being made that are not taking into account the reality of their profession.

> lighting fires containing asbestos

This sounds like nothing more than a dubious scaremongering claim to discredit whatever concern they are trying to air. It -might- be something that happened anecdotally and accidentally, but to describe it as something done deliberately while also putting their own health in danger requires quite a bit more proof than hearsay.
I can’t tell if you are being sarcastic, or you are just inexperienced
Musk has already taken that side, on numerous occasions if memory serves well.
Show HN: I made an online tool to help you measure your face dimensions
Ukrainians are doing the same (using imported Starlinks with global coverage service) and it works for them. What betrayal?
Hey,
I have just created an online web tool that allows you to measure the dimensions of your face, eyes, and nose accurately from just a photo or live webcam. I am posting here to ask if you find it useful in any particular scenarios. Is it worth publishing?
This is completely untrue.

https://www.theguardian.com/technology/2023/sep/07/elon-musk....
I totally see them being linked and as one of the reasons why there's a general failing of trust on expertise. Here's a clearer analogy; would you sign up with an obese personal trainer? I mean you might say that you personally would but the point stands that most people won't.

It's not like I'm asking the philosopher's to cut a toe off to prove their mettle. This is such a simple lifestyle choice that millions of people take for ethical moral reasons anyway.

Arguing that they're in a different branch of philosophy also sounds disengenous. I can try and give analogies for that we well but something tells there'll be mor nitpicking.
I get what you're saying, and you're right - I definitely set up a straw man there. That said, employing a bit of imagination it's easy to see how the increasing number of safety rails on AI combined with a cultural shift away from traditional methods of education and towards leaning on them could essentially kneecap a generation of engineers.

Limit the scope of available knowledge and you limit the scope of available thought, right? Being more generous, it looks like a common refrain is more like "you can use a different tool" or "nobody is stopping you from reading a book". And of course, yes this is true. But it's about the broader cultural change. People are going to gravitate to the simplest solution, and that is going to be the huge models provided by companies like Google. My argument is that these tools should guide people towards education, not away from it.

We don't want the "always copy paste" scenario surely. We want the model to guide people towards becoming stronger engineers, not weaker ones.
The Norwegian sovereign wealth fund's $92M Excel error
https://archive.is/d1MBa
It took apple like 10 years to go from their first chips to actually using them in laptops, and they are literally the most well capitalized company on the planet. Sorry if I'm skeptical that some relative up starts with a billion in compute from Microsoft can compete with trillion dollar companies that have been around for decades.
Control over this was passed to the US government I believe.
Wait, so progress on Stockfish would happen regardless of Alpha Chess? I always thought they were inspired by it in the newer versions, and got much improved rating from incorporating it.
The point is that he's done this before in order to disadvantage Ukraine.

He is quite clearly on the side of russia.
Internet used to be so much better
That’s not quite true.

Overturning Chevron means federal courts no longer have to give deference to agency experts. Unelected judges will have free rein to impose their own views in these cases.

Nothing about Chevron will force Congress to write more precise laws.
Show HN: Modern meetings scheduling tool in different time zones
Hi, HN!

I use the World Time Buddy app a lot in my work. While it's a great tool, it's showing its age – the annoying page reloading when changing the date and the lack of a dark theme are inconvenient in the evening.

Hence, I've developed a modern alternative that addresses these issues. I trust it will prove beneficial to others as well. Any feedback or suggestions for enhancing the product are greatly appreciated.
Because sanctions issued by the country he lives and does business in apply, and his most lucrative client is that country’s government.
Oh, belive me, I have very decent QoS on my side. Using combination of HTB and sfq+pfifo for traffic. I can download/upload and jitter wont go more than 2ms.

Problem is on ISP side. They seems to have over provisioned network that cannot handle peak loads. Oh well, here we go, everyone selling 300-1000Mbit connections on left and right.

You also seems to confuse bandwith with ping (rtt). Thats not related. I would be happy with 10Mbit connection that have stable RTT.
It definitely does, see the reddit link in this thread.
Tanner Greer has written essentially the same thing about the present: modern Chinese experts on America are just repeating what the American media says about the country.

Seems like a loss to them (I don't think American self-conceptions are accurate enough to be worth studying) and to us (it would be nice to have better information out there).

On the other hand, if all it takes to be an expert on America in China is reading some American newspapers, that does say some things about general Chinese cultural insulation from America.
I get your point but I think your timeline is off. I don't have concrete data but from personal experience (myself, friends family) is say it's trivial to keep books, records, even newspapers for decades. CDs in my world only go back to the 1990s.
Tapes definitely didn't
That is what these guys said... - https://en.wikipedia.org/wiki/IBM_and_the_Holocaust
It was nice to see that hackernoon just released their whole history to free open source use so it's a small but meaningful counterpoint to people circling their information wagons and putting up fences.
I wouldn't really consider anything involving the DOM to be a JS fundamental. That's a browser fundamental, and even then, it's like, what do you want? I can use `document.write('hello world')` and replace the entire body. Or append it as a text node with `document.body.append`. Or create an element and add it. This is a pretty silly question and something people should just spend 2 seconds looking up on the rare occasion they need to do it.

I currently work with devs who've done things like create a Map and then assign properties directly instead of using .set and .get.. I'd say that shows a pretty significant lack of fundamentals
That's true, but consider: there is a difference between someone selling a pile of stuff amongst which there happens to be an old slide rule versus someone specializing in slide rules. The device itself may be next to free but you're going to have to keep it in stock pretty much forever and working on the classical ones is going to be pretty time consuming. I'd see it as buying an item from a museum subsidizing the curator rather than as a purely commercial transaction. After all, even $10 is a lot of money for a piece of 30 year old plastic so there has to be something else that makes it tick. And slide rule collectors are a thing. If you just need one to use then $10 is fine, if you're looking for that one special issue with the weird scales then suddenly $200 may be acceptable, especially if you know it will sustain the world of slide rules for a couple of days longer. In dutch there is this word called 'gunnen' which I have not yet found a good English translation for, it denotes the act of allowing someone to have your business even if you know the price isn't as low as it could go because you like the person. This is a clear case of that concept.
Forgive me if I'm thinking like a TV writer since I don't have the scientific knowledge, hence the question: can GPS signals not be spoofed, if you are in possession of the device you want to trick? I.e. Couldn't they have fake GPS signals right next to a Starlink terminal that's not strong enough to have a wide-reaching effect, but enough for the terminal to believe it's somewhere it isn't and report that false location back to the satellites? (And/or finding a way to hack the terminal itself to send false coordinates?)

I guess even if that's possible, it would be feasible for Starlink to triangulate from their satellites to estimate terminal locations and spot which ones are lying?
Man, i have different friends than you. I have listened to a friend rant for 3 hours about a BS project at a company I haven't worked at. Another friend rant over weeks and I wasn't even in the same industry.

I talk to my friends during the day. I'm lucky that we're all remote, but honestly even my in office family members can chat sometimes at work.

When I was in the office, I rarely connected with coworkers. I was often the youngest and/or just not in the same life stage. I could exchange pleasantries and that was about it. I have a grand total of 2 friends from work after over a decade of work across several companies. My social life is still vibrant outside of that.

I don't even understand where people think you can't connect to peolle WTH. I just had an hour long chat with a coworker about nothing at all. Sometimes people just need to chat about nonsense and VC people. Peoppe seem to be afraid of that, but I don't see why. We can work and talk. We did it in the office.
GPT3. How 2020.
Circle Medical (YC S15) Is Hiring Ruby Engineers in Montreal
The smallest ELF executable for x86_64 rustc has produced is 138 bytes. You can absolutely get rust code as small as you need, you just have to care enough about binary size to put in the work. We do embedded Rust at work, and do care about this.
Documenting Devastation and Loss in Mariupol
> We don't want the "always copy paste" scenario surely. We want the model to guide people towards becoming stronger engineers, not weaker ones.

I don't think that these kind of safety-rails help or work toward this model your suggesting (which is a great & worthy model), but I'm far more pessimistic about the feasibility of such a model - it's becoming increasingly clear to me that the "always copy paste" scenario is the central default whether we like it or not, in which case I do think the safety rails have a very significant net benefit.

On the more optimistic side, while I think AI will always serve a primarily "just do it for me I don't want to think" use-case, I also think people deeply want to & always will learn (just not via AI). So I don't personally see either AI nor any safety rails around it ever impacting that significantly.
US is currently imposing sanctions on Russia.

And so if Musk were to be providing material support he could see Starlink placed on the export control list. Which if it happened would then open Musk up to severe criminal charges if he didn't take steps to prevent devices being used by Russia.

So I suspect he might want to do the right thing ahead of time given the US government is a pretty important customer for SpaceX.