Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xmcqdpt2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
331.
▲
by
xmcqdpt2
3y ago
No force can be shielded fully, but that's fine, because we can make the other forces smaller using distance of time averaging or averaging over many repetition etc like we do in other physics experiments. A scattering experiment in wh
332.
▲
by
xmcqdpt2
3y ago
This is super interesting! The meet-in-the-middle approach described in the article reminds me of the direct multiple shooting method to solve boundary value problems, https://en.m.wikipedia.org/wiki/Direct_multiple_sho
333.
▲
by
xmcqdpt2
3y ago
During my PhD (not in CS) I met a CS PhD who was working on parallel algorithms. At the time I was struggling with large-scale simulations and HPC stuff so I got very interested. I asked him what programming languages he used. "Oh I do
334.
▲
by
xmcqdpt2
3y ago
Github Issues is full of confounding factors though. Lots of Issues mean that there are bugs but all software has bugs. It also means that there lots of users and that users feel that raising an issue is a good way to get something fixed, w
335.
▲
by
xmcqdpt2
3y ago
I spent so many hours in Noctis! The graphics were amazing when compared with other games I could run on my P133, and it was developed by just one guy.
336.
▲
by
xmcqdpt2
3y ago
The correct balance depends on how critical the piece of code you are working on is, and how much you want to write unit tests for it. In cases where the type system can encode the invariants you care about, it can be worth the extra comple
337.
▲
by
xmcqdpt2
3y ago
Wave was so cool. I used it to work collaboratively on projects with a friend and it was just great. I was really excited about our wave enabled future. Alas... The simultaneous editing became integrated into Google Docs than in MS Office b
338.
▲
by
xmcqdpt2
3y ago
Cock also means rooster in English, so really one might say it's perfect in both English and French. Interestingly, coq is from Latin coccus (rooster) and cock is from Germanic kukkaz (rooster). I don't think there are many words
339.
▲
by
xmcqdpt2
3y ago
This seems like a classic case of criti-hype, https://sts-news.medium.com/youre-doing-it-wrong-notes-on-cr... Facebook is a master of criti-hype, in that it has convinced many people that it holds the secret dangerous knobs
340.
▲
by
xmcqdpt2
3y ago
> Isn't point (5) kind of moot with virtual threads? It might be but we don't know yet. I have yet to see a large scale application written with virtual threads (for the good reason that it is barely out of development!) I'
341.
▲
by
xmcqdpt2
3y ago
Kotlin's standard collection are "immutable collections" only in the sense that they are read-only. Adding an element to a Kotlin immutable set copies the whole thing, https://github.com/JetBrains/kotlin&
342.
▲
by
xmcqdpt2
3y ago
Yes, thanks for the clarification!
343.
▲
by
xmcqdpt2
3y ago
They are related, but different concepts. An HKT is the type of a type constructor. An example described in another comment in this thread is if you want to define the map function on any collection C (in pseudo-Java), C<B> map(
344.
▲
by
xmcqdpt2
3y ago
Personally, when I was reviewing papers I would always look at the code, and often try to run it. I've spotted issues before, nothing like academic fraud but more like "forgot to say in the paper that this value is truncated befor
345.
▲
by
xmcqdpt2
3y ago
You can do it using a runtime with scheduling and fibers. The issue is that you want to be able to save the entire thread stack cheaply so that you can switch to another task at an async yield point, and then go back to your previous stack
346.
▲
by
xmcqdpt2
3y ago
In my thankfully short time at a company that operated this way, there was no upside either. No decent engineer would stay there because there was nothing to build and management would always just contract out everything. Management, which
347.
▲
by
xmcqdpt2
3y ago
Do you have access to the program that reads the data? If so, you can use a debugger to step through the parser for the file, even if symbols are stripped [1]. You can breakpoint on syscalls, such as when the file gets opened [2] and then s
348.
▲
by
xmcqdpt2
3y ago
Sure and I'll be happy to use it when available assuming I'm still working with JVM applications then. Meanwhile I'll still be stuck with fastutil-style templating for another ten years and it kinda sucks. (Scala has speciali
349.
▲
by
xmcqdpt2
3y ago
One might say that Real OOP has never been tried.
350.
▲
by
xmcqdpt2
3y ago
Martin Odersky is just a very nice guy and I get the impression that he isn't keen on saying "no", which is how you end up with a language that allows you to use xml tags inline (no longer supported in Scala 3), https:/
351.
▲
by
xmcqdpt2
3y ago
The Vector API exists to write SIMD code in Java. This is an intrinsic inserted by the JIT compiler. HotSpot intrinsics are always written in assembly or compiler IR because they are inserted in the generated assembly. Arrays.sort() could v
352.
▲
by
xmcqdpt2
3y ago
Java high-performance programming would be significantly improved by generics over primitive types. Writing performant code in Java feels like writing Fortran or C. You end up using libraries like fastutil, which is "generic code"
353.
▲
by
xmcqdpt2
3y ago
The Java Streams API does various functional maps and reductions and can do them in a multithreaded fashion, when asked. I don't think it makes sense to parallelize by default. Although Java is used to write all kinds of business appli
354.
▲
by
xmcqdpt2
3y ago
Luckily for us, we don't need to actually understand this C++ code to use AVX 512 for faster sorting. We can just do Arrays.sort(arr) in Java!
355.
▲
by
xmcqdpt2
3y ago
There is no additional programming complexity in using Scala's Map vs Java's HashMap. They are both maps with keys and values. The Java one you update in-place var m = new HashMap<K,V>() m.add(k, v) the Scala on
356.
▲
by
xmcqdpt2
3y ago
So do most algorithms papers that have benchmarks in them. It's not always useful though, because information about how this algorithm compares to some other one on a PDP-10 doesn't necessarily translate to modern machines.
357.
▲
by
xmcqdpt2
3y ago
Agree. "Golden age of UX" is the same age of UX that came up with the hamburger menu? Give me a fucking break. That "golden" age was only gilding the UX researchers themselves. I want my Mac OS 7 back!
358.
▲
by
xmcqdpt2
3y ago
I worked with HDF5 a bunch for physics simulation and it was extremely fragile. Performance was good on a distributed hard drive when reading and loading blocked data over many machines but files would corrupt whenever a compute node would
359.
▲
by
xmcqdpt2
3y ago
To shore up the FX value of the USD in an emergency, https://en.m.wikipedia.org/wiki/Foreign_exchange_reserves Most other countries hold USD for this purpose, but of course the US can't do that. Note that this has
360.
▲
by
xmcqdpt2
3y ago
Most elements are stable, especially most of the ones we deal with, and they fall in clear periods and rows based on chemical valence. This is true for main group elements and mostly true for transition metals. I think the periodic table wa
More ›