News for hackers. Stuff that matters.

petr_tik

Re:Show HN: We Built the Fastest Spreadsheet on Friday March 01, 2024 @04:09PM (#39566831)
Are you hiring or will you be later in the year?
Re:Automating Reminders on Saturday November 25, 2023 @08:32AM (#38413374)
Automate a reminder to perform manual work, if you cannot automate the output.
> You will need other skills to distinguish you from other candidates. Could be a PhD, or being good at grinding leetcode problems, a recognized expertise, a prestigious degree, domain specific knowledge and so on.

I agree that listing Haskell or OCaml on one's CV isn't enough. I think this holds the same way for other languages, at least in the company where I interview.

To the people who are interested in solving problems using functional languages. You should apply, even if you think you are not part of the "selective" in-group like PhD or language expertise

> Some places who use those languages have additional requirements (e.g. PhD, competitive interview process, math background, domain knowledge).

One data point - I get paid to solve problems by writing OCaml code. I am a self-taught programmer with a linguistics undergrad degree.

I hope this helps others who are interested, but are feeling insecure because of the stereotype that one needs a PhD to write programs in a particular language.

Re:Making the GOV.UK Front end typography scale more accessible on Wednesday December 14, 2022 @07:41PM (#33993245)
What about running the fastest Covid vaccine rollout in Europe and helping Ukraine resist the invasion to preserve their sovereignty?
Re:Pingora, the proxy that connects Cloudflare to the Internet on Wednesday September 14, 2022 @01:51PM (#32840714)
does your company have any public information about this? Blogs, job descriptions with numbers, twitter threads?
> My assumption is that future machines will have more cores than we have today on average, so I'm optimizing mold for such computers.

From the manpage of mold-1.3.0, I get the impression mold is designed to scale up to 32 cores, but not more.

  man mold | rg -C2 32
       --threads
       --no-threads
               Use multiple threads.  By default, mold uses as many threads as the number of cores or 32, whichever is the smallest.  The reason why it is capped to 32 is because mold doesn't scale well beyond that point.  To use only one thread, pass --no-threads or --thread-count=1.

Is this correct or does the manpage need to be updated?
Looking further into the future and the advent of io_uring in Linux, would you consider special-casing Linux IO ops to use io_uring or do you not expect any speedup there?
> This sounds like brexiteer project.

Given that the UK has left the EU, couldn't you call every trade deal or cultural exchange with a non-EU country a Brexit project?

Even if it is, what is wrong with that? The people of Britain voted for Brexit and now need their elected officials to deliver, which motivates projects like these

Edit: to clarify, i live in London and i didn't vote for Brexit. Regardless of the outcome, I consider it a national security issue and a productivity boost to have cheap energy collected from a diverse set of sources from solar plants abroad to domestic nuclear energy plants and off-shore wind turbines.

If you live in Britain, would you really prefer Britain stop investing in projects like these, just because there was an election result you disagreed with?

Re:Lapce – Fast open-source code editor on Thursday March 17, 2022 @04:23PM (#30715487)
> we are really proud to have got it working at all

On the contrary, the rust crate ecosystem and tooling means a lone developer can compose specialised libraries to produce a working artefact that scratches her own itch. Such productivity is the opposite of getting something working at all.

Trying to build an OSS cpp project or even worse, use an OSS Cpp library in your own project is more along the lines of "getting something working at all". Every third-party and some enterprise-internal Cpp libraries require one answers the following questions:

- how do I build the damn thing?

- how do I run the tests?

- how do I use the library? Vendor into the repo? apt install?

- what APIs does the system/library provide?

- where can I find the documentation and examples?

- how do I set up code completion?

- how do I know am using the library interface correctly?

- how do I know I didn't violate any invariants/safety guarantees?

Compare with the list of dependencies across the Cargo workspace members.

https://github.com/lapce/lapce/blob/master/lapce-core/Cargo....

https://github.com/lapce/lapce/blob/master/lapce-ui/Cargo.to...

https://github.com/lapce/lapce/blob/master/lapce-rpc/Cargo.t...

The cost of adding a new rust dependency when measured by the number of questions you need to answer beforehand is nearly constant. This means a layman can be more productive in rust.

Re:Rust-analyzer joins the Rust organization on Monday February 21, 2022 @04:50PM (#30421096)
I think some of those extensions rely on drastically different language primitives absent from most other languages.

eg. https://github.com/rust-analyzer/rust-analyzer/blob/master/d...

Rust has a built-in macro marker for tests. I suspect rust-analyzer uses this fact when it searches all AST nodes with the #[test] marker that contain a call to the symbol in question for the implementation.

So adding the related tests interface to other languages would require similar AST-level primitives.

Re:Async Rust in Practice: Performance, Pitfalls, Profiling on Wednesday January 12, 2022 @06:56PM (#29914655)
Can you please shed some light on rust's adoption at scylla given the cumulative team expertise in Cpp and unsafe programming like thread-per-core architectures.

In my experience so far, highly proficient Cpp programmers tend to find rust constraints overly restrictive, because they kind of internalise the borrow checker and are comfortable enough to bend the rules sometimes.

how receptive are fellow scyllians (is that the term?) to rust? how much scope is there for future projects to be in Rust over Cpp?

Thanks for the honest and detailed write-up!

Re:“Modern” C++ Lamentations (2018) on Wednesday January 12, 2022 @05:18AM (#29904497)
you might find clang-check useful.

https://clang.llvm.org/docs/ClangCheck.html

you will need a Compilation Database (CDB) in a compile_commands.json file. I know CMake knows how to generate one, but the fact that other build systems don't shows how fragmented and user- unfriendly the cpp ecosystem is.

I am not American and don't know how much coverage of European/World news an average American consumes (without US-centric commentary).

It's also worth noting that earlier this week, this came out as confirmation of insider trading by the policy makers, who are even less elected than Erdogan https://www.ft.com/content/b899a77f-9853-4d20-ad84-21848b7e7...

Re:ClickHouse, Inc. on Monday September 20, 2021 @02:18PM (#28596949)
worth keeping in mind that Yandex and russian technology companies in general are used to running lean and profitable operations so unfathomed in the land of 0% interest rates and VC money on tap. If they continue as they are now (15 people) and convert customers like Cloudflare into paying engagements, there is nothing stopping them from being profitable.
Re:Twilio, Asana to List on Long Term Stock Exchange on Thursday June 24, 2021 @07:00PM (#27625028)
To which extend do you think market fragmentation (as a result of reg NMS) is part of the problem?

If i understand your reference to "hidden liquidity" correctly, you have simple order types and when compared to other venues.

Wouldn't it be better for price discovery, if all US equities were traded in one continuous limit order book instead of across a dozen venues, each with its own funky order types and quirks?

if you agree, i cannot help but think about this xkcd https://xkcd.com/927/

I differentiate between preventions and cures (not at all qualified in medicine - feel free to correct me).

If Bolsonaro called it a cure, this still falls in my bucket of (early) "treatment". I don't participate in Brasilian society, but that still sounds to me that Bolsonaro was promoting HCQ as a _cure_. I can conceive that he was (erroneously) promoting cures, while still signing contracts for vaccines (preventions).

IIRC, HCQ was promoted as an early treatment, not a replacement for the vaccine.

This original article is about vitamin D and I agree with GP that I never saw claims that vitamin d alone can sort this out. I’m sure you can find any bunch of freaks on the internet, I was mainly following medical practitioners and select elected officials in this.

For me vit d was about improving general levels of immunity with the methods easily available at the time to minimise the death toll, not completely eradicate the virus.

Re:Ask HN: Who is hiring? (April 2021) on Thursday April 01, 2021 @11:54AM (#26662122)
I was told that a CS degree is a hard requirement for software engineer applicants. If that's still the case, it would be helpful if you added it to the job listings.
Re:Improving Shell Workflows with Fzf on Tuesday March 30, 2021 @12:50PM (#26637006)
I concur.

I saw this tool to find pytest cases after I implemented my own simple fzf shell function that uses bat for preview. https://github.com/dbaty/testfinder

I also implemented simple bash functions to:

+ Select a CMake target to build

Extract all add_executables defined in the CMakeLists of my project directory and pipe the fzf selection to cmake to build

+ Find and sort (by mtime) all compiled executables placed in the cmake build directory

It can be hard to remember the path of the executable produced by cmake, so i find all executable files in the cmake build dir, ls -alh, sort them by mtime (you want to execute the most recently compiled binary) and pipe to fzf

Any time I pipe something to grep, I think if this could become an fzf-based command. Highly recommend people do the same with their workflows.

Re:Extracting the abstract syntax tree from GCC (2015) on Sunday March 28, 2021 @06:07AM (#26609167)
While clang and LLVM is the set of compiler libraries that people write and extend developer tooling in:

* clangd

* clang-tidy

* clang error messages

* mlir

And others

Re:EU vaccine rollout severely lags behind on Monday March 22, 2021 @08:56PM (#26549606)
Even if the UK was threatening AZ with an export ban, they didn’t force AZ to accept those terms. AZ could have just said no and made the U.K. government look incompetent and unleashed media scrutiny on BoJo.

Yes, having the industrial base is part of the attraction of the UK for pharmaceutical companies. As is having a skilled workforce and a reliable system of laws.

I’m rejecting your original point about the U.S. and U.K. doing the same thing, which they aren’t.

Re:EU vaccine rollout severely lags behind on Monday March 22, 2021 @08:42PM (#26549496)
How did the UK govt (not the private Swedish-British company AstraZeneca) show itself to be an unreliable partner? Be as specific as possible.

I want to get your view and if I think it’s valid, I want to pass it onto my MP, to put democratic pressure for the UK to maintain its status of a rules-based society.

Re:EU vaccine rollout severely lags behind on Monday March 22, 2021 @08:30PM (#26549407)
Individual member states can approve their own vaccines. Look at Hungary. Italy wants to use and manufacture the Russian vaccine, but the EMA hasn’t approved it yet. Why not?
Re:EU vaccine rollout severely lags behind on Monday March 22, 2021 @08:26PM (#26549375)
The U.K. did not do the same as the US.

Don’t conflate the ability to negotiate carefully with banning exports. The private company AZ signed a contract with the British govt according to which they can export once they have delivered the agreed doses to the U.K. the faster they deliver on their commitments, the faster they can start exporting. No one forced them to sign the deal and no one in the UK is banning exports of the vaccine.

Re:GitHub, fuck your name change on Wednesday March 17, 2021 @08:53AM (#26490392)
It was 13% according to the 2011 Census. https://en.wikipedia.org/wiki/Ethnic_groups_in_London#Ethnic...

We are still waiting for the results of the current census. Where did you get the 44% figure from?

Older »