skysight-inc/HackerNews huggingface dataset:
I agree my comment doesn't justify my 'speculation'. I apologise and acknowledge that I could have done a better job.

I intended to add a word of caution to the original comment, while completely acknowledging that I may be totally wrong. New account, redirection of the topic while not addressing the specific points of criticism, in conflict with other investigative journalist reports. Here's why I put on a tin foil hat: https://www.washingtonpost.com/news/monkey-cage/wp/2016/05/1...

FWIW, I'm appreciative of quite a number of 'bold' policies of the Chinese government dared to experiment with and implement. It's just that undisclosed affiliations bother me.
> The compiler could do that automatically

Yes, that's what I'm saying.

> Another thing you'd probably want to do

This is a very interesting idea!
Yes? But you basically just externalized the business's costs for them to simply redistribute wealth to you. It's a net societal negative.

As an outsider, it makes exactly 0 difference to me whether there is a data center in Wisconsin vs. Illinois, the only difference is that some corporation will be more profitable and pay less tax overall, which they are supposed to be paying to offset externalities (at least in a perfect world).
One thing that comes to mind is that looping is limited to recursion in scheme. This becomes quite coumbersome IMO since it is a pretty important thing. Writing named lets for simple things is not anyone's preferred way.

It is however pretty easy to implement something like racket's for loops on scheme using lower level macros, and there are some available.

Implementing something like common lisps iter is actually not very hard, and even improving upon racket's for loops is far from complex.
It is possible to create new transaction outputs using old UTXOs, hence nodes can do its own checkpointing if they wish, with a loss of transaction fee.
This made me snigger perhaps more than I should do. I wonder if the people selling this shit actually know or not. They have to I suppose.
I have an Airtable that I maintain of everything I want to learn (mostly harvested from job listings), then I sort them by priority.
Massachusetts AirBnB Regulations
Ask HN: A 8LOC unit-test case-study, what would your team do?
If there is a small chunk of code like this in your codebase, how would you (your team) write test for it normally?

function business(n) {
const x = fibonacci(n)
if (x % 2 === 0) {
return moduleA(x)
} else {
return moduleB(x)
}
}

Assumption:
moduleA() and moduleB() are both relying on external system such as DB, web server.

I can see following options while writing test code:
1. Mock moduleA and moduleB, and check whether they were called.
2. Don't mock anything - then write an acceptance test against test db / test web server.
3. Don't write any test for this function specifically because the logic is simple enough.
4. Somehow refactor the code to make it more testable

My own opinion:
Option 1 will introduce coupling between test code and production code implementation.
Option 2 will be slow and might be a waste of effort if moduleA and moduleB have good test coverage already.
Option 3 sounds good to me.
Option 4 how?

Testing methodology is always controversial.
I am curious what your team and you would do in this situation.
Any opinion is appreciated! Cheers
Hyperspectral cochlear implant would be cool thing to have.

When I had my ear wax removed by a nurse first time, it was really awesome experience. I had no idea how much it helped. For example when I was walking on the street, I heard strange rhythmic sound just behind me. Every time I stopped the sound stopped. Finally I figured out that the sound was coming from my backpack that was chafing against my jacket. Habituation removed the hyper-hearing sensation in 3-6 hours afterwards.
He invented Redux, and is a core contributor to React.
I find articles like this interesting. While I have hired plenty of software engineers and data scientists without Computer Science degrees I do think sometimes people without them are at a disadvantage.

Breadth First Search is a freshman year concept at many schools. Sophomore at the latest.

On the other hand it gives me some respect for people who have to learn this all themselves. Having 4 years to take off from work and just learn this stuff is a huge luxury and not necessary in a lot of cases. But at least for me I am very thankful for the structure of a formal degree. I don't think I could have self-taught all of this.
V-RAY 4.0 for 3DS Max 2019 Crack and License Key and Keygen Direct Download
Compact, Streaming Pretty-Printing of Hierarchical Data
I just did the maths one.

1 to 10 addition, 2000 iterations took about 5 mins on repl.it

It got the maths wrong so will need more training
If magic lamps were real, this would be my first wish.
Good to know. In the unlikely event etc, I'll give it 20 seconds or so then.
Your argument is that anything with a center of lift behind the center of gravity is an arrow? In that case all aircraft are arrows.
I think small rural town versus major metro center has more to do with the quality than US vs Canada.

It’s no different in Canada - small towns don’t offer as good of care particularly when it’s something that’s not common.
Maybe use this opportunity to not attack me?

My involvement with Wikipedia will be limited to the occasional spelling fix, for unfortunate experiences with the "community" there.
Although the treaty does seem to be pretty clearly prohibitionist, there is some debate (covered under "Possession for personal use", https://en.wikipedia.org/wiki/Single_Convention_on_Narcotic_...) as to whether or not the treaty requires member states to prohibit possession for personal use.
True. Tesla also claims to not really advertise.

Well, spinning hyperbole that fires up the clickbait is definitely effective advertising.
An Introduction to Spacecraft Operations [video]
Or even if it makes no physical sense so it even seems worth doing a test. It is depressing to be told people shouldn't do science, especially for the benefit of consumers.
There has been a rematch recently vs Stockfish, with a couple of hundred games. AlphaZero won 155-6! [0] There are fascinating videos with grandmasters commentating on some of the games. They're played in an exciting, sacrificial, swashbuckling style, nothing like any other top computer engine, and it seems that may affect the play of top (human) players for the better. e.g. see

Matthew Sadler on chess24

https://www.youtube.com/watch?v=JacRX6cKIaY&list=PLAwlxGCJB4...

Daniel King

https://www.youtube.com/watch?v=pFtY7gNRVRI&index=3&list=PLh...

[0] https://en.wikipedia.org/wiki/AlphaZero#Chess_2
IIRC the very first Rainbow Six was aiming to achieve this. It felt realistic because you or team members could be wounded and required time to heal across missions, or could die. At some point though an invalidating bullet is statistically equivalent to death gameplay wise. Sadly attempts at simulating wounds were and still are generally implemented in a very simplistic way.
What language though? You can know C+ pretty well but still, suck at many other concepts that can be helpful operations. It really depends on the company you try to land a job with.

What do you consider "actual coding"?
Windows file access performance compared to Linux
> As an outsider

Right but these tax breaks are offered by representatives of people who live there and want the company to be there - not outsiders.

You’re saying ‘as someone who doesn’t live in the area I see no benefit to me in spending money to improve the area’ well duh thanks for the insight.

It’s no different to cities offering higher salaries to hire a good administrator - normal competition to bring in beneficial things.
It may actually be an accomplishment. They figured out how to take advantage of the system so that users could not skip your ads. That might be a great thing. But the nature of the accomplishment requires you to change your metrics to evaluate the success of your ad campaigns rather than keep the same metrics and label yourselves a success.
Building an interactive 3d globe with WebGL and Three.js
I love these kinds of articles but I also think there is a slight mistake. In my opinion it should say "upper-left is at array index zero" instead of "lower-left is at array index zero".

I don't think it matters if the randomness is not applied symmetrically and the fire moves slightly to the left. I also can't comprehend the part about the framebuffer being initiated yellow and not black.
See also this piece about Mexican Maya practices around chores — essentially, letting toddlers exercise their innate desire to be helpful by having them participate in housework, even though they are clumsy and slow.

The distilled advice:

1. Expose kids to chores as much as possible.

2. Think small tasks, big contributions (The task can be tiny, but the key part is that it has to make a real contribution to the chore, not “mock work”)

3. Always aim to work together

4. Don't force it

5. Change your mindset about young children (Don’t assume toddlers and young children simply want to play; they may want to help)

https://www.npr.org/sections/goatsandsoda/2018/06/09/6169288...

HN discussion of the NPR piece: https://news.ycombinator.com/item?id=17280710
How is he promoting tracking? The outline link has 3 cookies (0 third-party) and make 5 requests (the bad ones being Google Analytics and Doubleclick). Whereas the original article has 68 cookies (44 third party) and make 261 requests (which violates users privacy to a much greater extent).
Pro-choice or pro-life are both about framing the question.

Pro-life side of the argument is about framing the issue into what right and responsibilities a person has. They want universal rules that can be applied.

Pro-choice side of the argument talk about the result, and the choice (exclusively by women) to decide if they want to raise a child or not. A planned parenthood by women for women.

Synthetic womb technology won't resolve the issue. This year a group of prenatal and midwife medical council here in Sweden made a decision if nurses were to be allowed to do life-saving care to aborted children when the abortion has been delayed to the point where the child life could in theory be viable after the abortion, and the decision was no. They decided that the woman choice to not raise a child needed to be respected, even if the child could be kept alive outside the womans body.
What you've done here is create multiple strawmen, attribute them to me, and then rationalize this fictional version of me as a "typical American." It's very insulting.

Nowhere did I say luck doesn't play a part. Nowhere did I say I lack compassion for the people in the article. Nowhere did I say that I think things are fine as they are.

The reality of the business world today is that employment is at-will. There's nothing stopping employers doing the things described in this article. So I offered up a way that people I know have managed to improve their career outcomes. Having several consulting clients is often a lower-risk approach to the later stages of your career than depending on one employer for all of your income. This is a forum dedicated to entrepreneurship so I think my comments are appropriate here.
It's on tangent but

I owned an agency before and my employees under NDA wrote opensource projects for celebrity developers.

It was effectively a GhostCoders for hire service.

Out of them a few developers got very popular. It was a matter of luck more than anything. Anything can catch wind anytime, we just needed to keep up with the trend.

One way to catch this is coding style. Since, we employed GhostCoders - style varied considerably if a person looked deep - they could detect it, tho we tried to create a guidelines per celebrity programmer still picking up a particular style is quite difficult.

Hammering out dozens of project every month for a celebrity programmer needed that we hire multiple coders as no one would work all living hours.

Every project was a greenfield project, so hiring ghostcoder wasn't difficult at all.

Once you've proved your Opensource worth, companies would employee you as a celebrity coder and you just need to blog, tweet and give talks. Illusion of work is sometimes more important than the real work.

But even the ones who didn't get that popular accured a portfolio of contributions which helped them get a well paid cushy job.

Once you've breached a significant popularity threshold, you don't have to go through any interview and people assume you possess superior knowledge about everything.

This is why we still offer ghostcoding service to turn you into a popular Opensource developer, you might also recoup costs through Patereon.

So reading this i am not very surprised.
I am kind of surprised, at the attention and fond rememberance Doom is still getting, compared to Descent, which though released around 2 years later, appears to me much more accomplished: levels of tunnels with complex spatial arrangements, the 6dof motion, even had a sterographic 3d mode.
> There are books about Number Five Crossbar and how it worked

Can you recommend such a book?

/edit: i see you answered this for another poster
Paper is patient. We won't know until AlphaZero participates in a fair tournament, like Leela, which recently came in third after Stockfish.
Yes, this is my favourite aspect of being a web developer today, it is possible to refrain from using all the heavy weight libraries and just play with canvas and raw code... you have a lot more fun, have (almost) complete control, get to learn a lot more and the result is way leaner.

Also https://www.dwitter.net/ uses canvas + JS as the basis for it's code golfing. It's surprising what you can fit into 140 characters, and forces you to think more mathematically when creating effects.
OSINT Resources for 2019
And then we go on and buy the products anyway, because we've never heard of the competitors.
> Cars and computers are not investments. They have direct utility. Money does not (unless you burn it for heat).

Right. The deflationary argument is that people won't spend money because the money appreciates in value over time versus the things they would spend it on. Those examples, and there are many others tell a different story. People will buy things which have utility, even if they lose value relative to the currency over time.

>We have them already. They just aren’t called currencies because their price instability makes them somewhat useless as currencies. See: gold.

You say the price of gold is unstable, because you're taking a dollar as your reference point. Dollars are actually far more volatile than gold because they can be printed arbitrarily, where gold is only found in limited amounts. If you measure the value of the dollar in terms of gold, over time, you'll see which is really the useless one!

The reason gold is not used much any more is largely due to the historical practices of confiscation and outlawing of possession. Admittedly, it is not the best commodity to use as currency due to its weight and difficulty to verify the authenticity of.

Thankfully, Bitcoin can solve all of those problems. It can't necessarily be confiscated if you manage your keys correctly. Possession can be plausibly deniable. It doesn't have the problems of transport, and it is trivial to verify the authenticity of. As a bonus, it is well suited to our digital age where much of commerce is conducted remotely.
Some good ideas in here for parents to consider. But take it with a grain of salt. Examples from other cultures where several children are the norm and parents spend more time in the home are ultimately not particularly helpful.

In the end, every child is different, every parent is different, every household is different. No approach works for everyone. My own 17 year old daughter, an only child, has always resisted most household chores in a stubborn passive aggressive manner in the same way I did as a child, but is also nearly entirely unmotivated by monetary rewards, very different from the teenage me. Also unlike me, she is entirely self-disciplined about schoolwork, and learned to do her own laundry years ago (I didn’t until I was forced to by going to college far from home). So my own experience as a child is no help, and neither are articles like this one. And yet I suspect she’s turning out to be quite okay in the end.
From the linked post

> Street addresses are among the more quirky artifacts of human language, yet they are crucial to the increasing number of applications involving maps and location.

The main goal seems to be positionning a point on a map.

As pointed out by the other comments, it’s fairly different from dealing with delivery addresses or legal addresses.

In particular it means parsing locations inside buildings (i.e. “3 appt of 2nd floor”, “Building 103 - code 17234, 34 foobar street”) with random info baked in for humans could easily trip it up and are not expected to either work properly.

Still looks like a pretty ambitious and interesting effort.
Which scheme are you using? Chez, chicken, guile and gambit all have pretty good debugging facilities, and a macro like chez's trace-lambda is a lot better than misusing print-debugging in most cases.

Nobody ever said most list operations is anything else than o(n), and if you are using lists you are probably using the wrong data structure. Vectors or hash tables would probably be a better choice (which are provided by all serious schemes).
Sometimes, they get added later on!
Honestly, hearing that a core contributor to React doesn’t know much of anything about basic engineering topics is disheartening, not encouraging.

Not memorizing the algorithm book is one thing, but being considered a “rockstar” when you don’t know basic sorting algorithms...
Interesting, and he makes me want to GEB.
Learn python for Data Science from scratch
Interesting perspective.

But that's often not the case: In India, Ola competes with Uber, Amazon with Flipkart, and so on. Some people say that network effects will lead to winner take all, but if I can get an Uber in 5 minutes and an Ola in 6, or an Uber for ₹80 and an Ola for ₹85, that's not a meaningful difference.

VCs also want big markets, but big markets are likely to have competition.
I did this in a module called decision mathematics at A-level.

This is a nice implementation of classical graph problems.

Stuff like traveling salesman etc. Dijkstras algorithm.

The bit I am missing is how does this help me solve a day to day problem?

how can this be applied in something modern other than say a shortest path / route finding algorithm?

I suppose it's a way to reach an end point most efficiently and that makes it useful for nueral nets which are essentially tree's with weighted edge values.

the easiest path through the tree is something you could find and that might illuminate a route to optimizing your "thing" whatever that is.

Am I getting the idea of this right or not? ....
He didn't mention it yesterday, but thanks for the pointer!
Execellent! Somebody was pissed enough with the HN-SJW-nazis flagging and banning participants in the recent SargonofAkkad - Patreon controversy.
I don't think the point here is that rationality is bad. The point is that the speaker should have acknowleged that there is something to be gained from thinkers who aren't old white men in the broadly-speaking European tradition.
Your anthropomorphized HN rings amusingly true and strikes me as a bit sad. I was here in the early days, and back then HN was full of people reading PG and planning their own startups. I was one of them, but (until recently) ended up settling in as a middle-aged white collar worker, with cash in the bank and self-congratulations for my focus on craft over money. I guess I'm not the only one.

I never found Bitcoin threatening though. When I finally read Satoshi's paper, it struck me as beautifully elegant, and a great experiment in practical economics.
Yes! it's amazing how ergonomic it can be when one focuses on typography and layout instead of cramming the page with complex and superfluous navigation menus and graphics.
Someone gets it, thank you.

Startups are high-risk, high-reward ventures which make less sense to attempt as you age. It's normally a good idea to start moving your assets into fixed income and other low risk investments as you approach retirement, the same risk aversion applies to your income source(s).

Making the shift to consulting, if done properly, actually lowers your income risk because you can't lose your entire income in one go. If you have 3-4 regular clients, the most any one of them can do is force you to take a partial pay hit.

That's why it's a good idea to consider this path and start laying foundations that could make it possible long before you turn 50. Even though many HN users seem to misunderstand it, this isn't a novel idea by any means.
The argument that governments aren't letting reactors melt down enough is a nonstarter. If nuclear proponents have to resort to that, you might as well give up.

I suggest instead pushing for designs that can achieve acceptable levels of safety at lower cost. In particular, molten salt designs, such as the one from Moltex, that allow the size of the containment building to be shrunk by a factor of five from that of an LWR (for a given power output). Moltex's design does not dissolve the fuel in the primary coolant and has other attractive features vs. other MSR designs.

Such designs are not on the market today, and will take time and money to bring to market. I think R&D on them is a good idea, and supporting that is a proper role for governments, just as it was for renewables, but they are still something of a longshot, given where the competition is likely to be in 20 years.
For an example possibly familiar in computing circles, Infiniband has easily-accessible counters to record transmission errors. In a properly-built system with hundreds of communication-busy nodes connected with copper, you see remarkably low error rates, even in comparison with the spec (maybe a few a week in my experience).
> The reality is that any SQL database would be superior to every blockchain unless your motives are criminal nature.

People in Venezuela and other political or economically opressed people around the world don't agree [1].

It seems you are wrongly extrapolating the context where you live.

[1] https://coin.dance/volume/localbitcoins
I am not to be a jerk with this comment but he spent 60k on an amplifier and 40k on his private power pole.

For that kind of money he could hire professional musicians to be playing real instruments in his living room.
Also Darkest Dungeon. But problem with DD is that though you may lose characters permanently, it is impossible to lose the game, as both time and number of new recruits are essentially infinite. Atleast in Xcom there is someway to lose the metagame, if enough countries withdraw support(I think), but in DD, it continues as infinitum.
Please note that "The Hacker News" is a separate site unrelated to "Hacker News".
Bulls$&t. I don't think a Software Engineer could even handle a helpdesk job without quitting within the first couple of days. I've been shadowing recently with a developer because I'm trying to get an Engineer 1 job, I've never been a part of anything so easy and relaxed in my life. Then I know they're getting paid 6 figures, live 5 minutes from work, have great full benefits, come and go whenever they want. They have all the workers rights everyone else doesn't have!

Most software engineers are not superstars, they're just trying to flex their privilege while bouncing around companies.

I don't think this is all engineers of course. There are brilliant engineers who deserve every penny and more, but there's a huge epidemic of techbros and people coming in straight out of boot camps who demand 6 figures and to work on large projects like experienced people.
In Amsterdam, the corn hole games are limited to a few car-free streets directly outside of the main train station.