Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
patrec
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
541.
▲
by
patrec
6y ago
> Since my duty cycle for a Mac Mini is rather less than 20%, the economics even of on-demand instances immediately make sense, What are you doing with macs that naturally works out at ~one continuous 24h period per work-week on average?
542.
▲
by
patrec
6y ago
Which protege?
543.
▲
by
patrec
6y ago
Is there an argument for ambivalent function definitions other than "keyword" recycling (possibly in a mnemonic fashion)? I hadn't seen Dzaima's APL, thanks! I like that he made a processing binding; APL always seemed li
544.
▲
by
patrec
6y ago
So if you have odddouble.m with function y=odddouble(a,b) y=2*x+1 endfunction you can do >>> h = under(@(x) 1/x, odddouble) >>> h(3) ? If so, yeah, I agree you can implement under in m
545.
▲
by
patrec
6y ago
What on earth are you talking about? If I add `def bar...` to a file foo.py in my PYTHONPATH, it does not suddenly become available in my interactive session, I need to import it first. Further if I change foo.py even importing it again in
546.
▲
by
patrec
6y ago
Matlab is much lower friction than python. You write a function, using nice linear algebra syntax. Already python is worse: you do a bit of import boilerplate and write linear algebra in a gimped notation. You call the function. Not so in
547.
▲
by
patrec
6y ago
I have used matlab quite a bit in the past, but not the symbolic math toolbox: can you make a "normal" function definition symbolic retroactively? I thought you need to define the function explicitly as symbolic to start with, or
548.
▲
by
patrec
6y ago
Here is toy example: I define a function f(x):=1+x 2. J will automatically work out the inverse for me, as you can see below: f=:(1+*&2) f 1 2 3 4 3 5 7 9 (f^:_1)f 1 2 3 4 1 2 3 4 (f^:_1) 1 2 3 4
549.
▲
by
patrec
6y ago
If you think APL is less expressive than Matlab, you probably haven't really grasped it, IMO. Having said that, Matlab is optimized for manipulating matrices and replicating the notation of normal linear algebra and has excellent imple
550.
▲
by
patrec
6y ago
I'd say yes, provided you complement the better mental model this course will give you with a reputable cookbook list of how to do X in practice (maybe start at https://latacora.micro.blog/2018/04/03/cryp
551.
▲
by
patrec
6y ago
Not being overweight is nowadays a prime status marker, so you can absolutely show it off! Once you start shaving off 4g at a time, it's probably time to switch to gear though.
552.
▲
by
patrec
6y ago
Only garbage like autotools or CMake generates Makefiles, all remotely sane build systems (including the various bazel/blaze derivatives) do away with make, which even sucks as a low level abstraction.
553.
▲
by
patrec
6y ago
Ugh, sorry, I misread that. The workaround I would recommend on iOS is just turn javascript off in Safari and install another (Safari-skin) browser like Chrome for the times when you need javascript -- or vice versa, depending on what your
554.
▲
by
patrec
6y ago
You can assign a keyboard shorcut to that easily (I bound it to Cmd+Shift+J and find it super-handy): https://support.apple.com/en-gb/guide/mac-help/mchlp2271/mac If someone knows how to achieve the same
555.
▲
by
patrec
6y ago
Firefox more or less had a money printing machine. Google gave them about half a billion per year for the last half decade (the last financial statement is for 2018). They verifiably burned through billions of dollars over the last decade (
556.
▲
by
patrec
6y ago
For clicking convenience: https://www.cs.cmu.edu/~kmcrane/Projects/DDG/ (the link above is broken since HN includes the ]; in the URL).
557.
▲
by
patrec
6y ago
This is why I qualified with "general-audience" -- I have no doubt that different industries/companies etc worked out vocabularies to optimize costs, or even that there were some common shared codes. But did the vestigal tele
558.
▲
by
patrec
6y ago
China does not need random US engineers. It needs a comparatively small pool of people who have the specific know how that China currently lacks and it can probably afford to pay them some large multiple over the US market rate. Why would a
559.
▲
by
patrec
6y ago
C++ completely dominates games, browsers (and a few things you don't list, such as competitive programming). It is certainly not marginal in the other areas you list either, but were do you get the weird idea that most operating syst
560.
▲
by
patrec
6y ago
Yes? If you write zero or low allocation code in Java you pay a price for working against the language and you also lack several tools for writing fast code that C++ provides you with (as well as a bunch of useful abstractions), but your de
561.
▲
by
patrec
6y ago
Is there any evidence this book ever saw widespread use or are we looking at the 19th century equivalent of one of these extremely money saving inventions of late 20th century tele-shopping? Even if general-audience coding schemes like this
562.
▲
by
patrec
6y ago
Isn't it 1000MB/s now? Anyway, a decent consumer grade 500GiB SSD that will give you ~5GiB/s is in the ~$100 ballpark. If you take an io1 or io2 volume and crank up the IOPS you will get at most 1/5th of that throughput,
563.
▲
by
patrec
6y ago
I wonder whether anyone ever used one of the many tasteful words-are-money-saving options under the Births Section (and if so, how the recipient felt about it): Confined this morning, Boy, both doing well -> Ampulla Confined
564.
▲
by
patrec
6y ago
Sure, as long as your non-garbage-collected language from ten years ago had memory safety (and general lack of UB footguns), first class IDE support, excellent introspection and profiling facilities and a large potential hiring pool of elit
565.
▲
by
patrec
6y ago
Why did your system dynamically allocate memory in the first place? High speed messaging sounds like an area where it should be doable to figure out at startup what resources you need to meet your latency and throughput requirements and the
566.
▲
by
patrec
6y ago
You know, hedge funds can afford to hire, and in fact in many cases do hire, good programmers. So not every financial institution that uses java does so because its programmers suck.
567.
▲
by
patrec
6y ago
What concrete problem do you see with it? [edit: BTW you can quite easily implement common-lisp style backquote in clojure as a macro, because just like scheme clojure does not share common lisp's defect of baking unquoting into the re
568.
▲
by
patrec
6y ago
Debatable. Java's dominance in the data engineering space rests a bit on clay feet: it's unsuitable for scientific computing in a number of ways: for example you can neither write fast nor clean numerical code in java and it does
569.
▲
by
patrec
6y ago
What made you pick guix over nixos?
570.
▲
by
patrec
6y ago
What would be less weird (and why)?
More ›