Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crabbone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
511.
▲
by
crabbone
2y ago
> You could easily design a stream parser that rejects duplicates before it passes them off to the user, by maintaining a set of already encountered keys within the parser state. You could, but you are not allowed to. Protobuf parsing r
512.
▲
by
crabbone
2y ago
Streaming in this context means that the parsing code hands off some parsed structures to the code outside of the parser before the entire message is processed. Suppose now you have this message: { x: 1, y: 2, x: 3 } The streaming
513.
▲
by
crabbone
2y ago
NB. What the article describes isn't a developer environment in the cloud. It's testing in the cloud. The editor in their model lives on the programmers' laptops, the editing happens there as well and so on. The code is
514.
▲
by
crabbone
2y ago
Not even once did I want to share my dev. environment, nor did anyone want to share mine. We are talking about 25-odd years of being a developer. Never in my life did I want to scale my dev. environment vertically or horizontally or in any
515.
▲
by
crabbone
2y ago
Working in a configuration where your development environment isn't on your computer is always a huge downgrade. Work with VM? -- sooner or later you'll have problems with forwarding your keyboard input to the VM. Work with cont
516.
▲
by
crabbone
2y ago
I wrote C Protobuf decoder / encoder as well as IML parser and bindings for Python. Here's something I have to say about measuring parsing speed. * Since this library is only offered as a binding to some managed languages there ar
517.
▲
by
crabbone
2y ago
Absolutely this. Not sure which article that complained about EFI mentioned that PNG parser was vulnerable... and... there's no reason for EFI to have a PNG parser really. It's a fancy stuff that could've been totally avoided
518.
▲
by
crabbone
2y ago
I'm not a scientist at all, but I am often involved in hand-holding scientists when it comes to dealing with computers. My impression so far is that science is plagued with deliberate and accidental fraud when it comes to data collecti
519.
▲
by
crabbone
2y ago
I started grasping for air once I saw hand-parsing data coming from configuration file written by the same authors! Then I realized that part of the Python code in the repo is generated from notebooks... I'm not a Web programmer, so
520.
▲
by
crabbone
2y ago
Don't worry, several sections in, after couple of (clumsy) metaphors trying to explain what certificates are for, the author suddenly remembers that: > To Themselves: Protect the private key of their root certificate. Oh, there are
521.
▲
by
crabbone
2y ago
This is super, super, super naive. You, essentially, just solved for the case of one. But now you need to solve for N. Do you seriously believe you will never be in a situation where you have to run... two containers?.. With two differ
522.
▲
by
crabbone
2y ago
Since Sochi Olympics, Russian athletes were consistently banned for doping and for their country's starting wars. Russia didn't change anything in this regard. I don't see why these Olympics should be any different.
523.
▲
by
crabbone
2y ago
They didn't start the war? They cannot unilaterally stop it...
524.
▲
by
crabbone
2y ago
I'm sorry, but: * Docker isn't good at packaging. When people talk about packaging, they usually understand it to include dependency management. For Docker to be good at packaging it should be able to create dependency graphs an
525.
▲
by
crabbone
2y ago
Just a reminder: the historical spirit of Olympics required to stop all wars for the games. The reason for not admitting someone to participate in the games is that they don't act in the Olympic spirit.
526.
▲
by
crabbone
2y ago
But there are differences. For example, Asian theocracies understand their mission as a state and its government as furthering whatever bizarre ideas they gleamed from the scripture. They are often clan-ish in organization, but this only r
527.
▲
by
crabbone
2y ago
To understand anything Russian government does, you need to understand that they aren't a government in the way Western democracies / republics / monarchies understand the function of the government. For someone with largely
528.
▲
by
crabbone
2y ago
There are "strange" properties your users have... who are those people? * You describe them as wanting to deploy the database in container: why would anyone do that (unless for throwaway testing or such)? * The certificate issue s
529.
▲
by
crabbone
2y ago
My first "real" experience with Linux was with Wubi (Ubuntu packaged as a Windows program). I think it was based on Ubuntu version 6 or 8. I also tried to update it, when the graphical shell displayed a message saying that update
530.
▲
by
crabbone
2y ago
It's a legitimate question and I'm glad you asked! (I'm not the author of Garage and have no affiliation). Filesystems impose a lot of constraints on data-consistency that make things go slow. In particular, when it comes to
531.
▲
by
crabbone
2y ago
There are few. From the perspective of consistency guarantees, object storage gives fewer of such guarantees (this is seen as allowing implementations to be faster than typical file-systems). For example, since there isn't a concept o
532.
▲
by
crabbone
2y ago
You should also read the next paragraph.
533.
▲
by
crabbone
2y ago
Visual Studio Code, Windows Terminal and WSL are hot garbage, which I wouldn't want students to get anywhere close to. Why does it matter that they exist? The point of education is to understand how to do something. An editor that us
534.
▲
by
crabbone
2y ago
What's the "best" you are talking about when it comes to the Windows world? Also, while I cannot really speak to how Windows contributes to the experience, I know for certain that the integration comes with a tall bill to pay
535.
▲
by
crabbone
2y ago
Your question is deliberately constructed to deflect any possible answer (s.a. to protect the OS you've installed). Let me illustrate this by example: let's say you don't even power up your laptop -- it's hard to imagine
536.
▲
by
crabbone
2y ago
They didn't during my time. But my department didn't do anything that had to do with Web... also, we got into Google through acquisition, and the company originally started with developers working on Linux and rarely Macs. The I
537.
▲
by
crabbone
2y ago
The bubble is quite big though. Companies like Google, Amazon, Facebook typically offer developers laptops with a choice of Linux / Mac (but not Windows). Windows for development is really a common choice if you make video games, hosp
538.
▲
by
crabbone
2y ago
I've not heard of QA in open-source projects... unless it's something peddled by a big corp (eg. Chrome, Go, VSCode etc.) You are lucky if there's some automated unit testing, but that's as far as these things go. Progr
539.
▲
by
crabbone
2y ago
> on a single line This makes a world of a difference when your editor is configured to wrap lines, or clip or w/e. You probably happened to have VSCode configured to do something that mitigates the problems of having an extremely l
540.
▲
by
crabbone
2y ago
This is an awful idea. It's very hard to define in general what it means to build a project, what are the expected inputs and outputs. Not every build aims to produce the same artifacts, not using the same inputs etc. What you want co
More ›