skysight-inc/HackerNews huggingface dataset:
No comment on anything I said, then throw up a straw man. It appears I am indeed arguing with someone without a coherent opinion.
wsl2 has been very very stable for me. in fact, i have spent a lot of time in the last 6 months on wsl2 (FYI - fedora is my main)

i really recommend trying out wsl2. you now can install it from the window store.
You’d prefer we made our code as hard to read as possible to increase job security?
>Having everything work this way makes it so much easier to review code for errors.

Had one making me pull my hair put the other day in C#. C# datetimed are measured in increments of 100 nanoseconds elapsed since January 1st 1 AD or something like that. Was trying to convert Unix time in milliseconds to a C# datetime and didn't realize they were using different units. My fault for not reading the docs but having it in the name would have saved me a lot of trouble.
> And what exactly are we going to have them do that doesn't suck and isn't low wage?

I am not saying that we need to retrain all existing farmers. Instead, I am saying that we should simply discourage more people going into that industry, instead of what the original poster was claiming, which is that we'd need more people there.

> The point you are missing is that jobs that suck still have to be done

We don't need more people in that industry, no. We can have less in that industry.

> what are those people to do

At a very minimum we shouldn't be adding more problems by encourage more people to go into these bad jobs, is the point though. That would just make things worse.
Although there is some merit to learning by repetition and using memorization to keep core concepts top of mind, this is a very bad example of it since it’s literally just trivia. There is nothing at all fundamental about time.sleep being seconds. People memorize it because the have to and have used it enough times.

If time.sleep took a timedelta it becomes impossible to use incorrectly with a type checker since the caller specifies their own units. There is no merit to worshiping ambiguous design.
I mean, if you consider that "a problem" then your sense of what things are worth is probably wrong, since if you're valuing things correctly then you should be happy with a "no deal" outcome for things that are to expensive.
The main problem is the "mega" part which is mostly a side-effect of seeking profit without wondering whether that's the best way to structure an organization that seeks to "connect everyone" or "organize the world's knowledge". Neither of those missions should be subordinate to profit motives but at the moment the companies that claim it's their mission to "organize the world's knowledge" or to "connect everyone" are actually doing something else entirely: trying to make as much money as possible.
Ha ha. Chain printer goes Brrrrrrrrrrr.
There is only one infinite game.
My guess it, it's a sign of Mesa reaching the point where developing Vulkan driver leveraging SPIR-V to NIR translation gives hardware vendors benefits they don't get trying to invent their own approaches. They focus on NIR to their machine code compiler part and Mesa does the rest of heavy lifting for them. Plus OpenGL support comes basically as a free bonus through zink.

Likely, it's not that they suddenly started liking FOSS, but they can sell it to their bean counters as a cost benefit which happens to be a great thing for Linux ecosystem of course.

More about why NIR could play an important role here: https://www.jlekstrand.net/jason/blog/2022/01/in-defense-of-...
Most Apple products I've owned, I've ended up seeing inside at some point in their life cycle. It makes a difference to me knowing that they're nice inside.

But also, it's hard to think of products that are nice on the outside but ugly on the inside. I suspect it's because some people care and some don't, and both inside and outside reflect that.
Cisco's WebEx uses AV1:

https://blog.webex.com/engineering/the-av1-video-codec-comes...

https://blog.webex.com/video-conferencing/cisco-leap-frogs-h...

https://www.youtube.com/watch?v=Op-rzboJ_1Q
It also is/was free on audible if you've got a subscription.
For me, scoping in fish feels way more intuitive than Bash does, but quite a big margin.

Also, for some reason I never come across issues with it being non-posix. Maybe I copy paste less from online then other folks.
Disagree.

What you say works at a small startup. Absolutely.

My reality and lots of other people at companies with larger code bases: you need to constantly look at code you have never seen before in one of many languages used at your company using one framework or another that is out of date by years or just came around the corner and you just heard the name of for the first time.

This is the reality of many an architect or team lead or principal engineer. Of course you will say: why make everything better for them, works fine for me who I only ever work in language X with framework Y? I agree that makes sense for the you of now. Why care?

Think about the future you. The principal engineer you. The architect you. Heck even just the 9 months from now you when you have moved on to the next framework. Never mind any other changes.
I believe it's quite prone to overfitting; I vaguely recall reading about an article where an evolutionary design developed on an FPGA had the bitstream applied to another FPGA of the same model (that is, it should have been identical), but failed to operate on the new hardware. Something to do with spooky quantum (?) level tunneling effects that did not operate correctly when there was even the tiniest variation in the physical layout of the hardware.
Heatwaves at both of Earth’s poles alarm climate scientists – Climate crisis
There was an article on HN a few weeks ago talking about the slowing pace of “innovation” in the modern world, the lack of an Einstein or a Bohr or a Feynman. I have no evidence of this and maybe the entire notion is unfounded in the first place but I think this framing:

- teaching marketable skills so people can get jobs

- teaching "how to think" and learning about art and culture

is part of the problem. When you go back and look at many of science and philosophy’s “greatest,” they were almost always deeply curious and inquisitive people and interested in many things, not just what they are known for now. They read other “greats” and were well-balanced intellectually.

I think a problem now is we are producing unbalanced minds, the equivalent of a bodybuilder who skips leg day, every day. Perhaps there is some something to be said about encouraging a diversity of thought, people who read poetry as you say. It is likely no coincidence that genuine genius is extremely divergent and radical in thought, likely not someone who learns physics and only physics with no other interests.
Hold up. Windows 11 LTSC forces you to use Microsoft accounts, you can't go local at all? Not doubting, just need clarification.
Which also might be fine. Trying harder doesn’t always lead to more useful work done, you might be better at your job if you’re more relaxed and don’t overwork yourself, and if your motivation of work is to keep up with an image of how other people work there’s a good chance you won’t be as good as an employee who cares about doing work well because they care more about quality than quibbling about fairness.

Sometimes people don’t do as much or as well for things that are none of your business and if that becomes an incentive problem for you, you’re the problem.
While I wouldn't necessarily categorize that as negotiating, I totally agree that befriending employees, managers and owners is one of the best things you can do for your bank account. Especially true for restaurants. The first thing I do when moving to a new area is find a good restaurant or deli that I could see myself frequenting, and then go there every day while being as personable as possible (which is not exactly my natural state). It takes maybe a couple of weeks before the customer appreciation perks start appearing.
> How so?

Modern industrial farming practices, designed to optimize agricultural output per unit of labor, are an ecological and environmental travesty. They require the widespread use of pesticides and toxic fertilizers that are decimating the biosphere. Monocropping unsustainably degrades soil quality. And the large contiguous areas used for industrial agricultural operations are extremely disruptive to wildlife.

The most obvious solution to the above is an agricultural system with many more, much smaller farms, where human beings do the work currently done by machines and chemicals.
The margins on a grocery store are very low, it would be crazy to try to haggle there.

In a farmer's market, they probably throw away half the produce, the margin is more in the quantity of goods than in the price, so it would always be better to try to get more goods for free than to put price down!
What they're suggesting is that `time.Duration` should not be an int64.

1 second * 1 second = 1 second²
1 meter * 1 meter = 1 meter²
1 meter / 1 second = 1 m/s

Those are not user errors, those are physical values. A physical value is two things:

- a scalar (int64, float, ...)
- a unit (meter, second, inches, ...)

If the type system of your programming language does not allow you to define units, this should at least be a structure with a scalar and an enum, and functions to cast from one unit to another (if possible).

Working with units is a common thing in science.
Win32 is on life support. Many new features added since Vista don't work with it at all, or require complex code to enable in Win32 apps.
But how do you know the unit to use in the variable?
I agree. If no culture is better than another culture, in any real sense, then you're giving up the notion that a culture can ever progress. Western culture has improved in many ways over the past centuries, and it would be ludicrous to say we are not a better culture than we were two hundred years ago.
very interesting.
For my kid (4 years old) I made sure to only install app that are not "crack".
Not all apps are bad (I agree 95% of them are).

You can just look at "https://marbotic.com/" for example, it's not worse than having your kid play scrabble or chess.

If somehow you kid get addicted to it then after they played all the level they will be able to read write and do math at the 3rd grade level :)
Along these lines: if you are designing an API for pricing data or fintech and think “let’s send things in integer cents of the currency so there aren’t any rounding errors” - setting aside that there are many situations where this is not appropriate, if you do still want to do this, for the love of Pete please name your variables and attributes with `_cents` in the names. No exceptions. It is the biggest unit-related footgun imaginable, and since it’s not a “unit” technically, it’s easy to overlook.
I've made that mistake with a past venture and definitely agree it's a mistake to go 50/50. In the case of someone joining at a later stage, that wouldn't be on the table as an option.

I've got a very well-defined vision for the company and it's important to me to have the final say on all strategic decisions even as I'm looking for someone who can bring a different perspective to those decisions.
I've used Beyond Compare for many years. Interface is not super polished, but it gets the job done for me. For both Mac & Windows (https://www.scootersoftware.com)
which is great when you're writing from scratch, but as soon as you have to start calling a library with functions based in non-SI units then you've got some ambiguity.
The skype thing kinda makes sense. People want software which just works without configuration. When you sign in to an iphone or macbook, it immediately sets up facetime which is always active waiting for a call in the background. No one complains because this is expected and it has always happened.

But then Microsoft wants to give their users the same conveniance as Apple users get with their "just works" setup and people call it user hostile and malware. It makes perfect sense that users would like a way to call other windows users in a way that doesn't involve installing things and fiddling around with more accounts/configuration.
I'm not sure I agree. When I convert fields to DateTime, I remove the unit suffix from the name. The DateTime is supposed to be an implementation-agnostic point in time. It shouldn't come with any units, and nor should they be exposed by the internal implementation.

The factory method used to convert e.g. Unix timestamps to DateTimes, now that should indicate whether we're talking seconds or milliseconds since epoch, for example, and when the epoch really was.
You state this with certainty I haven't seen from the researchers in this area. I was under the impression that this more an open question.
This.

The price i pay for not dealing with the stress of haggling is well worth it for most things (salaries an exception where it may be worth it)
Some carriers who aren't banned are now having an advantage

https://www.moneycontrol.com/news/business/advantage-air-ind...

https://www.newindianexpress.com/nation/2022/mar/17/it-is-sa...
> Logos are easy to change though

Sure, but the past is hard to change. So, when a company is threatening to take legal action based on violations you have already committed unless you take a specified set of steps, merely stopping future violations without complying with the rest of their demands is risky.
Central span length is definitely more interesting than overall length. Technically not a single bridge, but the Chesapeake Bay Bridge-Tunnel is over 17 miles long.
Strong possibility? Like what odds are we talking here?
Keep in mind this article is basically a Yale professor pitching their new book in an alumni magazine; not a great place for scholarly citations. Browsing the table of contents, the book itself has an entire chapter on this.
The provided example is pretty rough, and I'm sure it's occurred in the wild. Sure, put the units in the variable name, and it encourages this kind of mistake, because time.Duration is not "seconds", it is a duration. The variable name should match the API of time.Sleep, which takes a duration. The variable should be named delay. A variable named delaySecs is the same kind of maintenance headache as a variable named "two_days_ago = 2.days.ago" in ruby.

The variables used for accepting and parsing input are the ones that should have units in them in this example. Although if you need a delay specified, it's valuable to be explicit and robust in the input
and accept a string time.ParseDuration understands. Then you don't have this units problem in your variable naming at all, allows easier input of wider ranges of values by the operator, and makes input validation (if only a subset of durations are allowed) more concise and consistent.
People have died because airplane mechanics thought they were working with one unit instead of another. Don't be a macho tough guy who thinks you'll never slip up.
Should those overruns not count when it comes to determining if large infrastructure projects have gotten slower or faster?
Do you have a link to this utility?
U5 in Berlin came in so late that connecting the part they managed to finish became a whole second project.

In Koln a tunnel for the Stadtbahn caused a building to collapse and has delayed the full operation of the tunnel.
Windows can only deprecate things at the rate people retire, so it ends up looking like a house that four generations of a family live in. Junior’s flashing the lights in the hall in time with Bassnectar using a programmable lightbulb he wired to an arduino while grandma is playing pinochle on the back porch with a couple of birds from church. Mom’s in the kitchen counting her blessings, enjoying her circa 1997 gas stove while Dad’s trying to figure out if he has to pony up for a new laptop for daughter to finish her homework, or is her problem that the latest Word won’t run Java applets? Did Word ever run applets? Meanwhile, Junior barely knows pinochle is a thing, but Grandma is convinced he has summoned demons. Kids these days.
I needed to order some parts from an online store, and I missed their sale. So I figured I would email them and ask for a discount.

Turns out if I bought a minimum amount they were willing to give me a significant discount - much better than the sale pirce, and the minimum amount wasn't that much.

I may start doing this a lot - just email and ask for a coupon.
It’s probably driven by all the unicorns and massive tech companies that got where they are by building what they think the customers will want.

Not defending, but I do recall the ford quote of “If I’d asked customers what they wanted, they would have said ‘a faster horse’”
See the next sentence: "Of course you can build chips that can tolerate a few defects, but the principle holds."
A situation where if two people cooperate, they both benefit, but if they don’t, they each benefit less?

These types of situations happen all the time. Think of two businesses collaborating on a project, for example.
I will start that I think TDD is very valuable. But reading this article that quickly goes into a numbered list of "rules" is a little disheartening. Already some other commenters are talking about more nuanced views of when to test. I think the real tragedy is that I see a lot of engineers still not writing tests. So when speaking to the broader audience, you have to be really gung-ho about it to get people to do what I think is a very necessary step. People should err on the side of writing the test first, both to get most people in the right mindset, and also to avoid the broken window syndrome of a lot of missing tests and no one bothering to actually start doing what should be obvious: most code should have at least some level of coverage. Most in fact. If there are "reasons", sure, if you're going to pull the senior engineer move and skip the test, then you better be able to back it up clearly. If not, write the damn test. If not you, someone will appreciate it later.
No. Typically SI is implicit. Everything else is explicit.
That's a pretty big thing.

I'm still using programs daily that I acquired in the 90's,some of which was last updated in the 90s.

Updating the OS is one thing, there will be change, and none of us likes change, but it doesn't cascade down to having to change every detail of my work flow.

So maybe it's the only thing Windows has, but for me anyway it's a pretty big "only".
> They can't see inside your bank account.

In the "of course that exists" category, there are services that give a score about somebody's ability to pay.

I really hate how every business process can be (and frequently is) optimized to the nth degree at the cost of privacy.

https://www.equifax.com/business/product/ability-to-pay/
Is there any research into why college fee is going up? I read somewhere that the fee rose 5x compared to inflation over the last 50 yrs. Do colleges amass wealth and stash them for a rainy day? I am not talking about for profit colleges many of which feel more like scams to me.

I am trying to think what could have added to costs. The cost of research probably increased as the low hanging fruit are done and research in general is more involved now. May be the salaries grew in-line with the rest of the country.

Did the overall government funding fall over the decades?

Overall, I agree with Sam here, any peripheral gestures without addressing the root cause is pointless. But the current US political system has no aptitude to solve problems. In fact they have realized they want to ensure the other party fails so they can point and they in elections. Politics has become a perverse selfish game rather than about governance and people. The best they can do is enable companies to offer more loans and more ways to repay and that’s it.
I enjoy masking, and many of the people you've met in the last two years do too. Masks are an issue for many children, but for adults complaining about masks is like complaining about the weather: something to talk about that doesn't require thought because lots of people we meet don't like to think.
> but as far as I'm aware it doesn't generate much revenue for creators

I’ve heard that per viewer it brings in a lot more than the per viewer ads revenue from non-Premium viewers.

Not sure what the typical viewer numbers for each are; probably depends on the channel a lot.
Yea, it seems the author is aware of it, covers it in the book[1], but decided against mentioning it in this article.

[1]: https://www.splitthepiebook.com/resources-2-1
I'll take a survey tomorrow to see how many people know what kelvin to C conversion is off the top of their head.

The other issue is when you get to Candelas!
> We have employed a generation of PMs now who idolize Steve Jobs' mantra: "Users dont know what they want until you show it to them".

just because a bunch of dumb PMs are pushing hot garbage to the user doesn't mean that statement is false. There almost always IS a way to improve and innovate a user experience—a new experience that the user hasn't thought of before. Its just that the PM incentives aren't aligned with the users these days.
Yep, I know people love it. It sent my machine into a boot loop till I could uninstall it in safe mode.

I'll live with a dedicated VM for now.
I don't trust either the government or tech companies. You shouldn't either. You should be free to make your own judgements without either interfering or manipulating you. I assume you're in America, after all?
That is a very idealistic view of networking
Ok?

1. That’s his job as an investor. Getting one big outlier prediction right makes up for a hundred wrong ones.

2. These predictions tend to provoke interesting debates(that’s probably Sama’s intent here).
Most Americans don't live in rural areas.
An interesting sci-fi/spy thriller could be getting someone arrested by training NeuralHash 2.0 with CSAM on their rig using a service like this. After all that news last year I'd be super paranoid about that, even if it's extremely unlikely that a hobbyist would attempt such a thing without backing from law enforcement.
How do you browse the Internet then?
Gotta say, the comments on this core-js issue are very illustrative of the article.

https://github.com/zloirock/core-js/issues/548
This doesn't work looking at a PR.

It also doesn't make a unit error stick out, as you have to take the time to specifically hover to check. What I mean by this is consider you've opened a mature code base and are browsing around, and scroll past:

timeout = 60000;

I'd assume this is milliseconds, and whether I check would depend on what I'm doing and probably also my mood.

Whereas if I see:

timeoutSeconds = 60000;

It'll draw my attention and no matter what I'm doing I'll either open a bug or just fix it.
Sometimes the verbosity annoys me a little while writing it, but I do think Rust made the right decision making you write code like the following to use the standard sleep function.

std::thread::sleep(Duration::from_millis(300));
they may have the authority to correct errors, but they don't have the authority to negotiate. if they're caught lowering prices because a customer has haggled them down, they're going to get fired.

don't try to haggle with retail staff.
> Ok? That’s his job as an investor. Getting one big outlier prediction right makes up for a hundred wrong ones.

But he's not acting as an investor here. He's acting as an influencer on Twitter. And when a public figure consistently makes poor predictions, I think they should be called out for it.
MDM.. so would advertiser bs fall under any of these?
I find suspension bridges to be the most beautiful bridges in the world. There is something so timeless about them (they're literally maintainable almost indefinitely). Many modern bridges are now built as cable-stayed bridges because they're cheaper, but they have a limited lifespan and the concrete isn't nearly as attractive are the the intricate steel patterns found in suspension bridges.