skysight-inc/HackerNews huggingface dataset:
Thanks!

I use scroll position to keep the state. In effect, each square is in a div with overflow:hidden. (In the actual code I used <i>, not <div>, which might've been to save bytes because the server is so slow). It has a fixed visible height, the height of the square. Above the fold (before scrolling) is the un-clicked square, and below the fold (what you see after scrolling) is the clicked square.

Since overflow is hidden, you have to use an in-page anchor link to scroll to the clicked state. The unclicked version of each cell is an anchor to the clicked version.
I used to know of a search engine that supported a bunch of added functionality for searching some selected popular sites. Like "wp whatever" would search just Wikipedia. It supported many man little command shortcuts.

It was popular among dwm/i3 users, and I have forgotten it :(

I was a fan of MacOS performing searches with Command + Spacebar, so on Linux I scripted a similar popup-prompt that would open Firefox and feed my input to this search engine.
The article highlights the warrant and application of Feds is to investigate and eliminate gangs, not the protests. It might end up targeting protestors anyway, but they're using the cover of Chicago's annual summer murder rate spike (which has been going on since I was a child in the early 90s at least).
Ask HN: How to write better technical requirements document?
What are some best practices around writing better technical requirements/ design document. Any good examples / resources that I can use as baseline for writing my first document ? I am in the process of writing a technical requirements/ design document for an external API integration with our application.
In a well functioning labor market, employee should earn more than the minimum they would accept to do the job and employers should pay less than the employee is making the firm.

Who gets what share of that surplus value from the transaction is a negotiation. Arguments about what's fair and other normative statements are definitely an effective way to influence those negotiations.

If an employee does something to earn a company a lot more money, they're not automatically entitled to that additional income, but they have a lot more room to negotiate their compensation. The same goes for assumed changes in an employee's reserve price.

Even from a purely self-serving perspective, it is worth considering that offending employees or colleagues is liable to change morale and output before they leave. Additionally, the rising acceptance of remote work doesn't just mean that there are new considerations about living expenses, it means that companies aren't just competing with local companies for talent. That star employee who has just moved to a cabin in the woods could very well have more options in 2020 than they did in 2019.
China’s Mars Mission, Tianwen-1, Begins Its Monthslong Journey
Also, should employees' salaries be tied to their position on the org chart, should high and low salary ratios fall within a bounded range, and should employees all get some portion of ownership of the companies they work for?
Article says landlords have no incentive to lower rents, and then notes that rents are going down.
I think most of the complaints against CSS is because don't understand the problems CSS is trying to solve. It is not just a question of putting text and colors on a screen. You can do that with Postscript or PDF or SVG or several other comparatively simple technologies. CSS is trying to tackle a much harder problem:

- Layout and typography which can be readable on various devices with wildly different dimensions, aspect ratios and resolutions.

- Incrementally rendered (i.e. the start of the document can be rendered before the whole document has been loaded)

- Allow users to enlarge the text size while keeping the text legible. (In a PDF you can zoom, but then you will have to scroll vertically back and forth for each line.)

- Backwards compatible with the display model of pre-CSS presentational HTML

No other technology exist which solves all these problems. If you ignore one of more of the above constraints you can probably devise a simpler and more intuitive styling language.
For one a Starlink satellite, or any LEO satellite, is moving really fast relative to a ground based telescope. It'll occult any given star for a fraction of a second.

If you're doing a narrow field long exposure with tracking, that will be problematic and you'll loose data. Most scientific observations don't do long exposures, especially measuring highly variable things like exoplanet transits.

It's more effective to stack a large number of short exposures for scientific measurements. It's much easier to eliminate noise because everything that is not noise will be transient for a single frame in the stack. You can also remove frames with things like satellites, clouds, or airplanes without losing much data.

Knowing the ephemeris of satellites also allows observations to time short exposures to avoid occultations. Astronomers have been dealing with satellites, clouds, and airplanes for a long time. Amateur astronomers might have a harder time with Starlink satellites but they will adapt just like they did with the ISS and Iridium.
Congrats on launching, especially with a physical device. Quick question, if I commit to the promotional pricing now, can I scale up and add more users to my plan for the same price per user after Aug 1st?
Yeah, but what % of subframes (small portions of large images) are ruined by noise caused by moving objects? Way less than 1% I'd imagine. It's just not a big problem. And certainly not worth outlawing new satellite launches over.
It's not about law enforcement using the data, it's about the viability of running a business that provides illegal hacking services for law enforcement.
Where can I read about the true definition of virtualization?
Only if it's mandated by the company.
>They don't normally carry weapons, but they have military communications equipment and readiness to support PLA Navy.

How are they supposed to support the PLA navy if all they have is a boat with some military radios? The only thing I can think of is cannon fodder or search and rescue.
Often the TV is mounted on the wall above the desk I am working at. So you sit on the bed with your laptop instead and use Miracast and a Microsoft Wireless Display adapter (nice) - but looking near and far is painful as your eyes refocus.

I just find it simpler to have 1 high resolution screen where I can put high def content side-by-side or in quarters on screen.

For now this works, but in 10 years when movies and web pages are 4k by default I'll need an 8k laptop screen (haha)

(Probably at 17" though)
In more worldly/sciencey/engineering parts of the US, I tried shortening metric like that and then I ran into this fucking abomination of a measurement, which is also abbreviated to "mil" in the US:

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

I'm 100% American and I despise the imperial system so much. Maybe our plummeting stature in world politics and power will force us to convert. Not exactly the way I wanted it to go but a silver lining is still a silver lining.
duh. yosemite is a 3 hour drive from the major populated region known as the SF bay area. of course a bunch of visitors have the virus.
I agree. In this particular case, there are short term gains, and there’s short term survival. Since long term survival requires short term survival, I, as a museum director, would do what needed to be done, even if such things would be looked down upon in better times.
Are there any screen casts out there showcasing the utility of CIDER? I guess I have just never been a big emacs guy so it felt sort of clumsy to me but I am probably just missing something. Could also be that I am just too familiar with the Cursive workflow.
What if they stockpiled enough images so that everyone was guaranteed a fresh image? Would there be any difference then?
"pandemic" is a big scary word that mostly describes the global distribution of a disease. The classical definition includes nothing about population immunity, virology or disease severity.

Ebola was/is a big deal for the past 45 years off an on.
No, did you mean 'low brow dismissal' ?
Ludic Fallacy
But then how would the private prison companies maintain their revenue streams?

I swear if we forbade private incarceration, we'd see a major change in both total prison population, and the sort of "crimes" people are shanghaied for.
Is it always on?

This is an interesting problem. How to recreate a “frosted glass” that’s introvert friendly (there’s a disorder that affects X% of the population where they can’t work if they’re being watched...the name escapes me) while reducing the friction of adhoc interactions (time, clicks, etc).

Hopefully there’s some interesting solutions soon.

One thing this solution perhaps doesn’t address is portability. Sure you can take the device with you, but will you? So it’s a “home office” solution not a “remote as in Starbucks” (if that ever exists again) solution.

Neat idea!
It doesn't seem right that one should be forced to go before it's "their" time as a result of the masses' inability to care about the collective health of their neighbors.
Employment by Detailed Occupation
Ask HN: How do you use your HN favorites?
I save a lot of good posts to HN favorites. But I usually never get around to doing anything with them.

How do you use your HN favorites?
Their mission statement is “to accelerate the world's transition to sustainable energy”, not “make nice cars”.
Any thoughts on how this could work with VGA for example?
Search results are powered by Bing and its own index, so if you're not showing up you can just submit yourself

https://wiby.org/submit/
Twitter says it's looking at subscription options as ad revenue drops sharply
> You asked if macOS can be virtualised. The answer is yes, it can, on Mac hardware.

I guess that's fair enough. It used to be you couldn't virtualize OSX/macOS on anything, period. So this is a step in the right direction.

I suppose the historical lack of virtualization provisions in the license agreement led to the rise of insane concoctions like Imgix[1] - literally custom fabricating racks to hold a bunch of Mac Pros in a data center - absolutely insane, but necessary if you wanted a macOS/OSX stack.

I guess it's implied that virtualization would be hardware agnostic... since that's a primary reason to virtualize an OS.

Artificial limitations of only two (2) instances on only Apple hardware is absurd, and barely useful at all.

From kbutler's post[1]:

> "(iii) to install, use and run up to two (2) additional copies or instances of the Apple Software within virtual operating system environments on each Mac Computer you own or control that is already running the Apple Software, for purposes of: (a) software development; (b) testing during software development; (c) using macOS Server; or (d) personal, non-commercial use."

This seems to imply you can only virtualize macOS on Apple hardware that is already running macOS. Since ESXi is a Type-1 Hypervisor and includes it's own kernel, etc, it seems dubious to wipe the OS, and install ESXi on Apple hardware. Perhaps you'll never be caught doing this... but it seems like it would still violate the EULA.

[1] https://photos.imgix.com/racking-mac-pros

[2] https://news.ycombinator.com/item?id=23924200
You are misrepresenting this and spewing some garbage perspective about how work should operate.

Hours put in is completely pointless and an old win by unions to prevent companies from further exploitation of workers. If you can do 6x the work of the other devs on your team you have literally no obligation to work any harder.

The company does not have your interests at heart.
This is a great writeup.

I wonder if this can be extended to connect multiple servers to a single Pi.
Getting into a FAANG has a high bar, but it is often artificially created and not based on the actual work done. It depends on team/scope/specialization but there are many people at FAANG just digital janitors.
> Donald is openly dehumanizing US citizens that have political views contrary to his own

That's true, but somewhat beside the point. He's using the flimsiest pretext to do things in the most provocative way possible as a deliberate attempt to cause violent radicalization on both sides and provide pretext for further escalation and executive authoritarian action, and deliberately targeting locations that will assure that the resulting chaos and it's hoped-for adverse effects on election administration redounds to his electoral advantage and, failing that, that the chaos itself provides a pretext for his openly-telegraphed backup tactic of rejecting the election results.
Create a personal blog on Hashnode in under 2 minutes
A Plan to Develop Farmland in Amish Country Meets Resistance
"Records and Tuples aim to be usable and understood with external typesystem supersets such as TypeScript or Flow." Must be fun to design stuff that shouldn't break your language nor other languages.
In my case, it's mostly for performance reasons that they are left out in release builds. I work in extremely performance sensitive fintech, where the cost of a couple hundred if statements in a critical code path is a big deal.

We have signal handlers and all that so the user still gets a core dump whenever the program crashes, it just takes more digging to find exactly where the bug is vs where it manifests.
I wish you the best of luck in your new endeavours.
Cloud computing considerations that every firm needs to consider
Deposits insurance has nothing to do with that.
What if a typical bank usually has 20 times more LoC and 5x more developers?
Associated YouTube video: https://www.youtube.com/watch?v=uNjxe8ShM-8
No offense, but "problematic" is a weasel word[1]. Based on your link, a better way to describe it is inaccurate or misleading. The link describes how intuit used to spank their children in the past, and how the studies the post is based off of were poorly designed.

[1] https://www.merriam-webster.com/dictionary/weasel%20word
Amazon met with startups about investing, then launched competing products
An Updated Guide to Do-It-Yourself Network Segmentation
Thanks! Can you talk a bit more about the static checking of cross-boundaries schemas? Any relation to tools that allow a schema to evolve without breaking compatibility, like protobuf?
Show HN: Minecraft Skin Generator
Only 50% of SF rentals are rent-controlled
For a quick side project, I made a Minecraft skin generator based off DCGAN. Time constraints and google colab gives it some limitations. It's not amazing and it's definitely not better than good Minecraft skin makers, but it's better than my talent and a lot of the skins out there right now (imo). Hope you enjoy.

Sorry I didn't have time to setup a web app that automatically generates one that you can download... you'll have to use the github link at the bottom of the post and try it for yourself.
The Kindle Fire has a profanity filter
The keyboard app has a filter that blocks certain words from being recognized as speech.
"Problematic" is a kind word for cherry-picked, misinterpreted, hypergeneralized, and contrary to available evidence with a hefty dose of noble savage xenoromanticism thrown in.
A Guide to Digital Business Cards in 2020
Forza Motorsport is coming to the Xbox Series X with 4K, 60fps, and ray tracing
It takes the will and discipline to use it, but what Clojure Spec (and other schemata libs) offer is, in a lot of ways, more powerful and flexible than traditional type systems.
A spec can be thought of more as a contract with the data, one with enough detail that it can be used to auto-generate conformant example data even.
If, for instance, you have a function, that needs to work on either, integers, or numeric strings, and textual fractions like '1/5'. Enforcing this constraint on input, and getting informative exceptions on bad data is easy with a spec, and the function code does not need to contain all of the noise to validate or coerce data.
Sure, you don't see the problem at compile time, but if you can auto-generate test data, the tests that you should already have become easier to write.
I haven't tried Steam Link yet, but I might give it a shot. I was originally looking for purely remote desktop stuff for a combination of managing computers and gaming, so I was mostly testing stuff not specifically marketed to gamers. Ideally I'd also like something that does software<->hardware (at higher latency obviously), so I can stream older computers or game consoles to a variety of devices as well.

I did end up trying Parsec, since I saw some people recommending it, and that was terrible. Latency was fine (~10ms software <-> software) and video quality was alright, but audio quality was terrible despite being set to the highest option - which is especially bad, because there's no option to send uncompressed audio, and whatever "optimization work" they were doing to reduce bandwidth made their entire product unusable, despite the fact that there's no need to try saving 1mbps over a wired LAN.
That attempts to load a customize page, then immediately 404s. This is one of those moments where I think, "JavaScript was such a poor choice on this page".
A guess?
Hardware startups mean money to investors. ;)
Common misconception that museums exist to put things on public display, and the collection exists to serve that.

For any serious museum, it's the opposite: public exhibits are a nice thing they do, but not the most important. Maintaining the collection, and the research it enables, is mission #1.
People starting at $4K are the ones who work for consultancies like Infosys, Wipro, et al. There is a reason why they're paid so less. They're usually graduates from terrible engineering colleges who have no real engineering skills what so ever. They undergo a 6 month training period before they can even start working.

My friends in Google India on the other hand make close to $50K/yr. My friends in Google MTV make $200K/yr. So the difference is 4x, not 100x.
I think that's unavoidable. There is always a level at which your understanding of your tools gets fuzzy and incomplete. Do you understand everything about what your compiler is doing? Your OS? Your could provider? The hardware any of them are running on? The majority of us are standing on the shoulders of the few that do understand those things and provide them to us to use.

And if you mean that we would not understand what the software we write is doing to produce the result it does, aren't we already there with machine learning?
i would hope no adult is naïve enough to believe police magically appear only where crime is and only addresses clear and existing crime, rather than being embedded in a complicated sociopolitical system overwhelmed by legal pitfalls. those are stories we tell children to comfort them for sleep.
> On Twitter there seem to be a lot of people on who expect to live in other worlds soon

On Twitter there seem to be a lot of people who currently live on other worlds.
I’ve worked at a non profit, an early stage startup, a more established startup, and now a FAANG. My experience at the FAANG is opposite yours - I feel I should be working more and faster.

At the non profit I had times when I’d get that feeling for a few weeks as I was ramping up on something but largely ended up feeling like each day was the same.

The startups were a little different but at least at the last one the hard part about my job wasn’t writing code it was doing my best to make sure what we built was maintainable.

Now at the FAANG I feel like I’m learning a lot of new things and working with people who care about building good software.

So no. It’s not like that everywhere.
Heh. You’re proposing around... well, ${a lot of money} worth of work.

When I was a pentester, I once ran the numbers and concluded that each pen test must have cost some absurd amount of money for us to be profitable. And they do, because it’s effective. But I wanted to point out a likely possibility: they wanted to do what you were saying, and concluded a million dollars spent on a pentest was beyond reach.

a review of the web, desktop and mobile apps and the browser plugins

If a million dollars sounds like an overestimate, you’re right to be skeptical. But $270k seems entirely reasonable; that’s $30k per app, for 9 apps.

So it might be tempting to feel like “it’s just a browser plugin though. How can the cost be anywhere comparable?”

Because pentests are billed in days, and a day on a plugin is a day on an app.
I think 'crap job' can be multifaceted. For instance take someone making a million a year at a hedge fund with a strategy of frontrunning public pension fund trades. To some that is a dream job, to others that is a waste of life. It depends on the individual. Some hate the Army, and some sign up to do 4 tours. You have to find your own purpose and your own way of staying motivated.
Did you guys consider putting some kind of authentication on the device when unlocking it? It seems to me that the device should check that you are who you say you are before showing you your coworkers (especially if your team works on sensitive/trade secret-y stuff). Or to make sure your kids don’t come stare at your coworkers while they’re in flow ;)

Maybe it’s not a problem unless someone breaks in to your home/office, but at the very least a passcode might be nice if you lock it for x amount of minutes. It’s often a requirement for regulatory compliance as well (although if a company has to have an airtight setup I don’t know if they’d be the target market).

(If you have this feature, then that’s swell! It looks very cool, even if it reminds me a bit of the telescreen from 1984...)
This isnt true. Top performers on top products always have larger compensation. Its not discussed openly, but guaranteed they are receiving bonuses in the seven figures. If you think this isnt happening, you are naive or havent been on an inner circle at a large corporation.

Whoever told you theres no bonuses at Amazon is not a top employee
I wouldn't say cloud VMs have removed the need, they've just made infra admins have to live without it. For the most part it's fine on well supported and tested OSes but before the container/kubernetes revolution I managed some personal VMs with esoteric distros in various clouds and so many things have to go right for that to work. A bad update or install of grub, initrd, dhclient, a handful of system services and maybe systemd, or sshd and the machine is effectively dead. You have to attach the disk to another machine to debug it.

A more extreme example was when I went down the rabbit hole of trying to set up remotely unlocked full disk encryption on a cloud, just to see what was possible. This was maybe 4-5 years ago. This involved a pre-boot environment that would run from memory only, packaged into an initramfs and used dropbear as an ssh server to accept a connection.

I really, really wish cloud VMs had virtual KVMs. It turns out, it's really easy to mess this up, and when you do recovery is Non Trivial.

The best I found was that Azure's cloud allows you to connect (read/write!) a virtual serial port via web interface so you can use the Linux serial console to recover. That was a game changer for playing with this. If dropbear failed to come up, I at least got a shell into the pre-boot environment.