Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
skyde
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
421.
▲
by
skyde
5y ago
why would you want your appraisal to be high? You would have to pay more tax each year.
422.
▲
by
skyde
5y ago
try using a better web browser ?
423.
▲
by
skyde
5y ago
Can someone explain why https://makepad.dev/ is extremely slow and "unusable" on Microsoft Edge browser but run smoothly on Chrome? Is it because of bad WebGL perf on JavasSript perf in general?
424.
▲
by
skyde
5y ago
Also the problem with clustered indexes in a GUID field are that the GUIDs are random, so when a new record is inserted, a significant portion of the data on disk has to be moved to insert the records into the middle of the table.
425.
▲
by
skyde
5y ago
I agree the children entity ID must be already unique without having to use the parent entity id. It's just that in my experience have the children table primary b-tree sorted on ParentID then childrenID make join much more efficient u
426.
▲
by
skyde
5y ago
you can have "id" Generatable at application level without using GUID. This is what twitter is doing "snowflake". It generate tens of thousands of ids per second. Those id fit in 64 bits. And those id are sortable, me
427.
▲
by
skyde
5y ago
this is genius. I love it.
428.
▲
by
skyde
5y ago
I don't know if Something that have a survival instinct is AGI but to me this is enough to call Strong AI. Does the Caenorhabditis elegans worm have AGI ?
429.
▲
by
skyde
5y ago
"Someone who controls the image data" to me that sound like something outside the sandbox manipulating the image data given to the sandbox. If this is the case it mean there is already a hacker or virus running outside the sandbox
430.
▲
by
skyde
5y ago
Curious why your primary key are GUID? Also if the primary key of table C is made of 3 column (A GUID, B GUID, C GUID) the index in PostgreSQL will not be that big with compression enabled because all the common prefix will not be stored re
431.
▲
by
skyde
5y ago
if C is a "child entity" of C then it's primary key should have the primary key of B as a prefix. This is how I design all my table schema. and it make database partitioning easier too.
432.
▲
by
skyde
5y ago
I love it! Only issue is if you can't consume the history of changes. But this is good for caching materialized view in the client 1- subscribe to event and buffer event 2- run SQL query for your materialized view 3- apply all buffere
433.
▲
by
skyde
5y ago
nevermind the paper is stupid and not saying there are way of breaking out of the wasm sandbox. It's simply saying if your WASM code was generated from C/C++ code that contain undefined behavior it might still do unexcepted things
434.
▲
by
skyde
5y ago
"secure against what"? Do you mean the script in the webpage running in my browser tab might be attacked by some virus already running on my computer? Or do you mean a virus running inside WebAssembly might attack my computer? If
435.
▲
by
skyde
5y ago
TLDR: Can someone explain if this is because WebAssembly is not doing the same kind of strict validation that NaCL (google native client) was doing ?
436.
▲
by
skyde
5y ago
Totally agree with you. Which explain why African immigrant that speak (proper) English and wear a suit and tie. Don't have trouble in job interview even if they are "black". While the Black American blame it on racism.
437.
▲
by
skyde
5y ago
the cool thing with noria is that it behave like a cache. So it only store the row from the materialized view that are frequently needed instead of storing the complete materialized view. But if you query for a row which is missing it will
438.
▲
by
skyde
6y ago
I got asked those kind of question "integral of 1/x" during interview with big tech (Microsoft) and Wallstreet (Morgan stanley, goldman sach). But to be fair at Wallstreet you are likely to work with quants and have to do int
439.
▲
by
skyde
6y ago
I assumed you had a CS degree sorry. My point is at the university I graduated from "far from one of the top university", second year student all had to write a clone of "Mario Bros" from scratch in 6502 assembly. And
440.
▲
by
skyde
6y ago
do you believe those people where not able to solve these kind of question the year they graduated ?
441.
▲
by
skyde
6y ago
Could you explain how CGroup would prevent page-fault causing more disk IO than allocated to the Control group ? On most LINUX distro I have seen, running a process that allocate too much memory just freeze the whole use interface. 1- mouse
442.
▲
by
skyde
6y ago
I 100% agree policy like this are likely to make the poor white people see the poor black people as privileged by the system. While the poor people of color will still feel that they are not privileged because 76% of millionaires are white.
443.
▲
by
skyde
6y ago
Exactly this is best example of reverse racism.
444.
▲
by
skyde
6y ago
Latency is actually reduced compared to kafka because when you have 3 replica you just need to wait for a response of the fastest of the 3 replica instead of waiting for a response of the slowest (master) of the 3 replica.
445.
▲
by
skyde
6y ago
what is the point of using Kafka if you are using only one broker (no replication)? Might as well just write your data to /dev/null
446.
▲
by
skyde
6y ago
for #1 if you need message order to be maintained you cannot use more than 1 partition. for #2 99% of the production issue we had where caused by bugs in librdkafka not talking to the right brokers. Also it mean that the IP for the broker n
447.
▲
by
skyde
6y ago
I think you are completely missing the point. Those kind of system need to be designed in layer. You can host all 3 layer on each of your VM instance if you want but they should not be mixed in the same process. One layer BookKeeper provide
448.
▲
by
skyde
6y ago
Are you looking for something like this ? https://azure.microsoft.com/en-us/updates/azure-cosmos-db-ap...
449.
▲
by
skyde
6y ago
I think Pulsar is a much better design and further investment in Kafka is a mistake at this point. Kafka have a lot of downside 1- size for single topic limited to the size of one machine 2- complex stateful client library that need to kno
450.
▲
by
skyde
6y ago
I mean if you feel that all the people you interviewed are worse programmer than all the people you went to school with then it's likely the problem was not the candidate but the way the question was asked.
More ›