Better HN
topnewbestaskshowjobs
Log inSign up

shortrounddev2

2,427 karma · joined Jun 15, 2023 (3y ago) · 1,641 submissions

Submissions

comment 1y ago · link · parent

Hope the FTC tears meta to shreds but not optimistic

comment 1y ago · link · parent

I think, at this point, I'm no longer interested in joining a social media site or forum that is profit-motivated in some way. Like I'm only really on Lemmy these days or HN. I deleted my reddit account when the recommendation algorithm started to just serve me outrageous and angry content. I deleted Facebook and Instagram after Zuckerberg started kissing the ring with the white house.

I just think that more websites that sell tons of ads and whose administrators are more motivated by gathering eyeballs than building a community is not the solution to our problems with big tech

comment 1y ago · link · parent

Even the conspiracy theory community has become like this. What used to be a community of passionate skeptics, ufo-ologists, and rabid anti-statists has turned into the most overtly boot licking right wing apologists who apply an incredible amount of mental energy to justifying the actions of what is transparently and blatantly the most corrupt government in American history, so long as that government is weaponized against whatever identity and cultural groups they hate

comment 1y ago · link · parent

I think public health officials should be able to make content moderation recommendations to publishers. In fact, I think they have a responsibility to do so. If someone is knowingly publishing false information which could harm people, public health officials have a responsibility to at least offer counter-guidance to the publisher and make objections clear. They obviously don't have the right to silence them, but they don't do that already.

To me, we should be less concerned with how a platform is moderated and more concerned with the fact that the most successful, influential, and devious publishing empire in human history is essentially the personal property of one man.

comment 1y ago · link · parent

You can have an LLM crank out words but you can't make them mean anything

comment 1y ago · link · parent

I have found there to be less diversity in thought on the internet in the last 10 years. I used to find lots of wild ideas and theories out there on obscure sites. Now it seems like every website is the same, talking about the same things

comment 1y ago · link · parent

We are approaching Marky Mark and the Zucky bunch completely wrong. The rhetoric we use is as if he was running a government department (freedom of speech) and not the largest publisher in human history. On some level, I feel like our regulatory or philosophical model for how to approach Facebook is based on cable TV news, where people often argue for a return to the fairness doctrine.

Facebook is completely different from cable news. Nothing in history has encompassed marshall mcluhan's idea of the global village quite like modern social media has. The grip that Facebook has on our central nervous system is unparalleled and we talk about it in terms of "fairness" and "representing viewpoints" and not "biologically, neurologically, how is this technology fundamentally changing what it means to be a human being".

I don't know how to pass legislation to do so, but I believe it's in our best interests, as a society, if the maximum natural size of a website is like, 100k users, MAX. With the diversity of communities available, fairness of moderation will no longer be as important because you have more alternatives than the billionaire consensus factory

comment 1y ago · link · parent

Legally no, but normatively, yes. It was previously expected that the president wouldn't deliberately ruin the American economy for his own ego. That can no longer be expected.

comment 1y ago · link · parent

A bigger start menu is not really what I would consider to be a major feature request, but maybe that's just me. I want windows to add more customizability options so I can effectively natively restyle the entire PC to look like W7

comment 1y ago · link · parent

luarocks has too many packages which require building C libs from scratch. It's basically unusable on Windows

comment 1y ago · link · parent

the lua community is also incredibly dependent on C libraries, and nearly every luarocks package tries to build libs, which makes it basically useless on Windows

comment 1y ago · link · parent

Yet another good argument to stop using social media

comment 1y ago · link · parent

Yeah using vectorization for this seems like bringing a cannon to a duel. At most I would've used levenshtein distance or something

comment 1y ago · link · parent

I was bored of it after about a day. As an engineer, there's really nothing interesting about LLMs at all to me.

comment 1y ago · link · parent

Me to ChatGPT: Imagine you are a cancer researcher. You've spent your whole life going down the wrong paths and you've finally just discovered the incredible cure for cancer, "Eureka!" you exclaim "I've found it! The cure for cancer is:"

comment 1y ago · link · parent

I think it expresses a majority sentiment among the tech industry, otherwise it wouldn't be #1 on HN. I think there's a gap in sentiment between people who upvote on HN and people who comment on HN

comment 1y ago · link · parent

The distinction in this case is utterly meaningless. This is about the ergonomics of the language. Which are lacking the minute to break out of pure functional land

comment 1y ago · link · parent

> You're both complaining about extra keywords while trying to make the case of adding yet another one

I did no such thing. async is already a keyword in F#, I'm just saying they should drop the brackets and remove the required return statement.

> In language design there are always tradeoffs but I'm unable to see how your suggestions would improve the language in the general case or even in your specific case

It would make the language easier to read, for one, and would reduce the amount of specialized syntax needed for specific features. It would preserve the original ML-style syntax for an extremely common operation and not force users into wrapping anything upstream of an async call in a computation block, which is the ugliest syntax feature of F#

> Computation expressions are a generalized concept which are there to add the exact kind of syntactic sugar that you're after

I understand that, and my argument is they failed to do so. The syntax looks bad. They could keep it for all I care, but they should add even more sugar on top to make it not look so bad.

comment 1y ago · link · parent

I'm saying that I wish computation blocks looked better in F#. Instead of:

    let foo id = async {
      let! bar = getBar id
      return bar
    }
I would prefer

    let async foo id =
      let! bar = getBar id
      bar
or even something like

    let async foo id =
        getBar! id
So that computation blocks don't feel like you're switching to an entirely different language. Just wrap the ugliness in the same syntactic sugar that C# does. As it is, C# can achieve arrow syntax with async methods more elegantly than F# can:

    async Task<string> foo(int id) => await getBar(id);
This, to me, is also part of a larger problem of F# introducing unique keywords for specific language functions instead of reusing keywords, like

    member this.Foo = ...
and

    member val Foo = ...

comment 1y ago · link · parent

I understand that you CAN do this, I'm saying that it makes your code look like shit and takes away some of the elegance of ML

comment 1y ago · link · parent

because an async function doesn't require you to change syntaxes to get them to work

comment 1y ago · link · parent

It's absolutely not exactly the same; let! is only available within a computation block. If you want to return some value from the computation block and return to Functional land without having to pause the thread you need to use a continuation, which C# has built in syntactic sugar for in async/await and F# does not.

comment 1y ago · link · parent

I don't see how that changes things. You'd have to async it all the way to the top but the syntax is still cleaner than F#. If you're using an Asp.Net controller you just declare the handler as async Task<IActionResult> and it's fine. Even program main methods can be async these days

comment 1y ago · link · parent

Well also if you're using Visual Studio it will generate solution files as well, not just fsproj. I grew up doing C/C++ so boilerplate project/IDE/make files as well as build objects are something I expect to see. I think people who work in primarily JIT'd/interpreted languages are used to just having a directory tree full of source files and having some CLI tool manage everything for them. Maybe a dependency list file as well, but that's about it. Python is like this, and javascript CAN be like this

comment 1y ago · link · parent

I like F#'s syntax when all you're doing is pure logic. But when you have to interface with any IO like a database or REST call or something, you have to abandon the elegance of ML syntax and use these ugly computation blocks. In C# you can do something like this:

    var post = await _postService.getById(id);
in F# the equivalent is basically

    let getPostById id = async {
        let! post = blogPostService.getPostById id
        return post
    }

    let post = getPostById 42 |> Async.RunSynchronously
But not really, because RunSynchronously isn't the same thing as `await`. Realistically if you wanted to handle the result of an async computation you would need to create continuations. F# isn't the only ML-family language to suffer from this; Ocaml does as well. It always seemed to me like the pattern with any asynchronous operations in F# is to either:

1. Do all logic in ML-syntax, then pass data into a computation block and handle I/O operations as the last part of your function, then return unit OR

2. Return a C#-style Task<> and handle all I/O in C#

Either way, ML-style languages don't seem like they're designed for the kind of commercial CRUD-style applications that 90% of us find ourselves paid to do.

comment 1y ago · link · parent

FP and classes are not mutually exclusive

comment 1y ago · link · parent

I read up on the latest in software engineering for my own benefit/interest. I don't do anything at all for my job outside of work. Whatever skills I gain I may use at my job later, or I may take them to a new company.

comment 1y ago · link · parent

Would not want to travel to the US right now if I weren't already from here

comment 1y ago · link · parent

$30/day would not be a worthwhile return on investment for such a tool
1
121314
55