Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
benmmurphy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
benmmurphy
1y ago
I guess that leaves the question as to why Kimmel did not say: 'We hit some new lows over the weekend when people of all political stripes were trying to characterize this kid who killed Charlie Kirk as anything other than one of them&
62.
▲
by
benmmurphy
1y ago
presumably she implicitly believes in tradeoffs because she hasn't campaigned to remove all motor vehicles from the road. surely, anyone arguing that cars should be allowed on the road when they are one of the leading causes of deaths
63.
▲
by
benmmurphy
1y ago
There is a difference between 'lets try something out' and we will use the force of law to compel you to do something. A lot of people seem worried about over use of law enforcement but really its not a general problem with law en
64.
▲
by
benmmurphy
1y ago
Not sure why this argument doesn't also apply to operating systems. Maybe everyone should be writing all their programs to run on a custom micro-kernel. Surely we can't trust other programmers to write something as complicated as
65.
▲
by
benmmurphy
1y ago
original poster was 'lucky' that he was using a work stealing engine. if the engine was not moving tasks between threads then i think the compiler would have been happy and he could have had the fun of debugging what happens when
66.
▲
by
benmmurphy
1y ago
My understanding was the police were able to do this in the US using civil forfeiture.
67.
▲
by
benmmurphy
1y ago
direct CDP has been used by the scraping community for a long time in order to have a cleaner browser environment that is harder to fingerprint. for example nodriver ( https://github.com/ultrafunkamsterdam/nodriver ) was
68.
▲
by
benmmurphy
1y ago
What a lucky coincidence that the tool the researcher attacked because it allowed code execution was not sandboxed.
69.
▲
by
benmmurphy
1y ago
if the government is running a library it shouldn't be able to engage in view point discrimination. for example it shouldn't be able to remove all books by Democratic presidents while keeping books by Republican presidents or vice
70.
▲
by
benmmurphy
1y ago
the difference is in the 90s everyone was ignorant. beyond some small communities i don't think there were many people who had the knowledge to exploit a lot of the issues. but now the knowledge is very accessible and there a lot more
71.
▲
by
benmmurphy
1y ago
usually when interfacing with a library written in c the library will export functions for object destruction. it makes sense for that to be part of the interface instead of using the system allocator because it also gives the library freed
72.
▲
by
benmmurphy
1y ago
I assume because there was no actual hacking. I'm guessing users consented to this. As a user I should be able to view all traffic from my device and also give other third parties permission to view all traffic on my device. If I can&#
73.
▲
by
benmmurphy
1y ago
You can have an epoch and now you can measure times before the epoch. In terms of the range of values you can represent it transposes to just having the epoch further in the past and using an unsigned type. So signed/unsigned it should
74.
▲
by
benmmurphy
1y ago
it really depends on what you are doing. if you have a complex application then the automatic recovery might not be enough for a fault free user experience. i feel like live view is sold as some kind of magic where the developer does not ha
75.
▲
by
benmmurphy
1y ago
the way live-view is sold is some kind of alternative to writing javascript. if you have a very rich client side application then you can easily end up with a bunch of state which would be in the clients memory but now is in the servers mem
76.
▲
by
benmmurphy
1y ago
phoenix live view is effectively built around the assumption that the server process never dies and never restarts. its a very dubious model for a production deployment. > what happens when the server restarts / connection is lost &
77.
▲
by
benmmurphy
1y ago
Seems like enough of a gotcha that other people have stumbled upon the issue as well: https://blog.codingmilitia.com/2022/09/01/beware-of-records-...
78.
▲
by
benmmurphy
1y ago
for postgres ENUM should be just as easier to change as CHECK * for adding, there is no problem you can just add entries to an ENUM * for removing there is a problem because you can't easily remove entries from an ENUM. its only possib
79.
▲
by
benmmurphy
1y ago
probably the same thing that happened in the church or other organisations. bad people are able to convince others to do small things to help them, then once it surfaces what they are doing they are able to convince their enablers that thei
80.
▲
by
benmmurphy
1y ago
Very strange. I sent a test key and didn't get that response but when I sent my real key it did. How did it know the difference between the dummy key and the real key?
81.
▲
by
benmmurphy
1y ago
having two very different code paths for measuring the length of the DER buffer and writing the DER sounds very scary. i guess its fine with Rust but the idea would give me the heebee-jeebies for any other language unless they are using a s
82.
▲
by
benmmurphy
1y ago
The problem is its often not clear that the government is violating the constitution until after a court has ruled that they have violated it. People can have reasonable beliefs that what they are doing is constitutional and then a court ru
83.
▲
by
benmmurphy
1y ago
You are also assuming the tax incidence of corporation tax will fall mostly upon shareholders. For example if the incidence was 70% on workers and 30% on shareholders then this should not be a progressive form of taxation. I think most econ
84.
▲
by
benmmurphy
1y ago
i think its a tricky situation. there is an extreme libertarian argument that individual officers of the US government should be held personally liable for any violation of the constitution. however, this would make it potentially difficult
85.
▲
by
benmmurphy
1y ago
but a call to unwrap is usually more explicit than a null pointer dereference when you are reviewing code. if you are deserializing something from an external source and calling unwrap() on some optional fields to convert them to non-option
86.
▲
by
benmmurphy
1y ago
Concurrent maps are often easier to implement in GC languages because you can use the garbage collector for cleaning old values. Whereas without a GC you will need an alternative like RCU.
87.
▲
by
benmmurphy
1y ago
Did Krugman post the FT graph verbatim or did he post a different graph? He mentions in the article that the FT graph looked cherry picked. > Actually, the chart was a bit too neat: When I set out to reproduce it, I found that the FT cho
88.
▲
by
benmmurphy
1y ago
in their backend did they have to create a new product for each price point?
89.
▲
by
benmmurphy
1y ago
Part of the problem with BEAM is it doesn't have great ways of dealing with concurrency beyond gen_server (effectively a mutex) and ETS tables ( https://www.erlang.org/doc/apps/stdlib/ets ). So I think usu
90.
▲
by
benmmurphy
1y ago
this can easily happen in a BEAM system. say you have some shared state you want to access. you create a gen_server to protect this shared state. a gen_server is basically a huge mutex. the gen_server is just a normal beam process that hand
More ›