HNHacker News
TopNewBestAskShowJobs

semitones

1,090 karma · joined December 10, 2019

submissionscomments
semitones··on San Francisco is spending $1.7M on one public toilet
Ideally, public toilets are for everyone - for the public...
semitones··on Semantic reconstruction of continuous language from non-invasive brain recording
"computer everyone trusts" - I'm pretty sure people would take the computer in question with a grain of salt for _many_ years to come
semitones··on Show HN: A framework for building Slack bots in Python
We have a slackbot that announces when a new customer signs up for our service, with some info on them and links to view them in our admin dashboard + third-party apps. Also, once our app hears back from a third-party fraud-protection API, the slackbot will reply to the message with info on the result, and will also react to the announcement message with an appropriate emoji :) Helps out our support staff a bunch, reduces the surface area of the things they have to consistently look at.

It's very useful for us right now at our current scale. Should we start getting an inordinate amount of new signups everyday, we will have to start relying on other methods to understand the signups.

semitones··on [dead]
While I agree with the general premise underlying some of the dystopic overtones, I don't fully believe that just a handful of mortals will be able to point their optimized machines comprised of private software at a novel problem and chug away - the amount of humans that need to be in the loop for any of these large companies to function is staggering, especially when you consider 2nd, 3rd, and nth order effects...

However, I do believe that in general the giant and well-oiled tech behemoths will continue to contribute towards global inequality for a while longer before they are stopped.

semitones··on Wordris
This is buggy. Got to a state where there was only one place to put it, and the console kept printing "Invalid placement", and there was nothing to do. Console also complained about bad object access, where you're trying to use a int timestamp as a key, where it expects a string. Also the console is littered with debug statements. A bit too early to post on HN imo.
semitones··on Californians are flooding Mexico City. Some locals want them to go home
Oh how the turn tables
semitones··on Ask HN: Solving an algorithm interview without explicitly coding the solution?
> Has this ever been enough for anyone to pass an interview challenge?

Yes.

Ideally, you shouldn't be "memorizing" solutions. You should be first attempting problems on your own with your very best effort, and only after successful completion, or after sufficient effort, should you look at the solution. If glancing at the solution for 15-20 seconds is enough to understand "the trick" you should then close the solution immediately and try the problem again. If the methodology or technique is more complex, then you should spend more time trying to understand it, which may include revisiting some prerequisites and relevant foundational concepts.

If you understand a large enough variety of problems, then you will find that the techniques that you have learned are applicable for many novel problems you may be asked during an interview. After taking 5-10 minutes to properly understand what exactly the problem is asking, and clarifying assumptions/preconditions, you should already have an understanding of how you would solve AND code out the problem.

It is difficult to come up with a working solution in code in a short amount of time - practice makes perfect. Good interviewers try to filter out small bugs/discrepancies that are introduced due to time trouble, and will focus on the bigger picture of your algorithm and function design.

Some problems are simple enough that it is possible to:

* receive the problem description

* clarify all assumptions

* discuss a potential solution / thought process

* illustrate a couple of examples of input/output

* discuss edge cases

* implement a solution in code

* trace execution with some input examples, verify it matches expected output

* discuss how the algorithm could be expanded if the problem was amended

-- all within 60 minutes.

semitones··on You have a sad feeling for a moment, then it passes
Well, technically you're no longer playing nethack. You're playing a new game, comprised of nethack and cp.
semitones··on Shipping Multi-Tenant SaaS Using Postgres Row-Level Security
Btw that's a localhost link
semitones··on There are 2¹⁰²⁴ things you can do with a kilobit
I got a solid chuckle from this...
semitones··on Buy it Online, Review it on Cartstr
Tried searching for "guitar", "soccer", "burger". None of those queries yielded any results. And they took a while to complete. Then I realized that you can only search for stores, not items. Searched for "guitarcenter", "soccer.com", and some other sites. Also no results. Something like this would only begin to be remotely useful if it there was attempt to bootstrap it with reviews prior to launch (of course these days one can "launch" as many times as they want :D )

The UI needs to be polished more imo. For example, the "Register" and "Click Here To Register Your Business" buttons in the registration modal have no vertical spacing, which doesn't look good. The site screams "Bootstrap/Material" or whatever to me, it doesn't have a unique branding or aesthetic to make it memorable or unique (of course it seems this is a WIP).

The "Claim Your Business" page doesn't seem too thought through... What if my business is in more than one of those categories? UI doesn't let me specify that. After clicking submit, I have to scroll to the bottom of the page to be able to tell that something happened (bad UX).

Overall, the website is very slow. Seems like the server is in Utah, and I've arrived here before the HN hug of death, so something else is going on. According to `whois` your provider is newfold.com? Haven't heard of them, so don't know what they're about so can't give advice there.

Lastly, performance and UI/UX aside, how are you going to handle the most difficult problem of all, verifying the authenticity of reviews? Even if this gets traction, if there isn't a good system to prevent fraudulent reviews then this site will be essentially worthless.

semitones··on Modern cloud for multiplayer games
It's easier to prevent cheating if the engine is on the server. Could you elaborate on what you mean by

> they shared the same seed (which makes it deterministic)

In addition to game init params (like random seeds), the game state is also a function of time, which cannot be synchronized the same way that seeds can.

semitones··on PyPI: Python packets steal AWS keys from users
I got really excited thinking this was something super interesting that I didn't know about i.e. "Python packets?? What?? Stealing AWS keys?? How??" Disappointed that it's actually just malicious packages
semitones··on SMS phishing is way too easy
Funny how friends, life, and everything other than 2-way auth is on the "burner" :)
semitones··on Minikube now supports rootless podman driver for running Kubernetes
Well also, minikube is meant to facilitate development and testing. We use minikube for local dev, tests, etc. and everything transfers over well to the production k8s cluster
semitones··on As weed gets more potent, teens are getting sick
I think you are absolutely correct. This is my experience and viewpoint as well.
semitones··on YaLM-100B: Pretrained language model with 100B parameters
https://coreweave.com/ offers some of the cheapest GPU compute out there
semitones··on Last public payphone removed from Manhattan streets
My first thought exactly when seeing this news!
semitones··on Minikube quickly sets up a local Kubernetes cluster on macOS, Linux, and Windows
We use minikube for local development, very useful.
semitones··on On rebooting: the unreasonable effectiveness of turning computers off and on
To better understand why we can't just load a snapshot of the "desired" memory state directly from a cached image, we have to understand what the OS actually does during it's initialization.

One of the main responsibilities of the OS is to manage hardware resources. During init, kernel drivers and modules perform health checks and determine availability and status of hardware resources, peripherals, I/O, etc. Since lots of things could go wrong with the various hardware components, at anytime, this process should be performed during each system boot.

semitones··on Limb lengthening surgery is becoming more popular
And what do you do if you're short in the south?
semitones··on twitter/the-algorithm
Care to explain "thought bubble Brooklyn based reporters"? Did you choose Brooklyn for the alliteration? Or is there something about my home I should know about?
semitones··on A project with a single 11,000-line code file
That's like running down the side of a very steep mountain and calling it a successful endeavor before you've reached the bottom
semitones··on Artists Who Code, a group helping artists switch careers to tech
Are you going to pay them six figures to keep doing art?
semitones··on Show HN: Search Engine for Blogs
The blogosphere was certainly very different in 2006 than it is now - perhaps it's worth another go?
semitones··on Browser in the Browser (BITB) Attack
Sad, but likely.
semitones··on Browser in the Browser (BITB) Attack
An incredibly large amount of the complexity that exists in today's internet infrastructure could be eliminated if we didn't have to worry about security/trust. No need for HTTPS, encryption, or even passwords for that matter (in a perfect world where everyone is who they say they are). No need for certificates, no need for public/private keys, no need for ASLR, etc.

Of course, these protect against more than just malicious behavior, they also provide safeguards against human error. However, in a world where malicious behavior didn't exist, many of their designs could have probably been far simplified..

semitones··on [dead]
There are many Russians who oppose the war, this sort of thing doesn't help anyone
semitones··on Jless – a command-line JSON viewer (written in Rust)
It's not meaningless though. With all the checks and balances that the rust compiler enforces, you have a higher likelihood of having a correct and less buggy program.
semitones··on Jless – a command-line JSON viewer (written in Rust)
I love it!
← PreviousPage 4 of 6Next →