News for hackers. Stuff that matters.

ownedthx

The numerical issues here are due to JavaScript, not JSON.
‘The Manor on Stagecoach’

https://g.co/kgs/tgHhdkD

You aren’t alone

It’s writing colloquially… the writer has the difficult job of describing something that’s happening inside this cabinet over time and space and other dimensions Imposed by the game and players behavior.

Bear with us means, ‘I’m about to do a bunch of description… shore up your mental banks and prepare to reread the next bit a few times.

Man

Re:Why are most sofas so bad? on Thursday March 14, 2024 @10:09PM (#39711379)
Amish furniture is built extremely well. And the price is not cheap but not exhorbiant. And clearly American made :)
If you had lived through the last blackout and still lived in Texas, then absolutely yes it’s newsworthy. We want to grade our government accurately. Almost having a collapse again is a bad mark on the test score.
Re:Online Jamming and Concert Technology on Monday May 25, 2020 @09:01PM (#23306448)
wince

We need to take that section/link down.

We did do a KickStarter for the JamBlaster, made ~200 and shipped them.

https://www.kickstarter.com/projects/1091884999/jamblaster-t...

But we are not in a position to be focusing on custom hardware.

... a dedicated device is half the puzzle. That, and a low-latency network connection to your peers. You have those two and you can get a reliable experience.

Re:Online Jamming and Concert Technology on Monday May 25, 2020 @06:19PM (#23305534)
JamKazam founder here. Happy to come across a user!

We see that too: 25ms one-way latency is the max to stay in sync, and that includes both internet + audio device encode/decode, which gets eaten up quite fast!

We are looking at providing an optional premium networking service to offer a faster connection as an alternative to the open internet. Nothing too expensive, like $10/month is the goal. Hope that gets you and your friends under that magic threshold when it's available, if you try it out.

Re:Was there a civilization on Earth before humans? on Saturday April 14, 2018 @11:42AM (#16837775)

Ask HN: Volunteer opportunities over Slack?

I'd love to help mentor/coach folks trying to learn programming, and would like to do it over Slack (or something close to it).I'm thinking for others like me would find this to be an extremely convenient way to volunteer. I could set aside an hour, or more, while sitting in front of my computer.Ideally there is already a 'vetted' slack channel where people who needed the help were in need of...

( Read More... | 1 comment | on HN )

Ask HN: How do I go about finding public data?

Say I wanted to know if I could find data on the number of public servants a particular city employs, and data on the sort of jobs these employees have, and any other related data?I don't know the 1st step to take in terms of finding this data.Any suggestions?

( Read More... | 2 comments | 4 points | on HN )
Get them out of the house. It's the same quitting unhealthy food. Take away easy access, and you'll do something else.
The frontend is all HTML inside of the webview.

We do have a tray icon too, though.

We have a website presence too, and the website UI (as visited in a normal browser) is 95% the same style and functionality as the desktop app.

So when you browse to our site via the desktop app, certain OS-only features turn on.

So it made a bunch of sense to use QtWebkit. I welcome the switch to QWebEngine though, if for nothing else in the hopes that the underlying browser code gets a update and the app will hopefully then feel more responsive.

Thanks!
Mind sharing your stack?
We have a desktop application that uses QtWebkit for the UI.

We had no choice technically-we need to use audio APIs on Win/Mac to get our job done.

Based on my experience, I would not recommend building a desktop app unless there is a technical reason to do so.

Data storage, building installers, signing your app for target OS's, and dealing with auto-update are all technical problems that I'd prefer to avoid if I could. Building cross-platform code is also a pain and, while totally doable, will slow down a team that is not familiar with it, I think.

If I really needed to build a desktop app in the future, I'd investigate building building a headless app that hosts a websocket, and use the user's browser to connect to a localhost websocket to communicate with it. (i.e., a technical choice freeing my from Qt)

Ask HN: Stimulating websites for kindergarteners?

I help with a hour long 'computer lab' for my child's kindergarten class, and the teacher asked if I had any ideas for the last 3 classes of the year.A big plus in usability is if the website reads to the student (with a contextual ? sign or something like that). This is critical for most of the kids based on their reading level.Being a programmer, I would love to let them build (and publish!)...

( Read More... | no comments | on HN )
Re:The Trouble with Tor on Wednesday March 30, 2016 @03:50PM (#11392383)
Antecdata: most of the scamming directed towards our startup comes from Tor exit nodes.
Re:To Prevent Back Pain, Orthotics Are Out, Exercise Is In on Thursday January 28, 2016 @06:13AM (#10987527)
Annecdote time.

My back has hurt for about 15 years, since the age of 18.

I didn't exercise reguraly during that time.

I haven't had any pain for the past 2 years... The change us definitely tied to this: I started working out reguraly (HIIT style in my case).

A scheme I settled on a previous job that I really liked for internal apps was:

branch-buildno

Where branch is the git branch, and buildno came from our build machine (Jenkins in our case).

examples:

* develop-5

* master-10

I then used this ivy-based project: https://github.com/sethcall/depends to push those dependencies to our own internal artifact repository.

Because of this, I could say, 'use the latest artifact on the develop branch', or, I could say 'use exactly master-103'. Those two alone were pretty powerful.

By the way, I asked Maven devs if this would numbering scheme would possible (at the time, I would have happily used Maven instead of Ivy because I had to build some tooling to use Ivy); they were strongly against the idea: http://maven.40175.n5.nabble.com/Is-it-possible-to-tie-curre...

Re:What's new in Rails 5? on Friday September 25, 2015 @09:53AM (#10278110)
I'm not sure if this is baked into Rails 5, but you can get es6 support (via Babel) with the sprockets-es6 gem:

https://github.com/TannerRogalsky/sprockets-es6

Rails is still a second-class JS citizen due to the asset pipeline being opinionated and controlling compared to the node way of doing things, but it gets you closer to 'the new hotness'.

Re:Ask HN: How do you remember syntax? on Sunday September 20, 2015 @03:57PM (#10248806)
My unintuitive experience is that I remember .NET 2.0/C# syntax better than any other language, and it was because Visual Studio had the best tab-completion around (probably still does).

Perhaps because I never had to switch out to a browser (usually I could just 'tab' to the right answer), I was able to keep the code in front of my eyes and 'loaded', and somehow etch more corner-case syntax into my brain.

Show HN: Play music with others in real-time (with video)

Over a year ago, we released JamKazam (https://www.jamkazam.com). At the time, our focus was solely on getting the audio as low-delay as possible, to enable musicians to play across the internet, in real-time. Lag has to be not noticeable, or at least tolerable, for this to work. There is lots of skepticism, because I think people intuitively know that every combination of network...

( Read More... | no comments | 2 points | on HN )
Re:Ruby on Guix on Monday August 31, 2015 @08:46AM (#10146553)
Valid points.

We use a 'monorepo', so everytime we update any gem dependency, all of our apps get rebuilt entirely. So, updating all of our packages or not isn't a problem.

And I like the duplication, believe it or not. After having debugged environmental problems with dependencies in various languages over the years, I'm happiest knowing the dependencies in question are in vendor/bundle; end of story. Sometimes, in case of a nasty bug, I have a one-liner fix and I can go to vender/bundle, tweak the gem, and know I only affected the app using it. Those are things I prefer over some lost hard drive space.

Build times are a little long for us, though. That is true. I do a fresh bundle install on every build. That is the second longest part of the build, behind running our dog slow web tests.

Re:Ruby on Guix on Monday August 31, 2015 @06:51AM (#10146222)
As someone who deploys Ruby software to our servers, I've come up with a formula that's served us well.

We take all gems associated with the app (like a Rails app, but we do it with others), and stuff them along with the code into a package created by fpm.

In other words, the packages are completely self-contained; no gems are used from the environment.

The key to this is the --path option to bundle install, i.e.:

bundle install --path vendor/bundle

This command makes sure all my gems are in a sub directory of my project called vendor/bundle. When creating the debian package using fpm which includes all the source code, vendor/bundle also comes along with the package.

After installing the app on our Linux servers, 'bundle exec rails server' uses the gems from vendor/bundle.

This approach does require that I create the debian package on a machine that closely mirrors the deployed servers, so that compiled gems make any sense.

Most all the issues described in the article have not been problems because of this approach. I used to use rvm as part of my build process; it was very brittle. I'm completely happy now; just wanted to share in case that helps someone else.

Since there are US cities like Texarkana, AR that have not have fluoride in the water ever, it seems they would be a decent way to harvest some data quickly and get to the bottom of this.

Anecdotally, I know a dentist that would work 2 days a week there as a sort of 'import-a-dentist' program, and she thought teeth were, in general, in much worse shape there than Little Rock, AR (3 hours away). Not enough to go on obviously.

Older »