skysight-inc/HackerNews huggingface dataset:
What static language would you recommend? I figure the choices are basically Java or C#. Of the two, I'd likely suggest that Java will be easier only because I think beginners might find .Net a little large to dive into. But I wouldn't call Java a particular compact language that would be good for teaching someone to think like a programmer. What do you think?
In 2011 in Twitter, we wrote a prototype engine that would let you run tiny javascript programs in iframe "cards", which show up below the tweet where images do. The idea was that if you tweeted with #cardname, then twitter would include a card-program from the public card registry.

One of the first programs was a chess board which would stay up-to-date with all of the previous "moves" in a reply chain.

I guess as a (former) shareholder I probably benefited from twitter's switch from trying to knit together amazing primitives like this in favor of becoming an ads-driven behemoth, but the engineer in me is sad about all of the amazing projects that never released.
CF is not a default. There is no default.

CF is a partner in studying an experimental feature
The extent to which people eat in a way poorly aligned to their genetic make up, and that if fixed they feel much, much better, is hard to overstate. If you were genetically tooled to eat nothing but fatty fish in the tundra, this may work great. And eating bread if you aren't from the breadbasket may not be. Even vegetables tend to be regional, and many can be pro inflammatory in certain people (ie. Nightshades), which leads to malabsorption and therefore a lack of nutritional value in practice. Chances are eating to your genetics beats eating any one particular way. People just like the idea of one diet to rule them all. The trade off with meat seems to mostly involve shorter lifespan due to eating more calories and burning through telomeres. If someone offered much better mental health for your entire life and it takes five years off your life expectancy, you might do it, and that's mostly what's at stake here.
More like it took people already over the edge, and didn't throw them the rope to pull them back. These were people already going down in foreclosure, who didn't get special assistance. Very bad, but not an anvil.
Right. My problem is he was trying to show off his skill (he emphasized "engineer" at the beginning of his video) so he could troll the scammer. In that case, at least know how to write proper code. Even intro to Python writes with "with".
Everyone is talking about autonomous cars but what about autonomous trains?

The problematics of autonomous trains are vastly simpler than autonomous cars.

Trains move in restricted paths (tracks), trains should stop only at specific places, trains meet other trains in such a few possible places, and so on.
Oh, I agree. If you're one to parse the news, seek out sources that apply journalism rigorously and just generally read a lot of sources, you can have an understanding of what's going on in the world that is unprecedented in history.
I think its generally ok to blame and shame. Zuckerberg seems fairly ashamed of some of Facebook's failings and is hiring thousands of staff to try and fix things. You wonder a bit about people who are not ashamed, if there's some way to change the incentives.
Easier application of sunscreen.
Author here! Let's hope my little hobby server holds up against HN. :)

This was very much an experiment in building something that talks ActivityPub Server-to-Server. Chess happened to be a fun, not too difficult idea to get the experiment going. (The chess parts are largely built on existing work, such as chess.js and icons from the same set Wikipedia uses.)

Feel free to ask anything!
Sadly, they are too big to close/fail.
Did a project using Cold Fusion.
It's a nested epistemological problem.

It's impossible to first create a measurement system for "truth" which could uniformly be used to judge any series of statements. Doubly so when the topics are not mathematically rigorous in nature.

On top of that, it's a major challenge to determine intention - eg. was the author of a piece of "fake news" duped, were they being malicious, is there a self-serving bias or is the author simply incompetent?

Third, what is the economic and political environment that the author resides inside? Does the author have a choice of what to write unencumbered or is there a economic or political system which is unreasonably burdensome that they have to hew to?

So it's not so simple to just assume that there is a unipolar evaluation that can be done when evaluating communications/persuasion/propaganda.
Well, once OS starts doing it maybe mozzilla will switch to that as default...
Used some of the more advanced features in git to delete commit history and cover up bunch of illegal activity shortly before an acquisition.

I used to feel really bad about this, but apparently there are whole teams dedicated to this sort of "cleanup" in M&A nowadays. Now I just feel bad about everything!
Nah. It may or may not hit the mark, but it's always better to see great artists strike out for new territory and new things than just serving over rehashes of earlier creative exploration.

(I grew up watching TNG and love it, btw, fwiw, etc. etc.)
hmph. I agree, the compiler should probably not let you compile in that case. Funny enough this reminds me of "responder chain politics" in dynamically typed languages with duck typing.
Do you plan on making a GUI client for that?

By a GUI client, I mean a frontend that you can log in with your Mastodon/Pleroma/AP account in order to play in real time and/or view other players' games. Possibly integratable into AP-compatible clients.
Sometimes you have to do the wrong thing for a while to find the right thing. The nice thing about ActivityPub (or any federated protocol) is no one can just unilaterally shut down a project like this through policy or API changes that, whoops, prevent this use case.

The wonderful modular world you saw was only delayed, and now it's going to happen with much cheaper CPU, transfer, and storage.
I get a kick out of pinpointing the exact location of photos or paintings. A couple of communities exists for this:

* Geoguessr (I don't participate in this one much, street view is pretty limiting)

* The Dish's "View from My Window" archive. A now defunct blog series where readers would submit photos from their window. Very difficult. Users often pinpoint the exact window from which the photo was taken.
http://dish.andrewsullivan.com/vfyw-contest/

* SkyScraperCity's Guess the City contest. A daily contest to guess the city. Also this is a precious internet 2.0 forum.
https://www.skyscrapercity.com/

* North Korea enthusiasts pinpointing the exact location of Kim Jung Un in official DPRK photos.

* r/whereisthis helps Reddit users locate photos, also allows content just for fun.

* r/PictureGame a more open contest, not necessarily a geolocation task.
>"This is the same "Right" that has a monopoly on certain foodstocks, such as butter and flour and has been stock-piling them"

I don't know the details but is "the right" being conflated with some form of "prepper" here? Eg people who saw these shortages coming started stockpiling resources and people who trusted the government would figure things out, or didnt have the means to stockpile, didnt do so?
I work for Diane Greene.
Seems more like pushing them over. Foreclosure isn’t a natural phenomenon. Wells Fargo had to make it happen.
Super cool! I do wish it would be released as two libraries though. One in pure JS that does the image manipulation. And another that binds the base library to Vue. Would make it more broadly useful.
Plenty of people have learned via copy-paste

In my experience, that almost always means "for sufficiently small values of 'learned'." These are the people who can glue stuff together and make something that seems to work, but are completely lost when it comes to debugging or even just writing original code.
Show HN: Authr – Visualization Tool for Server Authentication Logs (auth.log)
Since we can't see to the soldier's left, it could just as easily be another person nudged him trying to get a better view of what happened.
Yeah 50k with tuition capped at like 30k — apologies for the misinformation
I did not expect to test your little server! I figured it would fall away, then occasionally be discovered by people searching for chess and/or ActivityPub.

Someone will probably come along and build a GUI that works with the toots. It would be a neat browser plugin project. Are you planning to open source this?
I did some contract work for an online “payday loan” company for a bit. It didn’t take me long to realize I was ashamed of working with such a terrible industry, but my professionalism kept me there until I finished the job. Definitely a low point.
I built a browser extension with Vue
> putting 200k miles on a car over eight years costs less (both per-mile and per-unit-time) than putting 200k on in two years

The per mile part sounds like a personal speculation. (Per unit of time is obvious and irrelevant here)

Quite the contrary, it's most efficient to put the load in a short span to minimize time-limited consumables like belts and seals, fixed costs like insurance and regulatory charges per vehicle, interest, depreciation of things like paint and esthetic appeal etc. The battery has an age induced wear also, the tech is moving fast and more efficient vehicles are always appearing and so on.
Sorry, but that's a Gish Gallop argument. It's completely unrelated to what we've been discussing, and frankly those points have been argued over so many times already I see no benefit in repeating the exercise.
This was effectively the argument of Paul Feyerabend in his book Against Method, which posits that there is an Epistemological Anarchism in the sciences broadly.

[1]https://en.wikipedia.org/wiki/Paul_Feyerabend

[2]https://en.wikipedia.org/wiki/Epistemological_anarchism
> This is an example of differential traceability; the police department has the authority to demand ownership information from the Department of Motor Vehicles that issues the license plates. Ordinary citizens do not have this authority

This is a fantastic example, but not in the way he intends!

While it is only the DMV that has the official database of license plate numbers, simply having attached a unique identifier to each car means that we're trivially subject to all sorts of independently-implemented surveillance, from the lone PI stalking a target to the wide scale ANPR dragnets we're currently grappling with. In fact I'd go so far as to say that in the face of modern technology, the current implementation of license plates is a gross rights violation.

As other commenters have noted, where is this glaring threat? We've had Eternal September for 25 years and this "harmful behavior" has yet to manifest in a way that can't be solved by a combination of good old fashioned policing and Postel's law. Yet we repeatedly hear this tired refrain of ominous ne'er-do-wells who simply must be stopped.

The current concern is harassment on quasi-public communications platforms like Twitter. Yet Twitter is already operating with everyone having a nym, and still not succeeding at the goals each of its critics envisions. Making these nyms more permanent doesn't change the actual technical difficulty of the problem of moderation!

If we're concerned about "social network bullying and misinformation", then we should first demand to see progress on the topic from independent entities that can each try many approaches and fail in isolation. Changing the Internet to have a baked-in totalitarian identification regime and assuming these platforms will then address our wishes is downright foolish.
Simultanagnosia: inability to perceive multiple objects simultaneously
I know someone that had the same thing happen. They tried to return it but the bank employee insisted it was impossible.
I once got pulled into an arbitration hearing to explain how certain code functions operated. While not necessarily unethical it was a moral moment because I knew the inquiry came with the loaded intent to twist whatever explanation I gave into the worst possible extreme.

Sure enough that's exactly what happened and a really hard working and honest developer lost their job so an executive could save face.

Left that company a month later but I still feel horrible
Unfortunately Darwinian capitalism is inhibited when we hand out $25B bailouts to these clowns.
There's an element of this even within the community of a single language, too. E.g., Apple's been doing Swift talks at WWDC where they sort of introduce their blow-your-mind-paradigm-of-the-year: "Protocol Oriented Programming" was two years ago; "Embrace Algorithms (subtitle: delete your for loops)" was this year.

It concerns me because these are such lush, ripe targets for cargoculting. The behavior in this article is problematic exactly because of the "Apple says we must not use inheritance for anything! I can just use a protocol extension; that's totally not inheritance" mindset.
Without going into specifics, can you outline the kind of illegal activities that might appear in a git commit history? I'm guessing copyright infringements mostly?
I was once assigned a task that had been estimated at 8 hours of development time, but only required the modification of a single line of code.

I finished it in 5 minutes. My boss asked what happened, I told him, and he told me to revert the code, work on other tasks, and redo it at the end of the day so he could bill for 8 hours (in addition to billing for the other tasks I worked on).

I did it and didn’t say anything. This was just a few weeks into my career.

I’m surprised this kind of thing doesn’t happen more often, to be honest. The people handling the business and writing the checks never seem to know anything about software. You could probably get away with telling them just about anything.

I’ve only ever seen it happen once, though. Software industry has been pretty honest in my experience (at least as far as billing goes...)
not mine, but someone programmed The Drop https://www.youtube.com/watch?v=pCOCKS5AJI8
I bet it's a smaller role where he (more or less) plays Boothby.
What would the right format be? There's a lot of information in there, and I think one of the things that the video does well is expanding out soundbites
This is a simple application of AP but it really demonstrates the power of the technology.

For example, if HN implemented ActivityPub this comment could be directly replied to by users on Mastodon or PeerTube or any other AP service, directly from that interface. Like email, it just works.

IMO it genuinely represents the way we should be thinking about web applications and services.
While working at a services / consulting company, I've been privy to cases where we put our own interests over the client's, essentially getting them to pay us to screw them over.
I only need a couple tests to check if my python is still alive. no need for any fancy tooling
The 'Clearest 9/11' World Trade Center Footage on the Internet
Coming from the .NET world, where extension methods are just syntactic sugar for static methods, the "bug" described in the article wasn't surprising to me. However, it did make me stop and think about how the example would look in C#. This was what I came up with:

public interface IGreeter {
}

public static class GreeterExtensions {
public void Greet(this IGreeter greeter) {
// If you have CA turned on,
// you'll get a warning for not
// using the parameter "greeter"
Console.WriteLine("Hello, World!");
}
}

public class BaseGreeter : IGreeter {
public abstract void Greet();
}

public class LazyGreeter : BaseGreeter {
public override void Greet() {
Console.WriteLine("sup");
}
}

IGreeter greeter = new LazyGreeter();

// This has to be GreeterExtensions.Greet(greeter),
// because IGreeter is an empty interface
greeter.Greet();

I think the syntax in C# makes it clearer that you're doing something funky mixing inheritance with extension methods. If you wanted to do it the "correct" way, I think it would look something like:

public interface IGreeter {
void Greet();
}

public class BaseGreeter : IGreeter {
// Edit: abstract method wouldn't be equivalent to example
// public abstract void Greet();
public virtual void Greet() {
Console.WriteLine("Hello, World!");
}
}

public class LazyGreeter : BaseGreeter {
public override void Greet() {
Console.WriteLine("sup");
}
}

IGreeter greeter = new LazyGreeter();
greeter.Greet();

Which is more complicated than the idiomatic way of providing default behavior with inheritance:

public class Greeter {
public virtual void Greet() {
Console.WriteLine("Hello, World!");
}
}

public class LazyGreeter : Greeter {
public override void Greet() {
Console.WriteLine("sup");
}
}

Greeter greeter = new LazyGreeter();
greeter.Greet();

I'm not a huge fan of the Swift syntax; specifically, IMO, the declaration `class BaseGreeter: Greeter {}` hides where the implementation of `greet` is coming from. Without the method declaration it looks like it's being inherited from the protocol extension, when it's really not.
I prefer /r/broodwar
CSS Scroll Snap
I understand they generally will not be activist holders, but can they be? If I buy a Vanguard ETF they hold the rights to all the stocks in the ETF, not me?
I have no idea how this technology works, and I wonder what problem it solves over, say, email? Will chess-moves be public for everyone to see? Or will privacy be protected? Can the user(s) perhaps decide about the level of confidentiality?
This is really the main point.

I support this but it has its downsides, for example flixbus blocks YouTube on their free WiFi. I think they have all the rights to do it as some site are heavier to support than others and they might be forced to shut it off if it became common

(Also a lot of people don't have earphones on them an being beside someone watching "funny" YouTube videos at 3am is torture (end of personal rant...))
It's a known issue, for example https://hydrogenaud.io/index.php/topic,96031.0.html from 2012 discusses it. You can render Audacity safe for lossless audio editing by changing the default "quality" settings to match your data format and disabling dithering.

Here's the settings I use for lossless editing of CD audio: https://i.imgur.com/a7VqOuj.png
The Official xkcd CLI (2010)
If you have a firmware 5 kindle (Touch, Paperwhite, Voyage, Oasis), see the screensavers hack thread on Mobileread:

> Dou you prefer to just show the last thing that was on screen, with an overlay indicating when the device's alseep? Just drop a blank file named last in the linkss folder. Restart your Kindle ([HOME] -> [MENU] > Settings -> [MENU] > Restart; or simply use the Screen Savers > Restart framework now button in KUAL), and you're done

from https://www.mobileread.com/forums/showthread.php?t=195474

Obviously make sure you read everything (really, everything, including all the tiny text, even if it doesn't seem relevant) before you start.
Can't wait for the next round of apology commercials.
Wes McKinney (Pandas lead) calls out large techcos for OSS mooching
Can anyone explain to me what the rationale for this is?

I can understand the advantage of using static dispatch, i.e. Greeter#greet(object), but I assume there is some mechanism that avoids calling Greeter#greet if BaseGreeter would implement greet and call BaseGreeter#greet(object) instead.

Why does extending a class which extends a protocol not make the extending class implement that protocol in Swift?
Tunnels will initially be shared pods[1]. Much better than existing subways because of higher speed, door to door travel[2], and closer stations (they'll be much cheaper). You could pay extra for a private pod to minimize transit time.

You'd only want to bring a surface car for trips with rural or suburban legs on BOTH ends. Which seems relatively rare.

[1] https://www.boringcompany.com/

[2] dynamic routing means no waiting around to change trains
Looking like Captain Picard
A GUI is an interesting idea, but I don't plan on going there myself.

As for open-sourcing, I'm considering it! I'm probably going to wait a little bit until the dust settles, before deciding.
How to Start a Fire with Shaders
I’ve fired people on behalf of more senior managers too cowardly to do it themselves.
Implemented ads to be served to customers who had specifically paid for an “ad-free experience.”
They retracted it
Since I'm really not that careful during non-diet days (some foods such as home-made chicken pot pies or pizzas etc.) can result in "significant" gains (2-3%) and other items my gf sometimes brings over (potato chips; ice cream; ...). Short answer: that week-to-week swing ranges ~4.5% of overall body weight. I try to limit (within reason) processed synthetic fake foods like margarine, Canola (lifeless, NaOH/heat-treated, hexane-extracted, bleached, deoderized "food") in favor of known-sourced, i.e. non-fake EVOO (look for the oleocanthal-induced burn at the back of the throat: http://www.sciencedaily.com/releases/2011/01/110118180514.ht...), butter, etc. I make my own bread, yogurt -- again for control of what goes into them. But overall, not obsessed with any of that. I like to keep it simple; those preparations take minutes not hours ... :-p

* [How It's Made - Canola Oil](https://www.youtube.com/watch?v=omjWmLG0EAs)

Detrimental health effects:

* [Canola oil linked to worsened memory and learning ability in Alzheimer's](https://www.sciencedaily.com/releases/2017/12/171207141624.h...)

* [Effect of canola oil consumption on memory, synapse and neuropathology in the triple transgenic mouse model of Alzheimer’s disease](https://www.nature.com/articles/s41598-017-17373-3)

Edit: thank you for the plotting comments (I heart these: I love all things tech, programmatic, bio*); I just wanted a quick way to see my overall progress over time. I enter my morning weight (digital scale) daily, and occasionally plot it (Ctrl-Alt-T shortcut to terminal; "gp" bashrc alias to run that plot command, "qq" to quit the terminal). ;-)
In a country with nationalized agriculture. With a socialist government for the last 19 years. Did Chavez and Maduro forget to redistribute all the wheat and dairy when doing their land reform?

Where exactly are these kulaks getting their butter and flour to hoard? Why have the PSUV and Maduro's planned economy not decreed their monopoly over?
Worked with PHP for four years.
Meta: Someone tried posting this same article yesterday and it was flagged. Now it's not flagged this time. Hacker News herd mentality?

https://news.ycombinator.com/item?id=17688773
Not sure I follow. The 99.8% is just an example number. If one machine messed up really bad and had just 50% yield, all other machines would need to do far better in terms of overall quality to achieve 36% yield. Of course every single machine isn't at the same quality level.

At the same time, when wafers get scrapped, they do justify why they were scrapped. There are metrology processes and tests performed as you go to ensure you don't run ruined wafers through additional manufacturing steps.