skysight-inc/HackerNews huggingface dataset:
Back in my uni times I remember helping out a few of my friends from CS course by doing pair programming with them (I myself was taking mechanical course, I was not good enough with math and physics to get a place in CS course). They was asking me how do I do this, that I sit down and start solving their problem like I knew the solution despite the fact I have seen each problem for the first time. I used to tell them, that if they cut through enough of problems they will be the same.

From the perspective of time I think there was one thing that I had and most of my CS friends did not - programming was my hobby and I loved everything related with computers, they only wanted the end result which was good money and stable job.

Would I do 1500 leetcode problems? Maybe when I was younger and had no commitments, but certainly not now.

From perspective of years I see that leetcode is quite far from what I do on daily basis, and I do write quite a lot of code.

If I went to the job interview and was given a problem I have never faced before I would want the interviewer to see me finding the solution and not giving memorized (or practiced) answer. If result was not great and interviewer decided I'm not fit for the role that's better outcome than to give false impression and then struggle (even if interview problem is nowhere close to what they do in daily basis).
I can think of numerous websites i'd like notifications on. HN comment replies, for example. But let's keep limiting peoples choices
This is very good news.

Sadly, there is already quite some backlash, mostly coming from Apple aficionados. And I say "sadly" because it is always sad to see how people would try to defend companies and brands, against their own interests.
I agree for the most part. There are, however, two cases that come to mind for me as keyboards that did make a substantial difference:

1. Split-key keyboard. Got one when I was getting RSI issues in my wrists. That keyboard really did make a difference.

2. Butterfly keyboard on the Macbook. I hated it. My typing precision suffered. It's certainly subjective, but I was dropping my A's everywhere.

Other than that, my current mechanical keyboard has been mainly just a "it feels nice" thing, not a "I'm a better programmer because of it" thing.
We used to have this right, but it feels like somewhere between 2010-2015, companies realized they could make more money by disallowing simple replacements.

I used to make some money as a kid by buying batches of broken Iphone 3G/3GS's on ebay, replacing parts on them, and then re-selling them myself. Practically any part of that device could be replaced in less than 30 minutes with $15 worth of tools.

I have a 2012MBP and a 2014MBP that I gave to my family that are still serving their purposes after a few quick(and cheap) battery, RAM and HDD replacements over the years.

I don't expect my 2019 MBP to last more than 5 years without costing me at least several hundred dollars more when I inevitably have to bring it to the Apple store for them to fix something that very much used to be user-fixable in a matter of minutes.
... when you already work for Google?
Are these domestic abuse activists aware that GPS tracking devices already exist and have existed for a long time? See here for an example [0].

[0]: https://www.amazon.com/Real-time-Tracker-Worldwide-Coverage-...
Further, as I understand it, nurture are huge factors, if not the biggest. Poverty, abuse, pollution, zip code, etc.

Noob me: Sure, some fraction of IQ is hereditary for individuals. But there's no correlation between hereditary (genetic) IQ and group sizes larger than families, and mosdef none at population levels.

PS- Reprehensible is the nicest adjective I can think of for those retrograde beliefs.
Show HN: Data Science at the Speed of Voice
While technically correct, I think you are dramatically overestimating the difficulty ex-googlers have in getting a new job.
There’s a big difference between saying that a company is growing and has stellar financials, and saying that it is a great stock to invest in. Surely the current price is relevant.

Everyone can agree that Amazon is worth A Lot Of Money. The question is: is it worth $2T? or $3T? or $1T?
We are early Porter users, and it strikes the right balance of being being "full service" to get you started quickly but then letting you tweak what we need in custom ways as you grow.

The setup was simple - EKS cluster created for you (or you can use your own), automatic bot instrumentation to build and push containers for you, Heroku-like "git-ops" etc.

But, under the hood they made the (IMO) wise choice to use each cloud's tooling as much as possible so you can modify things as needed. For example, the EKS cluster on AWS is in a regular autoscaling group. Persistent drives for containers (if you opt-into them) are regular EC2 block devices, etc.
It's pretty clear that the parent was not stating that those were the same thing, but instead that popularity does not mean correctness (either in the technical sense or the moral sense).
Groundwork research for developing the Infinite Improbability Drive?
The Apple TV is a headless iPhone - I will not be surprised to see it "merge" with the Mac mini at some point when it has the M1.
$112T
>In effect the EU penalizes the creation of market places, because once you're market place, you lose control over your own products to the government.

Operating a marketplace generates billions for Apple, and without the Apple Store I doubt the iPhone would have any value today. This comes with legal duties. Apple can't do whatever with their marketplace, but must compete fairly within it.
If complaining about waste, compare it to what you could achieve with the same resources. Ignoring something outright is not a good approach, you basically have created an opposite tribe with the same illogical basis.

If we can do the same work in 1/10000th the effort, then we should decry the waste.
I played with convox a little and a month later discovered I unexpectedly owed AWS a rather large sum of money. For small projects I'm now happy running caprover on dedicated hosts where I understand the cost (and it's really quite small).

One way porter could interest me would be if it incorporated best practices for me not to get fleeced by the cloud operator.
Would this also apply to LowKey? https://arxiv.org/pdf/2101.07922.pdf
Not an issue, already solved in many market: offering the normal pricing doesn't stop the provider (here Apple) to offer other special terms to those who want them.

Example in another market: you can buy an Unreal Engine license, or you can get it for pretty much free but then owe a % of sales.

Nobody is saying Apple cannot offer an alternative "30% all included flat price", the complaint is about them offering ONLY that.
I'd argue that when a security vulnerability is made public, patching the operating system with an update is a form of repair. The device is as broken as my Gen-1 iPad that can no longer browse the web safely. If the manufacturer stops releasing such updates, AND actively prevents the user from developing and applying their own updates, then they are preventing repair.
I usually do this "floating" thing, especially since I mostly use my index and middle fingers, so I have to move the hands around to reach the keys.

But I've found that for some use cases, when I always press the same keys (say moving around text with hjkl, or similar) it's very comfortable to rest the wrist on the wrist-rest. However, I usually put most of the wrist's weight on the exterior, so I suppose the nerves aren't as much constrained.
Corporate offices were always terrible but when they removed the cubicles for the "open-office plan" was the last straw. Having my own room for work, at home, is the only way to go.

I would rather my kids interrupt me at my home office than having to hear coworkers chatting and eating all day.
I find it strange because that's not a behaviour I would use, but to each their own, it's the beauty of the web :).

If you really want to do it, you can add 3 lines on your project and that will work with any CRUD page you're building, I don't think that's unreasonable or difficult to do.

Edit:

Actually thinking about it, if you just made a form for that delete button and a phx-disable-with="" on the row it would probably work straight away without any JS hook.
Well obviously nothing is guaranteed, but something like 90% of 20 year windows in the last 100 years would in fact result in positive real returns.

http://archive.nytimes.com/www.nytimes.com/interactive/2011/...

Note that the light red color is actually still indicating a positive real return, this is particularly relevant in the 70s and early 80s when a 2% real return would be a much higher nominal return.

Agreed that some people expect returns for time horizons as short as 10 years though, which is clearly a mistake.
Not everything can be numerically measured. By what metric is Macbeth better than the Da Vinci Code?

Also, not all measurements should be shared. Let’s say that they have data showing that new hire productivity and skill growth is much lower when senior engineers are WFH. They’re not going to share that data when forcing senior engineers to be in the office, since it could foment resentment of junior staff.
No FANG company has good work culture or good work/life balance anymore, and all are entangled in some morally questionable project or another. Go work for a startup.
I second that—memories installing gentoo on iBook G4 and getting the wireless to work felt like a nice accomplishment :)

Granted, the gentoo docs are really good so that’s where I went mostly.
Sure. But my comment was a response to the problems people are having with these streaming devices. Plus, with the mini desktop you have a full-blown Linux computer. You could even record TV on it (though I haven’t tried this).
I did understand you, and wasn't disagreeing. Just offering up a comparison as someone currently doing AWS price projections based on unit costs / CLV and seeing a fairly even margin on AWS resource usage vs revenue-per-resource. Cost plus and all that.

It struck me at the time, that the granular billing allows AWS to function less like a product seller and more like a tax.

A weak comparison granted.
Except all that interviews test is the driving range part.
As an Ardour user, you don't actually have to write your own plugins.

You could just use any of the thousands of VST plugins out there, which Ardour fully supports.
This happens to me every day of the week on various sites, multiple times a day. I assumed it was because I had a large number of tabs open (anywhere from 50 to 200), but it's very frustrating. Only thing I can do is quit Safari and re-open, then it goes away for a few hours, then it'll happen again. After a few rounds of that my only choice is to restart the iPad. That buys me a few more hours, but it eventually happens again. Supremely frustrating. Started happening maybe a year ago, never once happened before that. My guess is poor quality control or testing on an update, bug or memory leak was introduced and just never fixed. Very frustrating. Apple stuff is supposed to "just work" but in this case, the browser crashes multiple times a day which is an awful user experience.
That is a very astute point. I say it more as a broad model. And to the point of casino games - I speak to blackjack only which has a finite set of cards in a deck.

I would argue, broadly, that there is a finite value in the stock market we just don't know what it is (and it changes significantly) but I do agree with you that there are some very significant differences and is a potential flaw in the analogy.
I fear this is going to turn into some ambiguous law that only big companies will be able to navigate through and you and me still won't be able to repair anything, because it will be deemed "unsafe". There also has to be many years of commissions, banquets, meetings, dinners, bonuses before all civil servants feasting on tax payer money will come up with something.
Housing costs is included, I'm not sure where you got the impression it wasn't. And considering you thought its exclusion was "crazy," why didn't hearing that fact prompt you to investigate?

https://www.bls.gov/cpi/questions-and-answers.htm#Question_1...

https://www.bls.gov/opub/hom/cpi/calculation.htm#estimation-...
With virtual reality police training, Sacramento tries to improve
For some reason I understood the title as an audio rendering of changes on your pg db

The actual purpose is actually way cooler, looks like a great tool
Actually there is a basis for it in blackjack and how to card count. That said I'm not sure what casino's are doing these days ever since the card counting was figured out.
Sure, good clarification. And fungibility can definitely be contextual, depending on context and requirements. Fungibility is really always about "enough people think it's fungible for their purposes and have agreed to treat it as fungible, so it is."
Add software to count how much paper is used and remind the maintenance tech when it's time for refill.
Happy Friday everyone. Day ending in 'y', so it's time for that never ending HN Apple haters groupthink exercise:

1. Linux desktop advocate describes a supposed technical implementation from Apple that seems extremely walled garden and onerous if accurate.

2. Outrage ensues.

3. It's never true.
"manipulate your search results" is spin for "Roku wanted to inject results from other sources when you perform a search within the Youtube TV app, Google didn't like that"
Or for one of the tens of thousands of non-faang/non-startup businesses out there paying good money with actual work/life balance.

As a side note, I personally find it hilarious to associate work/life balance with a startup.
Beta here: https://ohayo.computer/

Source code here: https://github.com/treenotation/ohayo

I switched to a non-profit last year during COVID and haven't done any major updates recently but slowly moving it back to the front burner.

If anyone is interested in this sort of thing and is perhaps interested in taking a leadership role please feel free to reach out!
If you walk into Walmart, you’re not going to find a Target. And you’re certainly not going to find a Target paying 0% commission to Walmart.

There you go, another equally ridiculous Walmart analogy.
If I had a dollar each time someone said they wanted to leave badly only to be still in the same company/position 1 or 2 years later....
Yeah it kinda feels cool to be an official FluWatcher, hope I don't lose my status by talking about it ;-)
OT: why do you prefix the year with a 0?
Your argument applies equally well to payment processors (Visa, Mastercard, Stripe, etc.) and, as a society, we seem to be okay with them just taking ~2% of Revenue despite their underlying costs (largely) being a flat fee.

I'm not saying it's okay, simply that there's precedent fairly ingrained in our economy.
Not an expert but i believe all they pay is the $100 apple developer fee every year to be able to publish apps... 30% seems to only be for apple payments like subscriptions and app purchases
The issue is that if Apple lose a tonne of money when Spotify decides to go flat fee, someone has to make up that difference. So smaller Devs lose out as they're currently being subsidised...
Great initiative but I see one major concern: Spam filtering. Most of the big mail providers provide spam mail filtering out of the box without which your inboxes are bombarded with spam. This can be probably solved by spam checking by adding additional lambda, now you need more compute per mail, translating to more cost per mail, which makes it easy for malicious parties to send mail bombs and bankrupt you.
> For example, consider quantum gravity. Some people say: “Why do we even need to quantize gravity given that we don’t even have experimental evidence for it?

(Disclaimer not a physicist or mathematician, just curious about the subject, so sorry if my question offends someone)

Is it possible that gravity does not exist at the quantum level, but instead emerges from quantum mechanics at larger scales?

What I understantood from Stephen Wolfram's physics is that the laws of physics emerge from trivial structure/rules as some kind of computation.

I wonder if "large physics" is simply something that is computed from "small physics".
I gave up on Roku when they and/or NowTV unlawfully deleted a side-loaded app from my device.

Moved to FireTV which has plesk as a downloadable, that allows me to view photos off my local network as I was doing before ... Plex is awful now, the UX is terrible for me (it's geared to viewing Plex's content, which I have never used nor wanted), so I moved to just using VLC (clunky for photo viewing but good enough).

We only use Netflix, Youtube and free catch-up channels and only have 1080p, but FireTV was/is way better than the Roku device was.

What's garbage about FireTV?
To quote the department [0] as was linked elsewhere:

> An IRB evaluates “Human Subjects Research”, which has a precise technical definition according to US federal regulations (see 45 CFR 46.102), and this technical definition may not accord with intuitive understanding of concepts like “experiments” or even “experiments on people”.

[0]: https://drive.google.com/file/d/1z3Nm2bfR4tH1nOGBpuOmLyoJVEi...
> This seems to be a common point of confusion for people who aren't native English speakers

Where did this come from and what value does it have, other than being condescending to non-native English speakers? I am a native speaker and we're having a discussion in my native tongue about words in my native language about work I do as a profession.

> Similarly, a quick bit of Googling turned up [this][1]

I do not accept Stackoverflow as an authoritative source for anything. Useful? Yes, great for finding random solutions to random problems. Authoritative source on terminology used in the industry I work? Nah.
I have an HTPC hooked up to my LG C9, but an HTPC really is not a great option for streaming content if you have a reasonably good TV and/or sound system. You lose HDR and in most cases 4K streaming if you try to view content via a web browser for most streaming services. You also lose higher quality audio and 5.1 audio streams with most services when viewing through a web browser. And then there is the issue that browser based streaming is just never quite as smooth and stutter free as streaming on any decently capable modern streaming device due to the native hardware acceleration and the fact that you don't have an entire OS with a bunch of other things running on it competing for CPU/GPU cycles at any given time.

The LG C9 processor is quite powerful and extremely snappy. My HTPC is almost always an inferior option on that front. I would rather recommend someone buy something like the nVidia shield instead of an HTPC if they mainly consume content via streaming services. I still like my HTPC for other uses and it is also great for Zoom/Skype calls with friends and family from my living room.
A new job that carries same prestige and benefits?
Competition on Detecting Jokes in Tweets
Well, if I was going to pick one organization in my experience that I think is best able to judge developer productivity it would be google. They have a team of organizational analysts who study it and have developed a pretty sophisticated model. Interestingly, in past research they found that remote work is the top predictor of developer productivity.
Wow I have been predicting for 10 years that working from home is super attractive, and the commute is great.

And many people kept telling me how that’s so stupid, and they want to have a social life at work etc. I replied you can a social life with your friends and neighbors if everyone works from home...

Now it seems it has been tried and many people would rather keep it :)
Ask HN: Small SaaS, How much do you pay for hosting?
And don't forget the Scone of Stone!

https://wiki.lspace.org/mediawiki/Scone_of_Stone
Pretty much everyone has experienced what WFH is like a year plus into the pandemic. Those of us who want to go back to the office have experienced WFH, and our quality of life is lower with WFH. It's no longer true that people who say they don't like WFH would change their mind if only they'd experienced it.
We need to take climate change more seriously, but focusing on the carbon emissions of large language models does not seem like a good way to fight climate change.

The total emissions just aren't that high. The largest model listed, GPT-3, led to 552 metric tonnes of carbon being emitted. For comparison, every year Google employees emit 644,000 metric tons of Carbon just commuting to work. (4.6 tonnes a year per car times 140,000 employees).
*themself

*they have
A persistent question in my mind is why do customers buy unrepairable products, from smart phones and high-tech tractors. Why is the market failing? Or is it working perfectly?
Ask HN: Which Linux distribution do you use, and why?
Previous discussions:

* Ask HN: Advanced Linux users, which distribution do you run? Why? - https://news.ycombinator.com/item?id=23816007 (2020)

* Ask HN: Which Linux distribution do you use? - https://news.ycombinator.com/item?id=19084764 (2019)

* Ask HN: Which Linux distribution do you use, and why? - https://news.ycombinator.com/item?id=16315087 (2018)

* Ask HN: How to choose a certain GNU/Linux distro? - https://news.ycombinator.com/item?id=10504366 (2015)

* Ask HN: Which Linux distribution you are currently using? - https://news.ycombinator.com/item?id=9030713 (2015)

* Ask HN: Which linux distribution are you using? - https://news.ycombinator.com/item?id=4986047 (2012)
You can use a macro instead of copy and pasting.

You can also do this:

struct Vehicle
{
speed: f32,
type: VehicleType
}

enum VehicleType
{
Car(...),
Bicycle(...)
}

Or this (although this is the least common):

struct Vehicle
{
data: VehicleData
type: Box<dyn SpecificVehicle>
}

struct VehicleData
{
speed: f32,
}

trait SpecificVehicle
{
fn quack(&self, data: &VehicleData);
}

impl SpecificVehicle for Car {...}
impl SpecificVehicle for Bicycle {...}
> I don't think that repairability is better for sustainability in general

Sorry, but what? Being able to repair a device means that you can (and usually will) be able to prevent demand spiking for a brand new device that uses as many or more materials than the last.

For starters, imagine a world where vehicles were not repairable. I'd argue that any mass-produced thing benefits from repairability.
I think anything publicizing "right to repair" in mainstream media is a good thing. Agreed that for HN denizens, it's nothing new, but most people are just unaware of this topic.

Glad to see the BBC running this.
Right. How much CO2 does it take to train a single human from birth to do something? And, once trained, that human will still be way slower at many tasks than a trained machine.
Didn't we just read Google's revenue grew 34% higher than the previous year? And they think they can do better by being back in the office? Huh. Interesting.
I also have about 40 minutes of commute per day. However I get better working conditions, lunch, etc, when I work from home. Not to mention that it's much less stressful, and I can go lay down in my bed for a couple of minutes if I want to. I also do some chores during breaks, which saves me even more time at the end of the day.
It's because Apple's actual costs are pretty much fixed (storage, bandwidth, ...) so clearly on a low price / many customer scenario it seems fairer.

That's why a per usage pricing would be fairer. And yes, the app having one thousand $10 purchases would pay way more than the app having a single $10000 purchase, but that's the point.
Just because similar devices already exist doesn't mean there isn't also a potential for harm with this device, particularly since these will be sold at every Apple Store and have much more exposure.