Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wokkel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
wokkel
4y ago
Or just use valgrind.
62.
▲
by
wokkel
4y ago
I like my log to include where something happened and in some complex cases having a few thousand lines of logging info per request is not unreasonable. So stuffing al that info into a single log event/line doesn't make sense to m
63.
▲
by
wokkel
4y ago
Just look into log4j: mdc/ndc to include context (user/session), include the thread name in your pattern and use an async appender to take care of performance. All of these things have been solved already.
64.
▲
by
wokkel
4y ago
That sound more like fud than fact. Van you back that up?
65.
▲
by
wokkel
4y ago
That's why you disable JavaScript: we scrutinize downloaded exe files carefully and have virusscanners running all the time while allowing untrusted JavaScript to reach your CPU. As long as there is no effectieve way to tell trusted an
66.
▲
by
wokkel
4y ago
Memory usage: zfs is still not neatly integrated and requires a big chunk of memory to operate efficiently.
67.
▲
by
wokkel
4y ago
The developer working on that code 3 years later will love dumb names.
68.
▲
by
wokkel
5y ago
The change is far from cosmetic: ethernet used to detect collisions on a shared cable and by restricting cable length and timeouts was able to work. What we have now with switches has no collisions and each device has a private cable to the
69.
▲
by
wokkel
5y ago
By counting the number of returned items and service calls: that's way cheaper than upfront checking and in the short run will suffice. That's MBA logic for you.
70.
▲
by
wokkel
5y ago
> No, but they do have parallel config utilities fighting each other in the case of Linux mint. Took me a few hours to figure out why I was unable to switch from a static IP to DHCP. Windows 10 had this as as well: the new user friendly
71.
▲
by
wokkel
5y ago
Like declaring yourself independent of the english crown. Basically the usa wouldn't exist if they had tech like this in the past.
72.
▲
by
wokkel
5y ago
Nice idea, but please check your local tax office. At least here in the Netherlands, you are required to use a monotically increasing series for invoice numbers. So I wouldn't do this if I were you.
73.
▲
by
wokkel
6y ago
The problem with lobbying in general is that it's a one-sided information stream: politicians are generally uninformed about a topic and only get the information from the wealthy side (ie. the one able to pay a lobbyist). No need to br
74.
▲
by
wokkel
6y ago
As far as I know, it was Nasa that put a man on the moon, not some coorporation. Also: the internet was invented by the government. What nice things have corporations given you?
75.
▲
by
wokkel
6y ago
Hmm. Let's see how they do it in practise: funnel all money to another entity for 'licensing' their own brand. Net effect: no profit == no tax. Benefits for society: zero. Sure you don't want to change that?
76.
▲
by
wokkel
6y ago
Not really: mitigation lessens the effect, workaround avoids the effect.
77.
▲
by
wokkel
6y ago
Any machine that runs only verified code (ie. no JavaScript in the browser, no downloading nifty things and running them) don't need the flushes. Problem is (as shown by the Solarwind hack) even code you should be able to trust can be
78.
▲
by
wokkel
6y ago
I've read the word "mitigation" so much (not only here, and not only you; so this comment is not directed at you personally) that I only hear doublespeak now: when people say mitigation I immediately think of a slab of concre
79.
▲
by
wokkel
6y ago
Something overlooked in this (and many other articles about stack based VMs): if the stack based VM requires a well balanced stack (as is the case for JVM), the bytecode can be trivially rewritten to a register based VM: number each stack l
80.
▲
by
wokkel
6y ago
No, you use tar --numeric-owner and forget about the names.
81.
▲
by
wokkel
6y ago
There is a secondary effect here besides ROI: image. In my mind I now link LinkedIn to "not even able to handle a creditcard payment". Get enough of those and ROI gets impacted.
82.
▲
by
wokkel
6y ago
The game also allows multiplayer (I've seen 500+ players on a server). That requires some really strong consistency guarantees that you loose by adding threads.
83.
▲
by
wokkel
6y ago
I live in what, judging by your comment, is a socialist country, and have never seen that happen. Without some sources this is Just FUD.
84.
▲
by
wokkel
6y ago
That's who i bought a Panasonic. They cost more but don't have a shitty track record. In fact, my washing machine was the last Samsung here. It broke and got replaced by a German machine. These days I try to avoid the cheapest off
85.
▲
by
wokkel
6y ago
I see no issue except from the entities. Which by and large have died anyway as those come from DTDs and not from XSDs. I do not see why closing tags are a problem: my editor will insert them and it makes parsing the XML much easier/l
86.
▲
by
wokkel
6y ago
It's trivial until you run into a date-field. I've connected some JSON based exchanges to each other and just created an XML intermediary format to have a single canonical model and do the various translations to/from the oth
87.
▲
by
wokkel
6y ago
For IPv4 it can be done, but it would take at least 512Mb of kernel memory. A hashmap would be inefficient in that case, just use a bit-array. For IPv6 however, you run out of memory with a bit-array. Using a dynamically allocated hashmap i
88.
▲
by
wokkel
6y ago
What relationship do you see between inheritance and GC ? Creating An instance of some object 30 levels deep in the inheritance chain does not allocate 29 extra objects.
89.
▲
by
wokkel
6y ago
Not entirely correct: https://shipilev.net/jvm/anatomy-quarks/18-scalar-replacemen... . Hoi cannot force a specific allocation, but the jit does do something akin to stack allocation.
90.
▲
by
wokkel
6y ago
Yes it can. Stop the world collection is a thing of the past. See for example: https://developers.redhat.com/blog/2019/06/27/shenandoah-gc-...
More ›