HNHacker News
TopNewBestAskShowJobs

bubble_boi

206 karma · joined October 9, 2014

submissionscomments
bubble_boi··on [dead]
Also see some excellent comments on Reddit: https://www.reddit.com/r/programming/comments/1aigom1/the_th...
bubble_boi··on 2D Tokenization for Large Language Models
This article is about how we process text before passing it to large language models, the problems with this approach, and an alternative solution.
bubble_boi··on Harvesting credit card numbers and passwords from websites
Thanks for this. I've added a note to the post. "...consider having dedicated, lightweight pages for login and credit card collection that don’t ship any third party code (npm packages, advertising, analytics, GTM, etc.)"
bubble_boi··on Harvesting credit card numbers and passwords from websites
I originally wrote "about half" but there was one too many words in the sentence. Also I figure for an eCommerce site max-traffic might be 7-9pm or something so even though there's more sleeping happening outside 7am-7pm, there might be equal traffic. Anyway ... close enough.
bubble_boi··on Harvesting credit card numbers and passwords from websites
Author here. Someone in a comment pointed out that you if you could get your code in express middleware (or something depended on by express middleware or similar) you could potentially alter any CSP header in the responses (if it's set in middleware before your's in the chain).
bubble_boi··on Many packages suddenly disappeared
Hey, I wrote that article :) - yes it was pure coincidence, I just decided with all the security stuff going on this week (Spectre/Meltdown, I hadn't heard about the npm stuff) I'd write and article about it.
bubble_boi··on Master web development with over 9000 tricks
I laughed out loud at that. I have improved the contrast now so they will have to find something else to hate. Probably kittens.
bubble_boi··on Master web development with over 9000 tricks
I've changed it to 400 now.
bubble_boi··on Master web development with over 9000 tricks
Thanks for the useful feedback, it's much appreciated. Buttons are now full background colors, looks much better. It also should now be easier to see which nodes have children.

Please have a look at this issue: https://github.com/davidgilbertson/know-it-all/issues/8

I need to have a think about (and see what other people think) how to deal with inheritance of 'scores'. If you click "I don't care" to WebGL, it should trickle down, but probably not for "I know it". So I need to cover the different scenarios but stay intuitive.

I also need to have a think about how to show some information about what's happening below an item in the tree. Maybe just a % unrated for each row or something.

Regarding flashcards, love the idea, don't love the amount of work it would be :) I left a reply to a comment on medium about this if you're interested.

bubble_boi··on Master web development with over 9000 tricks
There were legitimately exactly 10,000. The anarchist in me took out 15.
bubble_boi··on Master web development with over 9000 tricks
This has been common feedback, my monitor must be quite high contrast, I will fix when I get home tonight. Thanks for the feedback!
bubble_boi··on 19 things I learnt reading the Node.js docs
I see now I wasn't clear on that. I've updated the example to show that the paths won't be the same.
bubble_boi··on 19 things I learnt reading the Node.js docs
And it gets bigger as your browser window gets narrower!
bubble_boi··on The Correct Way to Validate Email Addresses
I'm planning a follow-up post with all sorts of real validation just like what you mention here. Can't take too long to build an array of 'probably typos'. I wish had access to logs of failed emails.
bubble_boi··on A Web Audio experiment – detecting piano notes
If I was to carry on with it, I would look into using byteFrequencyData rather than timeDomainData. My initial attempts with the frequency data weren't great, but a few people have mentioned it so I'd take another look and see if I just wasn't doing something dumb.

I felt like the most fiddly work would be accurately sampling the sound. E.g. not recording when it was under (or maybe over) a particular volume, ignoring the initial thud of a key (particularly with the phone sitting on the piano), and making it so that the correct 'note' stayed blue as the sound trailed off and got less reliable.

bubble_boi··on A Web Audio experiment – detecting piano notes
Thanks!
bubble_boi··on Ask HN: Programming Languages for Career
From a career perspective, JavaScript has a pretty wide reach. Jobs range from designers that fiddle with JS to server-only NodeJS jobs and plenty in between. A demand for JavaScript devs writing mobile apps is growing with things like Facebook's ReactNative and there are decent desktop apps (VSCode, Atom, Slack) too, although it's not exactly a demand just yet.

Money is good too, here in Aus $600-$800 a day (or around $130-$160k a year) is the going rate for a decent developer with a few years under their belt.

bubble_boi··on NPM packages: they ain’t free, you know
Big Kev is asleep on the lounge next to me. Little Kev is under him somewhere. Toula, Foula and Agape are curled up in the clothes dryer, it's still warm because I had to wash all my linen today. Silkie is under the bed screaming again. I've given her some fox prozac and it seems to be helping. She is a troubled soul. Mr Smithers will be missed, but has gone to a better place.
bubble_boi··on Reddit Acquires Alien Blue, the Most Popular Unofficial Reddit App
They should buy http://www.bubblereader.com/ too!
bubble_boi··on How does a fighter jet lock onto and keep track of an enemy aircraft? (2013)
Browsers should block this by default :)

Although www.w3fools.com has softened its stance.

bubble_boi··on Continuous Integration is Dead
You really should be starting your titles with 'why', for that extra punch.