Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bjackman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
271.
▲
by
bjackman
1y ago
Nothing on this page says what the license does or any reason why anyone should use it. So it's kinda unsurprising nobody adopted it.
272.
▲
by
bjackman
1y ago
I guess (?) you could write a function to check, for a given string, if it was included in your enumeration. Then, it would be cool to fuzz a JSON parser and whenever the fuzzer encounters a string that the parser accepts, check if it'
273.
▲
by
bjackman
1y ago
> Like other academics, I plan to stick with latex for journal articles and books, unless publishers provide support for typst. In my undergrad we sent all our essays etc as LaTeX and it was honestly very usable. I assume this was somewh
274.
▲
by
bjackman
1y ago
I am saying Google is an extremely heavy user of Java. In terms of programming languages, Google is very much a microcosm of the industry. (.net is the exception though. Not much of that at Google).
275.
▲
by
bjackman
1y ago
Ha, that's cool. I have implemented a crappy and probably broken version of this type before. Next time I won't have to!
276.
▲
by
bjackman
1y ago
Harsh legal limits seems obvious to me. If society benefits at all from sports betting, all that benefit happens in the first few hundred bucks of spending. Meanwhile all the biggest harms to society are happening when people spend a lot. T
277.
▲
by
bjackman
1y ago
I work on stuff that's adjacent to system software (I'm actually mostly a kernel engineer). But I've touched code in all the major languages at Google: loads of C++ and Go, much less of Python and Typescript. But Java/Ko
278.
▲
by
bjackman
1y ago
It's a weird one - I've been at Google for more than 5 years. I know from the stats that we have a zillion lines of actively developed Java, there must be huge swathes of the company that you could even call a "Java shop"
279.
▲
by
bjackman
1y ago
Yeah and this is enforced by default in yamllint. It's very fair to cry "why the hell do I need a linter for my trivial config file format", and these footguns are a valid reason to avoid YAML. But overall YAML's sketchi
280.
▲
by
bjackman
1y ago
Ok what about when I have this ~/src/linux/linux ~/src/linux/stable And I want to go to the first one? It doesn't have a unique sequence of keywords in it :/ Unless it recognises that if I type "
281.
▲
by
bjackman
1y ago
No the issue is that the one I want _isnt_ the most recent. Because 90% of the directories I visit contain the string 'src'
282.
▲
by
bjackman
1y ago
Does anyone know if zoxide has any fancy logic to ignore strings that appear in common prefixes? For example I have a big ~/src dir where I keep all my code checkouts. If I type 'z src' intending to go to ~/src/foo&
283.
▲
by
bjackman
1y ago
This is just how it looks when you publish an open source project at Google. Google controls the repo hence it's under the Google GitHub org. But then you just slap the "not a Google product" thing at the end to clarify that
284.
▲
by
bjackman
1y ago
Ah the classic: "That will be about 40 hours work". "Well I've done 80% of the work already, so-" "Oh, then that will be about 80 hours of work".
285.
▲
by
bjackman
1y ago
But the question mark was coz I was wondering if there's some process global lock that would prevent it. I think I was thinking of the mmap lock. But this was a dumb question mark, this lock isn't just randomly taken when threads
286.
▲
by
bjackman
1y ago
It's worth noting that in the kernel there's more to "user data" than just the fact that its content might be crafted maliciously: - it might get swapped out or migrated, meaning your thread goes to sleep if you touch it
287.
▲
by
bjackman
1y ago
I remember our "intro to programming course at university" started with this program and the tutor said "I'm mostly gonna try and explain all the code I show you, as I show it, but this is the exception, you just have to
288.
▲
by
bjackman
1y ago
It's definitely possible there's a "grass is always greener" effect going on here, to be fair. None of these tools give the impression of being well-tested software. My guess is that neither OpenAI nor Anthropic actually
289.
▲
by
bjackman
1y ago
FWIW a ban came into force this summer in the UK. Rare W. Hopefully the rest of the world follows suit in time.
290.
▲
by
bjackman
1y ago
Most of these vapes are reusable as vapes. They just get sold as disposable and the manufacturers don't include a refill mechanism. I am very strongly pro-vape more generally but disposable ones should absolutely be illegal. They only
291.
▲
by
bjackman
1y ago
I think this is being downvoted coz it doesn't seem to be really responding to the thread, and maybe it isn't, but for anyone who hasn't tried Gemini CLI: My experience after a month or so of heavy use is exactly this. The AI
292.
▲
by
bjackman
1y ago
Hmm yeah I suppose that counts. I actually run Ubuntu, and I use very few Snaps. But I guess that's kinda on me!
293.
▲
by
bjackman
1y ago
Not just Arch, all mainstream Linux distros have this problem. It's totally right to point out that it's amateurish but it seems unfair to single out an individual project when it's an ecosystem level issue.
294.
▲
by
bjackman
1y ago
Yeah, there are so many ways to defeat KASLR. We need to treat the randomisation as a road bump, not a mitigation. Serious red team reports will just have a brief section like "then, we defeat KASLR with [technique]. Next..."
295.
▲
by
bjackman
1y ago
I disagree that this is the norm and I don't think it's a goal to aspire to. The nicest places for humans to exist in have a mixed-use basis. Yes some areas are purely industrial and some areas are dominated by retail or offices,
296.
▲
by
bjackman
1y ago
Also note the phrasing. The content is "the police killed 14 people". But the form is "the situation turned violent as a result of the protester's actions".
297.
▲
by
bjackman
1y ago
It's impossible to say because unfortunately the article doesn't actually say anything about what the hell they're claiming to build. Is 20B enough to offer a competitor to AWS? Not a chance in hell. But that specifically say
298.
▲
by
bjackman
1y ago
I hadn't seen that before, seems neat as the physical inconvenience factor of the KVM approach is definitely real. It's pretty funny that you have both the input and output physically installed in and powered by the chassis, but t
299.
▲
by
bjackman
1y ago
There is actually a lot of AI shovelware on Steam. Sort by newest releases and you'll see stuff like a developer releasing 10 puzzle games in one day. I have the same experience as OP, I use AI every day including coding agents, I like
300.
▲
by
bjackman
1y ago
You should try running powertop on it. It will scrape sysfs and look for things that seem misconfigured, and suggest changes to fix them. On one of my machines it enabled some peripheral power saving mode that made a pretty dramatic saving!
More ›