HNHacker News
TopNewBestAskShowJobs

jb_s

334 karma · joined August 27, 2019

submissionscomments
jb_s··on Hertz paid Accenture $32M for a website that never went live (2019)
nice.. it's just "low code" :-)
jb_s··on PyPI: Python packets steal AWS keys from users
Yeah. I was wondering how easy it would be to classify using a language model/models. ALthough I don't know how it'd work with binary blobs, multiple languages, etc.

I think certain things would be picked up pretty easily e.g. obfuscated code would be a pretty loud feature, but subtle stuff might be undetected and generally I can't see the model being super accurate.

jb_s··on PyPI: Python packets steal AWS keys from users
Is it easy to find a list of packages that have been pulled from python/npm in the past? Would be interesting to train some models against it
jb_s··on YaLM-100B: Pretrained language model with 100B parameters
For many movies, sure.

I'm pretty sure the Marvel franchise is shat out by an algorithm.

jb_s··on Consciousness is not computation
Perhaps the main problem in the collective discussion is regarding consciousness as discrete and not a spectrum from minimal (slime molds?) to ultimate consciousness (ability to simulate/understand/create the entire universe?)
jb_s··on Consciousness is not computation
You might as well conclude that my fingers typing this post aren't conscious. It's a weird argument.

The analogy might be more valid if arguing its not possible for a third party to actually determine whether an entity/system is conscious (irrespective of whether the entity is conscious or not)

jb_s··on Consciousness is not computation
It's going to be even weirder once Google et al gives AI more and more agency to interact with people and objects the real world.
jb_s··on The computers are fast, but you don't know it
I delved into Python recently to work on some data science hobbies and a Chess program and it's frankly been fairly shit compared with other languages I use.

Typescript (by way of comparison with other non-low-level languages) just feels far more solid wrt type system, type safety, tooling etc. C# (which I've used for years) is faster by orders of magnitude and IMO safer/easier to maintain.

jb_s··on AWS costs every programmer should know (2019)
The parent put it too strongly but it's equally naive to assume that track records and public commitments mean anything to a privately-held company, with a commitment to profit shareholders, run by Jeff Bezos.
jb_s··on Effortless personal productivity (or how I learned to love my monkey mind)
I have ADHD. Being bored is simply.. not something that happens naturally. I have a zillion unfinished things, too many hobbies, too many games, too much work that I was supposed finish yesterday. My brain gets filled with all of this junk every day. As the day passes my thoughts progressively get more and more cluttered and noisy, like I've got every radio station on at the same time. I also get really anxious if I've blown past a few too many deadlines, which compounds the issue immensely.

The only way to fix it... is to make myself bored. To FORCE myself to be bored. I sit on the ground with my legs crossed, close my eyes, and slowly count down from 60, 120, 180.. while shoving all the other thoughts out of my brain. It's like meditation, but meditation apps are a bit too interesting. I get distracted over how utterly weird they are.

Eventually, interspersed with all the intrusive thoughts and stressful shit ricocheting around, I start feeling a few brief twinges of boredom. If I'm really worked up it might take 10-15 minutes for these to take hold, finalling boring myself into calmness - at which point my shitty brain has stopped spazzing out and I can go back to getting shit done.

If you're neurotypical you can probably just put the phone away and go for a fucking walk. It will let your default mode network do its usual thing for a while, like it's designed to.

jb_s··on It takes $420k per year to run Lichess
For this reason I wish I could run something locally to generate the same analysis UI and therefore not put any load on the Lichess servers.
jb_s··on Logging as a code smell
> sLogger.debug( "Not marking nodes down due to local pause" );

vs

> NodeMarkingInactiveEvent.publish( localPause );

The second statement is totally not logging because it doesn't have the word "logging" in it. ;-)

That being said... conceptually, I do like the generality of publishing an event that describes internal system state, rather than logging a string on some level. OTOH the logging is supposed to be human, rather than machine-readable. But it's also gotta be a heap more work to do it this way and, maybe you'll never know if the error occurred cause the service lost network for some period of time (because it can't write to the event bus either!)

jb_s··on Our recent server issues
Good idea. Tho in the code itself (from a cursory glance) in L141 Sequencing(...) I see a bunch of nested maps - I don't know Scala but I think this may be a performance issue? Rather than hyperfocusing on parallelism or event systems etc since that stuff is comparitively hard to solve maybe refactoring this function/algo at the core of the pairing would have more bang for buck

https://github.com/ornicar/lila/blob/98691c8901cc0e7d0f338f4...

jb_s··on Every Schubert Song, Ranked: Listening to 40 hours of Lieder
The youtube algorithm can do alright here. The key is a recommendation system that actually segments you into the right sort of place, spotify doesn't really work properly for me in this way.

Other than that I have no idea. I find stuff through some of the more obscure music subreddits (often by literally asking people what else is similar to XYZ). There are undoubtedly blogs around but nobody really uses the internet like that any more...

Side note Spotify and other streaming platforms are awful for even searching for classical music.

jb_s··on Chemical emitted by babies could make men more docile, women more aggressive
Languages are hard enough without that!

I wonder if anyone has ever tried to make a "nightmare" language that is as hard to learn as possible.

Thinking like.. 13 tones, pops, clicks, whistles, every possible grammatical structure from other languages at once... etc

jb_s··on Low interest rates in advanced countries have pushed money into real estate
If we're looking statistically, detached homes are more expensive than apartments pretty much everywhere once you take into account location. And having a family with a toddler myself, trust me, apartments are not the best fit for that situation.

Anecdotally, in Australia, post COVID both rent and real estate in regional areas have gone up dramatically - much more than in cities - rapidly pricing locals out and forcing them to move elsewhere and sometimes find temporary accommodation. Now that WFH is more normalised and either want a quiter lifestyle or straight up can't afford houses in major cities, so they are moving to smaller towns instead.

My own preferences are fairly different but I can't argue with data.

jb_s··on Low interest rates in advanced countries have pushed money into real estate
Unsure about what it's like to rent in the US but in Australia it's horrible. Really weak laws around tenants rights.
jb_s··on The Snowflakes as Code Antipattern
Haven't used Terraform - ARM templates have a workable (though not elegant) expression system where you can use parameters to resolve stuff - so you indeed have one IaC definition and use your CI/CD to set parameter values and therefore setup whatever is needed for different environments. So your CI/CD knows about the envs and not the IaC code. As it should be I think.
jb_s··on Native-like Navigation of Web apps
yep I love accidentally visiting Business Insider and having to click back about 30 times through clickbait to leave the godawful place
jb_s··on The Snowflakes as Code Antipattern
Yes.

I personally prefer having IaC in the same repo as the code. Any changes to the code OR the IaC uses the git flow as per normal and requires a PR. When the PR is merged to develop its pushed to QA environments automatically - therefore updating infrastructure with the updated IaC.

We update deployment configuration separately (because why would we include anything environment-specific in the repo?), this never presents any major issues although sometimes I guess you'd need to update the config just at the same time as merging the code PR which is slightly inconvenient and is somewhat OCD triggering, but its a productive setup so I don't mind.

jb_s··on .NET 6 vs .NET 5 speedup
C# was never really slow in the same way as python, etc. And anyway 99% of the time you're gonna be slow because the sack of meat writing the program screwed up some aspect of the system design or the code. Unless you're using something really shit-tier for perf.

The gap closed significantly with .NET core, which is why everyone was quite surprised when .NET 5 (the next iteration) had a fairly significant speedup in many scenarios.

For reference, Stack Overflow was running on .NET MVC on like 2 servers pretty recently (with some auxiliary infrastructure for CDN and search) and using MS SQL.. I think it might still be running on this setup but not 100%. Honestly I have no idea how they do it on a .NET monolith but there you go.

jb_s··on .NET 6 vs .NET 5 speedup
As a .NET veteran, if anything .NET is 10x more relevant now that it's cross-platform... you don't need Windows to develop, you can containerise your apps and run it anywhere, it's significantly better now than in the old days (anyone remember debugging GAC issues?)

C# is still one of the best languages I've used, which is the reason why I've kept at it for so long - e.g. it got async/await semantics in like 2012 (just after F# did). I'm about to switch jobs to a company that uses Typescript/Node after years in .NET and I feel like I'm going to miss quite a lot of the development experience. I'm not sure which alternatives are necessarily better but again I haven't spent a significant amount of time with, for example, Golang or Scala. Swift was kind of equivalent but (AFAIK) missing some features and the vastness of the nuget package ecosystem.

jb_s··on Stereo Gear in the 1970s
Ironically, being a music producer myself, a whole bunch of the things in my mastering FX chain are intended to simulate the inaccuracies of analogue equipment that, by happy accident, enrich timbre with warmth through mild saturation, with sparkling high end by emphasising upper harmonics.. I have a whole cavalcade of painstakingly simulated tube amps and preamps, old analogue compressors/mixers/EQs, tape machines, delay plugins that simulate the artefacts of old bucket-brigade chips and the warbling of tape delay systems. Professionals and studios would have 10x as many doodads to, technically-speaking, fuck up the accuracy of the sound in some way.
jb_s··on WhatsApp end-to-end encrypted backups security assessment
encrypt with in-memory nonce
jb_s··on ProctorU is dystopian spyware
I'm interested in perspectives on this from outside the US or Anglosphere generally - I'm from Australia and the education is largely similar if not worse as it inherited British hierarchicalism (is that a word? it is now!)
jb_s··on An oral history of Bank Python
Thanks! Interesting stuff.
jb_s··on TypeScript: Control flow analysis for destructured discriminated unions
>since there is no runtime dispatch based on argument type

Ah, this answers my question I guess. Thanks for the info. I'm about to start a new job doing Typescript stuff so I am going to be deep diving into the language to get my head around it, so this helps a lot :-)

jb_s··on World food prices reach new peak since July 2011
I didn't imply that was my proof. I simply asserted, based on my knowledge, that it correlates very closely.

Feel free to do your own research to see whether data backs this up. I'll even type it into Google for you! :-)

https://www.google.com/search?q=food+prices+civil+unrest

jb_s··on An oral history of Bank Python
This immediately struck me when I was reading this article.

To be honest, this whole paradigm seems absurdly fucking efficient for the developers. But I wonder about stuff like

* What happens if the data model needs to change? If you need to move something from db["some/path"]?

* How is it coordinated at a larger scale, how does everyone know what is running and how it interacts with everything else - can you figure out what depends on an object? What if the data used by your Price(Security) object changes and breaks it?

jb_s··on World food prices reach new peak since July 2011
Inflation aside, I'm more concerned with civil unrest. This correlates very closely with food prices.

Last time was the Arab spring (Jan 2011 basically)

← PreviousPage 2 of 4Next →