News for hackers. Stuff that matters.

khoobid_shoma

Ask HN: I experienced an Attack on Telegram and simcards gone!!!

Hello Today, I got a suspicious message from a stranger Telegram user. After some minutes, I opened the notification and only read the message without opening any link. Then immediately, I got an error about no service availability for my simcards. I do not remember the exact error message but it was something like that. I restarted my phone immediately and re-insert the simcards (from...

( Read More... | no comments | 2 points | on HN )
It's great that the implementation is in C and not in less efficient but fashionable languages.
Re:The two types of C programmers (a provocative thesis) on Sunday April 23, 2023 @04:18PM (#35680108)
I am using C++ and Python at work everyday. But, for the personal projects, I always use C. I had a new idea in ML and finally started its implementation yesterday. In the limited time, I made a very good progress which I think was not achievable for me if would have chosen any other language.
Re:Is Google’s 20-year search dominance about to end? on Wednesday February 08, 2023 @06:00PM (#34716854)
I asked ChatGPT that if it can replace Google search engine. It says :

"As an AI language model, I do not have opinions or personal thoughts. However, it is unlikely that chatbots like ChatGPT will replace traditional search engines like Google in the near future. While chatbots like me can provide quick answers to specific questions and engage in conversational interactions, they still have limitations and are not as comprehensive or efficient as search engines like Google. Google and other search engines have access to vast amounts of information and use complex algorithms to deliver relevant and accurate results.

That being said, chatbots like me can complement traditional search engines by providing an alternative, more conversational interface for accessing information. Additionally, advances in natural language processing and AI technology may lead to chatbots becoming more sophisticated and capable of handling more complex tasks in the future."

Re:Notes on Saudi Arabia on Saturday November 26, 2022 @05:54AM (#33751643)
Axiom: Human rights + Oil price = 0
Re:C++20, How Hard Could It Be on Sunday September 25, 2022 @06:19AM (#32970161)
It's easier to say goodbye C++!
Re:Iranian Citizens Charged in Broad Hacking Campaign in US on Friday September 16, 2022 @04:50PM (#32871850)
Propaganda
Re:Fleur – A bloom filter implementation in C on Wednesday July 27, 2022 @07:20PM (#32258369)
Was it necessary to use Ninja?
Re:Endorsed Products by FSF on Wednesday July 27, 2022 @06:12PM (#32257697)
I hope more laptops be listed in the future...
Yeah, that's unfortunate it does not support UEFI out of the box.
Re:Looking at Assembly Code with GDB on Wednesday June 29, 2022 @07:32PM (#31927036)
Still that's C code. Code is an input to the compiler. So, I would not call the code differently just because later a C++ comiler is used. In C++ code, we expect C++ specific features be used.
Re:Looking at Assembly Code with GDB on Tuesday June 28, 2022 @08:49PM (#31915132)
> "Let us consider the following C++ code:"

But, C code is shown. I do not get why people tend to avoid using C name.

Re:Adding Modules to C in 10 Lines of Code [pdf] on Monday June 27, 2022 @07:52PM (#31902441)
The title is a bit misleading. This is about extending C grammar used in D.
Re:Stack Overflow Developer Survey 2022 on Wednesday June 22, 2022 @05:47PM (#31842272)
The numbers do not say what is really better. It just reflects responders' opinions.
Re:Comparing the C FFI overhead on various languages on Saturday May 14, 2022 @08:59AM (#31377492)
I guess it is better to measure CPU time instead of wall time (e.g. using clock() ).
Re:Ask HN: Modern Alternatives to C on Sunday May 01, 2022 @05:59AM (#31223611)
I think C is the best option which is simple, fast and powerful. You need to introduce a separation layer to decouple your core implementation from the graphics, networking... libraries. This makes porting to other OSes or switching to the other libraries easy.
Well, then the same is true for Afganistan. By destroy, I did not mean they have attacked every village.
you wrote: "The United States has the ability to wage numerous simultaneous wars around the world"

An example of those wars is Afganistan. Yes, the US managed to destroy the country but could not win the war. Russia also destroyed Ukraine and probably will not win the war.

Re:Ask HN: What to Do with an Old GPU? on Sunday March 13, 2022 @11:00AM (#30661789)
What happens to the next GPUs you buy?

I have wasted a lot of money buying nVidia GPUs. They used to be quickly outdated for different reasons (e.g. unsupported by the next versions of CUDA). I decided to stop buying new ones until I really really need a modern GPU. Now, that's around 7 years, I am happily away from nVidia GPUs. If needed, I would get a GPU instance on cloud. The same issue is with Apple iPads (my iPad One still looks new but software upgrade is not supported anymore).

Re:Online Payment Processing on Saturday March 12, 2022 @09:39AM (#30651667)
For sanctioned countries, there is a very good chance to start successful Amazon alternaives as e.g. Digikala did in Iran ( https://en.wikipedia.org/wiki/Digikala ).

Anyway, other than crypto solutions (if supported), there is no way to have financial transactions with giant western companies like Amazon. Shipping items is also another issue.

Targeting local customers is easier. Then you can expand the business to the allies countries.

Re:Prefix Sum with SIMD on Saturday February 12, 2022 @09:11AM (#30312949)
I think topics are nicely explained in C and assembly but not C++.
Re:Which programming language or compiler is faster on Saturday December 18, 2021 @09:05PM (#29610692)
IIRC, __restrict__ in clang and g++ does nothing when you write C++ code. It is there just for compatibility with C.
Re:Which programming language or compiler is faster on Saturday December 18, 2021 @02:37PM (#29607800)
I think the C code in the benchmarks are not really efficient. An experienced C programmer does not simulate C++ style memory management if speed matters.

Older »