Readit News logoReadit News
jpfr commented on An Update on Pytype   github.com/google/pytype... · Posted by u/mxmlnkn
almostgotcaught · 4 months ago
> while I agree that bytecode-based analysis has its drawbacks

abstract interpretation of the bytecode like y'all were doing is the only way to robustly do type inference in python.

> https://github.com/google/pycnite

there's also https://github.com/MatthieuDartiailh/bytecode which is a good collection

jpfr · 4 months ago
MOPSA does abstract interpretation for both C and Python. It even works across language boundaries.

https://mopsa.lip6.fr/#features

It also has more abstraction domains than „just“ the type of objects.

jpfr commented on An almost catastrophic OpenZFS bug and the humans that made it   despairlabs.com/blog/post... · Posted by u/r4um
jpfr · 6 months ago
The problems with C are real.

At the same time, the tooling has gotten much better in the last years.

Clang-analyzer is fast enough to run as part of the CI. Newer gcc also give quite a few more warnings for unused results.

My recommendation to the project is to

- Remove all compiler warnings and enable warning-as-error

- Increase the coverage of unit tests to >80%

That is a lot of work. But that's what is required for high-criticality systems engineering.

jpfr commented on Implementing Logic Programming   btmc.substack.com/p/imple... · Posted by u/sirwhinesalot
jpfr · 7 months ago
Microkanren et al are nice! But it is becoming sort of a mono-culture where other approaches get ignored.

Before Microkanren, the rite of passage for logic programming was to build a Prolog using Warren's Abstract Machine (WAM).

https://direct.mit.edu/books/monograph/4253/Warren-s-Abstrac...

jpfr commented on The Canadian C++ Conference   cppnorth.ca/index.html... · Posted by u/BiraIgnacio
appleaday1 · 7 months ago
$1500 for a conference ticket :o in Canada? Woah. How do the locals afford this?
jpfr · 7 months ago
They don‘t personally.

It’s typically a training event paid by the employer.

jpfr commented on My favourite fonts to use with LaTeX (2022)   lfe.pt/latex/fonts/typogr... · Posted by u/todsacerdoti
flenserboy · 7 months ago
Quite fond of kpfonts. As much as I use XeTeX because of OpenType, I find myself going back to PDFLaTeX so I can get the benefits of Microtype. I tried some of my docs through LuaTeX, but the results, while fine, were still inferior to the two options above.
jpfr · 7 months ago
Microtype support for LuaTeX doesn't look so bad. At least on paper...

https://tex.stackexchange.com/questions/654089/microtypograp...

jpfr commented on Finding paths of least action with gradient descent (2023)   greydanus.github.io/2023/... · Posted by u/E-Reverance
jpfr · 8 months ago
This is corresponds to Chapter 1.4 of SICM (Structure and Interpretation of Classical Mechanics).

Although SICM doesn't expose the underlying optimization method in the library interfaces. The path is represented as polynomial. I'd have to check if they also do gradient descent.

https://groups.csail.mit.edu/mac/users/gjs/6946/sicm-html/bo...

jpfr commented on Christianity was always for the poor (2024)   jacobin.com/2024/03/chris... · Posted by u/YeGoblynQueenne
ThePowerOfFuet · 8 months ago
Europe is not just for engineers.
jpfr · 8 months ago
Of course not. But you might get paid only a 50% salary for a PhD in the natural sciences (or liberal arts). Different fields have different cultures in that regard.
jpfr commented on Christianity was always for the poor (2024)   jacobin.com/2024/03/chris... · Posted by u/YeGoblynQueenne
rolandog · 8 months ago
Are you going to back those wild claims with some facts, links or how-to's? I would very much like to go study a second degree, a Master's, or a PhD but I fear I can't take several years off work to just study (who'll pay for living expenses?).
jpfr · 8 months ago
Are you an engineer?

Come to Europe. PhD candidates are not treated as students. They are treated as adults, and get the salary of an (entry-level) engineer with a master degree.

You get paid a living wage to do a PhD in most countries actually.

If this is about (your) kids? Send them to Europe for higher education. Many universities with great international ranking have virtually no tuition. But they can be quite competitive in terms of getting a passing grade.

jpfr commented on A startup doesn't need to be a unicorn   mattgiustwilliamson.subst... · Posted by u/MattSWilliamson
zwnow · 9 months ago
It's also connected to so much bureaucracy that you almost need to hire someone for that alone, because you wont have as much time for your actual business. Founding a company in Germany is so much unnecessary paperwork its crazy. Single handedly the only reason I will never try it in my home country.
jpfr · 9 months ago
I just founded in Germany. The paperwork is … okay.

Not much more crazy than tax returns or internal accounting you need to do in any jurisdiction.

But yes, running any organization is a lot of work.

jpfr commented on "Hands off working COBOL code" –protest sign in NYC   old.reddit.com/r/pics/com... · Posted by u/davidmurphy
edgineer · 9 months ago
I see two meanings: 1. He's protesting DOGE's reignition of the SSA codebase overhaul 2. He's making a joke that you don't dare touch a running legacy system because you'll break it

He probably means the second, but the first was my initial thought (I hear COBOL programmers make upwards of $1000/hr). Fixing these old systems has been on my mind.

jpfr · 9 months ago
Given the context he means the first.

u/jpfr

KarmaCake day1690March 5, 2014View Original