Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bhawks
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
241.
▲
by
bhawks
4y ago
If they just wanted to do as much damage on the way out as possible they wouldn't be spending so much effort on manifestos, video messages, letters and so on. They wouldn't care about becoming famous. Read the report - there is a
242.
▲
by
bhawks
4y ago
I struggle to understand how 'eliminating' 50% of society because of the actions of less than 0.0000003% makes any sense whatsoever. If you're not trolling, please seek help.
243.
▲
by
bhawks
4y ago
Based on the linked report it is clear that these disturbed individuals see commiting mass killings as a way of getting society in general, their families or objects of obsession to listen to their grievances. (Desire for fame, parting mes
244.
▲
by
bhawks
4y ago
net.Conn needs to cover non-duplex conns like UDP - so it's challenging to add halfclosable methods with reasonable semantics. You can always check for the presence of the CloseWrite method and cast in this case. One trick to unify the
245.
▲
by
bhawks
4y ago
Kind reminder that you probably want to use the hidepid argument to prevent any sensitive data leaking through environment or command line arguments in a production server. (Things like API keys, passwords, and so on). It is a typical bad a
246.
▲
by
bhawks
4y ago
Exactly - which is why I was asking what is the nature of the insider threat risk if someone did not have to guess. In a prod deployment who has the rights to see this info without raising too many flags?
247.
▲
by
bhawks
4y ago
What about the insider risk prospective? A random int64 isn't that hard to guess if you can easily look at a database.
248.
▲
by
bhawks
4y ago
> It doesn't work well for archives (tars, zips). Technically if you update a zip on the remote machine it'll work fine (the data gets appended in an update and the central directory record is always at the end of the zip. I re
249.
▲
by
bhawks
4y ago
A normal function return is handled directly by the caller, even if the caller decides to completely ignore it. In the case of exceptions it continues to implicitly pop the stack to attempt to find a handler. The explicit vs implicit nature
250.
▲
by
bhawks
4y ago
It is even poorly implemented in such ubiquitous tools as ls. For example if I always want output to be sorted by last modified the _only_ point of configuration is the command line. But I can control colors via either the command line or a
251.
▲
by
bhawks
4y ago
Returning an option sumtype is also typesafe. Exceptions have to walk up the stack until a suitable handler is found, that handler can't know ahead of time where the value is coming from or if it will ever arrive - just what type it wi
252.
▲
by
bhawks
4y ago
Multiple decades of unix software configuration and pointless differences between distro configuration would seem to indicate otherwise. Esr even contradicts himself at the end of that link when he says that site wide configs may be immutab
253.
▲
by
bhawks
4y ago
Python's StopIteration has entered the chat.
254.
▲
by
bhawks
4y ago
Are they worth solving though? Flags at command line time can be equivalent to flags in file from a data perspective. If you work on it they can behave with similar semantics too. If you work even harder you can ensure you deploy the config
255.
▲
by
bhawks
4y ago
What about when an option is present in both the file and the command line? Which one takes precedent? If an option occurs 2x on the command line typically the last one wins. If an option appears 2x in the file does the last one win too? Wi
256.
▲
by
bhawks
4y ago
I recall that folks did analyze this, every server running in production has its flags logged, and every command line tool run on user workstations is also logged. Then it's just a matter of having a registry of every flag (aka the sou
257.
▲
by
bhawks
4y ago
Several drawbacks about config files: + Another artifact to ship and deploy + What file format to use? Obviously different teams will use different formats too. This compounds as you add engineers. + How do you find the initial file? Whiche
258.
▲
by
bhawks
4y ago
I am not a global variable sir, I am a command line flag.
259.
▲
by
bhawks
4y ago
Internally all Google apps have mind bending numbers of command line flags. I believe this drove kernel patches to increase the size of the command line. Yes flag hygiene is a bit of a problem too :)
260.
▲
by
bhawks
4y ago
Lung cancer == smoking. Colorectal is significantly effected by diet, physical activity and obesity.
261.
▲
by
bhawks
4y ago
Cancers vary significantly in prognosis. Canada has over double the number of deaths due to lung cancer and nearly double the deaths due to colorectal cancer compared to California. Essentially cancer looks different in California than Cana
262.
▲
by
bhawks
4y ago
The US Healthcare system is shamelessly intertwined with the state to limit supply and extract rent. Try to open a hospital and you will run into certificate of need laws who's primary objective flys in the face of supply and demand: &
263.
▲
by
bhawks
4y ago
Pure Streisand effect that frankly feeds into Hancock's line that big archaeology is out to get him.
264.
▲
by
bhawks
4y ago
Last week YouTuber Allen Pan launched Canadian United Media in response to CNN using one of his previous videos unattributed on their platforms. The site is all AI generated from a model trained on CNN content. Funny to see MSN putting ano
265.
▲
by
bhawks
4y ago
So should the lawsuit include the NFL? These aired during the super bowl. Maybe the network? Where does the responsibility stop? I don't see much of a case unless plantants can prove the defendants were aware of the fraud. This seems u
266.
▲
by
bhawks
4y ago
Just a terminology rant: it is used in -builds- where c99 is not available. Particularly the MSVC ecosystem is identified in TFA as being a late adopter. Once built c99 code can run where it wants.
267.
▲
by
bhawks
4y ago
First and foremost a huge number of people saw their savings and investment wiped out by sociopaths that defrauded them and continuously lied to everyone's face as the charade came crumbling down. SBF and his cadre seem likely to escap
268.
▲
by
bhawks
4y ago
Rust also has a much more rigorous type system than other languages - so yes in rust exceptions should be considered an antipattern. The implementation proposed in the article seems very reasonable python. Writing code for language X in the
269.
▲
by
bhawks
4y ago
That sounds like a slightly different problem. Unison looks like any function can transparently cross network boundaries versus the efficient scheduling and dispatching of concurrent rpcs.
270.
▲
by
bhawks
4y ago
You need to think along the dimension of time. A centralized exchange (or really any entity that has the concept of an account) has a liability to each user of that user's account balance. (The contents of those balances are assets fo
More ›