skysight-inc/HackerNews huggingface dataset:
I actually have a concrete example that I've been working on this week. At work we have a java service that creates an Excel workbook with several tabs. When the original authors of the code wrote the service, the specific tabs it needed to generate were fixed, so they just wrote the logic for writing the tabs directly into the method that processes the data, e.g. this general pattern:

public Map<String, someDataHolder> inheritedFormatData () {
Map<String, someDataHolder> formattedData = new ArrayList<>();
for (Record record : records) {

formattedData.put('tabA', processTabA(record));
formattedData.put('tabB', processTabB(record));
formattedData.put('tabC', processTabC(record));
formattedData.put('tabD', processTabD(record));
}
}

And that works well enough, until there was a need for having variations. In that case they just subclassed this formatter class and provided an override for "proccessTabB" for example.

The problem is that this week, I've been tasked with adding a new tab, tabE. There's no "processTabE" method to override. I basically have a few unpalatable choices:

- Directly add something like "formattedData.put('tabE', processTabE(record));", and the method "processTabE", to the base class. The danger here is that I have to make sure I don't accidentally break some behavior in one of the dozens of child classes (there's more complex inheritance than I'm sharing in this simple example).

- Inherit, then add another method that loops through "records" again and only processes tabE. That's safer from the point of view of inheritance, but it's very wasteful to loop through all the records more than once (there could be as many as a million in my particular case).

- Copy-paste the base class code into a new class. That solves the above problems but, ugh.

Consider a different approach:

public Map<String, someDataHolder> composedFormatData (List<Tabs> tabs) {
Map<String, someDataHolder> formattedData = new ArrayList<>();

records.forEach(record -> tabs.forEach(tab -> tab.process());

tabs.forEach(tab -> {
String mapKey = tab.getKey();
formattedData.put(mapKey, tab.getProcessedData());
})
}

If we define a "Tab" type, with method for storing a key, processing and storing records, and providing that processed data, we can create a list of as many of these tabs as we want, and define each tab's manner for processing the data. Adding a variation to the report generation class is now a matter of defining a different list of tabs and passing that in. No more inheritance woes, plus it nudges you in the direction of better encapsulation of your state (ie each tab is responsible for itself, rather than that logic living in some base super class). Hope this concrete example helps.
I haven't, on second thought, I should have done my homework before taking a stance on that.
What Happens When the AI Bubble Bursts? (2018)
Yeah, I think so.

The players in the industry that went after enterprises are doing well, the players that stuck to selling mostly to individual customers are having a rough go of it. Udacity definitely had some big enterprise deals with their specific nanodegrees, but it never looked like they became an enterprise sales company from the outside.

I believe most marketing departments (along with people trying to make a name for themselves) have massively cranked up the amount of free content they pump out in the last few years. It is making it terribly difficult to become big in the education space while selling to the masses.

Enterprises, on the other hand, _really_ want to lower their salary expenditures through training and will happily throw money at a company like Pluralsight to train up new employees. For what its worth, I think they're correct that training can drive down payroll costs. But the company I worked for was acquired by Pluralsight, so there's some bias.
That's so adorable
I believe h1-b requires a master's degree from an American University, at least that's what my friends tell me. Someone is free to correct me though. That's what several of my indian friends did. They came here on a student visa and got a degree in Texas or Kansas or some other cheap state University, they got a master's degree, and they used it to get an h1-b.
Genotypic DST: The new cost effective and rapid method in detection of TB
Like you absolutely verbalize my thoughts to - if anything - an annoying degree.

I'm Norwegian, but have lived in the UK for 19 years.

I find myself switching languages mentally all the time. My "voice" is different, and when I think in English, I think with an accent even though I don't really "hear" my voice when I think (it is very strongly distinct from sound).
As someone who is kind-of sort-of learning piano, in more-or-less this way, thank you for giving me hope! I wasn't sure, based on anecdotal evidence, if just sitting and learning 'too-hard' pieces (and all the scales and arpeggios) would actually get me anywhere.
Hate to be that guy, but why is this even in the front page, let alone #1?
The more expensive Hulu subscription is not 100% ad-free, some of their content contracts don't permit them to show the content ad-free.
Termix – Beautiful SSH client, start crowdfunding and early access
The main question is that of whether the produced image is a derivative work. The interesting requirement is that the derivative work has originality. I can't tell whether there's a legal definition of originality, or if it's an "I know it when I see it" kind of thing.

What's so interesting with ML is that there's a dense spectrum between memorization and originality. I hope in the future people start checking how much their models are memorizing.

My favorite case is Google's facts, like when you google "golden retriever weight." From other people going out, measuring it, writing it up, and publishing that info to the web, Google can extract the info and never direct traffic to those sites. I still don't know whether I think it's okay.
If you load 50k celebrity images into a tensor of size (500000, 28, 28, 3) and then generate a resulting tensor that results in a (28, 28, 3) tensor where each of the pixel locations is merged to form an average face image (similar to https://www.dailymail.co.uk/femail/article-1355521/Average-f... ), then although the trained model contains all the images; I would have thought the output average face image is an entirely new creative work?
Great points and very true that this made it more lenient which shouldn't cause problems for out-of-state architects.
Oh man I'm the same way, If I have a minds eye, it's strong. I've also been terrible with language, like I have difficulty speaking in real-time. I'm much better now but I actually used to wonder how people can talk the way they do.
Yes, I think that is common to be able to replay music you've heard in your head. I feel confident this is another thing that is a spectrum, not binary. So some people just need to hear something once and have it perfectly, others need to hear it a lot and still don't remember it well.

My favorite thing about sound memory is echoic memory[1], a very specific type of memory that is basically like a buffer or a cache. Basically perfect audio memory of the last few seconds. You can replay the sound in your mind and analyze it for that brief moment in time.

I speculate that this is almost entirely to help you properly react to things that woke you up. You were sleeping, now you are awake. But why? You still hear the sound in your head, was it something falling, or a glass window breaking, or your dog barking, or a gunshot, or just thunder? It could be very important to know.

[1] https://en.wikipedia.org/wiki/Echoic_memory
I've got a similar issue visualising faces. Recognition is ok most of the time but it often feels like I'm using other cues more to differentiate between people. I can visualise things but like you it's hazy and never fully formed. I've often wondered if this might be affecting my dev work - people describe so much of what we do in terms of how we visualise things.
Embedded System Software Engineering
Honestly? Most internet sites don't _need_ a database. You could probably replace most* wordpress/squarespace/wix sites with a statically generated site.

You can call api's from JS and host your database separately, also possible that people use some kind of "serverless" database like google firebase.
Of the relationships where you should be sending people a birthday message, do you have all of their birthdays memorized, or do you use a calendar? I dont really see the difference between using facebook or a gmail calendar for reminders such as these.

I'll agree that the simple "Happy Birthday" messages people post on facebook are trite, but rather frequently I'm reminded that it's someone's birthday via facebook and then text or call the person.
Who Plays the Stradivarius in Interstellar Space?
I did my taxes in both last year (started in TurboTax and learned about their abuses - a coworker suggested Credit karma) and found the numbers to be identical. My taxes are relatively complex, more than most people. I'm very happy with the service for the second year in a row.

I admit that they don't have quite the community links that TurboTax does, and there are some situations they won't handle (for instance, income from 2+ states)
Coreboot with OpenSBI and Linux Kernel on HiFive Unleashed( RISC-V)
What's the advantage of downloading multiple massive files in parallel, assuming you can saturate the link with just one? Isn't it better to finish one file before moving on to the next?

If you can't saturate the link with one file, then you should consider something like bit torrent.
A large part is because that’s how your bank exposes it. There’s not that much granularity in bank account access.

Another part is they’re not going to tailor the terms of service per usecase, they’ll list everything they can do, then narrow it down per application
Facts are not copyrightable

Link: http://www.dmlp.org/legal-guide/works-not-covered-copyright#...
I am not a lawyer, but like many Internet entrepreneurs, I’ve had to learn a bit about copyright. There are two cases in the 9th Circuit that speak to this: Perfect 10 vs Amazon and Kelly vs Arriba Soft.

As I understand it, the cases established a multi-part test for whether a particular use of images is infringing. One of the key parts is whether the use is “transformational”—I would argue that most GAN output would fall under this fair use exception for transformational use and thus would be ok (at least here in Calif).

In the aforementioned cases, thumbnailing a la Google images was sufficiently transformational so synthesizing whole new images certainly should be. The tests do, however, depend on the use so I wouldn’t say that re-synthesizing similar-but-different images with a NN is always and automatically fair use.
The Democrats are interested in passing something useful here, while the Republicans are interested in opposing everything the Democrats could possibly do because they're Democrats.
Does this mean Apple will license this and include it in macOS the way it does (presumably) with Helvetica and Helvetica Neue? I really have no idea how something like this happens.
EA: The Human Story (2004)
Found.

https://www.reuters.com/article/us-japan-defence-f35/wreckag...
Depends on the country this developer is based, 3rd party clients are legal in a most places regardless of what they say in their TOS.
Well I guess I’m “that guy” who finds it highly interesting as an outsider with a very high interest in search. Never knew what tools Google’s using (never bothered to look it up either) and this list is a feast of “Aha!”’s for me :)

Hopefully that answers your question ;-) Same as with a discussion about patents the other day. It’s fascinating to learn / read / understand how big businesses work as someone who’s never worked at one nor aspires to work at one, but does want to build one ;-)
I think people on HN generally have a good understanding of what A/B testing is: "if I change X, will users do more of Y?"

Of course Y is usually something that makes the site owner money. Sometimes A, B, both, or the entire business model of the site is unethical. In such cases, they would still be unethical if a comparison test was not run. In cases where none of them are unethical, I have trouble imagining a realistic scenario in which the act of running a comparison test makes it unethical.
> BEHAVIORAL OR PSYCHOLOGICAL EXPERIMENTS OR RESEARCH—

> The term "behavioral or psychological experiments or research" means the study, including through human experimentation, of overt or observable actions and mental phenomena inferred from behavior, including interactions between and among individuals and the activities of social groups.

I'm guessing courts will decide.
VMware (Stanford)
>> If one had the expertise, one could in principle do Y2K fixes to (original) 1401 autocoder code <<

By 1999 there were so many generations of 360 programs that read and wrote the same files as the 1401 code that any changes to record formats (e.g. 4-digit years) would have been very impractical. The worse date rollover for the 1401 code came in April of 1983, when months since 1900 reached 1000. Stuff like that mostly got fixed with overpunches, but some of the record layouts were running out of places to overpunch.

I read that page by Ken Shirriff when it was posted somewhere a few weeks ago. Very informative.

> multiply and divide hardware was optional on the 1401
Weren't both floating point (wobbly precision) and packed fixed decimal each extra-cost options on the first 360's?
As long as you don't have to write promethus configs in the horrendous borgmon language....
Does Udacity have any brand value? Does anyone care that a course is a Udacity course as opposed to (e.g.) an edX or Coursera one?
Legal question aside, it's still can't decide if I feel like it's dickish.

Even that has a spectrum, from "What is harry potter book is first?" to "What is the first line of harry potter?" to "What is the text of the first harry potter book?"
I disagree that the statement is useless, but here's some more info for you. I use China Telecom and China Mobile. Haven't tried China Unicom.

ExpressVPN has a message on most of their apps saying to use Tokyo 1, HK 4 or 5, Los Angeles 5, or UK Wembley when in China. I have used all of those servers, although HK 4 and 5 are the fastest.

I've used Shadowsocks and ShadowsocksR for my VPS. Switching ports will work for a while, but I've always found the server will get blocked eventually, possibly due to "active probing" as defined in this paper[1].

This person[2] suggests hosting a website from your Shadowsocks server as a cover, but I haven't tried it yet.

[1]https://conferences.sigcomm.org/imc/2015/papers/p445.pdf

[2]https://medium.com/@phoebecross/bypass-gfw-china-2019-dc5959...
A couple of months ago I was cleaning out a closet and I found my old stamp collection from when I was a kid. It was fun to look through and see so many stamps from nations that no longer exist.

I looked on some auction sites, and it seems like you can buy the collections of the recently deceased at pretty cheap prices. I don't know if they're worth the money, but if you're just collecting for fun, and not for profit, it seems like a good way to beef up your collection.
3rd party clients are fully legal in most countries regardless of what their TOS might say, they are not above laws.
How is a company doing well that laid off 10% of its workforce?

One person who was laid off from GOG last week offered a different perspective, saying that laid-off staff were told that this was a move made by a company in dire straits. That person estimated that the layoffs had hit 10% of GOG’s staff.
I can "draw" the triangle in my mind, as you would with fingers in the air: I know the shape it would have made if I drew it on paper, but when drawing with my fingers in the air, my fingers leave no trail, and that's the same in my mind if I try to "project" something mentally.

I can draw a world map from memory with well above average accuracy, but I can't picture it even if I mentally trace the outline I would put on paper.
" Just think how lazy they were being when not actively being told to be more careful, and how lazy they might go back to being if this all blows over before significant internal change is made."
-->Chabuduo, the chinese word for it.
https://aeon.co/essays/what-chinese-corner-cutting-reveals-a...
>Yes, they do. All the time.

Most of them don't need to do something as explicitly criminal as taking money from a lobbyist and using it for personal expenses.

There are far better ways for members of congress to make money--passing laws that benefit companies they or their family members are invested in and taking lucracitive industry jobs after they leave office for example.
Poor title. The content doesn't try to defend it unless you accept "the web as it is now/has been is morally right" as a truism.
That's fair. If I didn't do it for my mom, I doubt it'd have been done. I don't even think I'd consider doing it for a friend, that's something I'd leave in the hands of whoever has the death certificate.

Facebook surely indexes a lot of the internet, "AI techniques" like entity resolution on obituaries would probably go a long way to finding unreported deaths.
The IRS does not in the ordinary course receive informational returns about people's bank accounts. They do receive informational returns about interest generated by bank accounts (and other places), but they don't get e.g. transaction lists by default. Google "1099-INT example" to see one of these informational returns. They're minimalistic and they are minimalistic precisely because a large portion of the US polity hates the notion that the IRS would have arbitrary read access to people's financial lives.

You can reasonably assume that the IRS can use subpoena power to compel a US financial institution or foreign financial institution to surrender records to it. This is an oppositional process and they use it relatively rarely next to the total universe of taxpayers and accounts, generally only after they already have evidence of hinkiness and want to quantify unsurveilled amounts and/or locate assets.

These are not secret facts about the world; the operations of the IRS are exhaustively public (trust me, I have weird hobbies). People on a programmer-dense message board should have more weight for "While I understand that X would be accomplishable via an API if it existed, it is possible that that API does not factually exist" than they often do.

Also, the number of times someone in the financial industry typed in git commit -m "tldr Patriot Act compliance" is orders of magnitude below the number that HN comments routinely predict.
Michael Jordan's brief-but-promising baseball career
Much obliged, that book looks interesting.
Not sure why you think free food is traded for free time. Free food helps me use my time at work more effectively. I usually have breakfast and lunch with teammates, and it's a mix of socialization and work-related conversations. Half an hour in the free cafe > 45-90 minutes going someplace to buy food.
Of the relationships where you should be sending people a birthday message, do you have all of their birthdays memorized, or do you use a calendar?

I'm not the OP, but yes, I have a calendar with people's birthdays in it. Every computer since the 1980's comes with a calendar program, and now they sync to your mobile phone, so there's no need to pass responsibility for that sort of thing to Facebook.

I also send (gasp) paper birthday and Christmas cards to the people who mean a lot to me. And from what they tell me, getting a real card in the mail means a million times more to them, since they know I took time out of my life to think of them and didn't just click a button and move on.
> Why would you want the IRS to duplicate this effort and compete with these companies?

Is tax collection not a function of the government? I'd rather my taxes fund a free, easy tax filing system than pay fees to rent seeking middle men. Those fees are just an inflated tax by another name. We should be eliminating those kinds of taxes, not entrenching them.

> If they do it in-house, do they even have the expertise?

Government websites and software have a reputation for being ugly, slow, broken and poorly designed. Government is also capable of building good tools. Two organizations that have done good work and could conceivably work with the IRS are:

- https://www.usds.gov/

- https://18f.gsa.gov/

I'm also pretty sure the IRS has plenty of expertise around the filing of federal tax returns.

> Everyone needs to file state taxes anyway.

I don't see your point? Everyone will continue to file their state taxes separately, electing to use or not use available tools, as they always have.
I can not more strongly endorse this reason.

Building abstractions around useful/loosely coupled ways of encapsulating dependencies, as mentioned elsewhere in this thread "bottom up", is part of an organic process that evolves into getting design right. A huge "lever" that you can lean on in this process is being able to mock the things that you want, while also being able to use the "real" versions of the things that you want. This allows your code to pretty much always be testable and flexible.

It takes some practice, but once you get it your code grows so much better.
Apple can fix it but there is nothing stopping Android from implementing something that'll make things not change color.
"when I gained access to their server with their financials and PII"

The problem with your attitude is that you have become the authoritarian in this situation. The district wasn't interested in fixing their security issues (their right), and you didn't like this, so you went ahead and broke into their systems anyway.

"I was having fun learning and discovering this fucking awesome world of computers."

There are plenty of other ways to do this.

"He's a high schooler, and capable enough to pull this crap off. Show him the right path, turn it into a teaching (it's school, y'all) moment"

A teaching moment would be punishment. Maybe a suspension. In the real world, you can't just trample on others' rights, without some sort of repercussions.
Anyone Get a YC S19 Videocall?
Did anyone get a YC video call? How did it go? - S2019 batch
It could get to the floor via a discharge petition. But Democrats are currently pro censorship so that sort of language would never get into the bill.
Any chance for an Xbox one app by PBS? Paying member of passport but this would really increase my watching. It's weird that there is a pbs kids app but not the full pbs app on Xbox one.
It looks OK from the specimens, Neue Haas Grotesk is still the best Helvetica IMO

...

Font licensing is immoral rent seeking that takes advantage of a legal loophole and goes against the spirit of the law in major countries (typefaces are ineligible for copyright in at least the US and Japan), and I'm always disheartened by how many individual designers and companies have fallen for it.
No, it’s the site owner choosing to outsource their decisions about gatekeeping a private site to Google. Google isn’t censoring you via CAPTCHA, the site owner is.
That course, practically, got me my first job!
Woman lived to 99 with organs on wrong side of her body