Better HN
topnewbestaskshowjobs
Log inSign up

SloopJon

2,613 karma · joined Nov 15, 2013 (13y ago) · 775 submissions

Submissions

comment 6y ago · link · parent

I'm curious what you're comparing JavaScript to. Decimal is the native numeric datatype for the stored procedure language of the database I use. Otherwise, even in languages that have a decimal class in their standard library, it's usually pretty clunky to use; no better than, say, https://github.com/MikeMcl/decimal.js/ C# is perhaps the best among mainstream languages, although its implementation is a bit weird.

comment 6y ago · link · parent

I have an office with a door, and I generally prefer to go into the office, but the company is converting to cubicles, one floor at a time. When my floor gets the ax, I will probably transition to 100% WFH. This experience has shown me that I can do it.

comment 6y ago · link · parent

I see the same errors using Clang with -O1, -O2, and -O3.

comment 6y ago · link · parent

I don't remember what UBSan looked like in 2014, but it does something not entirely unhelpful for each of these examples, although they are caught at run time, not compile time:

runtime error: index 4 out of bounds for type 'int [4]'

UndefinedBehaviorSanitizer: SEGV on unknown addres

runtime error: reference binding to null pointer of type 'int'

comment 6y ago · link · parent

I'm amazed that this is even possible. I seem to recall that there are countries with unusable fighter jets, because the U.S. will no longer supply parts and expertise for maintenance. The article indeed states: "the purchase does include all of the RAAF's F/A-18 spare parts inventory and test equipment, valued at over a billion dollars alone."

comment 6y ago · link · parent

I also came across this the other day:

https://candor.co/hiring-freezes

I'm curious as to why the redraw performance for the embedded Airtable is so terrible. Is that normal?

comment 6y ago · link · parent

Amazon has sponsored a picking challenge for a few years now, but I'm not aware of this level of automation being deployed in production. The last I saw, a Kiva robot would bring a shelf of items to a human picker, who transferred an item from a bin to a box.

comment 6y ago · link · parent

Here's the discussion of the initial release:

https://news.ycombinator.com/item?id=19214387

The inability to handle embedded NULs (issue #40) felt like cheating, but that has been fixed.

It looks like I can fetch a number as a string, so I can read into a decimal type. I'll have to try that. Edit: nope, doesn't work. "The JSON element does not have the requested type."

comment 6y ago · link · parent

There was an ACM article with a similar sentiment recently: "C Is Not a Low-level Language - Your computer is not a fast PDP-11."

https://queue.acm.org/detail.cfm?id=3212479

HN discussion:

https://news.ycombinator.com/item?id=16967675

comment 6y ago · link · parent

I know it depends on the site/app, but for a hobbyist, what is the biggest gotcha in a "got super popular over night" situation? If I look at the quotas and overages for low-end plans from the following providers, e.g., it's not obvious to me where the realistic bottlenecks are:

* Firebase Hosting with Firestore

* Cloudflare Workers Sites (using KV)

* Netlify (possibly w/ FaunaDB)

comment 6y ago · link · parent

I think I've used one of these Gigabyte rack servers:

https://www.gigabyte.com/us/ARM-Server

I'm not sure offhand what the pricing is, but my guess would be less than $10,000, depending on the configuration.

comment 6y ago · link · parent

Microsoft's corruption of ISO to standardize Office Open XML is much more recent than that.

comment 6y ago · link · parent

Yes and no. As we've seen with empty or mostly empty flights to keep an airline's spot at the gate, airports are a finite resource. If airlines go bankrupt, you're likely to see consolidation exacerbated by a barrier to entry, absent regulation and/or antitrust enforcement.

comment 6y ago · link · parent

Then I don't understand how you "combine the master key and keyfile data to create your key." How do you change the master password without changing the generated passwords?

comment 6y ago · link · parent

The point is to decouple the master password from the generated passwords. The file can contain as much key material as you want, so it's stronger than any password you can remember.

comment 6y ago · link · parent

As someone who looked seriously at a scheme like this before reluctantly using a password manager instead, part of the appeal comes from vault anxiety. If I don't have the vault and a tool to use it, I can't access my accounts.

I like the idea of a scheme that I can use with a preferred utility, but which I could assemble from commonly available tools if necessary. It's not too hard to find PBKDF2 in a Python or JavaScript library, or reimplement it yourself using even more commonly available primitives.

To be clear, I was never under the illusion that a password generator is as secure as a vault full of random passwords. The point is to improve on password reuse, or trivial transformations on a core password. If you generate random passwords for every single account, this is not for you, but it's probably better than storing weak passwords in a vault.

The problem, even if you ignore the straw men that usually get pummeled on threads like this, is that as you address the practical and security limitations of a naive scheme, you tend to lose the simplicity of the initial idea. You end up adding counters and password rules, so you have state to maintain/sync. Even if you don't treat it as secret, it chips away at the essential appeal of the concept. One comment on this post even mentions using a key file.

comment 6y ago · link · parent

In general, these types of utilities don't treat the state (counters, password rules, etc.) as a secret, so I wouldn't count on the hash type being secret either. The security of this type of scheme depends almost entirely on not being able to reverse a presumably known key derivation function such as scrypt.

comment 6y ago · link · parent

The code that looks most interesting is the vector class library, which is licensed under the Apache License 2.0.

comment 6y ago · link · parent

It looks like FAH has GPU support, but I don't see an AArch64 version that I could install on, say, an NVIDIA Jetson Nano.

comment 6y ago · link · parent

Is there a consensus pick for the best ARM system around $1,000? I'm not looking for my main workstation, just something usable for building and running ARM software, and maybe acting as a host for ARM containers. I've seen a few options:

Jetson AGX Xavier developer kit - 8 cores, 32 GB, for $700

HoneyComb LX2K mini-ITX motherboard - 16 cores, up to 64 GB, $750

96Boards Developerbox (Socionext) - 24 cores, 32+ GB, $1,200

I'd like a little more than the 4 cores and 4 GB you can get with a Jetson Nano or Raspberry Pi 4.

comment 6y ago · link · parent

My gut reaction to the headline and the article was that it's a mistake to make such a distinction. However, if you look at QA/Support owning severity, and PM owning priority, it potentially reduces conflict--what do you mean this crash isn't critical?!

I think they are highly correlated, but they occasionally diverge.

comment 6y ago · link · parent

The front-page article on this site is "8 Surprising Facts about James Dean," so I wouldn't take it too seriously. It reads like a high-school or undergraduate essay. Also, FWIW, it's from 2012.

Hopefully a linguist will come along with better treatments of the subject, but Google turned up a couple of articles with more links:

https://curiosity.com/topics/the-american-accent-is-older-th...

http://www.bbc.com/culture/story/20180207-how-americans-pres...

And, of course, there's Wikipedia:

https://en.wikipedia.org/wiki/American_English

comment 6y ago · link · parent

"All chapters are available to download as of September 2019."

comment 6y ago · link · parent

Flash-in-the-pan stories like this are fascinating to me. I've never seen this kind of drama at work. No nights, no weekends, no screaming, no passive-aggressive snubs like the gift-bag iPods. I did a double take on the dates when I first saw this on Daring Fireball--who has this much to write about in a year or two?

On the other hand, I've never built a product from scratch so quickly. Google and Facebook didn't exist when I started my current job. Now they're gazillion-dollar companies. I've had projects on my wish list longer than Aperture was a product.

comment 6y ago · link · parent

Not sure how I missed that. The wiki page it links to has a nice list, which is apparently related to Visual Studio Code.

comment 6y ago · link · parent

It doesn't appear to be parsing at all. It's just looking for patterns.

If you look at languages.json in RulesEngine/Resources, files with the extension .html (and some others) are recognized as "html", with type "code":

  {
    "name": "html",
    "extensions": [ ".html", ".htm", ".cshtml", ".tmpl" ],
    "type": "code"
  },

This sets the scope for the patterns in AppInspector/rules/default; e.g.,

  {
    "name": "Content Management Framework: Wordpress",
    "id": "AI021200",
    "description": "Development Framework: Wordpress",
    "applies_to": [ "javascript", "html" ],
    "tags": [ "Framework.CMS.Wordpress" ],
    "severity": "moderate",
    "patterns": [
      {
        "pattern": "wordpress",
        "type": "string",
        "scopes": [ "code", "comment" ],
        "modifiers": [ "i" ],
        "confidence": "high"
      }
    ]
  },
This seems like it would be prone to a lot of false positives, but I haven't tried the tool.

comment 6y ago · link · parent

I don't see any mention of the languages that it recognizes, but a perusal of some of the JSON files leads me to believe that this handles many different languages. It seems that it's by way of regular expressions, though, not language-specific parsing.

comment 6y ago · link · parent

I thought you could only run Mac VMs on a Mac host. Has that changed, or did you hack VMware somehow?

Our automation group has a couple of maxed out trash cans just for Mac VMs. The IT department probably can't wait to replace them with the new rackmounts.

comment 6y ago · link · parent

We'll have to see what license they apply to the binaries. As the copyright holder, they wouldn't have to use (L)GPL. If the binaries are redistributable, then maybe someone will mirror them. Otherwise, people can build them from source, as many Linux distributions already do. If the source license were changed to prevent that, then I think we'd see a hostile fork pretty quickly from the last free and open source version.

comment 6y ago · link · parent

As some of the other comments have noted, this is like a free-to-play weekend, but longer. It does not appear that you can associate it with your account for free.

I was surprised that I don't already own Half-Life on Steam. I have the Orange Box, but I guess I only have boxed copies of the older games and expansions.

1
121314
26