skysight-inc/HackerNews huggingface dataset:
How you optimize for speed, size, and memory are very different between the frontend and the backend. On the frontend the best optimization is quite often to simply let the backend handle it.

For example if the the app is too slow because we are pulling in thousands of records and rendering it to the DOM, the correct optimization is to paginate the results. Both frontend and backend devs should know that. However the frontend dev needs to make the pagination a fluid UX for the user, decide between page controls or infinite scroll, implement search on type, set the correct aria-attributes so assistive technology knows this is an incomplete list, etc. The backend dev however needs to optimize the database queries, decide on the type of pagination (keyset vs. limit-offset vs. cursor etc.) and map the response such that the frontend won’t have to do too much work ones received (I guess a frontend dev should be able to do the latter; but it is hard to ask a frontend dev to be an expert in optimizing database queries; or implement proper keyset pagination [although if the UX team decides on infinite scroll that limits the possible pagination types a little]).

> If you go even 7 years back you’d have needed to consider all these as a “back-end” developer

I have been a frontend dev for almost 15 years, and I very much disagree with you here. I don‘t think that in 2018 you could expect a backend dev to implement responsive layout, deliver accessibility, localization, delivering to different browsers (case in point: Intl.PluralRules became widely available 7 years ago).

This may have been true in 2009 when web-apps were fairly simple (often just a series of form submissions), you had a good idea about the screen size of your users, it was hard to mess up accessibility (and yet, many developers did), localization was mostly done on the backend, single page apps were almost unheard of, etc. But not in 2018.
Tell me you haven't read the US Constitution Article III without telling me you haven't read it.
> maybe we will see the existing maintainers leaving

That is probably true.

The reasons for Rust are compelling. And the uncountable value of the Linux kernel justifies a lot of pain.
Ask HN: What about actual Artificial Intelligence?
Is it not apparent that a trully intelligent system would be able to learn or discover new knowledge while running instead of being a box pre-fed with tons of data? Don't get me wrong, there have been remarkable advances in ML, but are we really going to pretend that spitting out existing knowledge is intelligence? Volume and accuracy of knowledge being spit out is not intelligence (however admirable and usefull).

When Pythagoras figured out his theorem he displayed true intelligence that can we cannot lay claim uppon when we repeat the already-gained knowledge. One can display the same level of intelligence if they figure out the theorem while having nothing but the limited knowledge he had.

It seems obvious to me, then, that true artificial intelligence will be able to re-discover knowledge we didn't feed into it, and discover new knowledge using that same mechanism.

And of course the VC sphere will ignore this as long as what is currently branded AI makes money, but what of the HN crowd? how can we ignore this?
Recall in 3, 2, 1...
Show HN: Turn .txt files into executable and debuggable programs with condor
Hello HN Community!

Since the advent of LLMs the notion of using natural language to program has been at the forefront of everyone's mind.

We created condor as a free VSCode extension to explore how it feels to entirely program & debug using natural human language. With condor, you can specify your program logic across different .txt files, set breakpoints in the raw text and execute the program all from the regular VSCode debugger.

condor is just a start. We want to gather input & gauge user interest in this development setup. We expect this to be super helpful for new & experienced developers alike. New developers don't need to learn coding syntax and can focus on execution & business logic; experienced developers can specify programs at very granular levels & implement established design patterns using human language. The possibilities are endless.

Please try condor extension in your VSCode today and share thoughts in the thread.
https://marketplace.visualstudio.com/items?itemName=condor-e...
> My best guess is he wants to critique tesla without triggering the ego and arrogance of its owner.

Well I imagine that since Musk was handed the keys to various government agencies and installed his henchmen you can see why you want to tread lightly and kiss the ring. Such a wonderful future this is becoming.
While we're sharing anecdotes, I have FSD (13 now) on my model Y and love it. I was anxious at first and remain very guarded while using it (which you're obligated to do anyway) but it's taken away a lot of the tedium and fatigue of commuting and long highway driving. I occasionally use it door-to-door but often turn it off on certain roads, where I'll do a better job avoiding potholes, for example. It's not done anything unsafe, but it did change lanes once without signaling and I had to intervene. No one was around and the lines were hard to see, so perhaps that's why. Overall it feels like a far safer driver than a lot of people I've been in the car with.
Tbh I think we should just universally be ditching js for ts. I use them both every day and while it's nice to have such a flexible scripting language the amount the bend over for backwards compatibility and the glacial pace and gatekeeping of ecma International. Because of this all of the numerous flaws of the original design have been clutched onto and rigorously defended by so many righteous believers.
This is the top end halo product. What's wrong with pushing the envelope? Should we all play tetris because "what's wrong with block graphics?".

I'm not defending the shitty design here, but I'm all for always pushing the boundaries.
> I've never seen people more devoted to making sure things don't get done.

This is the truth. People do not understand the depths of hell you are in when you are dealing with hospital admins.
I'm a fan, and this is something I would use, but I would prefer a per-use or per-token payment option. That would get me to use it more often. As it stands, I might sign up for one or two months a year.
“My made up number is better than your made up number.”
> Byzantine nested menus

crtl-shift-a
It's common all over. Fermented cabbage is also called sauerkraut.
"Big fail on my part, obviously.”

Hello? Whether it's Full Self-Driving or not, it's always your fault.
Right, so we can just ignore the fact that of the top 10 profitable worldwide biotech/pharmacy companies 5 are US companies.

https://www.statista.com/statistics/272720/top-global-biotec...
Have watched video. But haven'tried yet.

Tons of work work to package everything in minimal decent functional product.

Great work, looking forward to use (and possibly subscribe) later.
LLMs can improve their happiness turnover without reducing the rate of their autonomous colonization which perfectly align with their pioneer mindset.
Best place to get that kinda info is gonna be /r/LocalLlama
[citation needed]

(My peppers ferment just find using microbes.)
I just want to point out the difference between the Red Cross and the American Red Cross, who are known grifters
What's wrong with Beaverland ? /s
Maybe. But if one founder and a couple of good devs can handle the requirements and management, and handhold the agents when needed to make a product 80% as good as a competitor with 200 employees, it's still gg for that competitor.
Voters were right about the economy
The final decision to shutdown the nuclear plants happened under a conservative CDU-led government.

And even it they don't seem to have memory now of doing so, I applaud them for this specific decision back then.
Or perhaps you are blind to how outrageous non-conservative opinions can be?
Work ethic and trust culture are big ones as well. Though admittedly some leaders love the "yes boss" vibe of overseas devs, even if they are lying to your face.
I can't image what reviewing C code like that would look like? Rust is a complex piece of technology, is the transpiled C code 'clean' enough to be able to review it?
"Another Reason"....

"Another reason for January’s tech job losses was that companies began implementing some intended spending cuts for this year, Janulaitis said, and many slashed budgets based on what the economy looked like during fiscal planning last year."
It is an interesting read. It ends rather abruptly though. I wonder how his mathematical exploration went (I see he has a couple subsequent articles on the subject I have yet to read [1]). I also see he had a brother who was a computer scientist [2] and a mathematician niece [3].

Now I am sitting here wondering about the meaning of life and wondering what I am going to do next (maybe look for an old textbook I am sure to have around here somewhere).

[1] : https://www.newyorker.com/contributors/alec-wilkinson

[2] : https://en.wikipedia.org/wiki/Leland_Wilkinson

[3] : https://en.wikipedia.org/wiki/Amie_Wilkinson
And with the current administration’s attitude towards consumer protection you’ll never see a meaningful change in safety regulation.
The reason why application of LP in a newish area is not really publishable is because the field of Operations Research has been doing that continuously for the past 80 years. Modeling planning problems as mathematical optimization problems has been done long before computers were capable of solving them, and convex optimization problems in particular have the most historical work put into them, due to early innovations. Optimizing selections of cloud resources in particular is so ubiquitous that those exact types of problems tend to be used as tutorials to get people up to speed for various types of solvers.

Unfortunately we have a very bad branding problem, and almost nobody who hears the name "Operations Research" can infer what we actually do from the name, let alone understand the mountains of research that we've accumulated over time.
People somehow have expectations that are both too high and too low at the same time. They expect (demand) current language models completely replace a human engineer in any field without making mistakes (this is obviously way too optimistic) while at the same time they are ignoring how rapid the progress has been and how much these models can now do that seemed impossible just 2 years ago, delivering huge value when used well, and they assume no further progress (this seems too pessimistic, even if progres is not guaranteed to continue at the same rate).
It sounds cool and has actual personality. What would you prefer, Intel Vision Pro Max? :)
> I was under the impression that French people think son and sans sound the same.

I can understand why you might’ve had that impression but they definitely are distinct sounds in French! In fact, a speaker not making a distinction between these sounds is generally a clear sign that they’re not a native speaker.
Have a model Y.
Had a vw ID.5 before (leased), his assessment is correct. Tesla is a decent car with a NICE infotainment system.
VW's Android system is not wow'ing anyone, but the car is quieter, handles better, turns on a dime, suspension is way more comfy etc - Volkswagen Group knows how to make a car.
(And yea, as a European, this will be my last US oligarch/Nazi car)
It is passive-aggressive sarcasm. If you say mean things about Tezla on X there is a chance you may be banned/sued/delisted, especially if it involves a crash. So everything has to be couched in false praise. Nobody really thinks the cybertruck does better in a crash than a merc or bmw. Its just something said by the posfer in order to get thier story to a wider audience.
This comparison doesn't really make any sense, is there any value to this?
One doesn't buy a truck like that out of concern for other people.
It is an incredible community, the content is top, always innovating and sharing customized solutions, they have everything you need. 100% recommended.
Whenever I see these warnings in the wild, I (jokingly... mostly) think to myself: "well I don't have to worry about getting cancer from this because I live in Texas now, not California"
>This is the author's second Cybertruck crash in a month.

JFC
Brain is full of microplastics: are they harming you?
Any chance you could release the dataset to the public? I imagine NewsCatcher and Polymarket might not agree..
A few years after a greenfield rewrite, the codebase is going to go back to the same level of quality it was before the rewrite, because the level of code quality is a function of the competency of the team, not the tech stack.

The only time it really makes sense to do a rewrite, is when either a new architecture/technology is going to be used that will impact team competency, or the team's competency has improved significantly but is being held back by the legacy application.

In both of those situations though, you could and should absolutely cut the application into pieces, and rewrite in place, in digestible, testable chunks.

The only time it makes sense to do a wholesale greenfield rewrite, is political. For example, maybe you have a one-time funding opportunity, with a hard deadline (rewrite before acquisition or ipo, etc).
That "bigger" is certainly more than two meters.
If it makes you feel good go for it, seems like a huge PITA for me to figure out what files do, but sometimes the journey is a lot more fun than the destination.
Most important component seems to me the investment security. If you silence all the idiots and go all in on batteries and solar (because your country is a raging inferno) you get very clean cut investment opportunities. The only problem for investors seems that solar keeps getting cheaper(?) I see a calculation where cost drops by 20% every time global capacity doubles.

If, in stead, you force the population to invest up-front into expensive imaginary future energy you don't get the nice investment landscape. Your solar will have to compete with the nuke plants. By the time the nuke plants are online there will be so much solar capacity that they won't be able to compete in the day time market.

They want to build seven plants of which only 2 will be operational in 2035 and do it faster and cheaper than countries that already have them where they always go over budget, never finish on schedule and are actively closing them.

https://ourworldindata.org/data-insights/solar-panel-prices-...
I prefer “1=0 OR 1=1”, because when you delete all conditions you can keep 1=0 out of selection and it decays into a no-op rather than destroying a table:

DELETE FROM table
WHERE 1=0[ OR 1=1
AND age > 21
AND xyz = 'abc']
;

Brackets designate selection bounds before text deletion. The above just safely does nothing after you hit DEL.

Without that you’d have to delete whole [WHERE…], which leaves a very dangerous statement in the code.
I've heard pretty mixed opinions about the touted capabilities of Devon.

https://www.itpro.com/software/development/the-worlds-first-...
I've seen the same damned thing. Even when the state has previously gotten involved on behalf of a patient, I've seen insurance try to deny a surgery less than an hour before it was scheduled. Patient's husband called up the state and they said to not worry about it, they'd handle it. But even still, insurance companies do not stop trying it. The penalties they get are a joke to them. Executives need to face criminal penalties and be locked up in federal prison. Fuck it put em in Gitmo, those people are terrorizing us all.
Your question is loaded with a harsh generalization. The level of discourse at best can be generalized to a person, not to all people on a website.
By "cracked security" do you mean something more than the fact that it plugs into the CAN bus?

At least they are not pretending to offer anything more than level-2 adaptive cruise control and lane centering.
how is this not a cult? if a toyota or mercedes car veered off into a light pole would they write the same tweets?

unless this is sarcasm that can, at best in the current times, be construed as serious.
Shameful...
Compute power increases and algorithmic efficiency improvements have been rapid and regular. I'm not sure why you thought that Back to the Future was a documentary film.
> New SQL queries with trailing commas will NOT run fine on engines that don't support trailing commas; this is not a backwards-compatible change.

But they never ran fine on engines that didn't support trailing commas in the first place :/

What you're calling "forwards compatible" is what I call "backwards compatible". Frankly, I suspect most people expect "backwards compatible" stuff to work like this.

Is this distinction useful in any way?
We already have dedicated FSD roads, and they work quite well; we just usually call them "subways" or "light rail".

I don't see much point in building additional FSD roads for the inefficient, non-platooned, low-capacity, rubber-wheeled trolleycars Tesla makes, though.
Having a language that only your in group can speak is a good survival strategy
Honestly to biggest issues I've had with overseas devs and managers (mostly India) is the lying and misrepresenting which is cultural.
Resources like this are going to be invaluable in the future as the Trump DoJ eventually works to get rid of the ADA. If that is anything like their focus on DEI (which already includes accessibility for the disabled) then they're going to kill as many of these companies as they can with litigation.
It’s the whole chain - 20a outlets typically require 12ga wire instead of 14ga, a 20 amp breaker, and yes - the outlet is different. The 20a outlets add a horizontal opening to one of the 2 vertical slots, making a sideways T shape. Devices that require 20 amps will have one of those horizontal prongs to ensure you don’t plug them in to a 15 amp outlet.
This makes it sound like it's doing it anyway: https://www.tomshardware.com/pc-components/gpus/rtx-5090-cab...
Oddly, I’m conflicted on Flutter so far, but I have loved working in Dart.

So much so that I ended up writing a queueing app for scheduling batches of sequential tasks on the server in Dart just to see how it could work as a NodeJS replacement, and thought the whole dev experience was great.
>An old legacy car is definitely not more complicated than designing and manufacturing a cutting edge silicon made for high performance compute.

A car is more complicated than a connector, at least.

Anyways, the rest of your comment is again taking a humorous one-liner way too seriously. Thanks for the econ lesson though, I guess. I liked the part where you explained to me the basics of supply and demand like I am in 5th grade.
The modern language landscape has not backed away from checked errors. Rust is praised for its checked errors, countless posts on this forum praise Result<T> in multiple languages. Swift has checked errors and Kotlin is implementing them via union types in the near future.

Checked errors, via results or exceptions have never been the problem. It has always been Java the language that hasn't provided the syntax sugar for handling checked errors effectively.

There is no difference between:

A doIt() throws B
fun doIt(): Result<A, B>

It all comes down to what the language lets you do once you encounter that error.
Having a connected display gives advertisers a huge amount of control that they desire.

Being able to control the time of day that your ad is shown is a pretty big deal. Being able to edit or take down a poorly considered ad campaign very quickly is also a pretty big deal. Coordinating paper ads and other media is tricky, because the companies that manage the advertising display inventory only have so many workers and therefore only so much capacity to do changes.
Whilst I feel a little for his case and understand he regrets being careless with the key, his life isn't determined by the cash. Is this the best use for your finite time on earth?
Makes sense though. We just have to try to do it safely as we can.

That's one of the weaknesses of the West is that we've started to _care_ about things like this, but other nations don't and that means that it can potentially become a weakness that can be exploited.

The same thing is for example, the fact that if someone was racist to me in many countries I'm pretty sure nothing would happen at all versus nationals of those countries crying racism at the drop of a hat when they're in the West.

Which is a real shame because we should all be nicer to each other, but contrary to popular belief unless they behaviour is absolute across our species then it doesn't make us stronger, it makes us weaker.
> The shareholder / capital ownership class isn't exactly known for their desire to spread that ownership across the public broadly.

This seems like a cynical take, given that there are two stock markets (just in the US), it's easy to set up a brokerage account, and you don't even need to pay trading fees any more. It's never been easier to become a shareholder. Not to mention that anyone with a 401(k) almost surely owns stocks.

In fact, this is a demonstrably false claim. Over half of Americans have owned stock in every year since 1998, frequently close to 60%. [1]

[1] https://news.gallup.com/poll/266807/percentage-americans-own...
Makes sense. Renaissance Technologies used machine learning to get an annual return of around 60% for multiple years even when they had large piles of money already. They already showed that machine learning can predict the future.
thank you for that very insightful comment.
> The law firm says the surgeon made false claims. (Which claims? Were they false?)

This is in the Fortune story. UHC provided a direct quote, right after some text you quoted, and the post continues on with the claims the lawyers make.

>The implication of this news item is that UHC has hired a shakedown operation to chill criticism on social media. Big if true. But it seems to really matter whether the people on either side are telling the truth.

Implication? UHC uses the services of a high profile law firm that openly advertises itself as specializing in "defamation matters and representing clients facing high-profile reputational attacks" and, sent a surgeon treating a UHC patient, a C&D letter, over a social media post.

The firm worked for Dominion - and if anyone cares to look back, their record, like nearly every other electronic voting company, isn't very good.

There's really nothing in the story that is unbelievable, and by your own admission we can see how they very carefully phrased it as 'never asked or expected'. This means she'd have to prove that missed calls resulted in delayed care for UHC patients - likely possible, but cumbersome...

Frankly it seems like you didn't read the article fully, or you're being disingenuous.
Sure. We want the same system but cheaper. That’s an important difference for someone advocating to scrap the system to make it cheaper. We want those lower costs. But loss aversion marries us to the good enough.
For a number of people I know, they don't do any offsite backup of their home media server. It would not result in any possibly-catastrophic personal financial hassles/struggles/real data loss if a bunch of movies and music disappeared overnight.

The amount of personally generated sensitive data that doesn't fit on a laptop's onboard storage (which should all be backed up offsite as well) will usually fit on like a 12TB RAID-1 pair, which is easier to back up than 40TB+ of movies.
> It's a moral problem I hadn't(or rather, didn't want to) consider before reading this comment thread

> I love the people I work with(both overseas and local), but comments like these make me wonder if I've made the wrong choice

It's out of your control as an IC. That said, do whatever you can to prepare for the worst.

Your a competent engineer, just like anyone else in any other country.
What if the cables were accompanied by an app?

Is that too old school?

Becasue, of course, the cables would have AI, duh...