skysight-inc/HackerNews huggingface dataset:
I'm actually exploring something "spiritually" related: currently, I have a project where I store the state of an app in the URL, by compressing trees of JavaScript objects by first putting them through a pre-compression "filter" step to make the data more compressible (not going into that now, but see [0]), then apply JSON.stringify, and finally put the resulting string through lz-string to create an URI-safe string[1]. lz-string is basically a wonderful, wonderful hack to Lempel-Ziv compress strings to a bitstream, which is then turned back into a string.

I'm basically looking at ways to cut out the JSON.stringify step. So basically, first turn a JSON-friendly object into a binary representation, which is then compressed into a bytestream, and stored in a URI-safe string.

This might lead to something generally usable, and faster/smaller than lz-string. I know JSON alternatives like flatpack and messagepack exist, but this would be a much simpler, lighter JS library, single-digit kilobytes in size before gzipping. It also would probably be backwards compatible all the way to IE6.

[0] https://github.com/linnarsson-lab/loom-viewer/blob/master/cl...

[1] http://pieroxy.net/blog/pages/lz-string/index.html
Just moved out of the midwest.. I was originally from the East coast and moved back.

I'll just say this, being a minority, I was shocked at how much contempt people had towards middle-easterners and black people. On numerous occasions people have said they've been "dirtying up the neighborhoods which is why they moved to another burb... they need to take better care of their lawns, etc". Out of all the companies that I've worked in the midwest, I've ever had a co-worker that was a black software engineer. People are put down in unfortunate ways. it's really fucking hard to climb up the corporate ladder than either coasts

Pay is crap.. people have been clamoring that the midwest is going to be the next silicon alley.

There's a reason why Chicago was the only major city to drop in population the last couple of years. There aren't that many interesting projects happening, it's not conducive to start-ups. i've had more arguments in the midwest with people that think tesla is a POS company for not following the rules. there's a lot of people averse to change.
Hmm, how are you deploying things that a database costs $30/m? I just put it on the same server as the application worker and split it off if I need more performance later.
It was a substantive comment,and I agree I could have been nicer. The negative emotional overtone was a part of the message
There are still many issues left and it will not be easy to figure out all these things. It will have many of the same problems as ARM but hopefully the community can work on these.
They don't care if you know the material.

They care about having a legal lever to manipulate so that there is proof that you should have known better.
To me the biggest benefit of UBI is we might be able to get rid of this attitude. It's hard to criticise a benefit when you are a recipient of it yourself.
motion create lots of files in a highly structured folder system, which is tip-top.

Where it falls down is remote viewing history on unprivileged machines. The nice thing about motioneye is that it creates a nice GUI for remote config and viewing.

However if I had a working motion config thats properly tuned, with all the simple auth setup for remote viewing, would I replace it with motion eye? no.
This is an excellent vi-like editor. I've been using it for a while as a lightweight vim alternative and have few complains.

The name choice is unfortunate, as it clashes with the vis(1) command, which has existed since 4.4BSD
> And all for what? So you can turn the lights on after you go through multiple steps to unlock your phone?

I don't get it either. I can get the idea of switching on and off all the lighting in a home e.g. when leaving (hotel room style) but to do that you need to have a hell of a lot of gadgets, not just a couple of "smart lightbulbs".

The only reason we have smart lightbulbs for switching to begin with was because someone realized that the sockets are standardized and users can switch bulbs.

The elephant in the room is the wall switch, it's now in series with the bulb! Every time someone switches off the light using the lightswitch, the smart bulb can't be switched on again! And no - people will NOT stop switching lights manually just because they have a smart bulb!

What people really want, would be smart switches, not smart bulbs. With a smart switch, you can switch either by hand or remotely.

I just don't get why manufacturers (and customers, most of all) don't realize this. Are people happier to buy the bulb because it's a 10 second job to change, compared to the wall switch which might be an hour worst case require an electrician?

I'd be thrilled to change all my switches and dimmners to smart ones, once there are gadgets that are cheap, secure, reliable etc. I'd mostly use it to have a master lightswitch somewhere near the front door.
When I worked in London near London bridge years ago one of the reasons we had two datacentres (with a whopping 10Mbs link) was they where worried about the Thames flooding our building - that was before the barrier was finished.
While I don't like his politics, I am a proponent of Frank Luntz's "It's not what you say, it's what they hear."

I agree, on the surface my intent (from my POV) was not to offend. That said, I can see how my word / idea choice could have been better.

The apology is to acknowledge that yes I could have done better and then even if I didn't mean to offend the receiver's does still have value. Human to human, I wanted to acknowledge that.

Perhaps not very HN but I'm comfortable with that ;)
The 1/6000 figure comes from a paper "Probability of a tossed coin falling on its edge" from 1993. I looked for it in the hopes it clarified the type of coin used, but the paper, as far as I could find, is behind a paywall.

Nevermind, found a link that talked about the paper. They used a US 5¢ coin, a nickel which has a flat edge and I think the thickest edge out of all (common?) US coins. At least it has the thickest edge to face ratio in terms of width.
Not a Dell shill but I bought a Dell Linux laptop 18 months ago, a Mobile Precision 5510, and I've never been happier.

When the machine arrived I had to disable UEFI Secure Boot to get it working, which seemed to fry the soundcard. I called Dell, was quickly escalated to "Level 3" support, and after a brief diagnostic they sent out a technician to my place of work to replace the motherboard on site the NEXT DAY. I've never had another problem since.

Honestly, what more could they have done, give me a back rub?

The only downsides are no support for Linux support for Apple iTunes and Adobe Photoshop (yes, there's GIMP, but it's not the same). Otherwise it's better in every way, IMHO.
https://pics.me.me/the-trolley-problem-multi-track-drifting-...
Yes, and all sorts of underlying reasons are hidden by assuming "-isms" and victimhood at the first sign of disparate outcomes.

But trying to address perceived ageism doesn't solve the problem. Being aware of contributing factors and correcting for them on an individual level does.
I used Vis full time for a two weeks a couple of months ago. It was pretty nifty. (I'm Emacs user so this was an time-bounded experiment).

Vis is a great of example of the suckless philosophy and of Guy Steele's point about removing the need of features by having synergy between other features. For example they have an immutable piece table to support undo by just moving a pointer. This would mean that as the buffer remains open one would use more and more memory. Instead of implementation a 'garbarge collector' they chose to automatically close a file when its not shown on the screen.
> able bodied person that has paid in nothing and caused their own homelessness by arriving in the UK without a job or means to support themselves

Is this actually possible? People claim it happens a lot, but without being specific on what they mean. Note that most UK visas involve "no recourse to public funds" https://www.gov.uk/government/publications/public-funds--2/p...

> the level of welfare spending is unsustainable in the long term

Reducing this means either an expansion of employment in run-down areas like Blackpool, or reducing benefit levels and hoping that people die quietly.

http://www.ucl.ac.uk/news/news-articles/1117/161117-austerit...
Stuff just works, as long as you pick the right stuff.
They invest their money though. It's not just cash in a vault somewhere. So it does benefit the economy.
If you:
-start with the same face pointing up
- apply a fairly consistent force with your thumb, and
- wait a fairly consistent time before catching
How Fast Does the Grim Reaper Walk?
I'm currently taking an ML seminar through my university's computer science department while in medical school, and it blows my mind daily. I'd love to contribute, but know that I don't have the time or patience to become an effective ML researcher in medicine. Cheers to these fantastic individuals pushing the application of ML in medicine, potentially saving human lives.
> startup mistakes

> .io domain

oh my.
This is precisely the reason I'm against UBI, I don't want to be involuntarily subject to it. I'd rather have the choice.
same thing goes with single page applications. i've haven't seen the benefit yet, a fast full stack app sprinkled with react/vue at the last minute does just as good a job.
This is an excellent analysis. The author hints at something similar in the article: "['flyover country' is] a stereotype about other people’s stereotypes". Which I thought was also really an excellent description turn of phrase
Getting Starting with Ansible with a Docker LAB
BIG ERROR.

Like, MONUMENTAL.

That something (if chose very wrong) will totally derail you progress and will cost a lot of fix it later.

Is incredible. Nobody remember that the most cost effective way to fix a problem is in the early stages?

And, yes, the best overall primary datastore, like 90% of the cases, is a RDBMS. Very few actually need to use something else.
And it dovetails nicely with hate of populist politicians.
Here's an archive mirror that works without JavaScript: https://archive.fo/kVvQZ
> i've had more arguments in the midwest with people that think tesla is a POS company for not following the rules. there's a lot of people averse to change.

That is, in contrast, what I love about the Midwest. The other day, I was snaking around the line barriers at the airport security, even though it was empty. At the end, there was a man and his young son waiting for me. He explained somewhat embarrassed that his son had wanted to walk under the guide ropes, which they did, but then they waited because he didn’t want to cut me in line. Being from DC, where people treat trying to merge as a personal insult, that made my day.
Is even worse to fix 1, but big.

DataStore is 1 that is too big to pick wrong.
I would assume an increased availability of aluminum because of better or cheaper production processes makes the price drop?
I don't find that link convincing. For one thing, the premise is assumed in the question. Secondly, when it says "they also include ()[] as operators" is implies it is talking about language-specific terminology rather than a general term.

WP describes: https://en.wikipedia.org/wiki/Operator_(computer_programming...

> Occasionally parts of a language may be described as "matchfix" or "circumfix" operators, either to simplify the language's description or implementation.

Bu then, the term "operator" seems to also have mathematical roots: https://en.wikipedia.org/wiki/Operator_(mathematics)

The relevant part seems to be the definition refering to syntax, or denotation:

> Operator is also used for denoting the symbol of a mathematical operation. This is related with the meaning of "operator" in computer programming

Now, whether "the symbol" implies a singular symbol, and excludes delimiter symbols might be a matter of semantics ;-)
... reading this makes me want a cheap film camera like this where pictures aren't just throw away, you have to go through a process to even find that the picture turned out crappy.

I borrowed a friend's old Canon AE-1 35mm. Not quite the same as the Holga, as the Canon was a nice camera in it's day. Anyways, my biggest "problem" using it that I've become accustomed to instant feedback with digital cameras. I haven't developed anything yet - waiting until I have a few rolls, as the closest shop that still develops in-house is a 30+ minute drive into the city.
Silicon Valley has turned into the place it hates the most
> While I'm typing, every once in a while the cursor will skip around. It is infuriating. I'm not sure if it's a hardware or driver issue.

I've seen this happen when my palm was hitting the touchpad and I didn't have the right drivers for it - the default touchpad driver "works" but is missing the palm detection functionality in the "proper" touchpad drivers for that hardware. It might be worth looking up the specific touchpad (via lspci or similar) and seeing if there's a driver for touchpads from that manufacturer. You may have to edit the driver's list of PCI IDs.
AFAIK, the Y-series line is not a ThinkPad line. What the parent said applied to the ThinkPad line, which is treated differently by Lenovo to their consumer lines.
That doesn't seem very problematic to me. You are anyway trusting TurboTax with a bunch of sensitive information.
That's how CSRF works - I get you to communicate to the device from your "trusted" smartphone or other device. There is nothing you can do at the routing level to protect against it. It is entirely up to the endpoint receiving the request to have implemented proper CSRF protection against attacks.

CSRF has been around since 2001 and is in the OWASP top 10. It would be absolutely valid for regulators to require reasonable steps to be taken to prevent its abuse, along with similar attacks.
If I were to play the devil's advocate, they hired people who could fill the actual role requirements, or who had the right image they wanted in the company. The experience required to fill a COO role is going to be significantly higher than the experience possessed by a college graduate.

The experience bar to have Guido van Rossum's image is also pretty high too. ;) But how many Guido van Rossum's can a company afford to hire; how many do they need to hire?

I think the problem is that for the lesser jobs the minimum viable candidate is chosen because there's a relatively low perceived cost for choosing the wrong cog. Even Google, with their "Better to skip 99 good candidates than hire one bad one" mantra won't be impacted in any appreciable fashion by a less-skilled hire.

In fact, any candidate with greater than the minimal viable skills (i.e. someone in the industry for 10+ years) is usually seen as being too qualified (thus, too expensive) for the role being filled. Why hire an architect to move gravel? They'll just be unhappy with the job, and immediately seek to leave the role they were hired for.

At least, that's the perception.
Windows is getting better at high DPI even for non-DPI aware applications.

It's weird though. Windows seems to do different things depending on the scaling factor and how you set the factor. 125% might look terrible but 150% is tack sharp. Setting 125% as a custom scale factor does something different than choosing 125% as a standard scale factor. Usually, you have to log out and log back in after changing the scale, but not always.

When you are working over remote desktop, it tries very hard to stop you from changing the scale factor. I'm not even sure if you can anymore.
MongoDB/NoSQL is deployed and used at large scale by companies like Facebook, Ebay and many others. That's quite far from "no one is actually making that choice nowadays".
Absolutely it is. Such a simple fix too, at least in terms of avoiding things becoming too small. In terms of clarity and scaling up pixel-based GUI elements like icons you need to do a bit more work (new icons, double the res).
Perhaps, but it doesn't follow that it's necessary or unavoidable to write screeds about how anyone who ends up in a bad situation is to blame because they didn't pick the right major.
It seems to me like the face ID functionality acts more like a 'no pin' option at unlock but still have a pin in case. Too bad that Apple dropped the finger print scanner though.
Another practical Bayesian approach that is much easier to understand and to productionize, is described here:
https://www.johndcook.com/blog/2011/09/27/bayesian-amazon/

It does assume a Beta(1,1) prior however.
Those are more frequently useful, mainly for CRUD apps where you're changing a lot of state often and don't want to have to reload every time. I agree that for news-type sites, for example, they are overkill.
Lets say you lose 10000 dollars worth of paper clips. Big deal, buy more. But if you lose 10000 dollars worth of photos, computers, files, etc, it is a big deal because they are harder to replace.
What would be the problem with making the default to collect nothing (so the dev would have to opt in for everything they wanted to collect)?
>> If you're a developer there's no UX reason to go Windows anymore.

If you weren't a Windows developer, was there ever?

We've been using Lenovo laptops for web development on Linux with no issues for the last 10 years, and I was using them personally for another 5+ years before that.
That’s the thing, though: you truly cannot rely on that, even more so than the outside world. Once you get there, you realize how much “supposed to be” is just words. You’re supposed to be safe at a country music festival or a church, too. But occasionally, you’re not safe in those situations and it’s through absolutely no fault of your own.

So, you have to protect yourself. In jail, this means fighting when needed. In other situations, it’s just being aware and ready to protect yourself.

DOs certainly respond if a fight takes place (it’s a chance to put some fools in the hole), but it’s the same concept as police response time. If you adopt that otherwise-correct attitude and treat it as more than just words, you won’t be ready for the inevitable. If you take care of things, you will be left alone; there’s some truth in that Hollywood trope about jail. The only person you can rely upon in jail is yourself, and that’s actually a lesson I’m glad I experienced, because it gave me different perspective on day to day life.

Is this right? Not saying it is. I do know I’d much rather be in jail here than, say, Thailand or Peru. Every time they hit a Peruvian jail they confiscate five or six guns.

Funny you say that, by the way, because Joe Arpaio ran my jail. :)
Was this flood caused by climate change? There were massive floods in Houston long before there was even a city: the town was built on a swamp. The difference now is that there is more concrete and also more places to flood.

200 years ago, where massive floods caused by climate change? Possibly. But was human-created CO2 to blame? Not at all.

Attributing everything to climate change is getting silly. It’s not different that highly religious people attributing everything that happens as “God’s will.”

If there are no big storms for 10 years it’s because of climate change. If there are lots of big storms, that too is climate change.

Climate change acolytes seem to ignore the effects of El Niño and other cyclical changes that have far more impact that temperature rising a degree.

Climate change risk has been overestimated — at least for the near term. The catastophists promised fully melted ice caps by 2016. Islands were supposed to be underwater by now, but what has the actual sea level rise been?

Climate change people aren’t actually concerned about climate — they don’t like the means of production being controlled by old-guard capitalist oil interests. It’s no coincidence that climate change people are almost universally leftists — redistributing the means of production is their obsession; climate change hysteria is just a means to achieve that end.

Do people on the right actually want weather catastrophes? We live on this planet too you know. Is every single one of us who are skeptical of human caused warming actually stupid? Are we all secretly suicidal? Or is it possible that skepticism is based on a long history of pop-science actually having unintended consequences? Eugenics, for example, was widely supported by the most progressive minds in early 20th century history. It was “settled science” and we were warned of catastrophic human consequences if we denied the benefits of eugenics. Read newspapers and writings from that era.

Climate change skeptics aren’t stupid; we just choose to consider unintended consequences when it comes to making policy for the planet. We are also skeptical of organizations with an awowed goal of Marxist redistribution who, as an aside are magically concerned about climate change which, the solution of which requires destruction of capitalism.

The coincidence of global warming hysteria beginning right as the Soviet Union began to collapse is too vivid to ignore. It’s almost as if the failures of communism were attributed to people not having an Eastasia (or was it Eurasia) as a common enemy. Climate calamity is a convinient common enemy to distract is from the goings on at the Ministry of Love.
My condolences.

I think one thing that's not mentioned enough in the SQL vs NoSQL debate is the benefit of powerful storage types. For example, when storing IP addresses in Postgres, you can use the inet datatype and easily query results if they fall within a given cidr range. Example:

SELECT * FROM audits WHERE ip_address << '10.0.0.0/20'

gives you any matching address between 10.0.0.1 and 10.0.15.254
technically every location can become a flooding plane if you build a man-made dam in that geographic location
Seems odd to do an analysis of Midwestern culture and not bring up its religious differences with the rest of America, especially the South, which is generally more Baptist and charismatic.
I really wanted this same laptop, but I got the 9360 in the end because of the lack of Ubuntu support on the 9365.

> Dell have decided, arbitrarily, not to support Linux on this machine...Ubuntu doesn't seem to detect when you've rotated the screen for tablet mode or stuff like that

I suspect that this is exactly the reason why Dell decided not to ship with Ubuntu on this particular machine. I'm not sure that GNOME has support for tablet mode yet; Unity 7 (16.04 LTS) certainly doesn't.

> Maybe Ubuntu could have stopped this by detecting compatibility issues between the firmware package and the hardware.

Firmware updates come directly from https://fwupd.org/ I believe. Ubuntu (like other distributions) doesn't have anything to do with distribution and release management of the the firmware blobs themselves; that's done entirely by Dell I believe.

> Dell's BIOS definitely should have stopped this by detecting the compatibility issue between its own settings and the firmware package.

What exactly do you mean by "brick"? Dell explicitly don't support Ubuntu on this particular machine. If you had been running Windows, would you still be stuck? If not, I don't think you can reasonably blame Dell here. They don't QA with Ubuntu (or any Linux) on this hardware, and you knew this before you purchased.
The latest response was in last November, people failed to coordinate. The next is going to be next year November. November 6, Tuesday to be exact.

All 435 seats in the United States House of Representatives and 33 of the 100 seats in the United States Senate will be contested. 39 state and territorial governorships and numerous other state and local elections will also be contested.

Yes, showing that this [FCC fuckery] is bad is important, but it is possible because there is no legislation, no statute regulating this.
True or not true: Engineers in Canada wear a ring made of steel from a bridge that collapsed?

Found it: https://en.wikipedia.org/wiki/Iron_Ring
Crowd Valley at World Funding Summit in Los Angeles