Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xmcqdpt2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
271.
▲
by
xmcqdpt2
3y ago
The reference implementation of BLAS that you should absolutely not use is written in Fortran. The actual implementations are written in C/C++/ASM. That's not to say you should use C yourself, memory management is a lot nicer
272.
▲
by
xmcqdpt2
3y ago
Too much XML? Seriously though what's a decent Java build tool? Hacking on Gradle means having to learn another PL entirely. Maven? Then say I want to publish a library for others to use from their own java project, how do I do that? I
273.
▲
by
xmcqdpt2
3y ago
This is correct. It's easy credit all the way down. Cheap cars (Chevy Spark, Mitsubishi Mirage, Kia Rio) are basically all slowly being discontinued in NA, meanwhile luxury pickups sell like hot cakes.
274.
▲
by
xmcqdpt2
3y ago
On the highway, sure. But generally whenever I see a truck back up in the city, there will be someone outside directing the driver. You don't see lots of truck parking in parallel unassisted on streets with pedestrians and cyclists, bu
275.
▲
by
xmcqdpt2
3y ago
C++/Rust are different because exceptions in those languages are expensive and culturally counter indicated. For the runtime-hosted languages the author is talking about (JVM, CLR, Python etc.), optionally throwing an exception is much
276.
▲
by
xmcqdpt2
3y ago
I'm a relatively young parent and I've had (childless) friends tell me similar things. Some people don't understand how much work it is to keep a 4 year old entertained. The article funnily mentions "pet or child care&qu
277.
▲
by
xmcqdpt2
3y ago
I work with a friend who is Chinese and she often takes notes while learning things. She is at least as fast as I am at longhand writing in English AND she has to translate to Chinese on the fly. Also she ends up with WAY more compact notes
278.
▲
by
xmcqdpt2
3y ago
We are rapidly moving millions of LOC onto Java 21 at $work so that we can take advantage of virtual threads. It's been relatively straightforward as we were already on Java 11 in most places (and on 13, 17 in other projects). The proj
279.
▲
by
xmcqdpt2
3y ago
Kotlin extension methods are basically just type classes but without the theory.
280.
▲
by
xmcqdpt2
3y ago
You mean like RSA SecurID? https://en.m.wikipedia.org/wiki/RSA_SecurID AFAIK they are still in common use in high security environments. I have one for work, but we are supposed to eventually migrate to phone-based tok
281.
▲
by
xmcqdpt2
3y ago
Scala 3 does it too https://docs.scala-lang.org/scala3/book/methods-main-methods...
282.
▲
by
xmcqdpt2
3y ago
We use Citrix at work. I was apprehensive at first but actually it's pretty great. I can just turn off my computer at the office and turn it back on at home and get back the same session. I can move to any stations in the building with
283.
▲
by
xmcqdpt2
3y ago
I think they meant Nix.
284.
▲
by
xmcqdpt2
3y ago
Well if you ran that on a normal processor it would take you less than 10s and that's including the 9s it takes for python to load and numpy to import.
285.
▲
by
xmcqdpt2
3y ago
> It's a "cool idea" but not one you should be doing in practice. I've never really gotten the emacs is "everything". I thought UNIX philosophy was to do one thing an do it well. Emacs isn't a UNIX prog
286.
▲
by
xmcqdpt2
3y ago
i support this. capitals are basically useless anyway!
287.
▲
by
xmcqdpt2
3y ago
You forgot filenames like "CON" or "aux" or "NUL" which are disallowed on Windows entirely. Also having filenames that differ in capitalization only. And hard links, don't use those. And paths that are lon
288.
▲
by
xmcqdpt2
3y ago
You should throw in a few newlines in your path for good measure.
289.
▲
by
xmcqdpt2
3y ago
I mean, I don't see why I should work around legacy limitations of 1970s software today, whenever I use a computer. Otherwise we might as well decide that file names should have no capitalization and be eight characters long, or that p
290.
▲
by
xmcqdpt2
3y ago
It's going to be rolled out as the new standard Scala repl and compiler (instead of the current scalac which is a bit weak on features.)
291.
▲
by
xmcqdpt2
3y ago
Eh, not really. There are exceptions [1] but most journals don't expect the reviewers to even attempt to reproduce results, which makes sense given how specialized and expensive scientific experiments often are. As a reviewer on open c
292.
▲
by
xmcqdpt2
3y ago
> Note that the code may cause a context switch even today if the C code callbacks into Python bytecode (via a __del__ method) and the bytecode is long enough (100 instructions I think). However, that is extremely unlikely and much C ext
293.
▲
by
xmcqdpt2
3y ago
I believe you just pass objects instead, like you would in OOP, and take the hit of pickling and unpickling them every time. If you really want to pass lambdas, you can use a third party library to pickle them https://github.com&
294.
▲
by
xmcqdpt2
3y ago
Yes well if you are distributing to N machines, you probably want to use all M cores on each of those machines. You'll still get a performance advantage from multi-threading. You might think that you can simply spin M processes per mac
295.
▲
by
xmcqdpt2
3y ago
Most C libraries that are often called from python also have bindings for other languages and so at this point should be threadsafe, right? Also even GIL python supports threads so all these libraries will at least be reentrant safe already
296.
▲
by
xmcqdpt2
3y ago
The new official Scala build tool / compiler front end (scala-cli) is amazing, https://scala-cli.virtuslab.org/ The thing that really struck me after years of python is how it lets you out dependencies directly in a co
297.
▲
by
xmcqdpt2
3y ago
I agree the small talk is weird, I prefer when people are direct and message me asking if I know of an opening. I usually check on our internal job bank and give them a referral (if they are good!) IMO it is absolutely not weird to ask conn
298.
▲
by
xmcqdpt2
3y ago
I've been on the interviewer side too and I must say that I had the complete opposite experience. I've never seen a cover letter help a candidate (they mostly don't get read at all), only hurt a candidate chances. I wouldn&#x
299.
▲
by
xmcqdpt2
3y ago
I work in finance and we have lots of mandatory training about to do about "gifts". Game tickets are a specific example used to illustrate corporate corruption...
300.
▲
by
xmcqdpt2
3y ago
When I was still in academia in two years ago, there was plenty of materials scientist, chemists and yes, experimental physicists I worked with who used Word, depending on the journal. Sometimes you have to collaborate outside of physics!
More ›