skysight-inc/HackerNews huggingface dataset:
Sure, DFS is a simple, understandable, easily modifiable, and useful algorithm with many real world applications.

I have coded DFS many times in my life, both at high school and atleast a dozen times each during my Bachelors and Masters and far more times at work because I do a lot of NLP and traversing a tree is a regular day at work.

I can code DFS with you today, when out at a bar over a few beers.

What I struggle with is to code DFS:

1. with people I don't know, am not comfortable with

2. who are looking at me expectantly, expecting me to fail at it (because that's what happens in most of the interviews they have been part of)

3. with time running out

They only time I was able to perform DFS at an interview was at my first job out of college because just the month before I had prepared for my Data Structure final exam and could code DFS (or any of the HackerRank style algorithms) in my sleep no matter what even if all I had was a chisel and a slab of granite.

I was not upset that I never had to actually code the DFS, invert a binary tree and find the minimum coin change (all the 3 questions I was asked for the job) ever after that - it was all C++/Python/Java CRUD, for 3 years because I had 0 professional experience with CRUD at that point so I would have never got the job in the first place.

In fact the official policy at that place was to always use existing commercial libraries (and purchase them if necessary) because it was a CRUD shop and they had high turnover so any custom library would quickly become a liability.
Also, if you want to get really really technical, it's _always_ been in the public domain because it's a work by the US federal government and thus ineligible for copyright: https://en.wikipedia.org/wiki/Copyright_status_of_works_by_t...
> Edit: does facebook and twitter require that you disclose any payments you get for posting?

This in particular is an active area of development. Instagram initially said no, but then they changed it to yes.

https://techcrunch.com/2020/02/14/instagram-ads-bloomberg-me...
Yeah, that was my thought. Having local farms supplying local butchers and using every single bit of the animal.
Geekbench Multi Core Benchmarks:

1. n2-standard-16 (Intel Cascade Lake): https://browser.geekbench.com/v5/cpu/1257619

2. n2d-standard-16 (AMD EPYC): https://browser.geekbench.com/v5/cpu/1257340

3. n1-standard-16 (Intel Skylake): https://browser.geekbench.com/v5/cpu/1257420

Intel Cascade Lake is with a very small lead on 1st place. But AMD is with three-year commitment the cheapest option. Great to have a choice. Thx @cvallejo
It is selling, because the loan is backed by the ISA. Which means if Lambda can not repay the loan, the loaning company now owns the ISA and can use any sort of aggressive tactics to get the student to repay their ISA.

Just like if you take out a mortgage on a house and fail to pay the loan back, then the bank owns the house.

In this case since the ISA is used as collateral, the company that originated the loan now owns a lien on the ISA, effectively giving it ownership.

Similar to when you lease a car, there is a company that provides the finances for the lease, and has a lien on the car, which means you do not own it. Otherwise you could lease a car for $250/mo, then sell it the next day for $30k, but you can't because there is a lien on the title.

So in this case, while the loan is outstanding, the originating loan company effectively owns the asset used for collateral. Ownership means you have 100% control over the asset, and in this case, Lambda has given away 100% control over the ISA.

It also means that they are not aligned anymore, since they have received financial compensation for the ISA up front, they can default on their repayment of the loan as it doesn't matter because the collateral aren't shares in their company, but just the ISA itself.
Disclaimer; I am in no way supportive of Trump or most of his policies.

However as an outsider (I'm not American), he actually seemed more on message and resonated more with his base than his opponent in 2016 so when Hillary became the nominee for the Democratic party I actually bet 100 NOK with my co-worker that Trump would win.
Not an article, but I've used pgloader for this purpose in the past:

https://pgloader.readthedocs.io/en/latest/

Great tool, I can't recommend it enough.
and it does sound like a mineral which is quite in line with how I see sqlite.. pretty, timeless and rock solid
Sure, but it wasn't that kind of argument. It's not about trusting the police/IRS, it's about distrusting loopholes.

I'm about as sympathetic to Facebook here as I am to the people who claim that under the maritime act of 1776 their car is a ship and therefore the police can't arrest them for speeding.
Can the mods un-dupe this? That was 2 months ago, and it's generated fruitful discussion on a hacker-relevant matter. Certainly more relevant than the Atlas Obscura "look at this quirky history" articles that get upvoted so much.
That's an excellent point. Working on a single company toolchain when that company isn't a household name is a career dead end.
But this is one of the deals where when you find out, it is too late.
Because they took reliability seriously.

If the people who did the original Macintosh "resource fork" updater had been serious about maintaining consistency of the data structure, that approach would have lasted longer. That was a really good idea, badly implemented because they had to cram it into 128KB and use a floppy. Unfortunately, it wasn't rewritten when the Mac line got more memory and hard disks.

Somebody had to get the open source world past using text files for everything.
Larry Tesler has died
Self-signed. Yes, an attacker would not ordinarily find this harder to pass than the http-01 challenge today. Validation using this approach was method 3.2.2.4.9 ("Test Certificate") and is no longer permitted for new issuance under current Baseline Requirements.

Let's Encrypt offers three ACME methods which implement 3.2.2.4.6 ("Agreed Upon Change to Website"), 3.2.2.4.7 ("DNS Change") and 3.2.2.4.10 ("TLS Using a Random Number").
I think there's a case for disputing the official pronunciation because it's based off an "official" pronunciation of SQL. I've heard it ess-queue-elle and sequel, but personally side with sequel. It was originally called “Structured English Query Language”, abbreviated and pronounced "SEQUEL"; later shortened to "SQL" but same pronunciation. So I figure sequel-ite is a perfectly legitimate pronunciation.
It seems to be a similar play from 2016 with Correct the Record and worked then:

https://www.latimes.com/politics/la-na-clinton-digital-troll...
On a serious note, I've long wondered what python would feel like with haskell-style "whitespace" to call/partially call functions. It feels like it wouldn't be super difficult to get working; as far as I can think of "identifier ws identifier" is always currently a syntax error? Maybe a toy python project someday...
And financial companies
> The lawsuit was originally filed in 2016 and widely discussed at that time.

What was the "coercion" in 2016 about? Tin foil hats?
Figure out what people want, and compare it to a worst-case scenario.

This helps me: https://uptime.is/
I'll be honest and say that in my head, I think 's-q-l lite'
Dahlia Lithwick described how the courts are intentionally making the political choice to slow-walk various Trump matters in order to enable his behavior:

https://slate.com/news-and-politics/2020/01/courts-slow-trum...
Yeah there's a misconception that since insurance is an "annual contract" you are locked in for a year. Truth is the law protects the consumer - it's your right to cancel any time and your new provider can help you do it. If you prepaid the other guys they have to refund you. Of course some insurers make you fax them cancellation requests and stuff but we make it our job to sort that out for you and copy you along the way.
Japan’s Largest Bank Invests $700M+ in Southeast Asian ride-hailing giant Grab
Glad to hear there's commercial interest for Nim!
Tip: Don't record laser tattoo removal (2019)
AACalc – Asset Allocation Calculator
Meta remark. It took me quite some time to vet Fox Business Network for basic journalistic quality. [0][1][2] Sorely needed because of the direct link with Fox News.

Why not put in an article source with easier to verify journalistic integrity, like the Irish Times [3][4] for example? That took me all of a minute to find...

[0] https://en.wikipedia.org/wiki/21st_Century_Fox

[1] https://en.wikipedia.org/wiki/Fox_Corporation . I've had a short look at their website too.

[2] https://www.foxbusiness.com

[3] https://www.irishtimes.com/business/economy/facebook-s-9bn-i...

[4] https://en.wikipedia.org/wiki/The_Irish_Times
Inkjets use liquid ink, and if the ink dries on the spray nozzle, it's dead. This process takes about a month. If you're lucky, the nozzle is part of the cartridge and you need to spend $100 (or more) on new cartridges. Otherwise you need to buy a new printer. Some printers have a mode where they'll spray a little bit though the nozzle if you haven't used the printer in ~2 weeks, but they need to be plugged in.

Laser printers use dry ink that never... gets more dry. I pulled my Brother out of storage after 2+ years and it worked great.

Toner is also considerably cheaper than inkjet ink, and lasts significantly longer. I haven't bought new toner in 8 years.

Personally, I use a black and white laser printer, and if I really, really need to print in color I'll do it at work. (happens basically never) I recognize not everybody has this luxury, and some people have far more need to print in color than I do.

If you need color printing volume is high enough to keep the nozzles in good shape, you're probably better off with a color laser printer because the ink is so much cheaper. If you don't print in color that much, it's a terrible, terrible idea to buy an inkjet printer.

Don't buy inkjet printers.
"If I understand right, US citizens only owe income tax if what they already paid is less than the US rate."

I'm not an expert, but my understanding is that unless there's a tax treaty specifying otherwise (which we do have with many countries), all personal income over the "foreign earned income exclusion" (roughly 100k) is subject to income tax just like US-derived income would be. (Edit: just saw your edit about Form 1116... thanks, I didn't know about this. But I guess my point still applies in that, tax credit aside, you are still considered to be under the authority of the IRS even if your life and all your income are elsewhere.)

"If something similar were applied to the tax on corporate profits, then it would not change much, as the US rate (21% I think) is pretty low by world standards. But there are exceptions, like Ireland (6-12%, IIRC)."

Right, but if we taxed all international profits, it could probably be very low (maybe < 5%?) while still generating as much or more revenue, since there would be no way to avoid it. And it would be a naturally progressive tax since it would by definition hit multinationals the hardest.

"But isn't the Irish company a different entity anyway? How far down the chain of ownership / authorized-importer-relationship would such a rule go?"

My thinking is that perhaps we should end this silly game of international subsidiaries being treated like separate entities for tax purposes and just tax the aggregated profits of the parent entity, regardless of where in the world or under what subsidiary they are realized.
Kind of torn here, I went to a bootcamp and it completely changed my life. One of the best decisions ive ever made. At the same time some of them are straight up predatory, at our cohort there was a few people who "graduated" who couldn't print a console.log
By looking at the result of 4 hours of such work, obviously. :)
A little of both. This is for a fairly low-volume personal tech blog so of course this wouldn't really scale. When I do add a comment to one of my pages it's not presented in the typical comment thread way but more like an edit that thanks the person and rephrases what they had to say.
Living in the midwest, as soon as Hillary "won" the nomination, I knew Trump would win. People who don't like him genuinely underestimate the support his base provides.

There is a reason republicans are falling all over themselves to lick his boots. He controls the power now.
Were they selling cheap LED bulbs over 10 years ago? By my recollection they were all expensive back then. It seems plausible yours were expensive and higher quality than all the cheap ones everyone is buying nowadays.

Speaking for myself, I've bought a variety of brands over the years. Some brands seem to die after a year or so. Others are still going fine after 3-5 years.
This is a really cool idea! Looking forward to seeing availability in New York.
Isn’t fooled, but doesn’t really care, and it has the intended subconscious effect.
In the Netherlands (and by now a couple of other countries, I believe), there's a similar initiative called HackYourFuture [1], in which professional developers volunteer to teach refugees to code. This contributes to solving both to the lack of developers, and the challenges refugees face in contributing to the country they migrated to. It's really gratifying, and with volunteer sessions being limited to three Sundays in a row every now and then, less taxing than going there before work every day.

[1] https://www.hackyourfuture.net/program/
We're reading the coronavirus numbers wrong
if Ireland isn’t taxing the revenues, then it’s not a break of the treaty for the us to tax them. No?
Discover Python and Patterns (16): Inheritance – Design Patterns and Video Games
Do you count orangutans as "local Malaysians"? In any case, the rainforest is certainly useful to all of the indigenous humans whose home and way of life are also being destroyed. You might find the rainforest "too dense to walk through" but unique cultures have inhabited them for millennia.

You are, by the way, more likely to contract a mosquito-bourne disease in a town than a rainforest, where much higher mosquito species diversity, plus much lower human population density, equal lower prevalence of the mosquitoes that carry human pathogens.

Also it's not "otherwise it would be all jungle". It's "otherwise more of it would be jungle, or would more resemble an intact jungle in various ways". Intelligent policy on land use and allocation is nuanced, not either/or.

Yes, the jungles are "useful for local Malaysians" in all kinds of ways. But you can find Malaysians from all backgrounds battling for the preservation of their vanishing patches of forests, against the interests of the big agribusiness and timber extraction elites. The forests are treasurehouses of biodiversity and there are powerful aguments to be made on economic, environmental, ethical and custodianship grounds.
there's https://www.npmjs.com/package/fetch-cookie for node

// fetch with cookies:
const fetch = require('fetch-cookie/node-fetch')(require('node-fetch'));
All English-speaking countries have adopted the short scale.

Since we're not using French, it's 18 billion.

Or you could follow SI recommendations and say 18G$. Pretty sure this crowd would know what you mean.
Vote for the candidate who doesn't make you seriously question whether there will be another election in 4 years?
Were you paid to post that?
That's probably because he had his network connection priorities ordered so that the TB networking had priority and there wasn't a valid route on the connected network to the TB display. That's very likely a fixable problem, as I have encountered similar and resolved it.
Assuming you mean the “acquisition” that was rumored around the time of Spotify’s IPO, you may want to check the date of that article: April 1, 2018 https://www.digitalmusicnews.com/2018/04/01/spotify-microsof...
Gotta check your attitude, maybe it's disrupting the DeKalbs. (Sorry for the Heinlein reference, it was too tempting.)
Nobody commenting online sitting in their armchairs understands what running a nation looks like. Lincoln met secession threats by declaring them as illegal and terrorist threats and what not if I remember correctly. And he had to do it if he wanted to keep the nation together.

We are much more connected now than he was in the 1800s, so the stupid people have enough voice to demand the freedom to make secession speeches. It is an unheard of concept in history and until we kill the idea of a nation state, secession is always a threat to societal fabric. But try to make a rabid liberal "muhhh democracy" crier understand this and they'll retort with nonsensical and false moral equivalents.
Are you both sure you understand the difference between the terms "proof of concept" and "final product"?
I think that this is true, though I have no numbers to back it up.

He appeared to run a cost effective campaign. The endless free coverage provided by pundits and commentators who continuously mocked was transformed (by him) into a strength. He also made full use of social media to reach as many people as he could. I'd be hard pressed to name another candidate who so effectively used twitter.

The slogan and the hats too. Make fun of him all you want - but it was an effective and cheap marketing campaign. More importantly - its a message that resonated with a lot of people.

That's how you win elections.
This is very generous, to donate your time like this. Just wanted to say you are doing a very good thing.
>should they return to the polls.

Illinois counties downstate (I live in a bordering state) ran out of Republican primary ballots last election. These people come out in droves. They will continue to come out in full force, 150%. I believe we will see record turn out in the fall, and it will be mostly Trump supporters.
Even with CloudFlare in front of your servers, it is still valuable to use Let's Encrypt certificates. You can turn on Full Strict SSL validation to the backend and reduce another attack vector. It's an unlikely attack vector to be exploited but it's also a trivial amount of work to implement.

Every layer of security makes attacks that much more costly.
> always figuring out ways to have his computer do the work for him

One of my earliest programming mentors mused that the reason I might well become a decent programmer was because I was both extremely stubborn and horrifically lazy. He'd observed that I would re-write code until it was the most efficient possible to automate a needed task that could save me time/effort in the future.
This statement can not be left on HN without contradiction. It says more about your dev experience than about Drupal.

Drupal is still horrible. They did not learn from the security issues of the past, they still put lots of php files into document_root, just to mention two basic things.

They are doing it wrong in many ways, and there is no hope the "community" will ever learn, because people with competence already moved away long time ago.

Let a developer with some experience with different languages and frameworks (Java, Ruby, Python, Elixir) - not some single-eyed PHP-only beginner - work for one day with Drupal and then ask her what she thinks about it.
Real Clear Politics Average currently has Bloomberg nearly tied for second place. Extrapolate what you wish from that, but something is working.
Unless I'm missing a connection you've made, no.

You might have been exposed to the singular-value decomposition to compress a matrix, and representing an image as a matrix e.g. [1].

JPEG encoding is about transforming the signal into a frequency domain (think FFTs) where it is less detrimental to throw away information.

If there is a connection to what you're saying, I expect you should try to make some statement about the eigenvalues of the DCT matrix [2]

[1] http://www.math.utah.edu/~goller/F15_M2270/BradyMathews_SVDI...

[2] https://math.stackexchange.com/questions/962533/why-does-the...
Thanks!! You don't have to, but if you punch in you zip on the site and leave your email we'll let you know when we're there!
What Happens to Your Mail-Order Mattress After You Return It
I don’t think trump voters were “fooled”, they did in fact own the libs and will likely continue to try and own the libs. For many in america this culture war shit is the only substantive choice at the polls.
I would and I actually quite like the design. Sure it's a prototype, but if you have a netHacker theme going it'd look rather dashing.
The same question applies to capturing, storing and distributing the AIS data from boats and ships.

At least under our (Finnish) legislation capturing and distributing this information might be illegal. Law says you may not disclose captured radio transmissons unless they were ment for public use or you were the intended recipient.
Yes, it's work of course, but it's quite mechanical work that requires little thought.

Instead of calling the code emitter, you call an AST builder.

Then you build a tree walker that call the code emitter.

At least the Wirth Oberon compiler was retrofitted with an AST by at least one student in Wirth's group as part of experiments with optimization passes.
Implicit string concatenations are an edge case.
I can see this being useful for blocking your smartphones and Alexas, but it seems like devices specifically designed for surveillance could start being designed to fix this exploit.
And what, exactly, were they expecting to receive?
Right now if you want to win the electoral college in the US you can largely rely on manipulating a smaller mob than you would have to otherwise...
That part is easy. It's a cube with 33 pools on each side. Duh.
CS Courses
Can you point me to the dat? Sounds like a fascinating dataset.
I have been checking every time for several years now.

If, for instance, the jar that says "peanut butter" on the front does not say "Ingredients: peanuts" on the side, I put it back on the shelf and pick up the next one.

You can't trust brands any more, and it makes shopping an arduous and time-wasting chore. Not to mention the stupid little games manufacturers play with the ingredient list for obfuscation's sake, like adding three distinct kinds of sugar so "sugar" doesn't show up as the first ingredient. Or adding 12 different kinds of filler to a crab cake, so that "crab" shows up as the first ingredient.
Improving society is "wacko"?
Get your Datadog billing info in Slack with Nimbella Commander
Clearly these tactics are despicable...and they work. Bloomberg is just demonstrating that he's the only one who really learned from Trump how to win in the modern era. Trump, of course, had Russian trolls posting rather than these folks...but potato/potaato.

And he's right - he went from nothing to third place (in national polls) solely through (mostly internet) ad spend.

What I don't understand is why every candidate isn't taking a similar approach. These guys are showing it's not about events, likeability, policies, history, etc. It's just about mass manipulation enabled by the internet.
Except, well, the FTC requirement that says literally that.
I typically go with just "postgres" for phonetic pronunciation. Not sure how else it would be done; "postgres sequel?"
Is this the same, or does it stem from, Lambda School that started with a kickstarter in 2016?
It's worth the reduction in attack surface: https://www.cvedetails.com/vulnerability-list.php?vendor_id=...

I concede it is a little different on FreeBSD where the "base system" is developed in a single source tree and released as a complete OS. Third-party interpreters/libraries like Perl are more visibly alien there than on a Linux distro where everything effectively is.
That's super useful feedback. Thanks. I particularly like the light fading idea.
Great point, makes me admire Jobs even more.