Better HN
topnewbestaskshowjobs
Log inSign up

angrysaki

67 karma · joined Nov 4, 2017 (9y ago) · 35 submissions

Submissions

comment 2w ago · link · parent

That looks really awesome, thanks!

comment 2w ago · link · parent

I thought they changed how variables are captured in for loops at one point didn't they?

comment 2w ago · link · parent

I'm just starting to get a handle on how to use agents, can you give a short description of how you get your agents to use csharprepl

comment 2w ago · link · parent

Yes, it's because the structure of the existing codebase for the typescript compiler matched go better. (There's a blogpost about it somewhere)

edit: I think it was considered, but go was a better fit

comment 4mo ago · link · parent

The bigger difference is that the net utility for LLMs could turn out to be massively negative

comment 5mo ago · link · parent

>I'd rather trust the people directly involved, whose interests are mostly clear and known.

That seems like a wild statement to me. Just so I understand what you're saying. Are you saying you would trust Meta's statements on if their algorithms are harmful to youth/society over independent researchers because those researchers might have some hidden bias?

comment 5mo ago · link · parent

I don't have an answer, but I don't think the framing should be about what they deserve or not. It should be around how much money an individual can have/control before it becomes detrimental to society.

comment 5mo ago · link · parent

It's almost like the people who spend their time thinking and researching the positives and negatives of a particular company/service come to different conclusions than the people who make money off the company or are directly marketed it.

comment 5mo ago · link · parent

>but also created an immense amount of value in society

I would say value is subjective. For example, some people might consider a successful game as having created value. Others might view it as too addictive and see the negative value on society as a whole.

It could be very true that in the long arc of history, most of the "value" these companies have created is seen as a net negative. Take smartphones for example. They have created "value" but it's very possible that in 100 years when we better can evaluate what they have done to kids who grew up with them, we well conclude that they were a net negative until their usage was rained in. The only opposing force is government regulation and that's exactly what is wrong with these types of companies (and billionaires in general). They are the ones that stop reasonable legislation from happening because they have too much power because they are so large/rich.

comment 8mo ago · link · parent

I would say having a good hot reload system gives you the benefit of wysiwyg with more readable code

comment 1y ago · link · parent

>The compiler gives us a way to deal with this situation. It is all about being absolutely clear with intentions. Yes, Where(..) in my example would return IEnumerable<TR?> but then in subsequent code I can tell the compiler that I know for a fact that TR? is actually TR by using the null forgiving operator (!).

I guess that seems way less clear with intentions to me. If I have an array of potentially null types and I want to filter out the not nulls, I'd much rather have an operation that returns a T[] vs a T?[].

I should also note that I also have a "IEnumerable<T> WhereNotNull(IEnumerable<T>?)" function in my codebase, but I implemented it using a foreach/yield which doesn't suffer from the extra Cast<>()

comment 1y ago · link · parent

>Also, the design of this this method doesn't seem to make much difference to me anyways:

``` var strs = source.SelectNotNull(it => it); ```

vs

``` var strs = source.Where(it => it != null); ```

Wouldn't the first be IEnumerable<TR> and the second be IEnumerable<TR?>

I imagine that's the main driver for creating SelectNotNull, so that you get the nonnullable type out of the Linq query

comment 1y ago · link · parent

Before I put my fedora back on and leave, could you answer this question:

Do you truly think the evidence you provided would convince someone ignorant on the matter that there really was a migrant crisis that warrants the Trump administration's behavior?

comment 1y ago · link · parent

So apart from some 300 million number, it's just all vibes?

Here I was expecting data about how all these illegal immigrants are causing crimes everywhere at higher rates than americans, or how many cats and dogs they've eaten but I guess there's no actual evidence of a crisis.

comment 1y ago · link · parent

What are the symptoms of this "unprecedented crisis" and what makes it a crisis?

comment 1y ago · link · parent

Wouldn't it be:

"when building a house, obviously a hammer is more important than the _paper_ blueprints. This isn't art class, it's construction".

(when digital notes/digital blueprints are an available option)

comment 1y ago · link · parent

About 20 years ago I changed from running in basketball shoes to minimal shoes. At the time I was only running about 5K. It took me about 10 months to work up to 5k in the minimal shoes.

My general approach is to run less far but more often since you usually don't notice tendon injuries while you're exercising, but a day or two later.

comment 1y ago · link · parent

“The model assumes that people directly choose partners based on their observed cognitive ability, but in reality, partner selection might happen indirectly through other related characteristics or through more complex patterns,”

Seems like a pretty wild assumption to make. Maybe they need that to simplify their model, but still...

comment 2y ago · link · parent

I don't disagree, which is sort of my point. The democratic party apparatus and their allies don't want that platform/message.

I was mostly just pointing g out ghat there is a stance/platform that could combat right wing populism.

comment 2y ago · link · parent

Just picture Bernie Sanders hammering home that the wealthy are screwing everybody. That's the kind of messaging they need but they would rather loose than move left.

comment 2y ago · link · parent

I tried virtual desktops for a while and I'm pretty sure I was using this app for hotkeys to each desktop. https://github.com/hwtnb/SylphyHornPlusWin11

(I don't use virtual desktops anymore so I don't remember that well)

comment 3y ago · link · parent

Without government regulations, are you sure the corporate merger of Amazon, Google, Verizon Walmart & Microsoft would let you?

comment 3y ago · link · parent

My hunch is that it has something to do with doing/accomplishing something "hard" together. I'm also guessing that the harder it is, the more bonding automatic bonding you get.

comment 4y ago · link · parent

I'm sure there's some truth to this but I don't think that is what is happening in this case. From what I can gather, this is about people who trained for a goal, and during the event an unexpected "weak link" in the chain gave out so they found a mechanical solution.

I'm sure if most of them had gotten this during training, they would have taken the time to recover.

comment 4y ago · link · parent

I find that personally this is a big one for me, except I spend my time road cycling. Depending on who you are the competitive aspect of group riding can be very enjoyable. (Different sports may be a better fit depending on who you are)

comment 4y ago · link · parent

Not sure when your experiences are from, but in .net core they redid the csproj format which is much smaller and human readable (I often just edit the XML instead of using the designer). I think most (all?) of the source for .net core is available so well.

I dont know EF well but there is a rewritten core version

comment 5y ago · link · parent

Drawings of bicycles from memory, rendered in 3D:

https://www.behance.net/gallery/35437979/Velocipedia

comment 6y ago · link · parent

I think it's that the cycling movement is just more efficient for sustained efforts, possibly because it uses less muscles. For sustained efforts, I don't think being able to use more muscles is an advantage, since you're going to be limited by your cardiovascular system. If you created a bike that you could also generate power with your arms, i woudln't expect to be able to put out more power because muscles are the limiter. The muscle fiber distribution might be in favor of only using your legs as well (eg. fast vs slow twitch)

I'm not much of a rower, but after your pull, pulling your body forward for the next row is all wasted effort as far as producing mechanical work. Cycling doesn't really have any wasted phase like this.

Here's a bunch of rowers comparing their cycling/rowing watts: https://www.c2forum.com/viewtopic.php?f=31&t=186612

What I'm not sure is if you were to measure total energy expenditure at the human (as opposed to the spinning wheel), then cycling/rowing might be closer.

comment 6y ago · link · parent

Not disagreeing, but just wanted to point out that if the goal was to generate heat then humans could potentially be more efficient because of internal efficiency. The ballpark number I often see is 25% efficiency, so if you were able to somehow capture the waste heat they'd be able to heat up the water 3x as fast.
12