Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nu11ptr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
301.
▲
by
nu11ptr
3y ago
I'm not suggesting they rewrite. I'm questioning if Java was ever the best choice for this application in the first place. They are using Java as if it were C++. Perhaps it would have been better to write it in C++ in that case? I
302.
▲
by
nu11ptr
3y ago
Keep in mind the JNI libs are platform specific. That means available platforms are a function of what the JRE runs on AND they have built the shared lib for (and bundled in to the jar)
303.
▲
by
nu11ptr
3y ago
I mean no disrespect to the authors, but this seems like an extremely painful way to write an application. How common is it to write Java apps this way? It seems like there must have been a better language choice than trying to work agains
304.
▲
by
nu11ptr
3y ago
It has been a while, but yes, there were a lot of them and I forget most. It made it kinda pointless to me that the language was "easy" when the code felt so brittle (Null pointers...really?). One weird thing that always goofed me
305.
▲
by
nu11ptr
3y ago
Dynamic Island, USB-C and camera enhancements make me glad this is my upgrade year (I have a 12). I will probably grab the base Pro model for $200 more due to even better camera though, but I would be pretty happy with the 15 regular as wel
306.
▲
by
nu11ptr
3y ago
> 1. Interrupting the program to sweep, resulting in unpredictable performance. See my comment regarding "less predictable latency" (although new advances are making for much more predictable latency - see some of the work done
307.
▲
by
nu11ptr
3y ago
Yes, it has a borrow checker which restricts some valid code and occasionally makes you jump through hoops and write in a different style. Also, a garbage collector that is state of the art (bump allocation, generational, and compacting) is
308.
▲
by
nu11ptr
3y ago
I think #1 needs to be expanded to imply what it DOESN'T have as well: 1. No null pointers 2. No exceptions
309.
▲
by
nu11ptr
3y ago
They wanted a systems language. A GC would be very appropriate for much of the code I write, but would not have been for an OS kernel. Green threads removed as well. I admit the GC version with green threads I would have preferred, but agai
310.
▲
by
nu11ptr
3y ago
There are ways to call both from both for sure, but my point is if you don't want any async in your code at all...that often isn't a choice if you want to use the popular web frameworks for example.
311.
▲
by
nu11ptr
3y ago
One of these days I really want to sit down and read a bunch of the takes on different async approaches by the Rust designers, and ponder the design choices in depth. Until then, I will defer judgement. I will say I prefer green threads as
312.
▲
by
nu11ptr
3y ago
The challenge is that async colors functions and many of the popular crates will force you to be async, so it isn't always a choice depending on which crates you need.
313.
▲
by
nu11ptr
3y ago
I'm just saying a compiler is a program, and while the more important things are heavy algorithm related, supporting libraries like those for error handling, etc. all still matter and add up. No problem if you disagree - just my perspe
314.
▲
by
nu11ptr
3y ago
The article has fair points, but after trying OCaml and Rust... I chose Rust. Without going into huge amounts of detail, a compiler is more than simply a parser/ast/code generator and there are other aspects to consider such as th
315.
▲
by
nu11ptr
3y ago
Anybody who has worked with Indians for any amount of time will immediately recognize this phrase. It is very common there.
316.
▲
by
nu11ptr
3y ago
How does this compare to PyInstaller or other packagers? What underlying tech does it use?
317.
▲
by
nu11ptr
3y ago
Very wise decision. I know in my own products/code I sometimes have to swallow the tough pill and admit that some things just aren't a good fit for monetization. The market speaks, unfortunately, and it is important to try not to
318.
▲
by
nu11ptr
3y ago
In ATSC 1.0 I don't think this was true, at least in my area. The reason is there was a fairly finite amount of bandwidth available (made worse by sub-channels) and they were limited to MPEG-2, so I often observed macro blocking and ot
319.
▲
by
nu11ptr
3y ago
Am I the only one who thought: Who still watches over-the-air TV? (yes, I know there are some, but it can't be all that many relative to the streaming market)
320.
▲
by
nu11ptr
3y ago
Out of curiosity, what UI framework is used here? Electron? something else? EDIT: On 2nd thought I'm thinking this is XUL, Mozilla's sort of electron equivalent for an HTML/CSS UI?
321.
▲
by
nu11ptr
3y ago
Any ideas why it excluded Direct3D as a target? It seems to be the only omission. Or is OpenGL/Vulkan support sufficient to cover Windows perhaps?
322.
▲
by
nu11ptr
3y ago
Those things are about using code instead of HCL for modeling primarily. For us, it is about UI and UX (it is a REST API consumed by a Rundeck form and other services) as most of our engineers are not devops trained. Also, TF is only one po
323.
▲
by
nu11ptr
3y ago
Mostly - Python and MongoDb mostly
324.
▲
by
nu11ptr
3y ago
Faster: it uses a local state file, so it doesn't need to interrogate the devices every time. Stateful: you don't have to manually track "present" and "absent" - you just omit and it will notice it needs to del
325.
▲
by
nu11ptr
3y ago
internal, sorry
326.
▲
by
nu11ptr
3y ago
No. It is a frontend application that works as a CRUD REST API, validates the data, generates what it can, and stores it into a database/IPAM. It can then be changed, viewed, modified, deleted, etc. When you are ready to deploy I "
327.
▲
by
nu11ptr
3y ago
Essentially we have a very specific network topology we are trying to build for each of our clients. The goal is to auto-generate as much of the input as possible, validate that which is given, and allow it to be lifecycled (attributes can
328.
▲
by
nu11ptr
3y ago
I'm not using both. The first version of my tool used Ansible. The second version used Terraform. They were written 4 years apart. My users are not devops savvy. They use runbook forms to call into my API giving them a very simple UI t
329.
▲
by
nu11ptr
3y ago
I do network automation for a profession. I build tools (technically compilers) that take a proprietary object model designed for our private cloud and translate that into Ansible (v1) or Terraform (v2) code. At our company, I actually call
330.
▲
by
nu11ptr
3y ago
It is looking good, but I'm still waiting for a "table" (they do have a "grid" now) and "tree" widget to give it a try
More ›