Better HN
topnewbestaskshowjobs
Log inSign up

dicroce

967 karma · joined Mar 25, 2011 (15y ago) · 336 submissions

Submissions

comment 3y ago · link · parent

Cool. I made one of these too. Open source though... github.com/dicroce/revere

comment 3y ago · link · parent

A single binary is nice...

Perhaps second place is using the rpath origin linker option to create a relocatable application.

comment 3y ago · link · parent

You have had the exact opposite experience of me. Everything I have wanted to work has worked.

comment 3y ago · link · parent

This cartoon misled me until I realized that there is no observation without touching. Even "seeing" a particle implies that you bounced a photon off of it... and since we're talking about observing individual particles it makes sense that bouncing a photon off of it would have an effect on it.

comment 3y ago · link · parent

One thing to consider: Even if you prefer solar, you still need to initially make those solar panels and that is an energy intensive process.

I think we're still probably 20 years away from commercialization of this, but I still think this is a very big deal.

comment 3y ago · link · parent

I think you're being too hard on him here. It looks to me like both sides fucked up in a number of ways.

comment 3y ago · link · parent

This is crazy valuable. Just the other day I had an idea that needed this!

comment 4y ago · link · parent

yeah this didn't seem right to me either

comment 4y ago · link · parent

people taking short segments of code that are implementations of common algorithms and claiming those as "copied" by copilot are wrong. it didn't copy, it learned and wrote.

comment 4y ago · link · parent

also, only testing public interfaces is perfectly fine and may actually be preferable as it leaves you free to refactor internals freely without breaking tests.

tbh unit testing is a balancing act between reaping code quality benefits and bogging yourself down with too much testing updating.

comment 4y ago · link · parent

For the first few months of my first job in 1996 people were using dialup internet.... and I spent a lot / most of my time reading documentation from a giant set of manuals that came with the devkit we were using.

comment 4y ago · link · parent

I encountered a case a few years ago where a query failed because the database had been opened read only but it needed to recover a journal. The solution was to just never open the database read only... but this seems less than optimal. Anyone else seen this?

comment 4y ago · link · parent

Im actually surprised they are that fast.

comment 4y ago · link · parent

It's not that you cannot use Genetic information to accurately predict certain aspects of someone's future... It's that genetic information tells you nothing about human will, and human will can overcome a lot.

comment 4y ago · link · parent

The OG social network is GeoCities.

comment 4y ago · link · parent

Clicked expecting a giant robot... was disappointed.

comment 4y ago · link · parent

So, I did this personal project a couple of years ago where I downloaded a big recipe database and then did a bunch of parsing / cleaning code to reduce each recipe down into a list of ingredients... Then I did an analysis of the ingredients to determine which were the most effective ingredients (frequently used in recipes) as it occurred to me that that this could be used to create a shopping list that enabled the most home cooking. The resulting list was ingredient list was fascinating... Salt & Oil were right at the top. Anyway, you might want to steer peoples shopping in the direction that enables the most meals for them.

comment 4y ago · link · parent

I came up with a clever one recently. So, I had a stream of records of fixed size where I will receive exactly one per second. I needed to keep approximately two weeks of this data. I would also need to be able to query the records by time. Anyway, the idea is: use modulus on the file creation time to calculate a write position. Use the location of the current write position to locate query starts and stops. The file then has zero space overhead. Is this something known or did I actually invent something here? If this is my invention I'm open to hearing suggestions for a cool name!

comment 4y ago · link · parent

The guy who dug the water well on my parents land used a dowsing rod. Interestingly, he chose to use the dowsing rod in the lowest point of the meadow... which probably saved him a few feet of drilling.

comment 4y ago · link · parent

I'm 6'6"... I wish you would mention the countries so I can make sure to never go.

comment 4y ago · link · parent

For me, a working net positive fusion reactor means a ton. Here are some things you could do with free (or essentially free) clean energy:

1) desalinization to provide water to everyone. 2) massive carbon capture 3) convert the world away from liquid fuels - and for the cases we are unable to do that, make the fuels from captured atmospheric carbon.

comment 4y ago · link · parent

Please do this for b+trees. :)

comment 4y ago · link · parent

California rolls are legal? Why didn't I know this for the 45 years I lived in California? :)

comment 4y ago · link · parent

Odds these structures can help explain away dark matter?

comment 4y ago · link · parent

I have written a couple of mmap() based time series databases. In my case, these were databases for holding video. For my uses, mmap() has been great. I strongly agree with your comment. Maybe mmap() isn't the greatest, but it has worked for me.

comment 4y ago · link · parent

Damn, that is awesome. We need an AI to convert text instructions into this format.

comment 4y ago · link · parent

I've been a software engineer for 25 years and I think people overly romanticize this attitude and we should properly fix things more.

comment 5y ago · link · parent

Well, you shouldn't deceive yourself about your goals. I don't think a goal that involves other people is inherently bad. Nothing wrong with wanting to impact the world IMHO.

Unless you create a game that has infinite replayability and you find playing it fun you're right that game development is ultimately FOR someone else. But there is nothing wrong with that.

Ultimately you have to find a project whose goal is worth the effort. Honestly part of why I got out of game development was because I wanted some more reasonable projects.

comment 5y ago · link · parent

Here are my side project tips:

1) As the article states, work on your side project first in the morning before your work. You will be too tired after work. Yes, this means your not really giving 100% at work. Hopefully your good enough at your job that this is OK.

2) Create little task lists, with short little tasks... Then knock those tasks out one by one. If you find yourself procrastinating about some task do another little task first, then later make a quick spur of the moment decision to go do the procrastination task.

3) It's OK to dream about the best case scenario, but also have realistic side goals: "worst case scenario, I've built a cool engine for my next project."

4) DO create the right amount of tests (too little and your going to be creating buggy crap code, too many and you're bogged down updating your tests constantly)... get a feel for what your right amount is.

5) Don't type so much, think more... think through designs... use paper, be messy and redraw... all of this is faster than building the wrong thing.

6) I think its OK to be quirky. Make the thing YOU want to make. This is another way to monetize: your mental health is worth a lot and personally I find bringing shit that I want to exist into the world just the way I want them to be is a good trick for staying happy.

comment 5y ago · link · parent

Here is another link if the main one isn't working:

https://www.thedrive.com/the-war-zone/42480/mysterious-steal...

12345
12