skysight-inc/HackerNews huggingface dataset:
> It is a genuine skillset and people should not expect to just be able to jump into something qithout knowledge training or experience and be proficient at it

Sure, but this also applies to understanding the U.S. tax code, which I think is a needlessly overcomplicated, poorly designed system that requires layers of inefficiencies to extract value from, much like web development.
Please don't take HN threads into nationalistic flamewar, or any flamewar.

https://news.ycombinator.com/newsguidelines.html

We had to ask you the same thing once recently already: https://news.ycombinator.com/item?id=22775767. Doing this repeatedly will get you banned here, so please stop.
I got into emacs because of org-mode. Transitioned from vim to spacemacs with evil-mode. Can recommend. :)
It is no brainer for professionals, but to be frank, it's too hard for everyone. It's time for a new PHP.
I'll never forget this Dutch poem, called "Het heelal" (the universe):

Hoe verder men keek
hoe groter het leek

(the further they looked, the bigger it seemed)
Operations is one thing, but security policies setting is another. The cloud provider can for example actively lie to you about having some security measures implemented, while it's not going to happen with your Wipro-like consulting firm, as these people just don't call the shots around the bank and are there typically only to execute procedures written on the bank side.
As a kid: Everything that you see was made by somebody. Someone had the idea, someone started a business for it, someone designed it, someone assembled it, etc.

As an adult: Simulated annealing for your own life (https://en.wikipedia.org/wiki/Simulated_annealing) You start something by going all over the place, trying even crazy ideas. Then you start refining and refining, getting better at the details. This is the optimal way for anything: dating, starting companies, creating products, learning something new, investing, ... .
> GitHub changed their API policy which broke Staticman.

Can you clarify this / have any links? Thanks

EDIT: Ah, just tried the demo (now broken). It looks like it was allowing internet random's to post to GitHub under a single account owned by the site or the project, and I totally get why GitHub is going to pull that ASAP.
I've had a similar experience with a professor. We used to chat about more advanced topics after class and he seemed really happy that I took an interest in his subject.

Some years ago I was giving a recruitment talk at the university and I bumped into that teacher. I greeted him like an old friend. He said "Oh, you were in my class?" as he hurried off. It hurt and I felt so silly for it.

On the other hand, I've had elementary school teachers approach me with a smile while I was in my late twenties.
They could solve this, and cater to both types of audience by focusing on the button, and also showing the outline of the cursor with more transparency as well.
> If people are claiming that the SDK is still fetching despite adding that key, that could be breaking some compliance and consent laws...

It is still a violation of GDPR as I as the user never have the chance to consent (or not consent!) to any data transfer to Facebook. But as no one seems to be willing to go after FB... sigh.
Part of it might just be due to not being native to English. Even if you're fluent, translating lyrics is super hard. I've seen many examples of great songs written in my native language (Hebrew) that just sounded so shallow and lowbrow when translated to English to appeal to a wider market.
Well those numbers are... weird

Also Uber seems to be much less computing/BW demanding than Snap
Security. And Independency.
I have built it myself using websockets. Wasn't that that hard or bad. https://worktheme.com

Happy to answer questions.
I wonder if folks using Chef to ensure a file is present used a "clobber-always" mode and had it behave correctly. I would imagine so since Chef should make a new file. Anyway, a problem for an older age.
There was a Tales from the Crypt episode about this. It's been a long time, but they played a prank on a guy where they somehow knocked him out and temporarily paralyzed him. When he came around they pretended like they were about to do an autopsy on him, knowing that he could hear them. Then I think one of the pranksters had a heart attack and died and they really did an autopsy on him, except it turned out that consciousness did continue after death and the scene ended as he started screaming (in his mind - somehow they got across to the audience that you were hearing his thoughts) as the started cutting in.
Things like terrain, climate, capital and time you have, labor costs, water access, routes to market are huge. You can't answer this without knowing far more.

See what other locals are doing. Probably something similar.
It just makes for a cool effect, it doesn't make it more usable, of course. But hey, I like cool effects :-)
> Sometimes I can feel the tingling

That's the viral shedding.
I think having good, secure, easy to use and hard to misuse crypto makes a ton of sense for any framework. The framework needs these internally anyway (to offer encrypted sessions for example), so you might as well expose them to the developer too.

I might have missed it, but I couldn't find any documentation on how to create custom commands in RoR. For Django I found [1] (through "python manage.py" from what I understand) and that does look like it's more or less the same as Laravel's "php artisan", with commands provided by the framework as well as the ability to add your own.

Anyway, I wasn't trying to attack RoR or Django, as those are actually the best alternatives to Laravel I know of. I worked on an existing Django project for a bit and while I don't like Python, Django seemed just fine to me for the most part. I did want to express my disagreement when it comes to the original claim of "any framework in any language can do what PHP frameworks can do" though.

[1]: https://docs.djangoproject.com/en/3.0/howto/custom-managemen...
But things like HTTPS, payment processing, emails / account management and even game programming, all of these have already been made easier - nobody has to build any of that on their own anymore, at best they have to configure it.

To make a safe website, stop wanting to do everything yourself. Use a webhost that doesn't give you SSH access, or a service like Netlify.
The recent tax law changes completely disallow the expensing of on site meals provided to employees. It has already started phasing out and might be fully phased out by 2021 if I remember correctly. So the IRS doesn't have to fight that anymore.

So they can still provide it to employees, but if they want the tax deduction, they will have to itemize it on employee compensation, which will cause them to pay taxes on it as income.
All you need to do is enable full keyboard access in System Preferences -> Accessibility and it'll work.
Ha! I just wrote a comment about the exact same episode! I though it was one of the pranksters who had the heart attack. Was it the prankee? It's been too many decades since I saw it.
About 60 of those machines are custom L7 frontend load balancers, and an additional 40-50 are database and dev machines. As for the actual gameservers, that's about the numbers we expect on average (150/box), although it varies wildly by gametype. Simple games of Skywars or Murder Mystery with no AI and an ultra-slimmed-down world we can fit 300+ players per box and are CPU-bound. Housing or Skyblock servers with full AI, dynamic worlds, and player-built structures we might only be able to fit 100 players per box and are RAM-bound.

You're pretty accurate with the per player bandwidth. We measure it at an average of 200kbps/online player. We are incredibly compute-intensive, though, and these machines are all operating with E3-1271v3 CPUs, 32GB of RAM, and ~100GB SSD.
Webdev is more like a trade than a science; you benefit more from remembering a large body of facts and details that comes with experience. There's no theory to learn, you just have to get practise in things like databases, browsers, HTTP, frameworks, etc.

This is probably why the author is struggling. This is a real world industry tackling real world problems. It is not the neat and cut world of science research.
> The obvious problem we all know, is that a browser cannot distinguish between a functional and an advertisement cookie.

Sure it can. Functional cookies come from the domain the user actually visited, advertising cookies come from other domains. That's not always true, but it's true often enough that those should be the defaults.

Firefox even does one better. It has a feature you can enable called "first party isolation" that allows third party cookies, but keeps a different set of them for each domain the user actually visits, so if the user visits a different site none of the third party cookies from the first site are there and they can't be used for tracking between sites.

> Also GDPR is addressing much more than tracking consent.

Next week we'll probably discuss some different part of it that would have been more effective if done some other way.
And a lot of people don't need that. There are a lot of applications that are highly cost sensitive but where losing some data or having some unavailability isn't a deal breaker.
syntactically speaking reduce spread is statistical while prevent transmission is individual. There is no preventing transmission with 100% surety no matter how careful and good of a parent you are, so saying bad parenting might be a bit much.

I totally agree that too many people are downvoting just because they don't like what someone has to say even though what was said falls within general parameters of acceptable social discourse, or even worse when the downvoted has the temerity to disagree with the downvoter.

So I guess I'll go upvote to fix the karmic scales.
When a significant number look like zootopia characters I don't think you can claim they "can't be traced back to the original", lots of these are overfit
I've answered this in my comment upthread. Let me know if you (or anyone) have additional questions.
They probably meant out of the platforms Apple competes with. Presumably I could find a platform with, say, 12 users and only 1 non-native app, and if that app followed native UI guidelines I could say it has 100% native UI adoption and thus the “highest” out of every platform ever, but that is a useless statement.
I was getting ready to complain about accessibility which is always an afterthought in new GUI libs, but it seems like this would actually be natively fairly accessible being a terminal driven GUI, correct?
> - DataGrip: bulky, slow, bugs never get fixed, non-FOSS

Bugs linger indeed and non-FOSS is obvious.

If by bulky, you mean start-up time (or resource usage which I don’t really care about), I agree, same as with all other JetBrains tools.

But slow? Everything is so fast, much faster than SQL Manager Studio or Heidi SQL (which I just tried). Autocompletion for fields, tables, SPs, everything is lightning fast and always more context appropriate than any other solution I tried.

I just checked Azure Data Studio as well and while completion was as quick, it wasn’t as context-appropriate and query results took far longer to display.
The crux here is the transfer of data into the very limited RAM of the GPU. If the data is already conveniently placed on the GPU, they are indeed thousands of time faster. But this is mostly a situation that is artificially created for benchmarks. If the transfer is taken into account, usually CPU-based systems win.

Database query processing (SQL) usually requires a very low amount of compute cycles per byte of data (e.g. filter, hash table builds, ...), which means that the GPU cannot really take advantage of its compute power.

For ML this is a very different situation, lots of compute on few bytes, which is why we see GPUs and TPUs seriously being used there.
I’m sure google will get right on that.
I like the related Marc Andreesen model, have strong opinions, weakly held. To get anywhere new requires some degree of (probably misplaced) confidence in what you're doing. The key is balancing that with the ability to apply new information to your model, possibly even doing a 180 on what you believed was true.
That’s something you have no control over if you use the Facebook SDK
a bit of a noob question. I'd love to be able to tweak code on the spot. Like I'm showing something to my boss and he wants something quickly adjusted, I write a couple lines, commit and then with Github Actions I get back an updated executable immediately

But I feel like things are set up explicitly to not work this way. Maybe I'm doing something wrong but can you trigger a rebuild of a prerelease?

It seems you need to setup a new tag and a new release version to ever get a rebuild. There are explicitly no official Actions for updating releases. A new release for a one line change seems a bit crazy (and you'll get a huge clutter of releases which is confusing for users)

I tried to ask and was told it's maybe possible if you write an action yourself .. yikes https://github.community/t5/GitHub-Actions/What-s-the-canoni...
When I say IQ I mean the number gotten to through something like WAIS or WISC (which start becoming unreliable above 130. It is almost as if it is hard to standardise a test for the 99.3rd percentile... :) ) Not the crap used most places. The only environment I know WISC from is cognitive disabilities testing in school, where it is used for two things: check whether someone has legal right to extra support and as a tool to understand what kind of extra help a student needs even if there is no legal requirement for extra support.

I find the whole selection through IQ that you describe dubious at best, and I seriously doubt the usefulness of it. It is a good predictor, but not that good.

However, what I do see is a society today that requires higher abstract intelligence than 20 years ago, which in turn had higher requirements than 20 years before that.
The article mentions this: "session cookies that allowed access to Netflix and YouTube (and attached Gmail accounts)"

If you use Gmail it's worth knowing how to log a device off from a different device because it's likely that one day you'll have a device stop working or get lost while it was logged on: Google Account -> Manage your Google Account -> Security -> Your devices -> Manage devices -> ... -> Sign out
Understanding the Mathematics Behind Linear Regression Part 1
All culture is a lie which only persists through re-telling.
When you are using a trackpad, it IS natural to scroll that way. Haven't used a mouse in years (except when setting up Linux for GPU compute, and it was a pita).

Edit: years -> a decade
Subdomain hijacking is not rare for the simple reason that websites are built by marketing departments. E.g., here’s Hanno Böck tweeting about a subdomain takeover he found at Kaspersky just recently: https://twitter.com/hanno/status/1257958739132514304
There’s a whole cottage industry of people finding these vulnerabilities on a very regular basis: https://www.hackerone.com/blog/Guide-Subdomain-Takeovers
We're (Kentik) a SaaS company and one key to having a great public margin is buying and hosting servers. In our case, we use Equinix in the US and EU to host, with Juniper gear for routing/switching, and the customary transit, peering at the edge.

One secondary factor is that we've only monotonically increased, and it's way cheaper to keep 10%-15% overprovisioned than to be on burst price with 50%+ constant load.

But the simplest math is - we have > 100 storage servers that are 2u 26x2tb flash, 256gb RAM, 36 cores. They cost $18k once, which we finance at pretty low interest over 36 months (and really last longer than that). Factor in $200-400/mo to host each depending (I think it's more like $200, but it doesn't matter for the cloud math).

That same server would be many $thousands/month on any cloud we've seen. Probably $4-6k/mo, depending on the type of EBS-ish attached. Or with the dedicated server 'alternate' they are moving to offer (and Oracle sorta launched with).

It'd be cheaper but still > 2x as expensive on Packet, IBM dedicated, OVH, Hetzner, Leaseweb (OVH and Hetzner the cheapest probably).

Three other factors for us:

1) Bandwidth would be outrageous on cloud but probably not as outrageously high as just the servers, given that our outbound is just our SaaS portal/API usage

2) We'd still need a cabinet with router/switch infra to peer with a couple dozen customers that run networks (other SaaS/digital natives and SPs that want to send infrastructure telemetry via direct network interconnect).

3) We've had 5-6 ops folks for 3 of the 6 years, 3-4 for the couple years before that. As we go forward, as we double we'll probably +1. It is my belief that we'd need more people in ops, or at least eng+ops mix, if we used public cloud. But in any case, the amount of time we spend adding and debugging our infra is really really really small, and the benefit of knowing how servers and switching stuff fails is huge to debugging (or, not having to debug).

All that said - we do run private SaaS clusters, and 100% of them are on bare metal, even though we could run on cloud. Once we do the TCO, no one yet has wanted to go cloud for an always-on data-intensive footprint like ours.

Good luck with your journey, whichever way you go!

And happy to discuss more, email in profile
Ask HN: Which smartphone to buy as a tool, not a toy
I am searching for a new smartphone which I can use to read and write mails, check my calendar, look at maps, SSH into remote machines, take notes, make good pictures, check public transit schedules and occasionally as a telephone. I want a device with a high build quality, no too big and which will last at least 5 years. My current device since 2010 is a Samsung Galaxy S i9000.

When I watch reviews on YouTube or read comments on Amazon, the main points discussed there are very often things like "the battery is drained after watching 3 hours of Netflix" or "the display resolution is so 2014 / the display is too small" or "the front camera does not take good selfies", etc. I do not care about such things.

I currently have the Blackberry Key2 in mind, but I am put off a bit by the price.

Basically, what I am looking for is a smartphone variant of a classic Thinkpad.
Kind of.. Consoles always use proprietary APIs.
Hmm then what am I thinking of?
Automating Your Front-End Application Testing with Selenium
History has much scarier lessons about governments abusing detailed lists of population preferences.
I think you're right about the regional thing, although when you think about it wearing the shoes in the house is a pretty weird thing to do. Probably also not good for foot/ankle development given all the support most shoes give you.
Manipulating Sums
Turning Apple's $700 wheels to a skateboard
Coronavirus and the Privacy Crisis: A Grave New World
Sweeping surveillance has never meant well for individual privacy and it often paves the way to human right abuses. Coronavirus threatens much more than our lives.
For many people, sleep seems to be the #1 productivity booster. Certainly, the research seems to suggest focus suffers significantly thanks to lack of sleep - not to mention IQ.

Needless to say there seem to be exceptions - Margaret Thatcher famously coped with 4 hours a night. It's been suggested that some people's ADRB1 expression continues while they're awake, which means they need less sleep. However, less sleep is also associated with dementia late in life.
I think productivity enhancements are really tightly coupled with the domain and type of activity you are doing.

For example, as a university student, I noticed that timing the number of hours I pass on each topic is useful for 1. understanding if I'm doing too little and fixing it 2. getting the idea where I'm spending most of my time and trying to adjust accordingly

On the other hand, if the work is more project-based, I find it more difficult to track time since I find myself switching more often to different things - a solution I'm employing is writing a little todo list every morning on what I want to work on and it's working a little better
I didn't see anyone posting this, which is in my opinion the best essay on PG's site:

http://www.paulgraham.com/taste.html
I think you can do that from the Github app.
You're absolutely right. Webdev is certainly its own fully fleshed out fields. Oddly, I think I can play off your facetious quote and turn it into a more analytical way of framing what the post was about.

"I am a biochem major but I decided to work in bioinformatics/scientific-programming despite having minimal skills or experience and I ran into loads of problems and issues that I was able to steadily solve because the ecosystem felt sane, the tracebacks were clear, and the debugging usually had a clear path forward. Then I was a bioinformatics professional doing work in webdev [...] I ran into loads of problems [...] that felt consistently more opaque and magical than when I was learning scientific programming"

I think that's the heart of it. The transition to the web feels so much more chaotic than the transition to bioinformatics.
At the risk of getting downvotes for being snarky, it essentially boils down to the "Stop it, you're having fun wrong!" nerd stereotype.
I grew up across the street from the the Lab on (Cheryl Dr.). Now early 30s, I’m a AWS architect and software engineer at a finance company in Bozeman, Montana, but I would kill to be an engineer for pursuit of knowledge ya know? I dream of working there some day.. and I miss home
Ask HN: What are some great comment threads on HN?
I came across a couple today (on the cloud costs, life-changing ideas etc). I have book-marked some in the past also. Wondering what else I missed.
Can we please have Julia support? :)
They might have implemented a metadata store 1 layer before S3 to guarantee read after write consistency since write to a new object is consistent in S3. Only updates are eventually consistent.
Vintage electronics for verified dismantlement of nuclear weapons (2019)
That isn't even as useful as `identifierForVendor`.
No, I'm pretty sure none of the countries under consideration for being expelled can vote on the decision about the others. I don't have the ref right now as I'm on mobile but this has been discussed before.
> I remember saying to my cofounder why does anyone use AWS, you can do this on your own way cheaper.

I agree with everything you say - I'm convinced that a huge part of the cloud's financial success is due to how it allows CTOs/CIOs to indulge their fantasies about having a mega-scalable app - even if their workloads are very regular and predictable. Along the lines of buying an expensive sports car but never driving it fast, you're just paying for the kudos it brings you in the eyes of other people.

Having said that, we are happily using the cloud for our small app because it makes no sense to build out our own infrastructure for a single VPS and database.
I believe this explains one quite clearly https://www.explainxkcd.com/wiki/index.php/1425:_Tasks

on edit: So non-tech people are continually surprised that what would be easy for them is hard or impossible for the computer, given that what is easy for the computer is hard if not impossible for people.
This is much more difficult than most people can handle. The point of this project is you just select the items you need and it builds the distribution for you with everything included.
It's a common HN fallacy that everyone here is a developer whose main life aim is to remain employable as a developer.

Lots of us are here to ship stuff; to provide viable products that customers will like.

Moving to AWS from Hetzner would not help me ship stuff. Moving to AWS from Hetzner would not result in a better product.