Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mkdirp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
mkdirp
5y ago
Fair. I guess the reason I asked is because YAML is a little easier to play with for humans, especially since some sections need things like new lines among other things. Doing a YAML text block is easier to read and write than JSON's
122.
▲
by
mkdirp
5y ago
I totally understand removing annotations in the DWARF tables since they're not really needed in a production environment, but why would you want to remove stack traces? They provide invaluable information in a production system, and r
123.
▲
by
mkdirp
5y ago
Why JSON? Why not YAML or something more easily editable by a human?
124.
▲
by
mkdirp
5y ago
> As for the BBC it's firmly establishment leaning rather than left leaning in my view, and they also carry a lot of the blame for promoting Farage's poltics e.g. more appearances on question time than anyone else As much as I
125.
▲
by
mkdirp
5y ago
> especially its partisan news reporting on the current government I just want to say that the BBC has had partisan claims by people from all the aisles. The BBC tends to be more left leaning and progressive with a lot of its coverage, I
126.
▲
by
mkdirp
5y ago
Terminal is the only thing that maps ctrl+shift+c/v to copy/paste because ctrl+c/v conflicts with signals. I've never come across any other program that maps something that isn't ctrl+c/v to copy/paste. Ma
127.
▲
by
mkdirp
5y ago
Logging is not debugging/print statements. You also wouldn't generally be debugging a request from random clients. You'd generally be debugging in your local dev environment.
128.
▲
by
mkdirp
5y ago
Really? You ever tried automating your own data from e.g. your bank? Cos I have, and it's a lot more annoying that it should be. Woob does a lot more than just banks. It allows you to get any of your data. Adding additional providers i
129.
▲
by
mkdirp
5y ago
You'd think. But I still see discussions in JavaScript and PHP related threads where people swear by adding `console.log`/`var_dump` statements to their code over using the debugger. I've seen quite a few threads on r/ph
130.
▲
by
mkdirp
5y ago
Right. And so Pop!_OS gives you a decent tiling window manager, with sane defaults, without having to spend hours on customising your configuration. What's more, the tiling they provide is an optional feature. You can enable and disabl
131.
▲
by
mkdirp
5y ago
Didn't actually think of that. I'd forgotten that was an option, however, I've never liked the separate search box. It just feels like a waste of space. I don't want to think about whether I should press Ctrl+L or Ctrl+
132.
▲
by
mkdirp
5y ago
One of the big advantages of DDG's bangs is that you don't have to re-type/paste the whole search query. Instead, you click the search bar in DDG, type `<space>!g<enter>`. That's vastly simpler and faster tha
133.
▲
by
mkdirp
5y ago
> > I guess I'll never get a job coding due to ageism > I wouldn't assume that. I can't add a lot to this discussion, but my colleague, who is in his 50s, got hired around the same time as me here in the UK.
134.
▲
by
mkdirp
5y ago
> basically no way to run a managed system with user accounts for their personal things and work entires that I could control or deploy. Could you elaborate on this? I'm not an enterprise user, however, as a happy commercial Bitwa
135.
▲
by
mkdirp
5y ago
This is great, but I just want to give a word of caution. Just because they've posted this, we shouldn't loosen the pressure valve on them. For all we know this could be just "let's post a single video so people will sto
136.
▲
by
mkdirp
5y ago
Previous discussion: https://news.ycombinator.com/item?id=16049954 I do wonder if this would have been considered creepy back then. Assuming such cameras weren't as prevalent as they are today, it certainly feels like
137.
▲
by
mkdirp
5y ago
The original devs are aware, and have unofficially suggested they'd be willing to help[0]. [0] https://news.ycombinator.com/item?id=28861353
138.
▲
by
mkdirp
5y ago
According to David Stafford, one of the original developers, Microsoft may still have license to publish it as part of Windows, though the IP still belongs to EA[0]. The whole thread linked below contains a lot of info from the original dev
139.
▲
by
mkdirp
5y ago
Heh. I overlooked that. I've updated my comment. It's still possible without eval, but with caveats.
140.
▲
by
mkdirp
5y ago
You can use arrays. $ ls -la "foo bar" -rw------- 1 u0_a298 u0_a298 6 Jan 10 00:22 'foo bar' $ cmd=(cat "foo bar") $ "${cmd[@]}" hello Edit, since someone pointed out you the
141.
▲
by
mkdirp
5y ago
> The Bitcoin network has been functional for %99.98 of the time since its inception on January 3, 2009 at 02:54:25 GMT Seems weird. What was that 0.02% when it was down? I've clearly missed it.
142.
▲
by
mkdirp
5y ago
> Can you please cite examples? I've never seen any software do that. With `gpg --verify` you can specify which file descriptor you want it to output to. I've previously used it to ensure a file is verified by a key that is tru
143.
▲
by
mkdirp
5y ago
> The process ID of the last executed background command in Bash is available as $!. After a quick search it doesn't seem like this is an option for anything but the last executed background process. So if you have the typical `diff
144.
▲
by
mkdirp
5y ago
> In the spirit of other legacy / succession features, is there an opposite option to prefer the account vanishes from the platform entirely? Earlier this year maintainer of MIT licensed zinit* somewhat disappeared from the internet
145.
▲
by
mkdirp
5y ago
Lots of questions around GUI apps. As someone pointed out, GUI apps have been "almost" working for years. Darling looks great but it hasn't gotten near as much love as Wine has gotten. I've been keeping an eye on it, and
146.
▲
by
mkdirp
5y ago
Heh, I actually meant `>=`. But as others have pointed out, that still excludes 2 letter users. Really it should be `>= 0`.
147.
▲
by
mkdirp
5y ago
Never mind the regex, `email.indexOf("@") > 2` does the trick and faster if you happen to need to check many emails. All websites these days require verification of emails (regardless of whether or not it's necessary), and
148.
▲
by
mkdirp
5y ago
This isn't running on QEMU.
149.
▲
by
mkdirp
5y ago
This is by design. The kernel still runs the processes inside the container. If you namespace the user running `ps`, it will not be able to see the container processes. The only reason you're seeing them is because you're in the d
150.
▲
by
mkdirp
5y ago
This one specifically seems to run Android in the Linux Kernel using the usual suspects of container tech. It should have next to zero performance impact so it will definitely have better performance compared to the default Android emulator
More ›