skysight-inc/HackerNews huggingface dataset:
I think I understand where you may be coming from. You are correct in that it is quite possible to get into a situation where the "plain text" editor that you are using would not understand the binary encoding of (all or some of) the characters present in the what otherwise would be expected to be a text file and display some "binary noise" character instead. So, in this sense the definition of "plain text" becomes tied to the definition (or, rather, implementation) of a "plain text editor". But I think this is wrong. For example, is an XML file in ASCII plain text? The definition of the plain text file format is simply that the file must contain no control/meta data other than what is provided by the encoding itself (such as the new line character).
re 9) I feel better about always feeling at least slightly confused about what files are being sourced.

The graph included seems to originate from https://blog.flowblok.id.au/2013-02/shell-startup-scripts.ht...
When I was in Berlin I was surprised grocery stores were open so short on Sunday. However, regardless of religion, it has a side effect that horeca workers (which -I kid you not- is tough labour) can have a guaranteed half day off on that one day. That's a disadvantage of the 24/7 economy: workers who do certain tough labour jobs who are replaceable (a relatively non-unique skillset) have less rights.

> Who goes and buys a TV for example at 11am on a weekday?

What happens at say grocery stores is they have less workers at the non-peak times, and workers do different tasks at different times of the day. Instead of being clerk, they for example replenish from the warehouse or throw away items which are past their due date. You'd have only 1 or even 0 clerks, but there's also hardly any customers. Meantime, all these workers can still be productive elsewhere.

In your specific example I can imagine a clerk doing inventory or online orders during downtime. Though it depends also on the size of the store.

As for who buys that, grandpa & grandma, the guy who took a day off to buy a new TV (tho nowadays one can buy TVs online just as well, and why not [1]), or the mom who's a housewife or has a part-time job (latter being very common for females here in The Netherlands).

[1] I'm getting on a tangent here geez but if I'd buy the TV online here in the Netherlands I'd also have 2 weeks to send it back for whatever reason other than warranty. I don't have that right if I buy it in brick & mortar store other than warranty. A good reason to shop online indeed!
Yes; I can see the flickering on my CCFL-based ThinkPad, but it's thankfully not annoying.
It _badfles_ me that _technologists_ (whatever that means) dismiss others writing without actually reading it. It's not us, the detractors, complaining about using new technology because it's "new". For one, it's not new, it's the n-th undeveloped iteration of a technology 20 years old. We're not complaining about you using technology, it's us complaining about you ignoring the advances that could buy alcohol in the US by now.
Pre aggregated reports. Custom reports have `using x out of y sessions`. Custom reports using bigquery or something similar and more compact/specialized.
I've had luck with Termius (and it's free)
while this post is about the more general attack vector, its worth pointing out that if you use a modern credit card tool like Stripe Elements it is impossible to steal credit card numbers as they are embedded in an iframe and your page just gets a token that is meaningless to anyone else
It's true. Archaeological artifacts are just pieces of culture.
The article mentioned that "Tesla is striving and failing to build a pretty simple vehicle. The Model 3 is basically an electric Honda Accord. And Honda without noticeable effort builds and sells over 100,000 of those every single month in the US alone.".

I've always been too afraid to ask, with all the knowledge and best practices in car making, even consider Tesla isn't willing to hire other factories to make the car, what exactly is costing so much more time than it seems to its competition in terms of making car? Is it because Tesla bet too much time and resource on a much more autonomous production line which failed to deliver?
I've long wondered how this is actually done electronically. The only approach I've ever been able to come up with is a digipot connected to a linear power supply, but that would generate a bit of heat at low brightness settings, and I suspect even a 256-step digipot would exhibit visible fade "jumps".

As someone who knows zero about electronics fundamentals... how is this done?
Ask HN: SaaS companies, what do you use for user documentation?
Do you use an existing solution or have you created your own?

How do you like the solutions you have tried?
For most workloads where bash is suited, so is sh. For workloads where sh is insufficient, bash probably is too and you should just use a higher level language.

Chill. You don't have to hold bash so close to your heart.
The trickiest part of Bash I know is that "$(command)" results in the truncation of the output of the command before the newline. It's both handy and damning depending on what you're trying to do.
For the purpose of reproducible `node_modules` tree.

Ideally if all packages would use commits, and the installation algorithm will never change, then there will be no need for lock files.

In reality some packages will use NPM existing mechanism, so "git-based algorithm" will need to accommodate for that by reading git repo of the NPM package and referring to a specific commit, which should be store in `package-lock.json`.
I remember running slackware 3.6 on an 8 mb ram 486 dx 100 (100 was the cpu mhz) before ~ 20 years. The linux kernel was 2.0.36 or something like that.

Everything run great back then!
I want a refund, but am unable to get through the bots to actual people who might be able to help me.

What would you do in my situation?
10 lines is a rule which is meant to be broken. Rules exist to guide the novice, and to inform the expert. Bash is an extremely useful tool, but not one which should be employed carelessly or casually.
> If the market fragments into 10 $100m vendors, then to get the same amount of money spent checking each chip for bugs, you'd have to spend 10x as much of your budget on quality control.

But there's a much smaller attack surface and the incentives for attackers are significantly changed. Homogeneity is always more vulnerable to disaster, whether we're talking about food supply or chips.
If there is no one to determine "correct" behavior, then there can be no bugs. If the universe crashes one day due to a mishandled null atom, we'll just have to take it as correct behavior (too bad for us!)
Correct. It's the ability to share documents and conversation snippets provided by vendors, as well as curating and summarizing the significant amount of information available.

I've never seen an exploit that involves microcode updates, compiler fixes, kernel patches, and KVM/Xen updates all together. The number of moving parts is staggering.

Being able to filter and summarize that across company boundaries has helped me both understand and more effectively work to mitigate this problem.
Worse than typical PWM is running LEDs from AC mains power directly. I've seen this used in large, high-output panels. 20,000 lumens with 50/60 Hz flicker is rather unpleasant to be around.

And yes, two other ways to dim an LED are a switch-mode power supply with output current regulation, or a variable linear regulator. I'm familiar with both approaches being used in flashlight drivers, though PWM is also quite common. Good PWM designs tend to be over 10 kHz, which is nearly always invisible to the naked eye.
Show HN: What is Zam? – A component-based micro (about 3KB) JavaScript Library
The way I read it, it's not immune, just harder to attack. Furthermore, Meltdown and Spectre are just two specific ways to attempt a whole class of attacks and could be improved upon especially now that the whole world's attention has been brought upon it.

So yeah probably you're not going to have issues in reality with a G3, especially given its small presence in modern computing, but I wouldn't choose it thinking it's immune either.
The spores are legal in all but 3 states. It's VERY easy to order a grow kit, some spores, and you are in business. YouTube search 'Willy Myco'
With the opt-in... 30mins to cross a border. Without it.. slowdowns, flagging, questioning, etc... could be 6 hours.
If one is travelling for business, opting out is not realistic.
Do you mean for help desk articles about the software? If so, we use Intercom's Educate product and love it.
This post is pure fluff. Nothing surprising, nothing learned.
I'm not sure why Microsoft has been sitting on these patches for several security cycles now, the fix has been publicly confirmed (without context) since mid-November, and other vendors took advantage of the embargo to stealthily update their software/platforms before Spectre/Meltdown went public.

In all cases, Microsoft's fix for Windows 7 and Windows 10 will go live on January 9th; until then your best bet is to update your browser (and don't use Edge or IE11 since they won't be updated out-of-band) and manually download and install the patches linked in the article.
This is a great example of collaboration between competitors where there is much to be gained and nothing to be lost!
TOP 5 PUBG BATTLE ROYALE MOBILE VERSION (PLAYERUNKNOWN'S BATTLEGROUNDS)
Don't use shrinkwrap - this comes directly from Laurie Voss, COO of NPM Inc. In my own experience using npm shrinkwrap has been pretty bad.

NPM has its own lockfiles now, similar to yarn.

> It has a few problems of its own, notably surprising, quiet updates to the lock file when using the default options

This I've never noticed. I'm genuinely curious how it would happen. The only way I imagine it might happen is if you do a fresh install with no cache and some of the packages have moved or changed on the registry. Do you happen to have more details?
The thread is 164 pages long and active through 2017.
This, so much this.

I have nystagmus which means my eyes move uncontrollably. Primarily on the horizontal plane. While my brian compensates for this and I don't see a moving image anything that uses PWD flickers very, very badly.

PWM tail lights are THE ABSOLUTE WORST for this condition. Not only do I see it on the source but I see it on anything the light projects onto, it's horrible.
To be honest, I'm skeptical that this is a universal feature of the MacBook line. I don't own one of my own (I'd never!) but I use one for work and I can see those effects as well if I know how to look at them (I used to have a DLP and it was easy to reproduce the rainbow effect).

The flickering on this LEDs is not really any different from the CCFL flickers before.
It doesn’t solve the problem. It’s Google’s problem. If Google is going to do nothing whatsoever to secure their property, it’s not the police’s job to do it for them.
So you think we should read 10 years of babbling by cranks who don’t like LED backlights on a support forum?
OpenFaaS accelerates serverless Java with AfterBurn (2017)
If you have a build system or a production system that relies on npm to be there, you are an idiot. Find your boss and tell him to fire you.

Vendor your dependencies that are needed to run build your applications. Period.
Quality and humor are not mutually exclusive. I'm experienced enough in this area to be both excited by this study and amused by this tongue-in-cheek characterization of the psychedelic experience. Not only is it worth pointing out that psychedelic experiences can be disorienting or scary as well as benign and thrilling, it may be that much or all of the therapeutic value comes from getting through those negative experiences.
Your comment history shows a rather singular affliction for climate change submissions, along with a very common dismissal.
> Unclear that diversifying helps solve this sort of problem.

At least having the option of another vendor as a fallback (e.g. in case there's a severe RCE vulnerability in ME/PSP) is a better alternative than having to shutter your entire business.

I would not be surprised if these management engines have a backdoor that can be invoked from a guest VM... and then an all-Intel (or all-AMD) shop has a massive problem.
No. My complaint is that things never get fixed properly. The complex problems around software distribution (which proper package managers have made a good stab at solving for decades) are ignored in favour of steamrollering over the problems with naive solutions and declaring that everything "just works" only for the wheels to come off a few years later running into a dead end which many of us saw from miles off.

This is particularly true for package/dependency management, but the attitude is found more broadly.

For what it's worth, the javascript world isn't alone here. Python, with its new Pipfile/pipenv system is on its, what, fifth, sixth? stab at solving package management "once and for all" and it's all truly dire and not something I depend on when I have the choice.

Nix solves pretty much all of these problems and a few more, but I expect it to be a decade or so before people realize it.

I'm not complaining about new things. These aren't new things. They're about a decade behind the curve.
If not banned outright, they should at least be required to use a 1MHz minimum frequency.
Most people can see these effects if they know how to look for them. Most "sensitives" are folks who accidentally figured out how to see them.

It's really not at all clear that they possess some kind of higher clock rate for sampling optical images.
I dunno. Sounds like the Amazon review was factually correct. The difference was whether what it identified was good or bad.

The answer to that surely depends on what you need.

My friend is a car expert. I might read a positive review of a car which said that its small engine made it easy to control. He would say that a small engine meant it had poor top speed and acceleration and therefore sucked.

Surely all I learned from this is that the car has a small engine. Someone who drives a lot of cars may want a fun one. Someone who reads a lot of translations of the analects may want a dialogue that contributes to the field. After all, if such a scholar wanted a litteral translation they would read it in the original language.
Show HN: Intellij License Server Active Proxy
It's true, but it's not what I meant. They wrote "after a host was patched". This is ambiguous. So they mean the host as in instance, or host as in AWS host machine? Did they just reboot it get on the new/updated VM host, or did they rebuild to include the PTI fixes as well. Did they upgrade anything, or did everything else stay on the same version.
John Young, a pioneer who flew four different spacecraft, has died
I think this probably concerns many more people than are aware of it. I could live with the flickering but I live better by doing what OP did, set screen brightness to max, on all of my laptops and external LCD screens. I then use redshift (I'm on Linux)[1] to dim the screen to the desired brightness, i.e. absorb the excess light in the liquid crystal layer. Sadly this does appear to lead to some loss in brilliance and color quality, but it's not too bad, and I like that I never have to see the flickering.

I know someone who puts a foil based filter in front of the screen, that may work somewhat better, I still haven't tried that myself.

I find it frustrating how almost all LED lighting installed in the UK is PWM based (if dimmed), or otherwise flickering (AC), too. And it's just a question of consumer expectation: if you buy an LED light bulb in a standard shop in Switzerland, it doesn't flicker, if you buy one in the UK, it does. Both bulbs use the new LED filaments, you can't tell the difference from looking at the bulbs, the difference is in how the power supply in the base of the bulb works. I opened up one of the Swiss bulbs and it had a proper switched-mode power supply (using a switching frequency probably in the 100 KHz range); I saw a video on Youtube by someone who opened up one of the UK ones, and the power supply was based on current limiting via capacitors (and then a rectifier), which leads to a flicker at twice the AC frequency (hence 100 Hz). There's going to be a cost difference of £1 or so, the Swiss consumers are apparently ready to pay for that, the UK population not (or the UK shops possibly pocket the savings).

[1] https://en.wikipedia.org/wiki/Redshift_(software) (actually still using the command-line variant of an older version, e.g. "redshift -b 1 -g 0.9:0.9:0.9 -l $POS -t 5500:4800")
I had "NPM Registry:" in the title originally, but someone edited it.
Note that I have no issue with x64dbg and don't suspect the project. See the other very strange comments elsewhere in this subthread
How we got to #Spectre and #Meltdown. A timeline of events
Doing Time, Doing Vipassana Documentary (2013)
This is kinda funny, because you can still install OpenBSD/NetBSD on a 486 machine today using their floppy installers.
He is not inspiring much confidence in the future of INTC.
"good: adjective, 2. having the required qualities; of a high standard."

I don't see "rare" being a part of the definition.
Have to mention this blog post is extended work based on knowledge gained from that hackathon
You said "mount". I took you literally. (Got downvoted for it too; no idea why.)
Linear regulators are fairly common in flashlight drivers. They do generate waste heat at low output levels since the difference between battery voltage and LED forward voltage is just burned off, but the heat itself isn't a significant problem. Efficiency is more of an issue, but low-output runtime in LED flashlights is so long that most people will be able to charge their battery long before it runs out.

Switch-mode power supplies are the high-end version. These can step the input voltage up or down to produce the required output voltage and can regulate current to one or many desired levels.

More information on how both of these work is easy to find with a google search, but I should note that some things written about linear regulators assume a target voltage. When used to drive LEDs, regulators with a target current are required.
Yup, help desk articles, videos, etc. Anything designed to help users learn and progress through the software and ideally reduce churn.
No mention of the Tron soundtrack ... I guess it didn't "change music" but I really liked her compositions.
"npm install packagename" could record the public key in package.json (or package-lock.json) on first save, and only accept installs (or upgrades) matching the same public key. Just like how android app code signing works, or similar to ssh known_hosts trust-on-first-use.

Granted it wouldn't save those adding a new package to a project the first time, but it would save the bacon of anyone re-running "npm install" in an existing project, for example during a deploy, or when trying to upgrade to a newer version of a given package.
Kubernetes supports HA masters now: https://kubernetes.io/docs/admin/high-availability

Note that even if you don't have HA, Kubernetes being a SPOF isn't necessarily critical. Barring some kind of catastropic, cascading fault that affects multiple nodes and requires rescheduling pods to new nodes, a master going down doesn't actually affect what's currently running. Autoscaling and cronjobs won't work, clients using the API will fail, and failed pods won't be replicated, but if the cluster is otherwise fine, pods will just continue running as before. Ny analogy, it's a bit like turning off the engines during spaceflight. You will continue to coast at the same speed, but you can't change course.
A statement from Apple would be best, for an issue that has affected customers for nine years.

PWM backlighting was introduced on the iPhone X and is affecting some customers.

edit: s/backlighting/OLED dimming/
You are very dismissive and impolite. I'm sure they are complaining about it not because they have nothing better to do.
Yeah, it's possible to use to bypass same origin policy and read data across origins. Basic idea is that most browsers have multiple origins in the same process, meaning that the same speculative execution + optimistic caching can leak data to js from another origin in the same process.
Or rather: what were the contributing factors of the issue?
Yes, the article is flat out wrong there. Probably a typo or pasto though.

Instead of

ls /long/path/to/some/file/or/other.txt:h

it should be

ls !:$:h

which would produce

other.txt
If you use either vim or emacs, there's something to be said about using that knowledge for your command line history.
Some of its commands, notably install, can modify yarn.lock if it's out of sync with package.json, and I think that by default they still do so silently. You can override that modification with various options, but it seems to defeat the point of a tool whose main function is to ensure stable, repeatable builds if something on say your CI server or a developer's machine after a source control merge can wind up with a locally modified yarn.lock that doesn't fetch identical versions of all dependencies to what everyone else is using.

Edit: Also thanks for the tip about npm's new locking mechanism. Apparently that arrived with NPM 5. I just checked, and we have developer machines here that were last updated well under a year ago and are still on NPM 3, and that had itself been installed along with something like the third new major version of Node in not much over a year. I don't know how anyone is supposed to do development intelligently while the most fundamental tools for things like dependency management are bumping a major version and radically changing how they do even the most basic and essential things literally every few months. :-(
Kernel yes. Another yes to the GCC compiler.

Probably Yes and no for the rest. The fact that Git, Python 3, SSH and nginx worked fairly ok implied they probably did some testing too.
Why does the iPhone X need backlighting when it has an OLED screen?
Show HN: Grafana-stack — a set of tiny docker images to run monitoring
10 or 20 kHz would probably be sufficient, based on talking with the author of some of the most used open-source flashlight driver firmwares, who is quite sensitive to PWM.
When will people learn to host their own private mirror for things on the web that they depend on?
You can’t fork a kernel thread. The hard part, and the value, of such an app would be a userspace fork() to a simulated thread.
Isn't the solution to simply turn up the frequency of the flickering?
I have to add that although there are quite a few great resources explaining special relativity, resources explaining general relativity, beyond focusing on describing the math behind it, are few and far between. Anyone's got a contradicting example?
I disagree with this.

There's nothing wrong with writing bash scripts, with a shebang like `#!/usr/bin/env bash`, just like there's nothing wrong with writing python scripts (with `#!/usr/bin/env python`), or Haskell scripts (with `#!/usr/bin/env runhaskell`), or whatever other language you like/think is appropriate/etc.

It's true that bash is unavailable by default on (say) microcontrollers, but I don't see the relevance given that loads of common scripting languages aren't available by default on microcontrollers (Python, Ruby, JS, PHP, etc.).

PS: With this said, don't start your bash scripts with a `sh` path like `#!/bin/sh` or `#!/usr/bin/sh`. In fact, don't use a hard-coded path like `#!/bin/bash` or `#!/usr/bin/bash` either, always use `#!/usr/bin/env bash` unless you have a good reason not to. (Whilst `/usr/bin/env` is a hard-coded path, it can also be treated as a single special-case by systems which don't follow FHS, like NixOS, GuixSD and GoboLinux).
Wow.

I am very very curious to learn what happened with this. Have GitHub told you anything yet?