Hacker Newsnew | past | comments | ask | show | jobs | submit | freitzzz's commentslogin

A similar thing happened at my university in an Advanced Algorithms course. Students failed it so much, the university was forced to make the course easier to pass, by removing the minimum grade to pass.

I believe your case (and many other students) is that you couldn't abstract yourself from imperative programming (python) into logic programming (prolog).


Cool idea, but you need to polish the UI. It looks completely generated by LLM (that's bad)


Author here, UI needs some work indeed. Given that I am a one man show and I'm mainly a backend developer, I did what I could. I've been trying to improve where I can.

What makes you say it is LLM generated? I have used some AI for images/avatars etc but not any of the frontend code/style. Using MUI with React for most of the components.

Open to any collaborators with good design/frontend skills.


> Open to any collaborators with good design/frontend skills.

Are you inviting people to join your business, or is there an open source project to contribute to?


I'm open to people joining the business. At the moment, it is not open source.


imho it’s absolutely fine, and doesn’t look AI generated at all. AI would be way more generic / polished, this design actually reminds me a bit of 10-20 years ago websites, it’s cool and retro in a way.


> this design actually reminds me a bit of 10-20 years ago websites

what do you think the LLMs were trained on


It looks fine to me, but I am fullstack and build apps that need to function.


To me the UI looks clean and fine for a first version, definitely not like a [insert famous website] clone, which is what comes easily with llms.


Hi, sorry to be that guys, I just wanted to make some corrections on what you call your app a "plain html file". Your HTML file loads:

- react app - pwa manifest - tailwind css

This is not at all a "plain html" file.


One small html file, and half a megabyte of CSS and Javascript framework... oh and the html file contains 800 lines of additional Javascript.


is plain html different from single HTML? Because it is a single HTML that you can "Save as" and have one html with the working app.


In my opinion this can't even be labeled as a single HTML file, because it loads external files to complete the app. But back to the question, a "plain html" file doesn't load any external resources and is usually semantically described.


Agreed - which is disappointing.

My firewall shows blocked connections to cdn.tailwindcss.com and unpkg.com


Candid question: why do you block those?


One word answer - security.

Any website you visit could have been compromised and serving malicious content. Upon first visit to a website, I block all connections to domains not in the address bar, then go back in and add rules to allow connections as needed. It doesn't address malicious activity by the site directly, like a server compromise, but does limit non-addressed connections, including ones to local addresses.

For example, a compromise of .google.com which leveraged assets/code from .googleusercontent.com wouldn't initially be able to run, unless I added a rule to allow the connection. Likewise, a compromise of *.discord.com that made a connection to localhost:8983, then tried to send that data to someserver.ru would get blocked and logged. Where this can't protect me is if the server sends the mined data back to itself, then forwards that data on using its own connection.

Ad networks sell to anyone. Malicious content can be injected almost anywhere. Its happened before; it'll happen again. This web browsing hygiene has protected me enough times for me to make it my standard practice.


Centralised assets beget cross-domain fingerprinting and tracking. The extension DecentralEyes tackles precisely this problem.


When people talk about a single plain HTML file, it implies that all markup and code is contained in the file and no libraries are being used


No it doesn't


Yes it does


If you can run the app without any other files and without internet then it’s plain and a single file.


I have a "plain Python file" that only imports TensorFlow.


Plain html is just html, no JS or CSS. This is my purist non-web dev take.


No way you get this with plain HTML, post title is deceptive to the core.


I bet $10 that it’s vibecoded, and it’s such a dirt simple calculator that perhaps it was even done with a single prompt.

The AI just picked react because that’s the most common framework.


That's the first thing I thought when opening it. Sure looks like a "make me an app" response that Claude would output.

I mean nothing wrong with that, I needed a silly calculator thingimabob too yesterday (for some CRC checks on a piece of text) and Claude quickly cooked something up for me.

But I'm not writing blog posts about it, releasing the tool in the wild, and claiming I wrote it. Blegh.


There’s definitely nothing wrong with it normally but then like you said it’s got the blog post and the project basically clones every calculator out there that already exists.

This type of calculator is so common you can even find one on an official US government website.

https://www.investor.gov/financial-tools-calculators/calcula...


Why apologize and do it instead of not do it and no apologize?


Pedantry earns upvotes like bread beggars butter. I don't blame them.


[flagged]


It's a valid point lol. "A single html file" for me is a Ciechanowski page, not something that needs many gigabytes of bloat to compile.


You are that guy. It was obvious that he built some interactive app packaged in a single html file. There's going to be javascript and stuff in there...doah.

EDIT: I wouldn't have expected external dependencies, though.


Gov doesn't care if it made devs happy or not, it cares if the products reached users and more importantly if it made them money


Tried it but it doesn't work on macOS arm64... :(


Hi, author here

The issue isn't socially interacting with any of the users, I wish that was the major pain point. The issue is having to handle e-mails, issues, feature requests, code-reviewing, continuous development, acquiring new users (otherwise project will stale) - all of this after a long day of work and balancing other important issues "non work related".


I feel you! That's why the edit I added to the top of he message (which is what I should have said from the beginning).

Check the Valetudo's project Readme and website, youl'll notice an attitude that I truly believe is the perfect mindset for exposing oneself to the world like a project maintainer does.

Hopefully one day you get the tickle and feel like keeping up working on the project again :) or any other kind of different project that you might feel.

Good luck and thanks for sharing zero-monitor!


I would say that the best benefits are:

- Cross Compilation (even wasm and js) out of the box - Simple concurrency model, similar to NodeJS - Ability to use it on a popular cross platform framework (flutter) - Hot reload capibilities (has JIT and AOT mode) - Strong developer tool chain

All of these are built on top of a language that has a pretty syntax and supports many language paradigms.

The biggest con is the (weak) package ecosystem and community.


I think it's also important generally speaking - not just Dart/Flutter, but really any language ecosystem, to not blindly start adding packages. You'll end up with conflicts and Dart is no exception. Sometimes it is sensible to vendor a library into your own source code tree, or just build it yourself ("Own it").


When making bullet points, I think you have to add a empty line in-between each point so it gets rendered as a list


Hi! How does this differ from Radio Garden?


Users will make their own judgement but I find zero reasons to switch to the amazing Radio Garden.


Function operations are possible in Go like it’s possible in any language that define function in the syntax. But functional programming goes beyond functions, and Go was not designed to support it.

I’m a fan of Go and FP and would love to see someone bridge other FP aspects like monads, in a way that feels natural in Go.


If one were to produce a Clojure analogue to Go, I think that would be pretty huge. Meaning, Clojure is to Java as XXXX is to Golang. Golang has atrocious syntax and - agreed - not really well suited for functional programming. But having a higher level language that could be compiled down to golang and leverage the ecosystem would be quite nice.

Was just talking about this during a 1:1 with a colleague of mine today. It's remarkable that language developers have set out to do clean sheet designs (golang, rust) and somehow managed to settle on gross syntax. If I were desigining a language today it would look and feel like Python without any of the performance hurdles.


> It's remarkable that language developers have set out to do clean sheet designs (golang, rust) and somehow managed to settle on gross syntax.

You are talking of your opinion as some kind of facts. What you call gross syntax is good enough for people to write enormous amount of useful software that millions and millions use daily. The same can't be said for Clojure.


[flagged]


Make sense. You are indeed Opinion leader of your opinions and Thought leader of your thoughts.


I love Go's syntax. If you hate it, please use a different language. Diversity is good, monocultures are bad.


The additional features this tool brings (port enumeration, list usb devices, system info), makes me thing the tool was not designed for good/ethical reasons, but to ease the life of infostealers that are usually distributed via Discord.


It's not even done well.

Say you're building a feature for a password manager to import passwords from firefox. You'd want the the firefox decryption functions to be available as library.

Or say you're building a tool to extract data from broken hard drives, partially recovered filesystems, etc. Again, you'd want to have this available as a library so you can import the functions you need and use them in your own tooling.

Normally you'd expect this package to primarily export a lib with a "cli" subfolder that provides a sample CLI tool that imports the lib.

The fact that this tool requires libusb which is solely needed for the useless list usb devices functionality is extremely sketchy. It makes using this tool legitimately harder and only helps attackers.


[flagged]


In the grown up world where people can hold a respectful discussion, there's a difference between being able to use stock code in your malware and distributing ready-to-be-used code.


You are aware that satellite guided surface to air missile systems are not a mere git clone away? There are good reasons for controlling weapons, while still letting everybody be free to study them.


No one is talking about a satellite guided surface to air missile system.


A weapon is a weapon.


We outlawed sticks because sticks can be used to press the red "do not press" button


Congratulations, we’ve mapped the space of possible harm from mild discomfort to death.


What's the idea behind a satellite guided surface to air missile system? The ground station detects the target with radar, derives a set of GPS coordinates for an intercept, transmits those coordinates to the missile, and the missile guides itself to them via GPS receiver? Seems suboptimal.


Something like that. It’s really only useful when you have to intercept at really long distances, as in ballistic missile defense.


Professionals can assemble their own tools. Why package it up all nice for the skiddies?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: