skysight-inc/HackerNews huggingface dataset:
The new redesigned gmail is another site that loads a lot slower on FF than in Chrome.
The turisk have 9 microtones per full step. This gives the scale more 'perfect' sounding pitch.

Musical scales have a very sound physical basis. Two notes sound good together when their frequencies easily ring together. For instance, an octave (which is present in all music all over the world, but just called differently) is two notes where one note has double the frequency of the other. So one note will make a full period while the other makes two. This is pleasant, but a tad boring. You can make an octave of your octave, still pretty, still boring. It's a dead end.

The next pleasant sound is when one note makes 2 periods and the other 3. These are your forths and fifths in western music. These intervals give endless possibilities. A forth of the fifth gives back your base note, similar to a fifth of your forth. But! Fifth of fifth and forth of forth go endless. Each will result in a new note that sounds less pleasant but more interesting together with the base note.

(the forth is the inverse of the fifth: forth(fifth(base)) = base AND fifth(forth(base)) = base. I'll only talk about fifths hence forth)

A scale is an 'arbitrary' bunch of these notes together sorted by pitch. All scales used in the world can be constructed out of fifths. How many fifths to make a scale? We usually stop when the note is _almost_ equal to the base; that way there is an even representation of the frequency spectrum whilst having many notes that sound good together. For instance, western music, the 12th consecutive fifth almost sounds like the base (it's frequency is 1.3% off) The microtonal scales 53th consecutvit fifth is only 0.21% off. The pentatonic scale which uses only 5 notes, is 5.3% off.

5 notes: 5.3% error
7 notes: 6.8% error
12 notes: 1.3% error
41 notes: 1.1% error
53 notes: .21% error

So you see that pentatonic is nice and easy, cause your instrument only needs to play 5 notes and all is pleasant. The next amount of notes you need for a smaller error is 12, then 53. So you could say things about effectiveness of amount of notes here.

Another remark: western classical music uses the 12 note scale, but pop music often limits itself to only seven of those.

Here is some psuedo code to play with it yourself:

BASE_NOTE_A = 880
def note(n):
f = BASE_NOTE_A * (3/2)**n
while f > BASE_NOTE_A:
a = a/2
return a

plotted results: https://pasteboard.co/Hwd7VCw.png
Both me and my wife fall in category 1, but were unceremoniously denied H1 visa extensions this year. Both of us have Master's degree in the US. As you would note from other comments in this thread, there is a lot of misunderstanding about H1B among Americans. For most people H1B = cheap, which is grossly incorrect
I hope getting a location fix doesn't require actually sending anything to the satellite, as that would be a monumentally stupid design.
Yes, precisely, if your body tells you to eat cake all day and there are no other consequences then why not?! However if you get fat and unhealthy then guess what - your body tells you to stop eating cake like a maniac. So my argument still stands - listen to your body.
From the last time this subject was discussed on HN, here's a copy of a shipping forecast: http://oirase.annexia.org/tmp/Shipping_Forecast_-_2017-12-27...

To get the "full effect" you have to use a small transistor radio, wait until after midnight and listen to Sailing By first ...
My understanding is that in your list:

#1 - the employer must try to hire Americans first for the job - is not true. The employer need to only attest that the employment of H-1B non-immigrants does not adversely affect working conditions of workers similarly employed.

#2 - if the employer laid off people in essentially similar jobs recently before or after the H1-b application, the application is not supposed to go through - is also not true. Although, it is true that H-1Bs cannot be used to break a strike, lockout etc.

#3 - they need to pay the H1-Bs the same wage as similar non-H1-b people at the company, or the prevailing wage of the area (whichever is greater) - is true

I think you are confusing the employment-based green card with an H-1B visa (the employer must attest to #1 and #2 to apply for EB green cards).

Ref: https://en.wikipedia.org/wiki/H-1B_visa#Employer_attestation...
Well, Intel does want to put out the 28 core i9 eventually. Hopefully with a free industrial chiller.
The package manager of my OS does fine.
I would say yes they are, in general. The title of the post is an absolute, but as the author says in the second paragraph:

> As with all HeuristicRules, this is not a rule that applies 100% of the time. Code is generally clearer and easier to maintain when it does not use globals, but there are exceptions.

For me, the root of the problem with them is that they introduce coupling (or to put it another way, they break modularity). When you introduce global state, you introduce it everywhere. In reality there are probably only a handful of places that it relates to, but "is the global state involved here?" becomes a question you need to ask yourself whenever you write/update any part of the code.

The same argument can apply at more fine-grained levels. If you introduce a module-level variable, you need to keep it in mind whenever dealing with any code in that module. Similarly for class-level and instance-level variables.

There is a trade-off: ease-of-access and clarity vs the extra cognitive load you are introducing to every part of the scope. In my opinion, that balance determines whether a variable is good or bad. For any non-trivial piece of code, the sum almost always works out on the side of reducing the cognitive load.
I don’t disagree with your view on the media, but as a banker I say to tech people: welcome to the club. Welcome to a world where the media will pick a fraud somewhere in a large organisation and generalise it to all employees or to the whole industry, will twist facts to the limit of honesty to make a point, will call outrageous some technical and inocuous business practices, and will run months long campaigns on a single incident. Welcome to a world where the media hate you.
See also https://news.ycombinator.com/item?id=16013325 .
Banks could easily simply reject overdrafts instead of allowing them while charging fees.
Atlassian software can be so disappointing. We are running Confluence on GKE, and it was such a chore to properly containerize it.

We also use RedMine (running on GKE) and that was a breeze to setup and deploy.
Facebook and mobile gaming companies are both taking their playbook from gambling companies. Casino addiction doesn't root your teeth, but it certainly does convince a lot of people to steal from their mother. It's a very unethical business model.
> It's sad that these DSLRs can't yet use the real fast video-mode non-binned sensor readout to just buffer 3 wide bracketed exposures to RAM and then write them out slowly.

They essentially can. The A7RIII and RX100M6 can both shoot RAW to their buffers at 24fps then write it out. A full bracket usually takes less than a second and works just fine handheld.

> Shooting HDR quickly has the benefit that while you want something to reduce rotational shake, you don't need to be much longer in the position than the exposure time itself dictates. You can use the time you need to move to a new angle/direction to compress and store the RAWs, as barely anyone has hardware capable of yanking the camera to a new angle in a few milliseconds, just alone due to the power density needed to have something able to do this compact enough for casual handling. Imagine it like a much, much faster clockwork, with the purpose to deliver dozens of kilowatts for a few milliseconds to accelerate the camera and slow it right back down. Almost no one has such a thing that would keep the device steady during the exposure, but permit very short spacing between exposures that change the direction it is pointing by more than 20% FOV. If you were to rotate the camera that fast at over 50fps, good luck with the light you need (hint: your lens can't provide DOF at the aperture you need to do this even in full sunlight (sunny 16 rule)).

I'm not sure what you're getting at here. It sounds like maybe you're after some kind of automtaed panorama bracketing or something?
What is with all this contrarianism against basic software best practices in tech circles these days? First the thread about how great copy pasting was, and now people praising the use of global variables. What's next - goto advocacy? Segmentation faults as the preferred error handling technique?
The straight text version: https://text.npr.org/s.php?sId=630532760
It is not about the possibility. We can achieve anything with native browser's APIs without custom/polyfill layers these days.

Point is:

$('#somediv').removeClass('class-to-be-removed')

is so much better than

document.querySelector("#somediv").className = document.querySelector("#somediv").className.replace(/\class-to-be-removed\b/,'');
If there was such an abundance of talent, why does Google pay $125k for entry level SW jobs ? And why is SW engineering such a highly paid position ?
> For most people H1B = cheap, which is grossly incorrect

>> In any case, treating the two categories as one is probably not a great idea.

That is exactly what I said.
> I'd usually be right beside anyone wanting to begin JavaScript bashing but it feels like you are conflating two issues.

I'm not really bashing JavaScript per se, I'm bashing modern web development ecosystem.

Sure, you can use JS and modern SPA frameworks to build lean, accessible, progressively-enhanced pages. But that's not the default. That is not what tutorials will encourage you to do. That is not what those tools were designed to facilitate. And your typical developer will absolutely follow trends and "industry standard" in the technologies they use.

It's kind of like with bashing PowerPoint. To be completely honest, PowerPoint is a very powerful tool that can help you deliver amazing presentations if you know how to use it for that goal. Most people don't, and the defaults of PowerPoint encourage bad style - hence people bash the tool.
Out of curiosity, how was your experience with RKE? Is it as smooth as advertised?
Personnaly, I have built a "self-hosted" stack around the following services:

* Seafile (file hosting/synchronization/sharing/history)

* SoGo (a webmail that work with existing IMAP and SMTP servers and exposes an Exchange API)

* Matrix / Riot (matrix is a chat server, Riot is the web client)

* Jenkins 2 (Continuous Integration / Continuous Deployment)

* FreshRSS (RSS aggregator)

Authentication is managed by a single LDAP service (openldap).

I also plan to test/deploy:

* Peertube (video hosting)

* Mastodon (micro-blogging)

My next goal would be to distribute this stack on more than one server, in order to improve availability.
What you say is true in the purest sense. Building on this, some economists regard monopolies of exchange as "assets". Baumol (the economist referenced in the article) did a lot of research into "Contestble Markets Theory", essentially concluding that markets which are not contestable generate free money for incumbants/owners/monopolists

You could say that anything to do with the "Sharing" or "Gig" economy is a play on rent extraction. Companies seek to own a marketplace in order to levy a rent on transactions.
For our company, we use:

- Gitlab and Gitlab CI

- Zulip chat(moved from Mattermost)

- Metabase for data visualization(will be adding InfluxDB soon)

- Self Hosted Sentry(error reporting): Sentry is linked with Gitlab and Zulip for alerts

- Taiga: project management tool

- OpenEDX: a beast :)

We are Python(Django) based ourselves and love that we can tinker with many of these tools as they are too Django based.

At personal level, I use:

- Mailinabox: Self hosted mail

- Nextcloud: For file syncing, contact management, calendar and tasks, notes.

I have also looked at Perkeep several times(even set it up two times) but couldn't include it in workflow. Especially mobile file syncing.
Hacking IoT Cameras with s/swnb479e7d24/swn1bf9f32f2/g
Since the Cambridge Analytica scandal broke I’ve disabled notifications on my phone and find myself pressing it perhaps 30 minutes a week rather than what was probably almost an hour a day. Even giving it half an hour of my time seems like a bit of a bad habit I should cut out. I never relied on it for news, ignored the ads, and generally really tried to use it exclusively to maintain the potential for contact with the diaspora of worldwide friends and acquaintances and their sometimes-shifting contact details.
Thank you! That is very helpful.
I wouldn't call it "superseeded", it just has a different set of trade-offs. From the description:

Advantages over The Great Suspender:
- More memory savings
- Compatible with chrome tab syncing
- Super lightweight extension that uses no content scripts or persistent background scripts

Disadvantages over The Great Suspender:
- No visibility on which tabs have been suspended
- Unable to prevent a tab from reloading when it gains focus

--

I'd say those disadvantages (particularly the second one) outweigh any increase in memory savings.
Edge TPU Devices
Mutable variable that have exactly one instance (globally) cause some of the same issues, which is why people might casually lump them in with "global variables". (It would be nice if everyone used more precise terminology, though.)
Nice! This looks really cool :)

Username: RandomException
AMD has historically not been a very good stock to invest in long term. For speculation it can be great as it has had many periods of high volatility (tried to this without much luck in the dotcom era). Check out its price history[1]. It was also worth $16 in 1980, and has not paid out dividends in decades. You should determine a time or price to sell (at least some shares) as it is likely to head back down to $2 eventually. Maybe this time will be different?

https://finance.yahoo.com/quote/AMD?p=AMD&.tsrc=fin-srch-v1
> I've never worked with a native employee with this particular defect for any appreciable length of time

Spending an evening reading stories reported at thedailywtf.com will help dispel this.
Google replaced perforce with Piper, a perforce compatible system written in-house. This system was not based on git.

There were systems that allowed you to mirror portions of piper into local git repo, giving you a git-like experience on top of piper, but the underlaying system was piper and not git. (At this point my knowledge is 4 years out of date.)
Sounds perfect for me as well.
I used the Shipping Forecast as a "self-assessment" when I move to London. When moved there, my English was not the best. I was staying up late at nights, listening BBC4 to improve my listening and I will listen to the shipping forecast every night and don't understand ANYTHING.

That was for the first year, life moves on, and there I was, listening to the Shipping Forecast 3-4 years later. "Ey, I can get now some words and the overall meaning!". I have to say it felt good.

A few more years later, and it was my last night living in the UK (Brexit means Brexit), and I went to listen to it again. Seven years later, since the first time I hear it, I was able to catch everything on the forecast.

For me, the Shipping Forecast will always be something special.
Early Bluetooth had (and probably still has) profiles, too. I don’t think it is a slam dunk to say they were a net benefit.

Similarly, USB-C cables may or may not allow USB 3.1 (doubles speed to 10Gbit/s), power delivery, or alternate mode (sending video signals over some of the pins). That makes it easier for suppliers to create such cables, but does it help adoption?

Further back, the first phones running java featured so many profiles that programs were barely portable between phones.
I don't think Gwynne ever said orbital testing by 2020. They will start upper stage hops in 2019 maybe and potentially. However the booster is unlikely to be ready by then.
Around £500k to live a frugal existence, and £2m to live it large, assuming the majority of the money was invested in the stock market. It probably wouldn't be very fun never working again though, as you'd miss out on social interactions with colleagues and the rush of trying to achieve some goal.

I'm pretty much starting out in my career though, so the true number may end up being much higher, and my enthusiasm may wane after doing this for a decade.
What I would really like to know, is the correlation between the FB IPO and the rental prices around the valley going up at the time.

Just prior to the FB IPO, I lived about two blocks from the then CIO or CTO of FB (cant recall his name - this was just as Asana was getting a lot of buzz as well) -- and I was looking for a new apartment in Noe Valley.

I recall that a place that I saw going for $3,000 per month took an immediate jump to $7,000 per month days after the IPO and they wanted a $10,000 security deposit...

Other rents went up as well.

My overall point being, that it sucks, but is interesting, to see how tech company IPOs impact overall COL - but when comments such as "FB is hugely overvalued" are made, and instances where FBs value drops - the damage to real COL has an impact radius thats already happened and far more reaching than simply to those who benefit/suffer from their personal stock holdings' value...

Its the reality of the world/market - but lets imagine FB ceasing to exist magically... COL/rents will not adjust accordingly.

So, while I don't personally care about FB's value - I am interested in how much the entirety of COL is affected by any tech success/failure throughout silicon valley...

How are these types of factors evaluated by economists?
> We tolerate Confluence but the fact that the JIRA and Confluence have their own, annoying flavor of markdown, which is different from Bitbucket's flavor

How do they justify this? It trips me up every single working day of my life. The products look identical so all I see is a text box on a white site with blue accents and I inevitably start writing the wrong markdown.
That's an argument against open offices and other such setups. Mechanical keyboards are much more ergonomic and can prevent or reduce RSI from typing. I'm can't type on anything else because of my RSI. They can be understanding or they can go fuck themselves. At this point I couldn't give a fuck. My health is simply more important.
I wonder if that would work with the drums, I can never keep the foot pedal independent of the hi-hat/ride.
I want to know more about the bicycle tour this is paying for!

Glad you got off the sofa a few times during the code-a-thon, you could have spent all that time in front of a games console, so well done for completing the task.
Everyone keeps mentioning "Sailing By", but no one seems to want to provide a link to it...

I guess this is it: https://www.youtube.com/watch?v=dFdas-kMF74?
The Press’ expertise lies with disseminating information. That’s their skillset.
In the basic case when you don't need to clone the world, you avoid the passing down on the call stack of what is truly a global variable, disguised as a local instance. As a casual reader of such code, you might be deluded that `the_world` in `func1` is something different from `the_world` in `func2`, when they are the same.

If you plan to "virtualise" stuff later, instantiation is certainly the way.
https://developer.android.com/distribute/best-practices/deve...

That hasn't actually happened yet.
idk about shilled on /r/wsb.. The sub just loves volatile stocks and everyone was making money on it so people talked about it. For a while it was $IQ and in the days leading towards earnings it was msft.
Enjoy 40% OFF for Rental Booking Script – Appkodes
On Joyful July offer, ultimate package of Appkodes’s rental booking script with features like instant/request booking, reviews and ratings, wishlist, map and location based search, multiple language and much more is now available on 40% off price until 10th August.
I've considered going self-hosted a lot of times, for several "everyday use" services. But there are always two things that make me hesitate:

- Cost. My needs are small so in practice I can stay in the free tier of most services.

- Availability/Reliability work. All the maintenance burden would now fall over me: data backups, network failures, etc.

Could you comment on these points, from your experience? (also whatever other concerns you may want to point out about self-hosting services)
Broadly speaking I agree with you, but even IE11 supports classList so the "native" version of your bit is really

document.getElementById('somediv').classList.remove('class-to-be-removed')

Where the native APIs fall down is that

1. they tend not to be chainable/expression-oriented, you can't just `classList.add('foo').remove('bar').toggle('qux')` because the first two methods return `undefined` and the last one a boolean

2. they don't support set-oriented operations at all, it's a chore of manual iterations
That said, for a lot of Rails-style CRUD work I think a lot of the OTP stuff can remain murky, at least until you get comfortable with the rest of it.
If you had any sense, you would have, ironically
If you start from scratch today, you better beat x86. x86 wastes instruction space for 8087 floating point operations, for vector extensions that have been superseded by better ones, requires prefixes to operate on what nowadays are standard argument sizes, etc.
Fair enough, but in another thread 23andme have responded to someone and said they will never delete their DNA data, even if requested.

And claimed the laws are the ones preventing them from doing that.
At home;

Emby-server for my home media library.

APU OpenBSD router for my outer-most internet router at home.

Unbound LAN resolver with a number of upstream unbound instances at different VPS providers.

Libvirt hypervisor for personal projects.

Synology DS411slim NAS and one homemade with emby, I'm wanting to replace the homemade one with FreeNAS mini though because I'm not happy with the HW in it.

At work I've setup, or helped setup;

Owncloud for internal file sharing and to clients.

A couple of gitlab instances, one for internal dev stuff and one for a client.

A homemade password pusher.

In-house developed monitoring system.

Really this list could go on forever so I'm going to stop here. Having worked for 7 years at my current position with setting up various open source solutions.
Seriously, a guy I know that works over at Amazon was horrified at the trash that Amazon Fresh delivered to his house both times he tried it. Rusty, leaking canned goods and a mix of average to damaged produce does not make one want to be a repeat customer, even if you want to support your own company.

JD.com with their heavily automated warehouses seems like they've eliminated a major cost center, it'll be curious to see if its just nearly fully automated to the press, or actually significantly better than Amazon/Ingram Micro & the other major human based warehouse wholesalers out there.
I am not affiliated with fast.ai in any way, I just went through the MOOC and read their writing in all its forms - papers, blog posts. Yes, I like what they're doing a lot.
Specification-based Protocol Obfuscation