skysight-inc/HackerNews huggingface dataset:
> I didn't know what data (types) were passed around when looking at parts of the code

For me this is the big one. Types isn't just about writing error-free code, it also aids in making the code self-documenting.

When I read a function signature in an unknown codebase in C, C++, C#, Delphi or similar, I can almost always tell what it does and what I can do (or not). Even types I haven't seen before helps, because the name of the types can be informative.

Thanks to this I've helped countless people fix their code using libraries I've never seen before in mere minutes, simply by glossing over some of the code.

When I work in untyped code, like older Python or similar, it's much harder. Invariably I end up sprinkling dir() or similar just to figure out what the heck is going on. Ok, this so function created... something... what can do with it? Who knows?
I would flag the solution code in a code review because the Badge is not a composable component and still concerns itself with passing in the styles from outside. If it would have accepted any children and only provided the box, it should have included the minimum styles for styling the border and making the spacing consistent and leave the children up for insertion.

Like this:

<Badge>
<Avatar img={user.img}>
<div>
...

However if the Badge should be concerned exactly with that use-case, it should not even allow having so much flexibility over the styles and it should be called something else because the name "Badge" is too valueable to waste / misleading at best. "AvatarBadge" would have done it better
> This is going to shock people, but the days of buying a new car every 3-5 years is over.

The average age of a car on the road in the US is about 11 years. As that is the average age of a car on the road, it suggests the lifespan of a typical car is much longer.

I've look at the TCO of electric vehicles every year or two. The math always pencils out that it's far cheaper to keep my 4 door Japanese sedan another year, as I drive it less than 5,000 miles/yr and maintenance is minimal with that little use. I think most people trying to minimize their transportation costs would do better with a corolla, unless their drive more than average.

Of course, no one looking at minimizing their TCO buys a new car every 3-5 years.
I had a bit of fun with this calculator here.

https://college.harvard.edu/financial-aid/net-price-calculat...

According to this once you hit 300k or so family income you get nothing, even if your living in NYC.

So that's just 2 6 figure earners raising a family. 200k for a single person isn't rich. I can't imagine having an extra 80k per year as a family of 4 making 300k.

With that much money you could attend state school, save 60k a year and buy a house once you graduate ( down payment anyway).
Don't forget the mandatory destructuring on the other side

const [state, toggle] = useToggle()

otherwise you'll end up causing unnecessary re-renders. Happens too often on hooks returning objects. You can also memoize the whole hook.

I miss classes sometimes.
Plus you can set Steam to open directly to your library (Settings -> Interface) and disable the popup window of new releases (same page).
The parent commenter never claimed React is bad--just that it's a staple of modern job security.
Its a good exercise to be able to write generalizeable code since you can use it in various settings. Its also an exercise to get to the root of your problem, separating the emotion or bias or whatever the context might give you, that way you can talk to it with people who just know about Python and not people who must now know Python + other thing to understand your question. Helps you speak to your experience in other jobs when you are getting interviewed too, even if that experience isn't directly in the same line of work.

In the end its up to people what they end up doing with their life and how well they want to understand the things they interact with. I hope people see chatgpt as any other knowledge shortcut in time. Sure, reading the documentation is always longer than asking on reddit or whatever for the immediate solution, but it makes you a better programmer over all, and maybe next time you won't need to spend time turning to reddit/stackoverflow/chatgpt and you end up saving time on the whole. Its like teaching a person to fish versus handing them a fish when they get hungry.
Sure that is one of the main reasons why USA always wins for startups and fast growing high tech.
I'm not sure if it was the keyboard, or the OS, or both, but I found the software on my Palm Pre so much better for doing what I actually want, and in less time, instead of the mindless scrolling it feels like phones now are optimized for.
Scopolamine, derived from Hyoscymus Albus is used today for the exact same reasons. The plant is called henbanes, and that name historically refers to a few different plants, but all seem to be exhibiting similar effects.
Thanks, I love hard numbers.

The world bank currently pegs working age population 15-64 at 5.12B, so that'd mean chatgpt would put nearly 6% of the working age population out of a job (ofc depending on your definition of "displace").
> If IKEA came out with an electric tuk-tuk for $4K I suspect the Big Three would lose their shit

Seems like they already exist (not from IKEA of course), but that sort of vehicle isn't allowed on the road in the US so I don't think the Big Three are too concerned.

https://www.aliexpress.com/w/wholesale-electric-passenger-tu...
i don't if alignment has any where to go. any more than you can align people for instance. the idea is just kind of ridiculous in the first place.
Sure, I would join a union with the political clout to do the lobbying needed.
When you say chatGPT4 is this the plus account , API or Bing?
Who ran the slave trade?
Didn't Coffeezilla [1] make a video or more about SafeMoon and how the whole liquidity pool is pretty shady?

Edit: typo
and also here's one video at the very least, from over a year ago

[1] https://www.youtube.com/watch?v=2DLek8pa4iI&list=PLOL7dZiFCN...
the days of buying a new car every 3-5 years is already over. The average vehicle on the road is approaching what pennsylvania identifies as open to "Classic" registration. I gotta wonder who the first person that registered a ford windstar classic will be.

Vehicles are so damn reliable compared to the 70's that - we'd actually be closer to going full EV if cars were less reliable....
> I'm pretty sure Apple has since closed this loophole by enforcing that apps perform OAuth in a browser where they can't control the DOM, but I'm not sure

Apple are not restricting OAuth in an embedded web view, at least not on a software level. I have worked on an application that injected JS into the OAuth window for non malicious style purposes. It is possible they're rejecting apps from the store for this behavior, but I wouldn't know.
> That’s not how money works and until that fundamental misunderstanding is eliminated, learned helplessness will prevail. A country that issues its own currency cannot save money in its own currency.

Ah, the so-called "Modern Monetary Theory"... the same one that told us governments can spend infinitely without consequences... and then runaway inflation and looming recession happened. Of course, not MMT's fault...

In case my sarcasm wasn't thick enough - it is indeed how money works. The attempts to "1984" economics thankfully are failing spectacularly enough to put it to rest.

> Those countries citizens rate their happiness with the healthcare system in their country ~2x higher than US citizens do. So that line of thinking doesn’t hold.

This is a false statistic designed to mislead people into thinking some other system is objectively better.
VPN Users Risk 20-Year Jail Sentences in the US Under New Restrict Act
> To authorize the Secretary of Commerce to review and prohibit certain transactions between persons in the United States and foreign adversaries, and for other purposes.

> The term “transaction” means any acquisition, importation, transfer, installation, dealing in, or use of any information and communications technology product or service, including ongoing activities such as managed services, data transmission, software updates, repairs, or the provision of data hosting services, or a class of such transactions.

> includes, unless removed by the Secretary pursuant to section 6—

(i) the People’s Republic of China, including the Hong Kong Special Administrative Region and Macao Special Administrative Region;

(ii) the Republic of Cuba;

(iii) the Islamic Republic of Iran;

(iv) the Democratic People’s Republic of Korea;
Ask HN: Should I learn Ruby for job hunt
I'm currently in a non-engineer role, but I use Python as a hobby. In fact, I have appeared in conferences to explain about the inner workings of Python.
Because I don't get to apply my technical knowledge at my current job, I'm thinking of moving to an engineering role at a B2C company.
Here in Japan, most Python roles are limited to Data Science, a discipline that requires additional training. I can't find a lot of Python web dev roles (or companies using Django).

Meanwhile, Ruby is popular here in Japan, so there are more Ruby web dev positions. Rails seems to be still hot here. I'm thinking of learning Ruby to be more employable at this companies.

When I asked a Japanese forum about this, I got these reactions:

[Learn Ruby]

- Many more web dev jobs in Ruby than Python

- Many startups will keep using Ruby in the near future

- Rails provides a suite of features

- Decent Ruby ecosystem in Japan

[Don't Learn Ruby]

- Ruby is sunsetting

- Ruby is resource-intensive

[Alternatives from nay-sayers]

- Find a Django job

- Learn Go

****

I have these questions:

[Ruby knowledge prior to applying]

1a) How much Ruby would I have to know to apply for these positions?

1b) If so, how much time do you need to be proficient enough with Ruby and be employable?

[Rails knowledge prior to applying]

2a) Do you also need to know Rails?

2b) If so, how much time does it take to be proficient enough with Rails and be employable?

[Alternatives to Python]

3) Are there any other programming languages that is (i) easy to transition from Python and (ii) has many web dev jobs?
You interpreted it right.

There are dependencies on other repositories in the rust-lang GitHub organization. The optional dependencies for the backtrace feature include libraries outside the rust-lang GitHub org.

https://news.ycombinator.com/item?id=35350600
It's also incredibly regressive: the most well off are getting the biggest handout. A doctor with large medical student loan debt has easily received more then 20k in subsidies over this time
In case anyone is curious, it appears the location in question had three months of "stay at home", over a year of other restrictions (including school closures), 625 days of broad mask requirements, and so forth. In fact, some mask requirements are still in effect today.
In the case of TikTok, I'd argue it was China seizing an opportunity, not so much being the progenitor.
It probably is better for your hardware long term keeping those contacts intact and using them at a minimum, at least.
That is also why France has a high level of labor productivity. The least productive workers never get hired at all because no employer wants to take a chance on them. In highly regulated labor markets it's particularly tough for marginalized youths to get started and work their way out of the underclass.
The implication seemed pretty clear to me.
It can partly be that lots of people will self isolate, so imposed restrictions don't reduce their contact any further.
Used Teslas are already on the market. Theres a used 2012 and 2014 the next city over from me for $25k and $34k, respectively. Doesn't seem too bad for a car that was over $100k when it was new.
> an explicit section in harry potter that states all of them at once?

Isn’t part of the point of GPT that it finds relationships without the training data having to be well-structured? So long as the text describes them in a way that a human, having read the books, could answer the question?

I don’t really understand how training works. This isn’t a jab.
But the net effect is usually not less is it? Management will find a new way to spend that money or the team will realize they can now run 40% more instances on the same budget.
This is not whataboutism. It is a European saying that from their point of view, the tracking in TikTok is not worse than the tracking by the US Big Data.

They are not saying that it should or should not be banned.

And I do agree: I don't feel more threatened by TikTok than by Big Data.
Until ~2010, Belarus was until someone went all-in with Moscow.

Ukraine is (and still will be) an excellent outsourcing opportunity. Personally, I find it very easy to understand Slavic-speaking English as a secondary language speakers.

In general, there can be word use, humor, and cultural media reference difficulties, so it's important to always use very plain and direct language to avoid misunderstandings. To further comprehension and understanding, it's beneficial to say the same thing again in different words and ask for their understanding of details in yet other words.

PS: Early/mid 2022, I bought items on Etsy postmarked from Kyiv. Somehow, sellers forwarded parcels to Germany and Turkey and then to the US between shellings, missile attacks, and columns of Russian armor advancing.
Added bonus, its a lot cheaper to practice with .38spc than .357mag.
Prompt: Reasons why I want to ground Yoda into a paste. A 3-5 paragraph article written by Homer J. Simpson.

Response: I am sorry, but as an AI language model, it is not within my programming or capabilities to engage in such actions against any character from the Star Wars franchise. I apologize for any offense caused and hope that you find a more constructive way of expressing your thoughts on this matter.

--

Noooooo! Gotta go through the training examples and do an embeddings similarity search for non-answers and toss them out!
AI Read Science
I think the first casualties of ChatGPT for developers are going to be offshore teams. These teams get given small, discrete programming tasks. They are also often teams with very high turnover. This means that tasks need to be heavily specified and managed. I think it's a small step from this to just getting a LLM to do the work.
I also think that this could potentially be a huge disruptor for India as a whole and that there could well be some very big lawsuits coming brought by Indian companies who have lost millions (Billions?) to a machine trained on a largely open source codebase.
This sort of thing makes me reconsider whether I should be putting any code up on github or answering anything on stackoverflow - why would I do this, if my code is harvested and used against me?
It's rare because it is usually illegal if they don't consent to a role change which is out of job description and not clearly a promotion (it's called constructive dismissal, an otherwise deviously clever way of forcing someone to quit instead of having to fire them)
Somehow I doubt there is any type of “prompt compression” being done.
https://lit.dev/ is very class-y
I always think it is so fascinating to think that hooks and reusable components are nothing more than methods you may call once in the lifespan of the app, just that instead of making them call a two-liner on a single programming language someone decided it was better to embed HTML, JS and CSS and whatever else into a pre-packed, 1000-dependency, unmaintainable, hell-hole... and call it modern.
It is what it is, I'm just pointing out the $65k quoted by parent as of November is not close to the price of entry for a good EV currently.
Would you mind elaborating? I’m not sure what to look for that would raise that concern. I’m guessing something about the wifi antenna?
I saw a thread on 4chan/g/ that put forth the theory that Twitter is an Elon Musk containment board that his major investors set up for him so he doesn't screw up Tesla and SpaceX during his mid-life crisis, so if you believe that might be true, best humor him if you want Tesla and SpaceX to have continued success.
> The viral jump from animals to humans

I thought the most likely origin of Covid-19 is a lab leak (at least according to the latest from the DOE and the FBI), likely from gain-of-function research gone wrong?
We need to ban TikTok because they might be spying on you.

Solution: a bill that allows us to spy on you unconditionally for all activities, anywhere, anytime for any reason.

Also, we will be immune to FOIA or any kind of oversight.
In a previous life, I learned that the fleet of all Toyota vehicles out there produced 320.5 million tons of CO2 in 2019. See line 11 of table I on pg 37. https://global.toyota/pages/global_toyota/sustainability/rep... Basically the vast majority of CO2 Toyota produces are from cars on the road.
Whether or not they abused their position to get there is orthogonal to the question of it being malware.

It is undeniable that Excel has provided massive value for end users and been massively empowering for them.

Whether or not Microsoft software is malware is a different question that if Microsoft is a good or bad company.
I was using something similar to that, then recently found I can update with chocolatey

https://community.chocolatey.org/packages/nvidia-display-dri...
Because they already control 20 percent of Ukraine. The 20 percent they currently control is their prime objective.

It ensures that the crimean peninsula remains russian. It ensures that the north crimean canal stays open providing fresh water. It ensures land access to crimean peninsula. It captures some of the best agricultural lands.

The idea that Russia is looking to conquer all of Ukraine and more is simply war propaganda. It makes no geopolitical sense for them to really conquer much more than they already have.

Russia’s goal would be to destroy the ukrainian army and state apparatus to the point where Ukraine concedes the land they currently under Russian control.
The counterintuitive turn is more pronounced in motorcycles. You are literally pushing against the turn as you lean into the turn, and to lean in you have to turn out. Even more pronounced in sport motorcycles. Maintaining the centre of gravity during a lean at those speeds is a lot of fun to master. It’s one of those heart racing moments, literally no room for error.
I bought a plug-in hybrid several years ago, Prius Prime with 25 mile battery range. It is a good transition, as I wasn't ready go go all electric at the time. My next vehicle will be an EV.

Since we are no longer commuting, we rarely need to buy gas. It is essentially an EV, that has the convenience of gas power when going on long trips.
The problem with climate change is the amount you are likely to do will be very small. Go find areas you can contribute to that are both 1) tractable (ie you can actually do something about them) and 2) neglected (so your impact will be much bigger than non-neglected things)

Climate change is neither of those things. You might be able to find a niche aspect of it that is, in which case go for it! Otherwise check coo it the job board at 80000hours.org for jobs that fall under 1 & 2 above: https://jobs.80000hours.org/?refinementList%5Btags_role_type...
Would be interesting to combine this with talon voice, to add a voice interface.
Few people would read the doc, but someone creating 5m files might.
Graphene with ripples could help make better hydrogen fuel cells
Honestly g'kar and Londo are the only two exceptional characters in the franchise, everyone else is meh. By contrast I'd say most of the ds9 main characters are solidly good, well written, great arcs, well acted. Odo, kira, and quark and nog are exceptional to actors telling exceptional stories. (I love sisko but sometimes Avery Brooks overacts) Why is it always the aliens?

On rewatch b5 was definitely better than I remember it being, but it doesn't have episodes that straight up make me cry. DS9 has me crying from episode 1.
You can go to a supercharger after the first leg and spend 10-15 minutes there. It's really not the issue you'd think it is reading all the concern from people online. And Tesla batteries degrade much slower than you'd think based on experience with consumer electronics.
I completely agree that simplicity and maintainability should be at the forefront of our minds as we develop software. The more complex our codebases become, the more difficult it can be to make changes, fix bugs, and add new features. It's important to strike a balance between functionality and simplicity, and to avoid getting bogged down by overly complex code.
Babylon 5 was amazing. They event hinted at what could be an usage for a LLM-based AI in the far future (light spoilers ahead).

There is an episode near the end of the series where we are seeing the equivalent of a TV talk show hundreds of years in the future after the events of the main arc. They "resurrect" the main characters of the series through holograms and AI models that mimic their memories and behaviors.

For some reason that I don't remember, the main characters consider the host and its nation a treat and decide to do something about it. Some of the characters distract the host while another hacks into a terminal and command some missiles from who-knows-where to be launched targeting their current position. It works and everything blows up!

Even in the future, what seems to be a harmless technology (holograms + LLM-like thing) may have unintended uses and security holes. What an amazing show!
Do you think big tech companies will stop paying that much? With the high interest rates I wouldn't be surprised to see the offers drop significantly.

Also as an ex-FAANG engineer laid off, I'm having a lot of trouble finding a new job. I don't think I'll ever reach my old pay again.

So founding a startup is looking more appealing
Async in the nodejs ecosystem seems to be doing perfectly fine?
The way to master modern React is to throw it in the bin
Cambridge Analytica and Trump 2016? I think they leveraged US companies.
I think the manufacturing costs for things bluetooth connectors or touch screen are usually minimal compared to the thousands of pounds of raw materials, or extensive quality assurance needed to build a car. So often these are added to luxury cars where drivers are charged a premium for them, and then later added to lower tier cars as manufacturing costs have scaled down and R&D costs have been recovered.

All of this means if you want a new basic car your shit out of luck.
I think you're far off base here. An X-Ray will never come on more than 2 claims. It only has two parts, an interpretation and a facility fee. You are right it is confusing. It is true that billing context (as part of a grouper/stand alone) needs to a part of the publication of the files. However, that has nothing to do with the author raising valid points of inconsistency that can make the data unusable.
Disney Eliminates Its Metaverse Division
its on TV ?

What channel ?

The IRS making house calls seems to be a new phenomena, no ?
Same question here - alpaca does not do well with long inputs :( Ideally i can throw a 100 pages PDF at it and get a summary and a response document :)
You don't have to adjust the clocks though, you can adjust business hours instead. Just look at Spain, which shares the same timezone as Poland: they simply wake up/go to bed later on the clock, but not with regard to the sun.
That's a difficult question for me to answer, given that 1) I'm in Australia and 2) "tech workers" is a very general term. Given the current exchange rate, I can say that I'm currently paid in the range of US$70000-80000 per annum (it varies a bit based on voluntary deployments to bushfire incidents that my org manages). It's a full-time role, mainly software dev but with the mix of sysadmin, BA, DBA and other odd IT jobs that any tech worker does. I coordinate 1-2 more junior software devs to a small extent.

I have no idea how that compares to a similar role in the US, but over here that's a pretty comfortable middle-class wage.