Better HN
topnewbestaskshowjobs
Log inSign up

dailykoder

646 karma · joined Jul 15, 2022 (4y ago) · 331 submissions

Only admins see your email below. To share publicly, add to the 'about' box.
Submissions

comment 2y ago · link · parent

>It's natural for "ADHD" people to work in waves. Long sprints and rest in between. I know it's popular to advocate drugging yourself, but people reach for that too quickly.

>Society is the problem, not them.

I wish it was that easy. It's not. ADHD is an extremely broad spectrum. There are some habits which CAN bring me into hyperfocus, but they don't work all the time.

What do you mean by people reach to fast for stimulants? Coffee and energy drinks basically have the same effect as methylphenidate on me, they just don't last as long.

Before my diagnosis I was always flabbergasted that people were so astonished as I told them that coffee and energy drinks bring me down. Now I know the reason why. But in the end reducing my coffee and energy consumption, but taking meds in a controled way works a lot better for me. But I also know people where meds don't work at all (in a beneficial way). There is really no way to sum up "ADHD people". It's just way to nuanced.

Edit: I am literally sitting in the office right now, hyperfocusing on the weird typing frequency of my neighbour and just can't put on my headphones and start coding. I would even try to hear that with my noise cancelling headphones on. Gotta get up now, take a short walk and hopefully when i come back i can start.

comment 2y ago · link · parent

I do think, or maybe that's just how it works for me, that it doesn't really matter what you do, as long as it is something that gets you going, where you don't have to think extensively, which can be anything.

- Doing something outdoors (hiking, biking)

- Cook my favorite meal (so that I don't have to research anything, but can just start)

- Clean the house

- whatever

The cleaning one is a big meme on some parts of the internet, but for me it does an incredible job. It's easy, you don't have to think much, while it still occupies your brain for some time and in the end you're happy and feel comfortable.

comment 2y ago · link · parent

>There should be a language about as simple as c,

I just recently started to dip my feet into golang and it feels like Go could've been something like that. With it's runtime and garbage collection that obviously disqualifies itself, but it's a really simple and fun language, I think. Something like that as a systems programming language with """easy""" memory management would be tremendous (maybe Zig is like that, but I haven't tried that out yet).

comment 2y ago · link · parent

That's literally what the subtitle says

>The roar of leaf blowers has long been ubiquitous in fall. But as more US cities ban the gas-powered devices, that’s starting to change.

And if you want to be picky about it, yes, that's kinda of an "unnecessary" ban, but you just wouldn't get most people to change their habits

comment 2y ago · link · parent

Why is that important?

comment 2y ago · link · parent

Duh, my head was still not awake. I wanted to write 'it's not even 8 am in europe'.

comment 2y ago · link · parent

That's what i was thinking too, not because it's not already 10th January in europe, but because i doubt you can except a 'thank you' in <8 hours. So I assume this might have been 2023?

comment 2y ago · link · parent

I just learned that last year, too, when my last employer did not have any versioning tool whatsoever, except windows network shares (yes, there are more than enough companies that do it that way. It's the second time i encountered such a horror scenario). So I just set up a bare git repository on the network share and used this to keep my project there. Glad they understood that git does make sense and setup a gitlab server soon after.

After all it seems kinda obvious, but hey.

comment 3y ago · link · parent

That's what I just wanted to say. I basically had the same opinion as the OP for years, but just because I had nothing else than 1080p (usually 24"). About 3 years ago I finally bought a 27" 1440p screen and it felt incredibly much easier on my eyes, instantly. I don't know how much of a difference actual 4k would make right now, that's why I won't make such a broad statement that 1440p is my sweet spot, but it's better than 1080p@24", for me personally.

comment 3y ago · link · parent

uhm, isn't the CPU access in python written in C (mostly)?

comment 3y ago · link · parent

I have the "MoYu Super RS3 M 2022" as maglev version and I love it. Can recommend!

I am not a "real speedcuber" tho. My average is about 40s, but it's a nice cube and I enjoy playing with it.

comment 3y ago · link · parent

You are right and it's probably as "bad" as you make it sound, but we've come a long way. One tiny step at a time. Maybe one day full open hardware will make it to the mainstream. Let's just dream a bit (and work on it)

Edit: I am aware tho, that there will always be some vendor who just copy pastes the open hardware and sells it for cheaper, because they don't have that much R&D cost. And restricting that on whatever level (government, etc) sounds even worse.

comment 4y ago · link · parent

Seeing all those comments it looks like I finally have to get myself checked out. Thought too long about might having it and never got around actually talking to a psychiatrist.

I can focus very well in interviews or exams. They are even fun for me. But when I get the job and I don't have any concrete deadline, it's hard to focus for me and "get things done". Which ends up me thinking I am not good enough and falling into depression again. I can perform when I absolutely have to, but I never figured out how I can make it work outside those environments.

comment 4y ago · link · parent

Musk already admitted that he was very wrong about FSD and that it's not that easy.

Sure his talk was dumb and a lot of people fell for it, but that's just how marketing works.

comment 4y ago · link · parent

Wow, I never really looked at Ada code. Been using VHDL for the past 2 years a lot and when I looked at your code I was like: 'huh strange, this looks a lot like VHDL'.

Turns out both were invented by the DoD.

>Due to the Department of Defense requiring as much of the syntax as possible to be based on Ada, in order to avoid re-inventing concepts that had already been thoroughly tested in the development of Ada,[citation needed] VHDL borrows heavily from the Ada programming language in both concept and syntax. - https://en.wikipedia.org/wiki/VHDL

Maybe I should pick up Ada soon. That could be a fun journey! (I really love writing VHDL)

comment 4y ago · link · parent

You could've gotten the QR-Code on a piece of paper, without a phone (which still is ridiculous that they forced people to use some random QR-Code and ignored the internationally accepted vaccination card of the WHO)

comment 4y ago · link · parent

I always thought it was a Joke/Meme. I saw it come up years ago on 4chan, but now it's everywhere.

comment 4y ago · link · parent

Atleast in germany (almost?) every plan has unlimited messages nowadays. Even the cheapest prepaid plan. People still use WhatsApp, Signal, etc., because of media sharing and easy group conversations

comment 4y ago · link · parent

When I read the original post I was getting nervous, a little angry and wanted to make the same post and mark that claim as wild. But now that I've read your comment I thought a little about my experience here in southern germany.

I recently left Berlin after over 30 years. I have been outside, but not for long to get to know "other germans". And yes, you are right, the mindset here in the south is a lot more narrow minded and what people say about refugees/foreigners is just mind blowing. Which is kinda sad. I like it here, but I doubt I can live around these people for much longer.

comment 4y ago · link · parent

>Leap years occur every 4 years.

Isn't leap year calculation one of the very first things you do in most programming tutorials/schools? I know that a lot of people don't know this, but most programmers should, r-r-r-right?

comment 4y ago · link · parent

X. Just to keep the browser competition alive.

We can't let google win, even if they kind-of have already. It's important to have a choice

comment 4y ago · link · parent

I just want a "dumb", but good and kinda long-range EV.... (that's affordable somehow)

I don't need any big screen or surveillance things. I just want to drive, with a little music and that's it. Nothing more nothing less. Maybe navigation, but even that is not necessary. I have my phone, which works fine.

comment 4y ago · link · parent

This. That's basically what I do too, with a small difference. First off: I usually keep all my text and non-fiction books, but I gave away most fiction. It doesn't matter if I bought it or got it from a public library. A lot of them just go back into another public library or just in front of my doorsteps for people to take em.

There are just some all time classics and fiction that struck me the right way at the right time, but I won't read most fiction a second time, so why keep em?

comment 4y ago · link · parent

Yes, they basically collect everything.

comment 4y ago · link · parent

You could just download the Vendor tools (Xilinx, Intel, Lattice) and start with simulations. They are usually free of charge for private use. Often including their smaller chips. For Xilinx you could, for example, get the Digilent Arty-A7 board, which is based on Xilinx' Artix-7 chip and has plenty of space. There are also free tools for Simulation like GHDL+Gtkwave, but i am completely unsure if there is any that lets you do HLS

FPGA hardware is expensive though

comment 4y ago · link · parent

Xilinx' Vivado works decent on my Ubuntu 20.04 machine (just haven't gotten around to upgrade yet). Been using it since 18.04 or something like that. It's not the best experience, but it gets the job done. For small hobby projects I use Yosys+nextpnr and GHDL+gtkwave for simulation, which can be used nicely on Linux, you just don't have such good debugging capabilities yet.

comment 4y ago · link · parent

Usually it's fairly simple to get your feet wet and a blinking LED. The problem with FPGAs tho is that you basically have to do everything yourself and apparently it's not easy for a lot of people to "get it".

Even tho Verilog and VHDL look like normal programming languages, you aren't actually programming. You are describing hardware/logical circuits. Most things run, by default, in parallel, which you always have to keep in mind. But then there are things like processes which are evaluated sequentially, but they still behave different than a C-program.

You could also use external IP-Blocks to not be forced doing everything from scratch, but they are not always easy to work with.

So my (personal) conclusion is: It's not hard to get it running. You could easily do that. Personally I would prefer to go with Xilinx or Intel chips, just because you have more resources and a kind-of working IDE. Or you could go with some Lattice ECP-5 based chips and use the open source toolchain yosys etc. It can be a super exciting experience, but a lot of people just seem to find it boring. I am personally very grateful that I had an exceptionally good professor in uni that thought us most things.

comment 4y ago · link · parent

A LOT of companies still do. Every bigger company i've been to here in germany has used it somewhere. Some tried to slowly move to git, most didn't, because svn just works and old people don't want to change
1
89101112