Better HN
topnewbestaskshowjobs
Log inSign up

jmacjmac

94 karma · joined Feb 12, 2021 (5y ago) · 28 submissions

Submissions

comment 3y ago · link · parent

Maybe cheaper regions have more users and have higher outage rates

comment 3y ago · link · parent

Nice article! I think eventually you need to move to macros to support multiple key/value types in C. Just leaving some macro implementations for reference:

- https://github.com/attractivechaos/klib/blob/master/khash.h

- https://github.com/tezc/sc/tree/master/map

- https://github.com/troydhanson/uthash

comment 3y ago · link · parent

Can we find stats somewhere, something like number of outages by regions?

comment 3y ago · link · parent

Is there a way to scare them off? Some sort of sound maybe?

5.

A code-search engine that uses GPT-4 to answer questions about your code(github.com ↗)

1 points · by jmacjmac · 3y ago · discuss

comment 3y ago · link · parent

Glassdoor was used to be a very helpful place ~10 years ago. Feels like business model killed it, lost trust of people.

comment 5y ago · link · parent

Then a fair benchmark would be compiling C code with clang -O3 :)

comment 5y ago · link · parent

https://github.com/emmericp/ixy/blob/0e00605be4153b06df06184...

Looks like you're compiling C code with -O2. Does Rust build set -O3 on clang? Did you try -O3 with C? I know it's not guaranteed to be faster, just curious.

9.

C Hashmap Benchmarks(github.com ↗)

4 points · by jmacjmac · 5y ago · discuss

comment 5y ago · link · parent

I think all companies should run office hours, not just individual developers. Many companies I worked for were missing feedback from their user base.

11.

Capstone Disassembler Framework(github.com ↗)

40 points · by jmacjmac · 5y ago · 6 comments

comment 5y ago · link · parent

I didn't mean "more features are better". Sometimes, even a single killer feature is better than many features. Speed might be one of the reasons Iphone's success but how about this : If Iphone's were %20 slower than they were, would it take over the market ? I think it would. This doesn't mean being fast didn't help them. My point is, being fast is not enough all alone but being fast with a good feature set is great.

comment 5y ago · link · parent

Can you backup your apple data somehow? or your Google data?

14.

C Hashmap Benchmarks(github.com ↗)

5 points · by jmacjmac · 5y ago · discuss

comment 5y ago · link · parent

Xiami is widespread brand in many countries because its products are really cheap and looks like this trend will continue for the next years. It's very frustrating to see this. Western world should impose standards to prevent it.

comment 5y ago · link · parent

I think when you don't have a competitor, being slow is okay. People will use your product but otherwise performance matters. Eventhough it never matters as much as your feature set.

comment 5y ago · link · parent

It's not easy to find an English poll result but : https://en.wikipedia.org/wiki/2018_Turkish_general_election

Here, HDP is (in purple) PKK affiliated legal party in Turkey. You can see their support among people in Turkey. All other parties call PKK as terrorist and they are strongly against it.

comment 5y ago · link · parent

Just to clarify, %20-25 of the population is Kurdish in Turkey. In elections, PKK affiliated legal party gets half of the Kurdish votes and other half goes to Erdogan roughly. So, there is no single Kurdish identity in Turkey, more like split between these two. Ofcourse, there is a few percent which is not among these two. So, if you ask is there any Kurdish people in the government, yes there are a lot. Erdogan gets half of the Kurdish votes, so we can say Kurdish Erdogan supporters have enough representation. PKK affiliated party is not in government, because they didn't get enough votes but they are in parliament ofcourse representing their %10 votes.

I don't think PKK cares about Erdogan's Islamic Turkey dream. You don't see PKK or it's legal party saying anything about it in Turkey, I think they mention it only when they are talking to western media :)

In Turkey, there is secular opposition which is rougly %40-50, they stand against Erdogan's Islamic push but they still lack of %50 + 1 votes to dethrone Erdogan unfortunately.

PKK says they want federalism for Kurdish cities, you can advocate for that, it's okay, their legal party is doing that, that's fine. But when you're holding guns and saying my way or high way, that's a big no. So, if they really care about democratic, secular Turkey, they can put guns aside, get together with opposition in Turkey.

comment 5y ago · link · parent

Around %90 of the population in Turkey would call that group an enemy. So, it is not another "Erdogan wants to silence his enemy" case.

comment 5y ago · link · parent

> The Kurdish language and traditional garb were banned

How about nowadays? Nothing is banned yet we still see PKK bombing public buses in our cities. Seriously, when can we call these guys "terrorist"?

These problems were real, yes, Kurdish language was banned, people couldn't say they were Kurdish without any pressure back then but these days are no more. Does "cultural ban happened in the past" justify what PKK is doing now?

21.

The Darwin Kernel(github.com ↗)

1 points · by jmacjmac · 5y ago · discuss

22.

Collection of malware source code for a variety of platforms(github.com ↗)

1 points · by jmacjmac · 5y ago · discuss

23.

Decompilation of the Legend of Zelda: Ocarina of Time(github.com ↗)

12 points · by jmacjmac · 5y ago · discuss

comment 5y ago · link · parent

Double your beloved nickname, yours already had to do that.

comment 5y ago · link · parent

Looks like Boeing will have a hard time back again. Are Boeing 737s flying now?

comment 5y ago · link · parent

Blank screen came first, then I refreshed page, it worked, so obviously there is a problem.

27.

Super Mario 64 Decompilation(github.com ↗)

148 points · by jmacjmac · 5y ago · 44 comments

28.

Minecraft, but I made it in 48 hours(github.com ↗)

3 points · by jmacjmac · 5y ago · discuss