skysight-inc/HackerNews huggingface dataset:
This website and California are so far from the reality the rest of the world lives in that it warps your view. I have never in my life seen a job advert that specifies what kind of uni you have to go to. Most of then don't even have a hard requirement for a degree as long as you can prove skill. And these jobs pay well above what the average person makes.

The comments in this thread make it sound like if you aren't born in the top 1% and don't spend every minute planning your application to uni then you will end up homeless on the street. If that is true then I highly recommend moving somewhere sane.
Isn't Facebook investing heavily? I'm more interested in 'good' than popular, when it comes to virtually all personal tech decisions and am inspired by this thread to try out Mercurial, especially as I want to move everything to a sourcehut/sr.ht instance.
In Ada, procedure and function arguments must be annotated with whether they are “in”, “out”, “in out”. “In” can never be modified, “out” has no initial value and “in out” has both initial value and can be modified.

Overall if you don’t know Ada I’d recommend that you take a look at the features of it. It has very similar design goals as your V.
There’s mine? I used Notepad to create my first Windows .bat file (in fact, it was rather a juvenile piece of malware that opened notepad.exe thousands of times), which was the first programming I ever did. I later went on to use Notepad to modify files for a desktop game and write my first PHP and Ruby scripts. Now I write software professionally (including, but not limited to, Clojure) using a Mac :)
Context change -> Component rerenders. Easily fixed by implementing componentShouldUpdate for the critical parts of the codebase. But the author is right, it can be an issue
Not necessarily. It's easier in Lisp, and a decades-long tradition, but Lisp is not even the only language of which that's true—there's also Forth. And there are many opportunities to apply this approach beyond those two. The more the better, because each qualitatively different starting point will lead to qualitatively different systems.

The software ecosystem is not well served by everyone being focused on the same few familiar programming approaches. Sure there are economies of scale—better tooling, programmer fungibility—but there is less intellectual diversity. More people should realize the tradeoffs here: yes you lose a lot when you start making your own language, but you also gain a lot. The program you're trying to write becomes more writeable. If that doesn't sound significant, it's because we're so conditioned to think the other way. There's another advantage, too: it's deeply intellectually rewarding. That provides staying power to work on significant projects over the long haul and is a solid motivation to do something many people think is crazy.
Also consider it could have been an employee grabbing contact/details lists and selling them.
I am in Guinea.
That's also the case for cheap office printers where a new printer is cheaper than replacing the ink. They make their money on the cartridges and practically give the printers away to try and lock you in.
As Lenin said - steal the stolen
I love the idea of this web site. But it is not so convincing when it is not HTTPS. (ok, I expected downvote)
> could add a lot of complexity to a react, a tool that already has a big cognitive load

I don't understand how hooks add complexity or cognitive load. Simple cases stay simple (even more so, and it's harder to mess up with useEffect than with lifecycle methods, for example), and complex cases are less so.

From the point of view of someone with years of experience writing large applications with React, hooks are a very pragmatic move that solves real problems precisely by simplifying what was already possible. The more complex the scenario, the more obvious the gain is. I venture to say the same thing about the upcoming suspense and related features.

I don't think React itself has a big cognitive load anyway. You might be attributing to it the difficulty some aspects of functional programming might present to some, or of some libraries you might have been using with React. I found this to be the case often. Forgive me if I'm guessing incorrectly.
and in a few years, people started to starve to death.
German Police Arrests Suspects Who Mined Crypto with Stolen Electricity
“Videotaping your screen is not a privacy issue”

Hmm.
then goto the mall? except wait, probably tracked on security cam there nowadays + credit card transactions are tracked + tracking movement in the store using multiple wifi APs + tracking what you purchase internally.

the expectation of privacy when dealing with a business that can monetise the data about you in some way may be a dead thing already until the govt gets involved.
The big companies self-host for legal reasons. It is easier to put up a legal fight with self-hosting. With other hosting, your data can be silently grabbed. You won't even know your data has been compromised.

It's also just cheaper and more reliable at that scale.
Out of curiosity, what do you find poorly designed about them? In my opinion many of these things are elegant to the point of self documentation. Switch case pattern matching in particular is just great:

void foo()
{
object pi = 3.14d;

switch (pi)
{
case int i:
Console.WriteLine("pi is an int of value " + i);
break;

case float f:
Console.WriteLine("pi is a float of value " + f);
break;

case double d:
Console.WriteLine("pi is a double of value " + d);
break;

default:
Console.WriteLine("pi is of an unknown type.");
break;
}
}

Elegance is of course in the eye of the beholder, so what would you propose as an improvement to something like this?
'connection' is a somewhat misleading way of stating it. It's more like the opposite of a connection. A set of numbers cannot have trait A and trait B at the same time.

Trait A is that the numbers have a certain kind of similarity in their spacing, leading to few unique sums. Trait B is that they have a certain kind of similarity in their factors, leading to few unique products.

So from some angle it's interesting that you can't impose both types of patterns on a single set of numbers, because that inability implies a relation between two very different operations.

But on the other hand why would you assume that you should find an intersection between two restrictive algorithms? Maybe there's a hidden assumption that the algorithms would be random-ish and let you find an overlap if you search hard enough, and that assumption is screwing with people's intuition.
This looks like something a fuzzer would come up with.
> Lots of support for monorepos – indeed, this is the main reason that Google, Facebook, and Mozilla are all pouring work into hg and are using it.

They are improving mercurial[1], but are they using it ?

[1] https://code.fb.com/core-data/scaling-mercurial-at-facebook/
You need to stop pretending they are not globals. Just accept you work on one continuous memory patch and are simply passing pointers around. If you don't lie to yourself, you can't shoot your own foot when the compiler do not see your lie.
Survey: What tools are you using for composing blogposts?
Color Oracle has been available for the Mac, Windows and Linux. Really easy to use, just activate it and see how it looks.

I've been using it for database application interfaces for a long time.
Many of these companies (e.g. FullStory, Hotjar) obfuscate all input fields for exactly this reason.
Haha very true, I was never expecting this to get much traction... will update with the proper pki asap, thanks :)
That really sucks. I'm sorry you went through that. What you are doing looks really great and if I get off my arse and start coding I'll probably start using your services.

If I have your ear, I'll ask you a quick question if you don't mind. I notice that you only allow donations rather than payment for some service. I'm wondering if that's due to regulatory issues for you or something else.

Quick background: I want to explore the idea of people paying for software/services in the same way that they might do with an unattended farm box in the country side. In other words, farmers often put produce in a box on the side of the road and people can freely take the produce, putting the money in a slot. There is nothing at all stopping people from just taking the produce and not paying (literally nobody but the unpaid farmer would notice), but there is a social stigma to doing so. I think there is a general understanding in the public that if you take the produce and don't leave the money that eventually the farmer will stop offering the produce. If you were starving, though, I don't think anyone would hesitate from grabbing some carrots or fruit at the side of the road (nor do I think anyone would mind overly much if it only happened occasionally).

Anyway, I want to try to recreate that idea of a farm produce box for software. The idea is that I would write some software (probably a game in my case) and make a web page. On the web page you would have 2 links: pay for software and download software. The two are not connected in any way except that the link would say "Download super game (costs $2)" or whatever.

The idea is to explicitly assign a price to the software and then just not enforce it if people don't pay. I might also have an option in the software that says something like "Pay for super game (costs $2)" which just opens the web browser to the box page. I wish to write free (as in freedom) software, so people might download the software from a different location.

I suspect that this would run afoul of your rules, so it might not be possible to use your service. Any ideas?

Edit: I should point out that in the case of LibrePay, it's a recurring weekly cost, but the idea is that the user is paying $X for a year's worth of my development, potentially paid weekly.
Does Vagrant have its own file sharing system, or does it use whatever the backends (mount for lxd, 9p for kvm, proprietary kernel module for virtualbox etc) happen to provide?
No, absolutely not. Choice in its purest form is and always was an illusion. People are driven by their circumstances and their environment, they do not have a consciousness that is capable of perceiving and acting apart from the world they live in. Jean-Paul Satre make a very cute case for Radical Freedom, but it is little more than a thought experiment.

Ultimately people would prefer to know that things are going to get better, but perhaps they don't have the tools and know-how to do it. Much like telling a depressed person they have a choice to not be depressed, someone desperately poor doesn't have the simple choice to not be poor.

Financial freedom can be thought of at many levels, some all the way up to super rich and able to subvert laws at their whim. In this context, I am meaning freedom from the emotional distress caused from being incapable of being secure in the knowledge that there is a high probability they will have a roof over their head and food to eat for at least a couple of months. In turn, this allows for forward planning, and forward planning is the manifestation of being capable of exercising choice with regards to that persons/family's future development.

So, considering that people are constrained by their environment, our "generation/set of problems" is absolutely relevant, suggesting there is some universal otherwise which can be preserved with impunity is akin to suggesting there exists/can exist a form of universal justice.
Have you tried this with incandescent bulbs?
They flicker at 120Hz too... since they are P=I^2R and driven directly from 60Hz lines. I don't know the amplitude variation that bothers you, but then I don't mind LED bulbs.

Of course it's not the LEDs that do this but the cheap AC-DC conversion bridge rectifier.
Reflections on Clyde Tombaugh (2015)
The problem with your question is that we haven't defined what "wasted space" is.

If I want to have a couple of children is wanting one or two extra bedrooms really wasting space? And if it is, wouldn't you still call it a loss of quality of life compared to the alternative?
2018 Was the Fourth Warmest Year on Record
Advertisers want more control over who they target than just geographic regions. I'd bet that Facebook let's you select demographic targeting using all of the information they hold on your contacts, so by uploading every phone number you can target people based on geography, age, income, family size, etc.
In case of Facebook ads, you can check advertisers whose ads you clicked on the same page where you check who uploaded your data.

In my case it shows... 2x more than I expected, but looking at the names, most of those were most likely pictures of t-shirts, or funny videos, that I just clicked to check out.
Similar, but solid and with some kind of taste
Dealing with code debt
null is technically not a keyword in JS[1]. And fun fact, neither are true, false, undefined, NaN, let, of[2], static[3], as[4], from[4], get[5] and set[5].

[1] https://www.ecma-international.org/ecma-262/9.0/index.html#p...

[2] as in `for (foo of bar) {}`

[3] as in `class { static foo() {} }`

[4] as in `import {foo as bar} from 'baz'`

[5] as in `{get foo() {}, set foo() {}}`
WHEN NOT TO GEOTAG WHILE TRAVELING
Square breathing helped a lot: hold breath 2-4 seconds, exhale, then inhale, hold 2-4 seconds. Do this whenever you feel stressed, kicks you out of fight or flight.

Tying up loose ends helps. Reduce the number of things you need to focus on. And fix any little problems in your life.

I don't mean big problems. Little naggy things. Just reduce the number of things you need to worry about.

Make sure to sleep. I've found autosleep on my apple watch helpful. It does an hrv measure now. Hrv correlates strongly with overall stress level. Tracking this seems to have helped.

Time helps. And if I could have done something different, I would have done far fewer trips: my burnout was extended by a series of trips all in a row.

However, a long solo trip to a new place where you make a routine can be nice. It was little trips brought about by external circumstance that increased my stress.
Also, due to leakage for large LEDs they are more efficient at higher current. That means that for a given power, you're better off driving them at a higher current for a shorter duration. You can increase the effective luminance without violating the power spec.
Tall, skinny, super-expensive: the 'pencil towers' of New York's super-rich
KItchen Vastu for Healthy Life – Vastu Tips by Enlightened Dr. Puneet Chawla
"There are no advertisers in this category right now. Learn more."

I wonder why the massive difference
If you give well-spaced source numbers, they can reach the same number of spaces.

For products it's easy: distinct prime numbers.

For addition you can pick numbers so that each one is at least [previous number] x [number of moves] + 1. To keep it extra simple go with [number of moves + 1]^n.

So this is very easy if the number of moves is known upfront, and impossible if it's not.

And in the source puzzle the number of moves is always 2.
I have written some internal tools that do things in this vein. Open sourcing libs for this is a good idea – I've added it to my list of "stuff i would like to do at work if i get a minute".

You're correct that actually transforming and comparing these color values is technically straightforward.

It has some tedious edges, though. If anyone else is interested, here's the hard/annoying stuff:

1) What do you sample, and how do you sample it? We let WCAG tell us what instances to test, easy enough. But actually pulling all the pieces out of the UI? You need to be able to tell what text corresponds to what backgrounds, etc etc. This depends on the UI environment you're testing. Most of these relationships are inferred easily-ish in HTML. Harder in a language where you're doing more basic operations like inserting rects and text objects and arranging them without markup-type nesting. And all that assume that you can actually grab these objects in a form where you can directly ask their properties. You wanna do this for static images? Ouch.

2) You have to have a few kinds of "primitives" or basic object types. Fills, strokes, icons, text – for two reasons. One, it's easier to write case-specific code that reads them from objects rather than generalized tools that pull color from any of the handful of properties that might have color in them. The other is that WCAG has different optimal contrast ratios for different kinds of things. Text has its own guidelines, and the requirements changed based on things like size and boldness, so you need to do a few kinds of tests with varying rubrics.

3) Multiple properties. Some objects have multiple fills assigned, or a fill on multiple properties, where only one of those properties is rendered based on context. Those need to be handled. Say you're supposed to measure the contrast of text on a background. But that background is transparent, so the effective background color of the text is the result of two colors mixing. Your tool needs to know this relationship, which often means traversing waaay up the DOM/element tree in the case of things like page backgrounds. And then it needs to be able to calculate color combinations and test against those. if this relationship includes more than one stacked transparent object – well, first, wtf is your UI – but you've gotta handle all that.

4) How does it get this information? The most automated way is with a scraper. Lots and lots of edge cases to write for. The simpler way is with something that looks more like unit tests. Writing manual tests at the component level. The upside here is that you're able to be more explicit about which properties are targeted, and manually declare the relevant relationships between objects. The downside is that this is hellish to write, worse to maintain – crazy brittle and does not scale at all.

Visualizing this info is cool. Overtop the UI is one way, in a big consistent dataset is helpful for other things too. Think AWS status page for the accessibility of everything in your UI library.

One of the more popular things in this space, to get a feel for how it might work (ugly but a start):
http://wave.webaim.org/extension/
Mine is zero. I wonder if maybe its not showing for me since I'm in Canada
Baffler quality truth right here.
Seems Julia developers and evangelists main objective is to "kill Python", am I wrong?
> How would I know, CodeFlow is internal to Microsoft.

Lots of people have worked for both Google and Microsoft. The article said CodeFlow was good. You said no, Critique is better! But I guess you don’t actually know one way or the other.

Which is too bad. Because it’d be great to hear thoughts from people who’ve tried both.
I think doing away with global variables is not a very good idea. While using globals is usually a bad idea, there are many instances where globals are appropriate (at least for languages supporting mutability). People who say they never use globals usually do use globals and are just trying to convince themselves they are not because they heard they were bad from somebody.

The entire Spring framework is IMO an elaborate construction built so that engineers could use global variables without their managers finding out. There is little to no difference between carefully using global variables and Spring dependency injection except syntax.

The best solution I have ever seen to global variables is definitely parameterize with Racket (https://docs.racket-lang.org/guide/parameterize.html). I don't think Racket was the first language to come up with this, but it was the first one I am aware of. The basic idea is that you define some global with a default value. However, you can call parameterize to change the value for the duration of some input function. It is made thread safe by using thread local memory. It then resets the parameter back to the default value at the end of the function.

On the other end of the spectrum, I think Rust also has a very good implementation of globals. It will let you use global variables, but you have to declare it as mutable, use some form of locking, or use an UnsafeCell. Additionally, you have to mark your code as unsafe any time you try to read or change this global variable.
Want to know what's funny? The email address I use for Facebook was created only for Facebook. I have never given it out to anyone else, ever.

Yep. Me, too. I use the e-mail address facebook@domainiown.example, so it would never be accepted by any of my actual contacts. They all use my real e-mail address.

But somehow Facebook says that e-mail address was uploaded by Maserati of Scottsdale (never been to that part of Arizona, and can't afford that kind of car), Mini of Freeport (I've never heard of Freeport), Sunrise Ford NoHo (I have no idea where this is. North Hollywood, maybe? If it is, I don't even live in that state), Crain Kia of Bentonville (Arkansas, maybe? Never been to Arkansas), Bernard's Chrysler Dodge Jeep Ram (No idea where that is), Drive Toyota (Is that Toyota corporate? I've never owned a Japanese car), Land Rover of San Antonio (I've been to San Antonio once, and that was before Facebook even existed).

So I second the OP's suspicion that Facebook is giving out my e-mail address to advertisers/spammers/partners.

I sure hope they didn't pay a premium for Facebook's "targeting," because it is evidently atrocious.
The ACA (Obamacare) made that illegal in 2010.
I know this meme and argument is exhausted, but I also believe is true: Education in the US is broken. Everywhere.

We live in an excellent upper middle class area with excellent schools. And yet the same truth applies here as it does everywhere else in the nation: Kids graduating high school are only qualified for stacking boxes on shelves, making coffee or, maybe, applying for college. They know nothing useful and have trouble adding value above minimum wage.

Knowing this was the case I got my college-bound kid ready for the real world at various levels. He can work with his hands (woodwork, weld, manual and CNC mill, etc.) as well as his brain (programming, various MOOCs and a Nanodegree on web development).

By the time he left high school he could reach for jobs making 4x to 5x what his friends could land.

He also got an education on financial matters. He has, as a result, saved more money than many of his friends will see in five years and is getting ready to start investing some of it. All while he works on his university degrees.

Secondary education has become useless. We give our kids to these institutions until they are 18 and they come out barely ready to stack boxes in a warehouse. This is criminal. It is an incredible waste of over a decade of someone’s life.

Not sure how to solve this problem. It involved forces and interests that are hard to wrestle with.
Uber and Lyft are both owned by Softbank's investment fund now, so there is a monopoly at a higher level.

They no longer compete in some countries like Malaysia, where one of them has just withdrawn from the market.
https://source.android.com/devices/tech/connect/wifi-mac-ran...
While on the other extreme, Java and .NET keep improving their tooling and features for AOT compilation and low level programming, with OS platforms to go along.

It is not easy to find that sweet spot that makes a language take off.

Ruby was unknown for almost a decade until Rails came along, for example.
Missed the rule about nothing else but spaces in between.
Can be brought up to 8 in the latest C# 7.x by adding another `is true` after `is false`.

`case null when await this is false is true:`

Actually, unless you count only distinct keywords, this can be extended indefinitely.
How many times does the React community plan on skinning the same cat?
Why? You're not removing their knowledge of you, just their ability to target you. It doesn't sound like you're doing this for grins, what do you get out of it?