News for hackers. Stuff that matters.

daveroberts

Re:Microsoft GW-Basic Interpreter Source Code on Monday March 07, 2022 @08:32AM (#30587504)
I suspect they'll get zero PRs:

"The files in this repo are for historical reference only and will remain read-only and unmodified in their original state.

Please do not send Pull Requests suggesting any modifications to the source files."

It seems almost self evident the game would not have been greenlit without a form of DRM. Most of the comments here are lamenting the game having DRM, but they're comparing having the game with DRM vs having the game without DRM, not having the game with DRM vs not having the game at all.
Well done! Not an easy task
Re:Don’t we all just want to use SQL on the front end? on Thursday April 15, 2021 @01:31PM (#26823580)
> we should have an SQL database in the frontend

Although not SQL, this is essentially the approach Meteor takes where you have your same DB on the front and back end https://www.meteor.com/

Re:On Repl-Driven Programming on Friday January 08, 2021 @02:14PM (#25688817)
Not Ruby's default REPL, but Pry Stack Explorer provides this functionality to Ruby
Re:Apple introduces macOS Mojave on Friday June 08, 2018 @08:26AM (#17264618)
Microsoft had an advertising campaign for Windows Vista called the Mojave Experiment: https://en.wikipedia.org/wiki/Mojave_Experiment
Re:Ruby 2.6.0 with JIT now 6x faster than Ruby 2.0.0 on Saturday March 10, 2018 @09:27PM (#16561403)
Are there any good real world benchmarks for Ruby?
Re:Sneak Peek: Beyond React 16 [video] on Sunday March 04, 2018 @08:20PM (#16517986)
This is very cool. I'm heavily invested in Vue.js, but seeing these kinds of features of the horizon with React makes me a bit jealous.

The APIs do see unintuitive, but as Dan said, they are not finalized yet. I remember trying to implement a drag and drop component in React and having a bit of trouble with complicated APIs. Hopefully this keeps getting cleaner.

Re:Amazon announces candidate cities for HQ2 on Thursday January 18, 2018 @04:09PM (#16181475)
> William Whyte‘s rule: Virtually all corporate relocations involve a move to a location which is closer to the CEO’s home than the old location.

Of course, it's hard to pick any location farther than Seattle from DC.

Re:Twirp: A new RPC framework for Go on Wednesday January 17, 2018 @10:25AM (#16168634)
I'm trying to understand the problem this solves. Let's say you have an HTTP API which allows users to update their email address:

    POST /api/user/:username/update_email
But you change the application to require API clients to send the user_id instead of the username.

    POST /api/user/:user_id/update_email
Wouldn't you still need to mandate that all clients are updated regardless of whether you use this tool as an abstraction layer to your API?
Re:Consul 1.0 Released on Tuesday October 17, 2017 @02:09PM (#15493210)
How is TOML not properly nestable?
Re:Show HN: Vexlio – Create precise, beautiful diagrams on Thursday June 15, 2017 @10:41AM (#14560807)
How did you make / optimize the animated gifs on the front screen?
Re:I used LAMP to make a SaaS app with $3700/month profit on Sunday February 12, 2017 @03:41PM (#13630632)
How did you handle user signup / authentication to your service? Did it piggy-back on VK's authentication?
Re:How I built a Hacker News client with Angular 2 on Friday September 23, 2016 @01:33PM (#12566404)
There are some other issues for users trying to follow along. I hit my next snag from moment.js not being imported, and not having the filters domain, amFromUnix and amTimeAgo not being found. I see you addressed these points later on in your post notes, kind of as an "excercise left for the user". After that point, I just read the article and stopped trying to follow along. Perhaps it wasn't your intent to make a step-by-step type article, but I'm just sharing the experience I had trying to go along one step at a time. I appreciated the article, especially because right now we're starved for Angular 2 content, and there's not a lot out there yet.
Re:How I built a Hacker News client with Angular 2 on Thursday September 22, 2016 @12:51PM (#12558186)
Just a minor point, but your first stories.component.html snippet doesn't include {{i}}, so the way it renders in the browser is different than your screenshot
Re:How I built a Hacker News client with Angular 2 on Thursday September 22, 2016 @11:47AM (#12557677)
Fails for me pretty early on:

ng set defaults.styleExt scss

Could not start watchman; falling back to NodeWatcher for file system events. Visit http://ember-cli.com/user-guide/#watchman for more info. Cannot read property 'serialize' of undefined TypeError: Cannot read property 'serialize' of undefined

I installed watchman and received the same error

Looks like this has been reported elsewhere: https://github.com/angular/angular-cli/issues/1905

Re:“It's The Future” on Wednesday August 17, 2016 @02:32PM (#12307102)
Multiple microservices are supposed to have different data backends, so that they are completely independent. Splitting your data up this way isn't all roses, but ideally the services are isolated so an update to one doesn't affect the others.
Re:Ten Rules for Negotiating a Job Offer on Monday August 01, 2016 @11:17AM (#12203016)
One method: My employer has asked me to keep some information confidential, including its employee compensation. I'm sure that you expect your employees to keep a certain level of confidentiality about information as well, including compensation.
Re:Sublime Text 3 marked as recommended build on Tuesday May 31, 2016 @02:41PM (#11808936)
What is the "code insight" feature? Is it an intellisense feature of VSCode?
Re:A Taste of JavaScript's New Parallel Primitives on Thursday May 05, 2016 @04:32PM (#11639458)
I know very little about the subject, but when multi-core processors were first introduced, I remember that the general wisdom was that server software could benefit, from its highly concurrent nature, but games and graphics would not, because they are generally single threaded. I wonder if the general wisdom at the time was wrong, or if there has been a big shift to take advantage of multiple cores. I'm guessing the later.
The first result from Google for nodejs worker pool leads to this project: https://github.com/jeffmo/node-worker-pool

The project has only 9 stars on GitHub. While it might be a perfectly fine solution that fixes OP's problem, it certainly doesn't inspire confidence as a battle-tested production-ready library. On the other hand, worker pools and Golang go together very naturally.

Re:Announcing Meteor 1.2 – ES2015, Angular, React, and More on Tuesday September 22, 2015 @02:47PM (#10260718)
Thanks. Should any other packages be in core that are not?
Re:Announcing Meteor 1.2 – ES2015, Angular, React, and More on Tuesday September 22, 2015 @01:29PM (#10260162)
How often do you use npm packages which are not part of atmosphere? I remember this not working great. Have things changed?
Re:Nim (formerly Nimrod) 0.10.2 released on Monday December 29, 2014 @11:12AM (#8810325)
Go and Rust and included in the Computer Language Benchmark game: http://benchmarksgame.alioth.debian.org/

Nim, and many of the other interesting languages mentioned in this thread are not.

I'm not sure if this is a cause or effect.

Re:Vim Git Gutter on Monday March 11, 2013 @08:51PM (#5359391)
For what it's worth, I installed this in my VIM, switching between files took about 4 seconds instead of 1, so I uninstalled it.
Hey, I'm a fan of your recess framework and I wanted to stop by to say I was going to look into this library you published just based on that fact.