News for hackers. Stuff that matters.

joiguru

Re:Show HN: Fast Random Library for C++17 on Monday June 02, 2025 @11:42AM (#44160011)
Very interesting work!

Did you guys get a chance compare with [1]. These seen to be the standard for high-performance not Crypto RNGs.

[1]: https://github.com/DEShawResearch/random123

Re:Ask HN: Who wants to be hired? (August 2023) on Tuesday August 01, 2023 @11:50AM (#36957640)
Location: Virginia, USA

Remote: Yes

Willing to relocate: Yes

Technologies: C, Python, Javascript, HTML, CSS, SQL, Python ML and DL tools, Distributed systems, High performance computing (MPI, OpenMP, OpenACC)

Résumé/CV: Available on request

Email: parantapa at the popular google email service

Education: PhD in CS

I am a general purpose systems person.

I have significant experience developing distributed systems and HPC tools, some of which are backed by state of the art ML/DL methods.

I also have experience prototyping web based UIs to interact with the said systems. However, I am not a frontend developer. The frontends I build are intended to be polished/remade by experienced frontend teams.

Re:Proposing a Struct Syntax for Python on Wednesday June 14, 2023 @02:29PM (#36330392)
Which Python 3.10 and static type checkers much of the benefits of algebraic data types is already available [1].

[1]: https://stackoverflow.com/questions/16258553/how-can-i-defin...

Re:U.S. firm Cogent cutting internet service to Russia on Friday March 04, 2022 @04:34PM (#30560906)
There are two primary criticisms of this move in this thread:

C1) This is just hurting ordinary Russian citizens and serves no other purpose. I empathize strongly with the Russians. But I also empathize with the Ukrainians. Since Russia has nuclear weapons, the only thing rest of the world can do is impose sanctions. Sanctions work in the long run, but they take a long time to show effects. Ukrainians do not have a long time. All of these moves will cumulatively amplify the unrest among common Russian people, giving Putin less time to sit back and let his plan go to work. Will these be enough? Only time can tell. But ignoring the impact of secondary and tertiary effects for the primary negative effects is short sighted.

C2) This is just virtue signaling. Virtue signaling may be a component of this move, but this is business for Cogent. They make money moving data, and Russian money has lost a lot of its value. So I am not convinced this is just virtue signaling, there is definitely a business component.

Re:Ask HN: Grep like tools for full text search? on Saturday January 29, 2022 @08:31PM (#30132776)
Because grep is not a "full text search tool".

Full text search [1] is different from regular expression search.

[1] https://en.wikipedia.org/wiki/Full-text_search

Ask HN: Grep like tools for full text search?

Hello,Like many in this community, I maintain my notes in text files. I am looking for command line tools that I can use to index and search them.Are there existing tools that do that? My google skills are are not producing good results.Thanks

( Read More... | 8 comments | 9 points | on HN )
Re:On Receiving my Certificate of Loss of Nationality on Thursday October 14, 2021 @02:39PM (#28868173)
Filling out tax forms and FBAR requirements were a pain.
Re:How to fit any dataset with a single parameter on Wednesday September 29, 2021 @04:57PM (#28699840)
One theoretical objection to this idea is that distances measured have an accuracy limit of Planck length (1.616e-35 meters). So if your number needs more precision then "just mark" step can't be done.
Re:Rejected internal job applicants are twice as likely to quit on Friday September 03, 2021 @12:48PM (#28406543)
Surprising-ness is a not a good metric to measure social/psychological science research by. Often a statement and its opposite can be intuitive.

If the opposite result was stated here one could have easily come up with many "intuitive" explanations.

Re:Nvui: A NeoVim GUI written in C++ and Qt on Sunday August 29, 2021 @09:28PM (#28352051)
What would be the benefits of this over neovim-qt?
Re:Banach-Tarski and the Paradox of Infinite Cloning on Sunday August 29, 2021 @02:33PM (#28349257)
In regular natural language, cutting the ball into 5 pieces implies cutting 5 contiguous pieces.

If I say a cake is cut into 5 pieces, no person will consider that each piece contains parts from all parts of the cake.

Re:Banach-Tarski and the Paradox of Infinite Cloning on Sunday August 29, 2021 @02:20PM (#28349141)
"cut the ball into 5 pieces" is not the best description. A better one is: 2a. Split the ball into infinite pieces 2b. Divide the infinite pieces into 5 groups
Re:Moving beyond “algorithmic bias is a data problem” on Friday August 20, 2021 @03:03PM (#28250064)
The basic idea is as follows.

Lets say you are building an ML model to decide whether to give someone insurance or not. Lets also assume your past behavior had some bias (say against some group). Now ML model trained on this past data will likely learn that bias.

Part of modern ML focus is then to understand what bias exists in data, and how can we train models to use the data but somehow counteract that bias.

I did the same, for the last 10 years. And now I don't remember 90% of what I did.
Re:Julia's multiple dispatch explained with Pokemons on Wednesday July 21, 2021 @12:12AM (#27902248)
Do you have a citation for this? My google searches have led me to believe this to not be true; see [1]

Here is the relevant quote from [1]: "In the context of julia though, compile time type simply do not exist ...."

[1]: https://discourse.julialang.org/t/claim-false-julia-isnt-mul...

Re:Julia's multiple dispatch explained with Pokemons on Tuesday July 20, 2021 @11:52PM (#27902150)
One point I have read repeatedly is that Julia is aimed at High Performance Computing (HPC). Another argument I have read repeatedly is how object oriented programming (with its single dispatch) is bad for HPC because of pointer indirections leading to cache misses. This leads me to conclude Julia will be much worse (than well written C/C++) due to its multiple dispatch.
I am a researcher, and this seems incredibly useful for me. Will definitely give this a try when Linux builds are available.

One feature request that I would suggest is synctex support. I can see this to be being useful when writing a paper using LaTeX as well.

Honest question. Why not just use C/subset of C++ with a template language like Python+Jinja2 for meta programming?

Code generation is already popular with popular C++ libraries like protobuf and in game dev.

Re:Launch HN: Emerge (YC W21) – Monitor and reduce iOS app size on Wednesday February 03, 2021 @11:23PM (#26022551)
Performance is the currency which you trade for ease of development, new features, etc.

Ignoring performance comes at a cost to you (server side resources) and your users (device resources). This is why generation after generation devices get more powerful and slower (from user point of view).

It is up to you to find out which point in the performance vs new feature/bugfix tradeoff gives you maximum value.

It is important to acknowledge that this is a conflict between two ethical ideologies: Deontology/Kantian ethics vs Utilitarian ethics. The Deontological argument is that free speech is good, and any effort to curtail it would lead to a domino effect which will be disastrous. The Utilitarian argument is that this curtailing of free speech is acceptable as the alternative is causing more harm than good. Both ideologies have their limitations and criticisms, and there doesn't seem to be any clear winner.
Re:Pip has dropped support for Python 2 on Saturday January 23, 2021 @11:12PM (#25889146)
Self contained containers (like singularity) have come up to fill this gap. Since a few years back we have started investing in creating these containers at the end of every project, as it is becoming increasingly hard to depend on dependencies remaining available online indefinitely.
Re:Johns Hopkins Coronavirus Resource Center on Wednesday March 18, 2020 @11:43AM (#22617864)
UVA also has a nice Covid19 monitoring dashboard https://covid19.biocomplexity.virginia.edu/dashboards
Re:Working with Binary Data in Python on Monday December 07, 2015 @07:08AM (#10688897)
While I understand the ease of use pure Python provides, I think when manipulating real binary or in memory data, a little bit of C would really simplify and speed things up.

Writing raw C extensions can be a pain, but with Cython or CFFI using C from Python has become extremely easy.

Re:Anatomy of a system call, part 1 on Friday July 18, 2014 @07:19AM (#8052460)
Fascinating language pedantry.

Older »