HNHacker News
TopNewBestAskShowJobs

Davidbrcz

854 karma · joined January 15, 2016

submissionscomments
Davidbrcz··on Ask HN: I'm Looking for a New and Different Browser, Can You Help?
Are you against using Webkit ?

There many smaller and alternative multi platform browsers using it for rendering, such as Midori or QupZilla.

Davidbrcz··on A simple makefile is a unicorn
Just use cmake or scons. In 2018, you should not hand write a single makefile !

A simple cmake/sconcs build file will be as simple as the one shown (or even simpler !) and it will definitively will be easier to integrate external dependencies if you have to.

Davidbrcz··on Ask HN: Non-programming activities to improve coding skills?
My answer might be a little off, but even if programming skills are essential, they are not the only thing that matter.

Being able to speak in public, express clearly your ideas (either orally or written), being able to consider the opposite point of view, take into account the past and history when making a decision or a judgment are (IMO) essential skills.

To be more at ease when speaking publicly, you could play in a play or do some impro. Joining a debating club will also help in that and will force you to consider an opposing point of view. Reading and writing, analyzing arguments will help to better structure your arguments. Reading about history and being curious about everything will help to open your views before making any decision.

Otherwise: category theory (abstract maths), the link between physics and computation (see Feynman's lectures on computation).

Davidbrcz··on Have any accessible sci hub link
Sci-hub's wikipedia page (always?) has up to date links. Current domains are hk,la, tv and tw.
Davidbrcz··on Texttop – An interactive X Linux desktop rendered in TTY and streamable over SSH
Why ?
Davidbrcz··on Ask HN: What book would you recommend for learning basic database theory?
Just Google up database theory. You'll find a lot of lecture material about it with often references books.
Davidbrcz··on Ask HN: Viability of selling expertise in languages for academic purposes
Learning how to use the fundamental tools of your field is part of the job, whatever field you are in.

It is generous of you to help her with R (which is not used in all fields). Latex is mandatory for any scientist in STEM, she won't escape it. Moreover, Latex is not at all like programing, content and Latex instructions are mixed. It may help to think about it like an empowered HTML/CSS for scientific writing.

I think your idea is doomed for several reasons:

- Becoming an expert to the point you can sell your skills to scientists will take you a lot of time

- Money is going thin in labs, it is unlikely that anyone has a budget line for this kind of thing

- As a scientist, I would be very suspicious of someone contacting me for this kind of work. I would suspect an attempt to steal ideas and/or work.

- There are (were?) people in the labs to help scientists: research associate.

Davidbrcz··on Barliman – real-time program synthesis to make the programmer's life easier
You could read "Syntax-Guided Synthesis" by ALUR and al. There is here (http://resources.mpi-inf.mpg.de/departments/rg1/conferences/...) a presentation he did at a summer school last summer.
Davidbrcz··on GameDev Tycoon G'yaaaarrrrrrr version
For those who down voted, please read this: https://cdn.netzpolitik.org/wp-upload/2017/09/displacement_s...
Davidbrcz··on GameDev Tycoon G'yaaaarrrrrrr version
Most of the times, pirated games would not have been purchased (same as movies,..). So they don't have any financial consequence on the company
Davidbrcz··on Ask HN: What are the points to remember while doing code review?
https://mtlynch.io/human-code-reviews-1/
Davidbrcz··on [dead]
How is that not a scam ?
Davidbrcz··on Ask HN: What to do when compiling a large C/C++ solution to remain productive?
Keep your less productives tasks for those moments: reading mail, browsing HN,... Or read some blog posts, books
Davidbrcz··on Ask HN: Learning C++ or Python
Definitively Python for a learning programming. C++ is a huge language, full of traps and pitfalls. It is an expert friendly language.
Davidbrcz··on Paradise Papers: Dear Tim Cook
Want to prevent this ? Use your ultimate weapon, your wallet. Start boycotting Apple products (all other companies that appeared in the leak such as Nike).
Davidbrcz··on Delete your Code
Good pieces of code are written twice. The first one is always a draft, no matter how big it gets. The second one benefits from hindsight and experience you gained when writing the first one. Once the second piece of code reaches the same level of functionality, you simply start over the process for the new/missing features.
Davidbrcz··on What is the best use of Hacker News?
Is it available somewhere ?
Davidbrcz··on Std::visit is everything wrong with modern C++
Quick survey

    std::variant<std::string,bool> v {"abc"};
Q: Which type is used ?

(Since I'm asking a question, you know there is a gotcha). Answer: "abc" is const char*, which can be converted to bool and is picked because the way variant is designed.

Davidbrcz··on Std::visit is everything wrong with modern C++
You can't argue that the current C++ syntax is verbose and cumbersome.

99% of the time, I work on the full container, why not providing an overload which let me write at least

    bool batch_failed = std::any_of(jobs, 
        [](const auto & job) { return job.failed();}
    );
Then, lambas are verbose. I would like to have a simpler syntax like for simple lambas (no capture, single expression in the lamba body). job could be automatically typed with const auto&, or you could write it yourself if you wish.

     job => return job.failed();
And a the current one, which is more verbose, for more complex lambas (capture, several expressions in the body)
Davidbrcz··on Why Functional Programming? It's the Composition
The title is truly misleading. I was expecting a mildly interesting post on FP and got a great one on composition with monads !
Davidbrcz··on Ask HN: For a dependable desktop Linux, is there anything other than Ubuntu?
Fedora. It works well with up to date software and packages.

I've been using it for years without any major problem.

Davidbrcz··on Ask HN: Why continue to use Firefox?
- To promote and foster diversity between browsers. You don't want to end up with a new Internet Explorer called Chrome.

- Google has already its hands on so many things. If I can prevent it from controlling my browser, I'm good.

- I HATE chrome UI and look & feel

- With FF, I can syn my tabs between several devices while hosting my own sync service .

- Google is not beyond Firefox. I like more Mozilla than Google.

Davidbrcz··on Ask HN: Why did you learn lisp and how did you go about learning it?
Emacs for scripting. It was fun as I was able to develop my own functions that could operate within the editor.

It took me some time as it was my first encounter with functional programming. The unusual syntax (coming from C++) didn't help at the beggining.

But it grew on me and today I think lisp is one the most beautiful thing ever invented.

Davidbrcz··on C compiler undefined behavior: calls never-called function
On that subject: CppCon 2016: Michael Spencer “My Little Optimizer: Undefined Behavior is Magic" (https://www.youtube.com/watch?v=g7entxbQOCc)
Davidbrcz··on What would you do if you get a basic income of $2500 every month for 1 year
If I knew beforehand it would only be for 1 year, I would keep working, maybe a little less (80% of a full time position for instance).

I would save/invest a certain amount, give a fair amount to charities and go out more to restaurants...

Davidbrcz··on Ask HN: What are some great Wikipedia articles?
https://en.wikipedia.org/wiki/Wikipedia:Quality_articles
Davidbrcz··on How more productive did you get due to a change of programming language?
time taken 6o developp a feature, number of people required to do so, memory consumption and hardware needed, but also number of bugs found in production, feedback from dev,...
Davidbrcz··on Ask HN: If both branches of an if expression are known …
No, the test might have side effects. If you are 100% sure there are none, then yes.
Davidbrcz··on Ask HN: Why don't news articles cite academic sources clearly?
Because people dont care, because they lack scientific rigor . Also, it would allow curious readers to see that they usually write something that is partially wrong
Davidbrcz··on Ask HN: Are there any open source alternatives to Alexa, Siri, etc?
Stéphanie https://slapbot.github.io/
← PreviousPage 6 of 9Next →