1,969 karma · joined May 18, 2017
Maybe this is just my opinion as I started a significant golang app with just vanilla stdlib and then added each of these complexities in turn, before switching to libraries to solve most of the boilerplate better than my hand-crafted patterns
-CORS support. Deploy this to a non-local domain and try to reach it from a web browser and it will fail. I like https://github.com/rs/cors. I had rolled my own but then moved to that library.
- input validation. I like go-playground/validator.
The other big issue is the locking by hand around the task store. In reality usually there would be a database to handle concurrent read/writes. I use SQLite in production. I know this is just a demo and you want to use just stdlib, but serializing all data access is sort of unacceptable as a solution in a concurrent language like Go. When I'm not handling concurrency with SQLite I like to implement The actor pattern, having a persistent goroutine listen and respond to "taskstore" requests via channels.
https://www.magneticmag.com/2012/08/the-aphex-face-visualizi...
Edit: looked closer at the post, the DC offset lasts for over 100ms per cycle.. yeah that's a problem
I would love to see your 100-200 lines if you are willing to share. Not asking you to ship it and support it and end up the N+1'th unsupported DND library though ;)
Drag and drop still seems like a mess. Browser support and touch support varies so you can't just use native APIs. Every popular library sits with tons of open issues and open PRs. Corporate solutions that have been open sourced appear abandoned. All the libraries I saw clocked in over 100kb.
Am I wrong? I want the "preact" or "day.js" drag and drop library. 10kb or less poly fill that gives me the basics. Does that exist?
In other words you are asserting there was absolutely no illegal content on parler that would require them to moderate their content when asked. If that's the stand you want to take, cool, have a great day, I am not responding to you further. Corporate legal risk assessment is what killed Parler.
Some if it has the risk of ending up judged treasonous as well, and that's all that matters to a risk averse company.
Apple told Parler to moderate their extremist content, and Parler refused. At that point, if Apple left Parler on the App Store, Apple would be complicit. Same story played out for all the services.
And guess what, treason by definition is infectious. Giving aid to an enemy of the United States. So Apple at that point would be opening themselves to a huge legal liability if they kept the app available. Nothing has been proven in court but big tech is naturally risk adverse.
If Parler has agreed to moderate extreme content, even if they had done so dragging their feet, they would still be alive.
Still very early days but you can try it out at https://sequencer.party - you can share session URLs with friends and jam.
In any company, employee trust is a huge benefit when it works and a huge concern when it's missing. this Gumroad model would require even higher trust to operate so independently and not incrementally add more "check up" meetings and slack etc etc.
Can anyone from Gumroad speak to how they built the team? Hiring some roles from your customer community makes a lot of sense as they already will have some feeling of propriety. Have there been bad hires? I guess having everyone on contract makes it easier to move on.
The first CNC (MyDIYCNC) was 6 months late and the quality was horrible. The two MDF walls that held the metal Y axis in place were pre-drilled more than an inch apart. It was sold as a budget CNC printer but in reality was basically useless except as a learning exercise in what matters in CNC design.
Of the two 3D printers I bought, neither arrived. The Peachy Printer was a cute, simple, and cheap design.. after many updates of adding complexity and delays one founder accused the other founder of running off with the funds and buying a house, but did so in such a weird way one has to wonder what the hell actually happened.
The other 3d printer I don't even remember the name.. it was supposed to be high quality and cost around $300 CAD. Manufacturing delays and issues, they cancelled the whole thing and shipped nothing.
I mean, part of it is that I don't work at a big company that requires I transpile 100k LOC every time I want to see my work on screen any more while attending to 100 slack channels at the same time, but I'm typically running Goland, VSCode, Safari (what I use personally), and Firefox (better for testing my web code) at the same time and it's snappy. Maybe 2-second compile typescript or go compile times, no noticeable slowdowns switching apps etc.
My laptop: MacBook Pro (Retina, 15-inch, Late 2013) 2.3 GHz Quad-Core Intel Core i7 16 GB 1600 MHz DDR3
From what I understand, USB-C Macbooks that came after this magsafe generation had to CPU throttle earlier to deal with thermal issues, so despite better specs they couldn't get pushed without overheating. As well as heat/throttle issues if you try to charge it from the wrong USB-C port.
I would suggest you REALLY self assess carefully - are you not sleeping because of actual fresh pain? Or are you not sleeping because your body wants a nice fuzzy cloud of opioids to crash on?
Your first night of sober sleep is going to be a bit tougher no matter what, I suggest you try acedominophen and ibuprofen alternating to cut the surgical pain but you'll still need to get through the lack of narcotics
Now I can get mostly where I want to go without frameworks and it is very empowering. It's just another language, it's not that tough.