Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
glic3rinu
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
glic3rinu
1y ago
Last year I bought a 4bay WTR PRO NAS with an N100. It idles at 13W, after some tuning (mostly putting drives to sleep after ~10min of inactivity). I briefly looked into TrueNAS/unraid, but I ended up installing plain Debian, with ZFS,
2.
▲
by
glic3rinu
1y ago
What you are describing sounds precisely like your brain trying to do some emotional processing and you are shutting it down because you think it's not useful. If you are looking for the productive spin, then I would suggest trying som
3.
▲
by
glic3rinu
2y ago
I was wondering about that too. Compared to my peers I consider myself having a below average short term memory (not really good at raw computation power), but in contrast, I am pretty good at abstract thinking, e.g. I can easily visualize
4.
▲
by
glic3rinu
2y ago
you are assuming hidden costs, I am assuming hidden incentives. It’s not that they are stupid or incompetent, but bad incentives within the org can and do produce stupid outcomes.
5.
▲
by
glic3rinu
3y ago
Jim Keller himself talks about this a little bit here https://www.youtube.com/live/oIG9ztQw2Gc?feature=share&t=122... I think I've listen to asianometry (YT channel) talk about this too, but I am unable to fin
6.
▲
by
glic3rinu
3y ago
masks dont have the actual shape, but shapes accounting for wave interference patterns that will end up producing the final shape when EUV light passes through. I believe the process of comming up with the correct intereference pattern tak
7.
▲
by
glic3rinu
4y ago
Indeed, I recently built one for my old storage heater https://github.com/glic3rinu/SmartStorageHeater
8.
▲
by
glic3rinu
4y ago
I’ve always thought it might be PHP legacy of returning 200 even on critical errors. AFAIK Slack and FB APIs work like that, and they are, or have been, PHP based…
9.
▲
by
glic3rinu
5y ago
Building on the web form example given by the author, there is a lot of extra that one could do: Improve the design, improve user experience, improve performance, format/cleanup the code, add some extra features, add flags to enable
10.
▲
by
glic3rinu
5y ago
vector clocks?
11.
▲
by
glic3rinu
5y ago
OP is talking about concurrent execution of the task without serialization on the database (serializable isolation is almost never the default). Which results in 2 concurrent queries getting the same list of customers to charge.
12.
▲
by
glic3rinu
6y ago
when you say parallel you mean the work is distributed across multiple cores? e.g. multiple python worker processes. Or is all work running single threaded in a single process (concurrent IO, but not true parallelism)?
13.
▲
by
glic3rinu
6y ago
When I add autoreload functionality to my programs I just spawn a thread that checks for last modified date and then re-executes the program with os.execlp(sys.argv[0], *sys.argv) I found my solution superior in several ways: - I can force
14.
▲
by
glic3rinu
7y ago
> Consider the incubation time of 5 days avg, 14 days max during which you're already infectious." I have seen several comments like this on this thread suggesting people are contagious during the incubation phase. Do you have
15.
▲
by
glic3rinu
7y ago
Then this talk from David Beazley will blow your mind https://www.youtube.com/watch?v=VUT386_GKI8
16.
▲
by
glic3rinu
7y ago
you missed the part when he says browsers do not send the bits after the hash character.
17.
▲
by
glic3rinu
7y ago
I do too, it’s quite easy to produce diagrams that look better than any modern diagram too. And things look exactly as you want.
18.
▲
by
glic3rinu
7y ago
A common solution is to wrap all code within a function. This way nothing gets executed until the last line, the one that calls the function, is executed. function main () { # all code goes here } main
19.
▲
by
glic3rinu
7y ago
I wouldn’t categorize this as technical debt unless you’ve deriberatly choosen to implement the wrong abstraction first, to get the product out the door earlier, or some other short term benefit. Technical debt is a deliberate action with s
20.
▲
by
glic3rinu
7y ago
The interpreter loads reasonably fast, takes around 20-40ms. And it's even faster if "import site on initialization" is disabled. But startup time increases an order of magnitude once you start importing 'requests'
21.
▲
by
glic3rinu
7y ago
I wouldn’t mind cpython performance improvements over language features. Specifically startup time. Py cli tools can easily take up to 300-600ms to start. Now, try to use them for scripting. A single script doing a bunch of calls to python
22.
▲
by
glic3rinu
7y ago
By "state" I think OP is referring to an style of programming heavily based on global variables (global state). Function calls set global variables that the caller can read after. Functions and imports (sourcing) are all riddle wi
23.
▲
by
glic3rinu
8y ago
The C in there is for "Strong Consistency"; CAP allows for lessers forms of consistency, like "Eventual Consistency", without giving up on Availability.
24.
▲
Looking for the ingredients that make food taste different around the world
(flowingdata.com)
2 points
by
glic3rinu
8y ago
|
0 comments
25.
▲
by
glic3rinu
8y ago
would be nice if plots scale according to terminal width, so they fit in the screen without line wrapping :)
26.
▲
by
glic3rinu
9y ago
A mix of the two approaches might yield the best results. At work I usually go by looking for quick solutions for the very specific problems I encounter, e.g. disable echo on a terminal, send data through a socket, ... And what I sometimes
27.
▲
by
glic3rinu
9y ago
Similar in the sense that they protect data from being accessed by multiple threads at once. But the implementation and semantics are quite different. The main practical drawback, I would say, is that locks may suffer from the mutual exclus
28.
▲
by
glic3rinu
9y ago
With the actor model you don't share state between threads, hence no need to lock anything. Each variable can only be updated by a single and unique thread. If another thread (or actor) wants to modify it, it has to send a modification
29.
▲
by
glic3rinu
9y ago
You would need to know the hash of a yet-to-exist node to create cycles on a Merkle graph :)
30.
▲
by
glic3rinu
9y ago
Google C++ style guide states that you should not use exceptions https://google.github.io/styleguide/cppguide.html#Exceptions golang was probably designed by people following those same guidelines ...
More ›