News for hackers. Stuff that matters.

belgesel

If you try to translate "gelato" to English literally, you can say it means "frozen". While "dondurma" also can be translated as "frozen" to the English. I don't know why Americans called it "ice-cream".

When I see the term "ice-cream", I think of cold white creamy thing on a cone that you can buy from fast food chains. That is different from what we call "dondurma" here in Turkey. That is much softer and more creamy than "dondurma".

Turkish people probably saw the dessert from Europeans. At least that's what Nisanyan says.

https://www.nisanyansozluk.com/kelime/dondurma

Re:NetBSD 10: Thirty Years, Still Going Strong on Monday February 05, 2024 @03:04AM (#39258484)
IIRC the main reason to use FreeBSD instead of Linux was BSD being a lot simpler and have a lot more room to optimize their specific use case.
Re:Rust in Linux kernel is just a beginning on Wednesday October 26, 2022 @04:02AM (#33341021)
Can you elaborate on that, couldn't find the proposal, I want to learn more about it.
Re:Function Dispatch Tables in C (2019) on Wednesday June 22, 2022 @02:18AM (#31832625)
I was expecting some form of benchmark to see if claims about better performance is true.
Re:While posting to Tumblr, E and W keys just stopped working on Wednesday September 22, 2021 @02:48AM (#28613706)
even echo has it $ echo -e "hel\x70"
Re:A Closer Look: How I Created a 248MP Photo of the Sun on Saturday September 18, 2021 @04:58AM (#28574715)
Just out of curiosity, how much time you have before taking the shot? (seconds or minutes)
Re:Why wild foxes led you to treasure in Skyrim on Thursday August 19, 2021 @03:53AM (#28231442)
I believe it is their new rule. But it shows up only if you are using twitter for a while as logged out. Clear data from browser and it goes away, but will eventually show up again.
Re:Intel C/C++ compilers complete adoption of LLVM on Thursday August 12, 2021 @10:56AM (#28157104)
Isn't that the other way around? I thought clang was trying to support all gcc extensions to be able to build Linux kernel.

I would rather see both of these compilers to stay competitive to push themselves higher.

Re:A Teenager's Guide to Workplace Ethics on Thursday July 22, 2021 @06:50AM (#27917419)
For those who don't know, this is a follow-up story of A Teenager's Guide to Avoiding Actual Work which got the attention on HN lately.

https://news.ycombinator.com/item?id=27206552

Re:Download speeds: What Do 2G, 3G, 4G and 5G mean? on Thursday July 01, 2021 @02:36AM (#27696846)
I do use 1000^n, but I agree that most people tend to use 1024^n. 1000^n kind of makes more sense since "kilo, mega" etc. are the actual SI prefixes for multiples of 1000s. I don't know who or what caused this chaos but 1000^n is definitely more human friendly.
Re:Download speeds: What Do 2G, 3G, 4G and 5G mean? on Thursday July 01, 2021 @02:27AM (#27696795)
You are right. In 5G, data packets goes through less tunneling than it was before. Although there is less tunneling, 1ms latency for "end to end" or from user device to the Internet doesn't sound realistic. I have no real life measurements but if I would have to guess, it should be around 5~10 ms.
Re:Firefox Release 89.0 on Wednesday June 02, 2021 @03:10AM (#27365845)
I didn't want to whine about the changes. But why did they move "Restore Previous Session" button into History in the menu. That was by far the most used button in the menu for me. Now I have to click 2 buttons.
Re:Modern C and What We Can Learn from It [video] on Saturday May 22, 2021 @01:28PM (#27248566)
Suppose I have the following struct and functions.

  struct my_struct{int a; char private[10];}
  void * get_struct_field_nonconst(struct my_struct *ptr)
  { return &(ptr->private[0]); }
With these elements you are only allowed to give non-const pointers to read or write inside private field. In order to truly apply this to const pointers (no casting etc.) you will need another get_struct_field() function but defined as this.

  const void * get_struct_field_const(const struct my_struct *ptr)
  { return &(ptr->private[0]); }
This will work but it is ugly. Here _Generic keyword allows you to write these functions but use them with a common name. Such as get_struct_field(). And that would be something like this:

  #define get_struct_field(ptr) \
  _Generic((ptr), \
  const struct my_struct * : get_struct_field_const, \
   struct my_struct * : get_struct_field_nonconst) \
  (ptr)
Hope this would help!
Re:Modern C and What We Can Learn from It [video] on Monday May 10, 2021 @08:53AM (#27105440)
Presenter doesn't give any information about it. But I think it is not a type defined in C standard and presenter's own implementation.
Re:Modern C and What We Can Learn from It [video] on Monday May 10, 2021 @08:48AM (#27105390)
Although I disagree with some part of the presenter's ideas. I learned struct initializers and _Generic keyword from the presentation. So that is a great win for me. Now I can write safer code with the const and non-const pointer types.

Suppose that I want to return a pointer to a field inside of a struct. Either I had to write const and non-const versions of the same function and use them which brings unreadable code. Or I would have to define argument as const and return non-const pointer which defeats the purpose of const in the first place.

This keyword allows me to use same function name with const and non-const pointers.

Re:How Tech Loses Out on Tuesday May 04, 2021 @05:04AM (#27035439)
The guy has an article discussing 5G Telco business.

5G: The outsourced elephant in the room - https://berthub.eu/articles/posts/5g-elephant-in-the-room/

And also HN Discussion - https://news.ycombinator.com/item?id=26843068

Re:The Armenian Genocide (1915-16): In Depth on Saturday April 24, 2021 @02:58PM (#26927402)
I think people need another 100 years to forget about it. It's just a toy in the hands of politicians. And now they choose to use it against Turkey. Some day this whole thing will be forgotten.

Nobody living today are responsible or should be responsible for it.

Re:The Armenian Genocide (1915-16): In Depth on Saturday April 24, 2021 @02:04PM (#26926956)
I want to know what will this recognition does to your own country both in short and long term. Will Turkey pay a fee for the genocide or will they have to just give up from Ağrı?

This subject was always used against Turkey in political confrontations for years. Turkey has been better and stronger ally to USA. This recognition is nothing but a political warning against Erdoğan and his latest actions against USA and also this will make Armenian residents in USA happy.

IMHO nothing will change for us (Turkish and Armenian folks living in Turkey), don’t know about Armenians living in Armenia.

So why are you happy?

Re:Discord ends deal talks with Microsoft on Wednesday April 21, 2021 @03:30AM (#26886437)
I believe before Discord got the high ground there was a program called Curse. I wonder if it is still functional.
Well, most of them includes heavy macros that is designed to be optimized by the compiler. So calling a macro from another language with different syntax does not sound easy.
Rust is catching many developer communities' (kernels, game engines, browsers etc.) attention lately. I have never used it but considering to use it in the future.

But I am wondering how will they make it work with underlying Linux mechanisms. One of the first challenge that comes to my mind is RCU or any other memory reclamation functions. Will they not use these memory mechanisms at all or call them from Rust source code?

A question to parallel programming experts. Can we assume that a task that is well seperated to perform on single core is always better than multi-core?

I meant using multiple instances working on single core vs. single instance with multi threads.

Re:From Vim to Emacs in fourteen days (2015) on Friday March 12, 2021 @06:44AM (#26434717)
this is nice. Just like bash, emacs has so many features hidden under it's hood.
Re:Future Plans for Autotools on Monday January 25, 2021 @09:56PM (#25911880)
Anybody with intention to work on older systems can work with older releases of Autotools, while newer releases can focus on much more needed features.
Re:LibreSSL Languishes on Linux on Wednesday January 06, 2021 @01:16AM (#25655076)
I believe it is still true. OpenSSL uses dirty stack bytes for randomness and it causes valgrind to warn for invalid access.
Re:How to seriously read a scientific paper on Wednesday November 04, 2020 @11:04AM (#24990213)
I think authors also taught about that and wrote the paper for newbies. Almost every new researcher is reading from top to bottom.