HackerLangs
TopNewTrendsCommentsPastAskShowJobs

em-bee

10,255 karmajoined قبل 8 سنوات
software developer / trainer / mentor / CTO on demand

contact me for mentorship, training or project work opportunities:

embee+hn at societyserver dot net

Submissions

Red Programming Language: Static linking support

red-lang.org
78 points·by em-bee·قبل 11 يومًا·27 comments

It's 1996 All over Again on the New GIMP 0.54 Flatpak

fossforce.com
2 points·by em-bee·قبل 14 يومًا·0 comments

Ask HN: Which Free Software or Open Source Project Needs Help?

10 points·by em-bee·قبل 26 يومًا·2 comments

Original Hello World in "B" Programming Language - Computerphile [video]

youtube.com
1 points·by em-bee·قبل 3 أشهر·0 comments

We have a 99% email reputation, but Gmail disagrees

blogfontawesome.wpcomstaging.com
364 points·by em-bee·قبل 3 أشهر·309 comments

Don't overthink electric car charging (we should be doing it differently)

youtube.com
2 points·by em-bee·قبل 3 أشهر·0 comments

Google is killing authentic websites and I made it worse

youtube.com
4 points·by em-bee·قبل 5 أشهر·3 comments

Murena HIROH: premium smartphone with de-Googled Android & privacy kill switches

liliputing.com
1 points·by em-bee·قبل 10 أشهر·0 comments

[untitled]

1 points·by em-bee·قبل 10 أشهر·0 comments

Think twice before abandoning X11. Wayland breaks everything

gist.github.com
36 points·by em-bee·قبل 10 أشهر·36 comments

comments

em-bee
·قبل ساعتين·discuss
wait, how did the scala team end up with only 2 years of professional programming experience? did the original developers all leave?
em-bee
·قبل 3 ساعات·discuss
what i expect to change with LLMs is the benefit you get from automated testing. which is really what LLMs need. tools that tell you something is wrong may not speed up a human developer, but they will allow LLMs to make corrections by itself until the warnings go away. so while it may not be worth it to a human developer, it may well be worth it for an LLM.
em-bee
·قبل 8 ساعات·discuss
breaks are not work time. you are entitled to breaks, but unless they are quick bathroom breaks they don't count as work, and in places where you have to stamp in to start work you actually have to stamp out for each break. at least that's the law in germany. since germany is one of the countries with stronger employee protection globally, i can hardly imagine any country offering more than this.
em-bee
·قبل 8 ساعات·discuss
only if it's cheese or tofu.
em-bee
·قبل 9 ساعات·discuss
is it really an alternative? i'd rather do a 4 hour night shift without breaks than working 8 hours like this in the heat. what am i supposed to do with a 45 minute break? if i am a bricklayer or example, i'd still be stuck on a badly cooled construction site. seems totally not worth it to me. even worse considering that normally breaks are not paid.

if we assume that this is the middle of the day, so i work 2 hours normally, then 4 hours with 45 minute breaks and then another 2 hours normally, i might as well just work 2.5hours normally, take a 3 hour break and then work another 2.5 hours normally.

so no, really, i don't see any benefit in that arrangement.
em-bee
·قبل 10 ساعات·discuss
an attack is not personal because it encompasses the whole person, but because it targets an aspect of that person. for an attack to be not personal it would have to target a category of people.

"software developers are stinky managers" is not a personal attack. neither is "managers are stinky", but "you/he/she/etc are something" is personal. it may not be an attack though if it is still part of a generalization: "you are a stinky manager because all software developers are stinky managers". but the article is not making that generalization, and therefore it's not just personal but also an attack.
em-bee
·قبل 12 ساعة·discuss
take 45min breaks for every 15 minutes of work

i guess you meant the reverse?
em-bee
·قبل 13 ساعة·discuss
it was posted on may 28th. that's a 6 weeks warning. still not ideal, but hopefully they made sure that users got notified directly too.

btw "garnix" means "nothing" in german. translating the article to german makes for a funny reading: "nothing is shutting down, nothing is open sourced" ;-)
em-bee
·قبل 13 ساعة·discuss
just curious, can you point to more details to what happened with scala3?
em-bee
·قبل 13 ساعة·discuss
i read that too, but i am highly skeptical. i wish the author would investigate that claim and provide some actual examples substantiating it.
em-bee
·قبل 14 ساعة·discuss
my understanding is that the [python] community has not yet aligned on typing nearly as well as the TS community has

this is undoubtedly true.
em-bee
·قبل 15 ساعة·discuss
what did you move to, and why?
em-bee
·قبل 15 ساعة·discuss
python has optional types too now. if you could get the LLM to produce typed python would it be any worse than typescript?
em-bee
·قبل 15 ساعة·discuss
exactly, i find the article a wierd take. i would have thougt that being able to catch errors at compile time is the assurance that the LLM generated code is actually decent.

so does this mean that the LLM writes code that is so good that the compiler does not find any more errors?

or is it due to the nature of haskell that makes it hard to write bad code to begin with?

or just that because the haskell compiler catches more errors there is less broken haskell code for the AI to train on?

and what does that mean for the switch to python? if the python compiler/interpreter doesn't catch as many errors do we even know that the code is good?

or is this more like the belief if the LLM can generate good haskell code, surely it can also generate good python?

what's the solution here? speeding up the haskell compiler? if that were easy, would it not already have happened?

personally i still don't trust LLM code generation. i didn't learn haskell yet, but what i hear about it makes me more likely to trust that LLMs can generate good haskell code than python.

i believe the future in LLM code generation is code that can be proven to be correct. proving code correct has been a research topic at some point.
em-bee
·أمس·discuss
and new shells are developing features to handle structured data like json:

here is an elvish shell command that converts a freetube playlist from json into a list of urls grouped by author:

    for i (cat 'freetube-playlist-favorites.db' | from-json)["videos"] { 
      mkdir -p $i['author']
      print http://youtu.be/$i['videoId'] >> $i['author']/get }
here is one to get a list of devices connected to my zerotier network

    curl -s -H "Authorization: token <redacted>" "https://api.zerotier.com/api/v1/network/<redacted>/member" | 
      all (from-json) | 
      order &key={|d| put $d[name]} | 
      each { |device| 
             var t = (printf "%.0f" (/ $device[lastSeen] 1000))
             if (> 20000000 (- (date '+%s') $t))  { 
               print (date -R --date='@'$t) $device[config][ipAssignments] $device[name] "\n" } }
those are not scripts saved in a file. i run these directly on the commandline. ignore the elvish syntax, focus on the ease of accessing values from the json data. those are just two examples, though i recently discovered an ls replacement that optionally outputs json, that will be interesting to use.
em-bee
·أمس·discuss
in larger/popular projects the reputation tends to eventually become public as we can see in this thread. for smaller projects read the discussions and responses to bug reports.
em-bee
·أمس·discuss
the point is that such language attracts people who have a high tolerance for such language. not all of them are going to be assholes, but tolerating assholes is also bad.
em-bee
·أول أمس·discuss
Is calling someone a "stinky manager" a personal attack?

yes!
em-bee
·أول أمس·discuss
linus torvalds was eventually told that his tone was not acceptable and that he needed to learn to tone it down. linux grew despite linus tone, not because of it.
em-bee
·أول أمس·discuss
you are right, to many people feel far to comfortable writing like this. but my reaction is to double down and be more active to counter this kind of expression and make it clear that this is not welcome. it worked with linus torvalds.