skysight-inc/HackerNews huggingface dataset:
You can handle non-decimal currencies by treating money as a fraction.

You can implement a correct set of fraction manipulation functions in well under 100 lines of code with a bit of algebra. It seems likely there are several well-tested high-performance fraction libraries for JavaScript. They should be tiny.

Some people in the UK apparently voted to leave the EU so that they could have a blue passport [0], perhaps there are some who also hope we return to imperial measurements and pounds, shillings and pence. I'm quite sure that even in that unlikely event, some programmers will still insist on using floating point numbers for currency.

[0] Although Malta has a blue passport and is in the EU. And the only reason the passports were blue in the first place was to meet an international standardization.
That wouldn’t hold up in this case, because of that very important word “purpose”. They weren’t trying to get anything due to authority. In fact they were trying to make sure that Facebook was only approving ads by the actual authority.
I'm far from wizard on the topic, but from my experience it's not that simple since the relative magnitudes of the operands and the operator affect the size of the error in non obvious ways.

I spent 13 years maintaining a 2mloc reservation and accounting system that used floats for everything. By the time I got there and understood enough it was simply too late to do anything about it.

Just say no, really; that road leads to madness.

If you need precision; and many do; consider fixnums, rationals or bignums, in order of increasing complexity and flexibility.
The Global Industry Putting Your Life at Risk
I live in a decent sized college town on the East Coast, pop of about 120k.

My options for broadband are cable, or.... nothing.

I mean, I guess technically I can get DSL for $40 more a month than my whole cable bill for 1/10th the bandwidth.
Douglas Crockford has talked about JavaScript's number handling, and it makes for a good listen. It's in https://www.youtube.com/watch?v=DxnYQRuLX7Q and there's a follow-up in https://www.youtube.com/watch?v=oYFU0gkAYdc
Does anyone have any comparison to other new sql offerings foundationdb, nuodb ect
That's only 7th gen processors though.
This was an interesting point, but prefixing it with a call to authority was both needless and distracting. Why did you include it?
I think only 2-3 endpoints should be protected. The others are there for information and they do provide some leakage but you already have most of that data anyway when you auth over the WiFi.
Facebook would not be where it is today if their programmatic advertising tools were not friction-less, it's going to be interesting to watch them balance ease of use for customers while securing their system vs. bad actors.
> If you inhale a lot of helium and pass out, your body doesn't start breathing again because there is no CO2, so you just suffocate instead of inhaling oxygen.

Other posters have pointed out that this is false(you will continue producing CO2 while unconscious just fine, chemoreceptors will notice).
I would like to add that I have personally witnessed people falling unconscious from helium. They recovered just fine.

Really, the greatest danger is the fall.
Perhaps, but would the design you are proposing survive millions of years of space travel? This appears to have zero moving parts.
Good advice, though I once had about half a dozen drives (12 drive RAID Z2 with 2 as hot spares) fail within a few weeks of each other in separate batches from sourcing. (Seagate 3TB drives, I think there's been articles on how bad that series was).
Nice! I like the tutorial format. I made this along similar lines: http://konsumer.js.org/learnsql/
Me too- I remember catching frogs in the water by my parents house and listening to the peepers at night. Now, the frogs are gone. I don't know where they went..
recording an incoming payment and applying that payment value to specific accounts is its own thing to be aware of. People want to see that they paid $200, even if it was $150 to one account and $50 to account.
I have heard that fasting during the evening/night (skipping dinner) is better than fasting during the night/morning (skipping breakfast).

But for me, that would mean not eating dinner with my family. It's much easier to forego breakfast, which we don't usually eat together during the week.

I feel like headlines/articles like this draw a false dichotomy. It's not that intermittent fasting involving skipping breakfast is bad — just that it might be better to do it skipping dinner. But the article offered zero evidence that the former isn't better than eating a "3 square meals" type of diet.
In the article they said that both regions consumed writes and got into an inconsistent state during the process.

> This effort was challenging because by this point the West Coast database cluster had ingested writes from our application tier for nearly 40 minutes. Additionally, there were the several seconds of writes that existed in the East Coast cluster that had not been replicated to the West Coast and prevented replication of new writes back to the East Coast.
What is this dreck?

Somehow it's the fault of a Saudi prince's exploratory investments that people in the USA want to use their constitutionally-protected right to free speech on the Internet? How absolute dare they!

There is no such thing as hate speech. There is free speech, and there is censorship. Kara Swisher seems to be mad that there is not yet enough censorship for her tastes, which I think would extend to domain registrar or even ARIN deplatforming of any site or network that dares host the comments of someone who says something she is uncomfortable with.

I find it reprehensible that anyone can even consider curtailing speech as a kneejerk reaction to violence. It's crystal clear to me that further censorship is actually going to add fuel to the fire, as those with evil opinions will have no outlet, no chance of counterargument or of being convinced toward nonviolent action, no support from other people in their emotional struggle. As though censorship will be successful this time at enabling the security of the establishment, even though it didn't work in China or Russia.

We'll painfully rediscover the lessons of the past, probably with more death and mayhem. Just as much of it will be on the hands of the censors as is on the hands of those who facilitate speech; it's up to you to decide if that's a nonzero amount.
Eventually. But I would expect that by the time the effect is noticeable, the concentrations will be too high to support consciousness and will have been for some time.
Slurm is endian and word-size agnostic; there's nothing about the POWER9 platform that would be insurmountable for it to run on. There are occasionally some teething issues with NUMA layout and other Linux kernel differences on newer platforms, but this tends to affect everyone, and get resolved quickly.

My understanding is that Spectrum (formerly Platform) LSF was included as part of their proposal.
At the end of the day this is a cast device which will advertise it's presence to the whole network white active and allow anyone to send media to it (and mirror screen to Chromecasts, which have the same API exposed as the author says).

Of course, the fact that you can't lock down Chromecast on a local network is a feature that could be very useful.
Thank you, Sir for making it clear for all fanboys out there. Add to this fiasco virtually non existent support, slow hardware update, no easy repairability, dongle gate, no long term driver support for devices, telemetry, root gate etc. Actually i think that is time to give pressure on companies for better Linux support. And live Crapple for the delusional ones.
Nostalgia and then reality results in disappointment.

I played EQ 1 for a few years starting in 1999. It was a blast. People were always ad-hoc grouping together, talking to each other after a camp fight.

I remember just starting and my home base being in Queynos and a bunch of us level 5s went with a lvl 12 on an adventure to Freeport. Most of us died and we helped each other with corpse runs. Trains coming out of Black Burrow were a blast, everybody would zone out to that little corridor into West Queynos.

Those days are over though. I did download Project '99 years ago, went through a bunch of hoops to get it running, and 15 minutes later after logging in, just deleted it. Nostalgia meets reality.
How effectively? How good is the handwriting recognition with messy scrawls?
According to https://hpc.llnl.gov/training/tutorials/using-lcs-sierra-sys... , there are 4320 of such "nodes", so there are 4320 linux kernels running? It means there are some commanding kernels scheduling the job on other kernels, it sounds not optimal

According to https://access.redhat.com/articles/rhel-limits , RHEL 7 on POWER system can "only" manage 32TB of memory, (the whole system has more than a petabyte of memory) assuming they don't run a modified version. So there is definitely not only one OS running, I guess.

Still, the goal of an OS, especially an Unix-like "Time Sharing" OS, is to manage resources. I wonder how hard it would be for the Linux kernel to manage the entire system (with some virtual devices to aggregate all the nodes in one system, even if they are at the opposite side of the room), and if all the developed code about scheduling could be reused at that scale.
If I weren't a gamer I'd use Apple for everything. But I am, so my desktop is a PC because I couldn't buy a Mac with competitive specs. And then I chose Spotify over Apple Music because it works better with my PC. Why not buy AirPods? They don't work well with my PC. Apple might dislike gaming for whatever reason, maybe they think gamers have a bad image that will dilute their brand value or something, but in my opinion ignoring that market puts a real dent in their ecosystem. I have a Mac provided to me for work and that's the only Apple device I even have at this point which is a shame.
As I read it their solution to the east coast write conflict was to just put those aside and reconcile them later (and they are still working on that) - I don't think that would impact their ability to turn off east coast app servers too.
My guess is that the spectrum chart triggered some spam protection, honestly. I would call customer service but Amazon's customer service can't do anything other than send you another copy of the item you're complaining about.

(That's my other Amazon story. One time, I bought some bicycle tires on Amazon. They sent me the wrong model, mountain bike size instead of road bike size. I wrote them a detailed email describing what they sent me and what they should have sent. "We're so sorry!". The next day, two identically wrong tires arrived. I complained and they refunded my money. I now had to find a way to use four mountain bike tires, and I still had no road bike tires. 2 riding days lost. An hour writing emails lost. And I still had no bike tires. I bet 99% of people would call that "great customer service". I think it's terrible. (Amazon did eventually remove the listing in question, so that's nice.))
Postmortems are always really interesting, if you're preparing for an interview where system design will be discussed you could do worse than incorporate reading a couple to help in preparation.
I don't think Twitter was made for something, other than to broadcast sms, which it can't even be used for since they doubled their limit.

I will tell you what I use it for: follow interesting people, and pictures of cute animals. My goto rule of thumb for the first is, are they saying something where you go "hu?" in a positive way?
I know nothing about this Fedora tech (but am really curious). Windows and macOS don't mix libraries and Applications with a packaging system and Linux distros do. I've always felt like the packaging systems for each OS had very different goals and most all of the Linux distro's packaging systems had way too much overlap to warrant different tech. When you're talking about packaging systems for macOS and Windows are you talking about things like Homebrew/Chocolatey or their interface for installing applications? I just don't see other OSes handling these things any better.

I've been in the camp that language-specific package managers shouldn't have to be a thing. I'm on your side in that I think it's ridiculous that package managers have belligerent towards language-specific package managers (they'll package up libraries for languages, but not change their packaging system to address the needs they were trying to fill).

Like you, I maintain my own ~/.local/bin and it sucks because the next thing I want to do is message the guy next to me and say, "run this." Instead, I have to explain how to build or install everything I just did and troubleshoot any problems. But I don't see any benefits for Windows or macOS for doing this.

At larger vfx and animation studios, they all have their own packaging system they've written to manage a project's tools (here's one that's been Open Sourced[1]). I've also wanted alternative approaches, like Nix, to gain popularity.

[1] https://github.com/nerdvegas/rez
> ignores limits to growth (e.g. energy, rare materials, food, etc.)

Lots and lots of people have tried to discredit Malthus and his reasoning in the last 200 years but we keep going back to him, he must of have been right in a way (if it matters, I think he was). The same way idealist political thinkers tried to discredit the writings of Hobbes and Machiavelli but it turns out human nature is closer to the writings of those two great political minds compared to whatever is fashionable at any given.
What a shame Swisher appears to have joined the censorship and anti free speech police
Maybe I overestimated the “significant” part:

> A significant portion of the time was consumed transferring the data from the remote backup service.

I get the time to rebuild part, but I’m curious about the download part.
Harald Bluetooth
GDPR has taken away the “liability” excuse for not providing feedback
Given how weird, and apparently unexplainable, various aspects of this object are, shouldn't we be moving heaven and earth to investigate the possibility of some kind of mission to it? From what I've read, there are ideas at least for how we might launch a spacecraft capable of catching up with it. Given the potential of what we could learn, wouldn't that be a better way to spend a few billion dollars than a return to the moon? (of course, ideally we'd do both, but...)
I see where you come from, but there is a lot of software that can be written without sandbox access to OS’ kernel or filesystem.

In particular, wanting to run absolutely everything in local is reasonable, but not a requirement I think.

Currently the only thing that’s really lacking is direct git integration into Coda or the other editors, and I know Panic is working on it. Git apps can be used to bridge the gap but it’s just too combersome.

Otherwise, accessing an external DB , or even having my code run on a VM somewhere else is not an issue as long as I can remotely debug.
You're hijacking them, but only if you get them on your own WiFi. And then they can't do anything to devices on my Wifi any more. They don't use my bandwidth, they can't control my devices, they're not connected to my account...

So yes, you could make them play loud music, or make me miss my alarms.

What other harm can you do? Genuine question.
I played through 70+ generations before I stopped, and it certainly seemed like they were getting more jiggly as it went on, albeit, very slowly.

It would be nice if there was genome display or something, so you could see how the population was evolving. Towards the generations that were multiples of 7, it would look like the population started to converge. So some sort of display information about that would be interesting.

It would negatively effect gameplay because it would be essentially a cheat for the human, but it would be an interesting visualization none the less.
I'm sure they will tell everyone that they have to do better, and that in the future things will be different.
The mere fact that more security is possible isn't a security vulnerability.
NASA Retires Kepler Space Telescope, Passes Planet-Hunting Torch
I didn't read the Google Cloud part as an assertion of authority, just as a disclosure - if they're talking about competitors (and especially how the choice of competitor negatively impacted GitHub) I appreciate it.

(disclosure - I work for a competitor, not on cloud stuff)
The engineering team sketched them out by hand and were later translated into vectors by the design team.

The vector graphics were made in Sketch (https://www.sketchapp.com). Another popular alternative at GitHub is Figma (https://www.figma.com/).
I read this tweet and learnt something new. https://twitter.com/susie_dent/status/1057178162399006720

And it sent me down a rabbit hole.
That wasn’t my intent, quite the opposite actually. I don’t want it to read as “S3 is awfully slow, that’s what the problem was. If they were using GCS then < awesome outcome >”. Knowing that I work at a competing vendor is useful knowledge in this case.
I have occasionally had people in my complex accidentally print on my HP printer. It seems there's some wireless printing feature that is enabled by default and can be authenticated without needing physical access. The state of security for home networking devices could certainly be better.

You forgot one though, they might also be able to delete your MongoDB collections :)
50-Plus Questions You Need to Ask When Visiting Colleges
Don’t think there’s any grand conspiracy theory behind this - certain types of advertising (alcohol, cigarettes, guns, political campaigns) are regulated. As long as one plays within the regulatory framework, they’re free to pitch the general public.
Two albums I really enjoy in this vein are 'Geliebte Des Regens' by Nargaroth and 'Telepathic with the Deceased' by Xasthur. Both are pretty bleak and depressing subject matter wise but I find them enjoyable to listen to.
I wondered about this also, especially in the wake of the recent CA law that eliminated personal belief exemptions. The article linked below talks about various CA Waldorf schools, but not the SV one. Also, it specifically talks about the personal belief exemption, which isn't available anymore.

I should note that the medical exemption rate is up since this change in law, [1] perhaps owing to abuse of the medical exemption, or perhaps owing to people who have a legitimate medical need now being forced to get a doctor's note, instead of just being able to opt out based on personal belief.

1: http://www.latimes.com/science/sciencenow/la-sci-sn-vaccine-...
The jewel of Morro Bay, California.
The timeline of events was interesting (and much appreciated), but the root cause analysis doesn't really go much deeper than "we had a brief network partition, and our systems weren't designed to cope with it", which still leaves a whole lot of question marks.

Of course, without detailed knowledge of how GitHub's internals work, all we can do is speculate. But just based on what was explained in this blog post, it sounds like they're replicating database updates asynchronously, without waiting for the updates to be acknowledged by slaves before the master allows them to commit. Which means the data on slaves is always slightly out-of-date, and becomes more out-of-date when the slaves are partitioned from the master. Which means that promoting a slave to master will by definition lose some committed writes.

If "guarding the confidentiality and integrity of user data is GitHub’s highest priority", then why would they build and deploy an automated failover system whose purpose is to preserve availability at the cost of consistency? And why were they apparently caught off-guard when it operated as designed?

(Reading point 1 under "technical initiatives", it seems that they consider intra-DC failover to be "safe", and cross-DC failover to be "unsafe". But the exact same failure mode is present in both cases; the only difference is the length of the time during which in-flight writes can be lost.)
The 'EE TV' boxes in the UK work in this way. You pick your top channels (up to 4, I think) and it PVRs the lot continuously.
Well, if CRISPR fails it was worth a try anyway. What other potential breakthroughs you got?
The fact, that this is frightening should be a concern for stockholders, because it means a looming legislation.

How could FB mitigate this? Maybe by iterating over these war-rooms often enough, that they could be offered as a tool, so that neutral institutions normally obliged with observing the fairness of a country's election could use that tool to gain back control.
I'm not sure if it would address his needs, but NixOS takes a different approach. The package manager, Nix, can run in a Linux environment or even macOS. GNU Guix is another variant of it.

I've played around with it and really liked it, but it's mostly been false starts when trying to do anything serious. I understand why there's a DSL, but I had trouble groking it enough to build my own stuff.
> just leaving something on in the background seems to be huge for some people.

I have read accounts from people who have said that they need to have some kind of coherent sound around them - radio, tv, other people talking, etc.

Their argument is usually that without that constant chatter, they would have to be left alone with the thoughts in their head, and they don't want that.

I find such a position utterly alien, as a person who enjoys quiet time, pondering and thinking about things. I can understand wanting to "shut it out" occasionally and just "veg-ing" - but the way these individuals talked, it sounded like anxiety and fear for them to be left alone with their thoughts.

A possibility I found both disturbing, and depressing.
It's different for sure. It has a lot of very nice features that make it less easy to shoot yourself in the foot for design. It is more expressive, especially woth multidimensional types and real number modelling, plus a whole host of verification features like constrained random verification, classes, coverpoints, assertions, etc.

I have to say I like it, but the learning curve is steeper and you can still code 'foot shooting solutions as it is backward compatible - so better to learn the new, more correct way than to start with the old verilog and then learn the new features.
yeah that's also what I'm curious about, unless he adds a confirm page for some actions (which is actually more work) than just confirm('Text');
You weren't around when the Meltdown rumors started?
> and hijack those devices.

And do what then? Serious question, I'm not a heavy user of Google Home/Chromecast, but my impression is that even if you hijack a device this way, the worst you can do is start streaming netflix or spotify, but with your own account to boot (not the account owner of the device you hijacked).
No doubt it will move to mass media
The water taxis bothered me because the planing hulls needed trim tabs or to go a bit faster.
I don't see it in their zip file...
I love it. The first thing I thought was "Kneebone? Huh... I wonder if he comes from a lineage of doctors."
There's a workaround (albeit somewhat annoying) to this: After you've imported your photos to the Photos app, select them all and then export them to your destination of choice on the Files app. Then you can open them with whatever app you need to (or import them straight to the app folder itself if possible).
China legalizes rhino horn and tiger bone for medical purposes
That falls under the 'we got ludicrously lucky' category: in the entire galaxy of billions of stars over billions of years we just happened to arise exactly simultaneous with the other civilization in time to see it? (Also, if it was coming from a nearby solar system, why did it pass right through, do nothing, and is at rest with respect to the galaxy? I also think if its trajectory led straight to a nearby star system with any potential for life, someone would've noted that.)