skysight-inc/HackerNews huggingface dataset:
Google is mostly run by sticklers for the rules and has been for a long time (just ask Googlers about their code review process...). In practice most of the time individuals overlook transgressions, but if there is a formal complaint they don't. In this case the manager who hired the anti union org certainly got noticed about this since the notice popped up on their site, I'm pretty sure that person filed a formal complaint. And as Googles employee handbook says that doing things like this will get you fired she got fired, even though it was pretty innocent.

Similarly if someone made anti union messages pop up when you visit union sites I am 100% sure they would get fired as well, for the same reasons. You can talk about almost anything internally, (People like Damore aren't uncommon at all, the outside world just got hung up on him for some reason), just take your job and company code seriously.
You're missing the point. Do you think Google engineers should be allowed to unilaterally, against the wishes of Google, be allowed to replace the www.google.com homepage by the US constitution?

No? Of-fucking-course not.

Just because something is true, and you have technical means to put up a true message, doesn't make it in any way non-fireable to do it.
Sure, sorry. I'd used:

2*(1/49)*(1/48)*(1/47)*(1/46)*365*1000*(45/50) = 12.9%

The initial "2" term is for consecutive numbers going both directions, and the final (45/50) term is to account for the fact that if you start with 4 or less and decreasing, or 46 or greater and increasing, you'll run out of numbers.

Edit: but if the numbers don't have to be drawn in order (e.g. 8-5-9-6-7 is OK), then the odds are much higher still:

2*(4/49)*(3/48)*(2/47)*(1/46)*365*1000 = 344.5%

(With the initial "2" term accounting for 4 consecutive numbers on either side of the initial pick -- though I'm not sure I've got that entirely right?) Then it would happen three to four times a year. Even with a 6th ball drawn separately out of 20, that's still a 17% chance happening somewhere in the world in a year, given 1,000 daily draws.
I recently found out about a service called Super.so which provides custom domain and custom CSS styling to your Notion Workspaces.

As a designer + dark mode lover + Notion user, it was really fun to be able to customize my Notion Workspace's theme. The dark mode theme was inspired by Superhuman's (the email app).

Let me know your thoughts about the design and hope you've been introduced to something new too. Enjoy!
As someone with a good amount of hoon knowledge, I'd say there are definitely some cases where new terminology does more harm than good, but in other cases simply using the name of a similar concept in other languages would hide complexities or differences that the learner will need to know eventually
This was really cool to read, thanks for sharing.

I had a similar experience in Greece, where some locals recommended an out of town Gyro shop ("Gyro" is a popular Greek dish, simply put, it's your choice of meat, wrapped or stuffed in a pita, along with ingredients such as tomato, onion, and tzatziki sauce).

At a measly 2 euros, it was vastly cheaper than the Gyro shops dotted around the popular hot-spots of the island.

And yet it had been open for a very long time indeed.
Canvas is pretty cool: https://github.com/yosoyubik/canvas

There's a bittorrent tracker you can read about on the mailing list too which is pretty neat.

There are a couple of folks working on supporting ship-to-ship bitcoin payments, which is very nearly to a working demo.

If you haven't been on in a while, Landscape (the web client that ships with Urbit) itself is also really awesome.
NRLB cases are not "legal cases", they are administrative proceedings from which one has pretty much no actual legal recourse.
Show HN: Making of Twitch Plays Zelda: Four Swords Adventure (a 4-player co-op)
Why not just get a work phone?
Feel that the key here is the switch to an asynchronous way of working. Many real-time communication tools are supposed to increase productivity but end up being so time consuming, lack of shared information is probably a big factor. Discussions at a task or note level could clearly be a game changer.
But everyone involved in the illegal lottery is committing a crime (knowingly, I might add). Legalizing and regulating the lottery might be better than the numbers game, but it's also making the government condone and even encourage an activity which is very addictive to individuals and destructive to society: gambling.

Governments shouldn't regulate gambling just because people will illegally gamble if they can't legally gamble. Governments should always weigh the morality of what they promote with the profit it will generate.
Nginx is great, but I've used Apache and Caddy as well and they're both great too.

Does anyone start a new php project without a framework these days? There are some great ones (Laravel, Symfony, PimCore, etc.).
Agreed. I also would like a browser that would let me automatically disable any element with a z-index greater than 1.
PHP was the first language I learnt and although I don't use it as much today I still think it's a great language for startups.

Languages like Java, Node, C#, etc are great but unlike PHP you can't just drag and drop a .php file on a webserver, point your browser at it and go.

Basic things required for web development like connecting to a MySQL database are made trivial in PHP.

Code is executed synchronously in PHP and as mentioned in this article requests are stateless which makes the logic much easier to follow and debug than say Java where you have state or Node where you have callbacks and promises.

PHP also gives you the flexibility to write procedural, OO, or even functional code. This flexibility is off putting to some, but it allows the language to be useful no matter what your skill level or preferences are.

Another thing that's easy with PHP is debugging. You don't have to worry about compiling code or accidentally taking down your entire server (most of the time) if you encounter a critical error. If one of your PHP pages runs into an issue you can enable debugging with a line of code, make your fix then hit the refresh to see if it's working.

I learnt to code writing PHP when I was 16 years old. Me and my friend had an idea for a startup but neither of knew how to program beyond a little bit of ActionScript. We were good with computers, but if we decided to use Java I'm certain the project would have never have gotten off the ground because of the steep learning curve.

PHP allowed us to skill up with the language and enabled us to move fast despite not really knowing what we were doing. Writing PHP in the ICT room at lunch with my friend was some of the best memories I have of school... I doubt I'd be doing this today if it wasn't for how much fun I had learning and building stuff with PHP when I was younger.
Gumroad will not change salary based on location of worker
Ok. So it's OK if your webhost provider replaces your homepage with the phrase "you are allowed to vote"?
I actually see plumbers getting highly specialized as the infra gets more sohpisticated.

Automation in that regard is probably a later iteration of the automated household where now we have auxillary vacuums, embedded iot light controllers, and so forth.
I hate to be "that guy" but I see no reason not to use PHP for all three of those things.

PHP is faster than Ruby. [1]

PHP from a local script does math just fine. It's the round trip of the request to a PHP server and back that you're associating with poor language performance. In a local scripting environment PHP7 is considerably faster than Python3. [2]

PHP is an extremely popular language as the backend for SaaS, and arguably one of the oldest and most successful. [3]

[1] https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

[2] https://blog.famzah.net/2016/02/09/cpp-vs-python-vs-perl-vs-...

[3] https://insights.stackoverflow.com/survey/2020#most-popular-...
Human nature under slightly different framework. There they have "government" we have big corps and lobbyists.
> I'm definitely not defending the actions of Google here but I do understand them - it's quite likely this HR rep couldn't legally agree to this contract modification and it's entirely possible that when it was forwarded to legal they didn't have the power to approve this change without consulting up the legal ladder and possibly passing the question by upper management.

If you make a system where people are unable to behave reasonably, you still get to be responsible for their behavior.
If you consider banking to be information-managing tech (which it seems to me that it is), then the oldest may be either Berenberg Bank (1590) or Banca Monte dei Paschi di Siena (1472). It depends on the definition of "bank". The later is certainly a bank now, but was more like a pawnbroker in its early years.
The skins were bitmaps and all the controls had a fixed size and mostly-fixed position, I think, so it wasn't a very sophisticated theming engine.
Esports platform Smashgg acquired by Microsoft
Remote raises $35M to help orgs with global workforce payroll, benefits and more
At one of my first jobs, one of the things I had to agree to was having read "the employee handbook".. but it was not a pdf or other document, it was part of an internal wiki or something, with in-links and out-links all over the place.

I don't recall if I tried to figure out whether the strongly connected component that comprised the handbook was the same as "all pages on the wiki", but I was a little distressed at the time (this being one of my first jobs) that I was being asked to sign my name on something that I couldn't realistically read.
They were likely downvoted for making the faulty assumption that gates is trying to eliminate the protective gene, opposed to their actual intent to eliminate the sickle cell disease, which makes people more vulnerable to malaria.
Yeah, I like my Hue lights, but they are quite pricey. Part of the cost is that are calibrated well, though. If you have a mixture of white temperature and RGBW lights in one room and set a scene, they will mix decently.

For more generic lighting, there's a reverse engineered firmware you can load onto a ZigBee. I used them to create some wake-up therapy lights: http://edwardsh.in/2019/07/22/hue-compatible-therapy-lights
You still need to contend with build and startup times with those setups though, even if a rebuild is triggered on file save. With PHP, there's no such thing as build or startup, because it's interpreted.
Seconded. And a quick note that this course is based on the book "The Elements of Computing Systems: Building a Modern Computer from First Principles (The MIT Press)"
Really? How do you figure?
Solution to communication while social distancing?
If there's room for Javascript, there's room for PHP. Both are sloppy, inferior languages, but both can do anything you need. And unfortunately, both have immense momentum from being first in the web game.
I think the design of PHP the environment is brilliant: no state, requesting a url just executes a file. So simple and solid.

That being said, at some point in 2010-2015 timeline it became essential to master Javascript to do anything good on the web, and so it became a diversion of precious resources to continue to invest in PHP as well.

Instead the progression has just been to recreate the PHP high level architecture in Javascript/nodejs.

So we took the best parts of PHP and brought them to NodeJs land, and then you can cut your costs because you don't have to learn or invest in the full PHP stack.
HN doesn't "hate humor." It just is picky about its humor.

HN hates lazy comments.

HN hates ugly comments and a lot of humor is both lazy and ugly.

HN intentionally and consciously seeks to keep the signal-to-noise ratio high. Humor tends to harm the signal-to-noise ratio, which further fuels HN pickiness about what kind of humor is acceptable here.

Humor on the internet is inherently challenging because it often relies on voice tone, body language and other cues to signal "This is a joke." On the internet, memes substitute imagery in a way that helps provide visual cues and the formatting here doesn't support communicating in that style, which makes humor even more challenging on HN.

If you are looking for light-hearted snark for some reason, HN is really not the place for that. There are plenty of places to find that and that's just not the purpose of this site.
I'm a little short on time so I didn't read through all of it but, comptime generics sounds similar to how rust compiles generics and comptime parameters are similar to const fns although zig appears to have more control over what is deamed "compile time".
So someone with technical access (if actively bypassing review) should be allowed to replace the www.google.com homepage with a copy of the US constitution and that's just fine and dandy?

"Oh, I'm just informing people of their constitutional rights? What's the problem? I thought this was 'merica"
> Also, I don't consider an employer having total visibility into its devices to be a power-trip.

That's fair, and I agree with that (as long as it's company-owned hardware and not personal hardware under a BYOD program). But I personally do not want to (and currently do not) work for a company that trusts me so little that it needs to spy on every activity I do on the hardware they give me to do my job.

I get that some people are fine with that, and that's ok, but I'm not, and I don't think I'm alone in this.
I was being loose with the words "everything" and "only".

GP comment was curious about why they've only heard about "linked lists" in a language, C, which like Modula-2 does not use them as the basic standard library collections type. When you have to implement linked lists yourself if you want to use them, you're always going to refer to them by implementation detail. In the vast majority of cases where they're used, though, it's as the fundamental standard library collection, and in that case they're usually just called Lists without telling the caller about their implementation.

(This idiom is true to the point that the Python implementers feel the need to point out that CPython uses arrays to implement the list type, as they feel that this would be unexpected to users of other languages that call their basic collections type a "list".)
What does Kubernetes deprecating Docker support mean?
That's not gonna be a very successful union then.
The unions I know that actually work are near-universal, but you're never technically required to join.
However, at certain levels of unionization, peer pressure kicks in because the "freeriders" effectively get protection from the union without pulling their weight.
Do you think it shouldn't have been standardized so other vendors products could be interoperable with docker's containers, or just that the standardization should have been done differently, or other?
That would contradict the intention of marking threads [dupe] in the first place. The story already had major attention, significant front page time, and hundreds of comments. Having a second major discussion about the same story soon afterward is just what the [dupe] system is trying to prevent. Otherwise the front page would consist mostly of the same hot stories, repeated over and over. HN users definitely don't want this, and such repetition is inconsistent with the mandate of the site: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...

It's true of course that for users who didn't see the first thread, the second is not a duplicate at all. But we don't have a good way to know who's who, so we have to rely on a global approach, hopefully one which is simple and easily explicable. (This is in the FAQ under "reposts": https://news.ycombinator.com/newsfaq.html).

In the end, there's nobody who sees all the threads on HN, or even all the major ones. Everyone misses tons of interesting material, but what it is varies for each person. This is a discoverability problem. Hopefully we can get better at solving it, but the solution is not to allow duplicates of major discussion, because that would just crowd out fresher interesting material.
The state has no incentive to give you something for free that used to cost a lot. Why would they do it? Votes?

The 'carriage' fee, ie the fee used to transport the electricity will grow quite a lot as the entity in charge of that finds reason to charge that much more and gov. will find reasons to tax.

There's the cost of electricity - but also distributors and government in that equation.

If the cost of making parts for the Google Phone were $1, and there were only 1 type of phone in the US and everyone had to have one ... would Google drop the price of the phone? Probably not. They would capture more surpluses.

This will be the same everywhere.

If electricity were purchased at 'independent stations' etc it would be another story entirely. As energy got cheaper, power usage would increase, and efficiency of households would go down.
They have no shortage of people wanting to work for them. Why bother taking on a 'difficult' person?
Weirdly this is an episode of BBC comedy show Rab C Nesbitt - he bets on the numbers 1,2,3,4,5,6 and that weeks winning numbers are 7,8,9,10,11,12.

https://youtu.be/Nrmcxa1yBec

The accents maybe a bit hard to understand.
> You really don't think Google doesn't test in other huge markets?

I'm not entirely convinced Google test _anything_.

Certainly not convinced enough to not play it up in the context of a snarky dis on Google and Googler culture.
> Here's a refutation: Microsoft spends $250k/employee/year on stock dividends and buybacks. That's quite a large slice of the pie the union could negotiate for.

Those buybacks increase the stock price, and employees are compensated in stock, so stock buybacks benefit employees already.

I find it hard to believe that the company would just give that money as salary instead -- and even if they did, that would mean that employees of some companies are paid way, way more than employees at other companies. That is exactly the situation we have today, without unions! So again, why do employees at large companies need unions, considering they are already paid more than everyone else?

Incidentally, I get stock compensation at my job and getting cash instead would have been worse. The stock I was granted has increased in value. Cash is just cash, and loses value to inflation. I would rather have salary plus RSUs than just a large salary. I don't know if a union would see the value in that.
...and testcase_delta's reply is a pretty accurate & common outcome. Snake-oil salesmen masquerading as a high quality software service. At best it's just lies and taped together functionality, which the buyer has to deal with post-sale. Name a high quality tech company using salesforce...
>Now renewables are cheaper.

Yes, provided you ignore the cost of balancing an increasingly volatile grid, a volatility that is created by renewables. Also provided you ignore the cost to provide energy when said renewables aren't generating any.

Claims to back up your statment, such as from Lazard, are horribly flawed because they use the metric of LCOE - levelised cost of energy - to claim that renewable energy is cheaper. It is, provided you ignore the slew of costs that are not borne by renewable generators but which ARE borne by consumers.

Yes, batteries are getting cheaper but not at the scale required for the grid. Before you quote the Australian Tesla battery, remember that it can only provide energy for minutes - yes, minutes.

What is needed today for a low-carbon future is nuclear and hydro. Renewables will get there one day but that day is not tomorrow or next year.
I feel like a much better quote, which really hits on the more meaningful parts of it is this one, attributed to a "Helen Gurley Brown":

"Money, if it does not bring you happiness, will at least help you be miserable in comfort."

Money may not bring you fulfillment, or love, etc. But currently, it can decisively solve most of Maslow's hierarchy-of-needs (with a few exceptions like illness). The unhappiness from having a hole in Maslow's hierarchy is a pretty bitter, cruel thing - especially if reaches the point of losing family members or friends.
That probably depends where on the scale of analog peak detector, through to some kind of AI/DSP FPGA monster you want the product to be.
Being that we're talking about blocking emails based on fraud, I'd be understandable towards not wanting to share exactly on how you do it.
Will Facebook send armed men to your house to take you prison for posting some vulgarity or politically sensitive topic? When they can I'll consider them equal.
From the point of view of your investment (ie. a single ticket) you are guaranteed you will have to split (with the other ticket).

You would do much better by buying two tickets with independent sequences, which is going to double your chance of winning.
Don't get me wrong; I think American-style management is on average terrible. I just don't think it's easily automated, because the point is to take the nonsense from on high and make it somehow work, for some sufficiently lax definition of "work".
I hated PHP for the longest time (worked extensively with PHP5 and various homebrewed frameworks in the early 2010s), but I gotta admit, it's come a long way with PHP7+ and great frameworks like Laravel.
How long is your phone lock when screen is turned off time?
Huh. Smoking CBD herb doesn't get me high at all.
>It's rational to play the lottery if you believe that it's the only way to make a significant economic change to your life.

But that belief is irrational. There are a ton of better ways to make a significant economic change to your life with $1 each week than through playing the lottery. $1 each week is $52 a year, you can buy classes, learn skills, etc. with that money and the time you spend watching numbers get called out.
Well not me personally. I mean some of the commenters on this thread seem to be a bit irritated and the clashing that turns up afterwards in the comments, which seems relatively unproductive. It would be nice to have a way to kind of give netizens a choice on what they want to see, similar to Reddit.

As they say, ignorance is bliss.
Doubt I'll ever buy another Mac. Too much vendor lock-in.
What Is CSS-in-JS?
I can't argue that it isn't self-experimentation. However we are not talking about synthetic chemicals on the same order as Spice/K2. Delta 8 does exist in Marijuana naturally, just at lower concentrations than that of D9. So at least on some level humans have used it as long as they have used cannabis. D8 is sourced from hemp. There is a chemical extraction process similar to that used with d9. There have also been medical studies on d8. Israel did a study in the 90s showing efficacy for treating chemotherapy induced nausea and has been known to chemists since the 70s.

Point taken though that everyone needs to consider the potential negatives before trying it themselves. Especially since some people react very negatively with regular cannabis. As always, it is important to know your body and know your drug.
It's more like trying to haggle over the price of some bananas at Safeway.
The McRib as Arbitrage (2011)
No one was deliberately inoculated with the virus and only symptomatic people were tested. 99.96% of the placebo group did not have a severe case of covid. There is no way to determine effectiveness from this trial.