skysight-inc/HackerNews huggingface dataset:
Grad students usually teach so that they are paid, but you're not required to. Classes are required in my program, but only a handful. Your mileage may vary by university.
Forza 7 proves that there should be no barriers to gaming
Is God to Blame for the Texas Church Shooting?
After 10 years of the same article over and over again I'm so bored. Or sick.
True, however some languages have much less 'sick part' than others. It is just unfortunate that we humans tend to pick up the worse of everything. There is some hope though. In recent years there are many projects trying to provide a better programming experience and safer, faster results. Rust, ReasonML for example.
For me it's exactly the same.
I use groovy to prototype small functionalities for the big Java application that I'm working on, but I will never consider to use it to build a full non toy-size application.
I use Python and Ruby for small scripts and I can't really see how people would ever want to use it for big applications.
The lack of static types is the problem.
For this reason I don't agree with the author when he says that OO is the problem.
While loving functional programming I think that a well executed application written in a OO language with static typing is not a nightmare to maintain.
You can write code impossible to maintain in Haskell and you can write pretty nice maintainable code in C#.
Probably I prefer the nice balance that you can strike with F#, even with the flaws that it has. (Typeclasses anyone?)
Google's Search and Youtube algorithms have encouraged the production of a deluge of low quality content and made it impossible to find high quality content. They are ready to be disrupted.
> but it is still the human that has to bend to the ways of the ...

... elder programmers. who would be called computers in olde times.

The real problem is symbolism, though it's necessary, because only in symbols can we express a wrong statement, while on the other hand you can't take an apple and another apple and have three in the end.
In the description there is "ozone 5"

Which refers to iZotope Ozone, that audio mastering software. Normally you would put in one or two timeseries (that is a mono or stereo audio file where the y axis is amplitude).

In this case the audio is mono, and you're looking at a short time fourier transformation (STFT) with the parameters as in the description, where the height is de magnitude of the frequency bins, and the Y axis (from right to left in the video) is frequencies from low to high, in logarithmic scale as is standard in audio.

https://www.youtube.com/watch?v=e3G2eHEnt7c here it is used on some music
Cloudflare use lava lamp to generate randomness
> (a) Why does paying $300mio to Twitter results in people getting killed?

Who claimed it did?

> (b) Why do you think your government/companies/people would do better?

What makes you think I think that?

> (c) What you should be proud of if you like free markets is that everybody with money and interest in a company can put their money in that company. In a non-free market like China you are way more limited with foreign investments.

Why should I like free markets as a primary value?

> (d) "Free" means everybody can do what they want. If you want to limit what people are doing you are not talking free markets. That's in fact a reasonable argument from the Socialist spectrum. Don't allow people to run around freely, harming themselves and each other. One really has to decide what one likes in that spectrum. Each direction has their own pros and cons.

If you want to limit my ability to erect a government that limits what you can do, then we are not talking freedom. Agree?
TVs and projectors should be an exception. They are always mentioned as an objection when this comes up, but I think there is no problem to limit resolution to certain devices where it makes sense.

"Non-technical" people don't understand why 1cm isn't the same on screen or printed out. They hold a piece of paper to the screen and are frustated.

That 12pt means something different on Mac than on Windows is also confusing - and the exact handling changes between apps. I think Word makes it so that the printed out size is the same (it has to be), but the displayed size is smaller. On my Mac, "100%" zoom doesn't fit a piece of paper, but "135%" does. On Windows, it is about "115%" for me. Other apps have subtly different behavior.

It would be really great for multimonitor setup if stuff would have the same physical size on each screen (and while we are at it, color! Even a very basic per-model color calibration would be better than nothing). It would be really useful if you could display something at an exact scale on a tablet, and maybe hold a real ruler up to it.

I understand why this stuff is hard, I've worked a bit on related things myself. And to be honest, most people won't probably notice. But I still think it would be a good usability and ergonomics improvement.
MS still gets a lot of flack, but F# is nice imho (as is F* for the crazies like me by the way) and is getting better and better with the open source, Core etc. But for 'normal' environment, C# also just works a lot better for teams in my experience than something like Ruby. It might be just taste, but I did large projects in both and C# (also F#) make me sleep at night, while somehow the RoR stuff always needed constant attention (lot of breakage after security related gem updates etc). Nice if you have the people and need for that kind of thing, but a lot of what we do is set-and-forget (at least for a few years) which .NET allows generally. The only thing I don't like yet about the .NET dev experience is the lack of tooling, especially on Linux. But that's rapidly getting there, and is open source under a good license for the most part.
I can't change how integer division works globally by requiring a module in JS (as per the example in the article)

JS has its own problems, but Ruby makes it extra easy to shoot yourself in the foot
Experimenting projection mapping in React
I spent almost one year in a company where my situation was very much like yours right now. I was constantly frustrated and wanted to quit, but I couldn't because of several reasons. I noticed that such frustration was negatively impacting my work (although no one noticed/cared) * AND * my life outside of work. Once I had that realization, I decided to put an end to it and here's how I did it:

I started using a time tracker. I noticed that if I truly focused, I was able to get all my work done in 3-4 hours instead of 8 hours in a workday. This was amazing because every day, I was done with what was expected from me by the lunch hour. As you would expect, I kept this a secret. Once again, no one noticed anything abnormal as I was delivering with the same pace.

Every lunch hour, I'd quickly eat my lunch and practiced Spanish for 30 minutes. This bumped up my spirits me because I was having fun while learning something new. The next 3-4 hours, I whole-heartedly dedicated the time to sharpen my skills. I was basically reviewing fundamentals, practicing for interviews, and was keeping up with new research in my community. Once I realized I could move, interviewing and leaving the company was very easy.

In hindsight, I think the shift in my mindset occurred after I stopped caring about my then situation and started focusing on where I wanted to be.

I'm in a great place now, but just so you know - the politics, vague requirements, and deadlines still exist :)
No need to. For anybody who's read the Snowden leaks it's 100% plausible that the NSA owns society through hardware backdoors.

Conclusion: We need 100% open-source hardware ASAP if we're to become a sane society.

Edit: Anyone remember the "Intel inside" trademark [0] which was supposed to add (marketing) value to any PC which was allowed to carry that label? Well, today it's clear that this label actually stands for "Intelligence community inside".

[0] https://www.intel.com/content/www/us/en/trademarks/intel-ins...
Although I really like elixir, I thought he asked for something with static typing?
Is anyone aware of any attempts/plans to bring CSS-grid style layout to React Native? Either officially or through some library/plugin.

I'd love to try out Grid on the Web side of my app, but it's hard to justify if it'd mean I have to maintain a separate Flexbox-based layout for the React Native side anyways.
saying that all languages have issues is definitely painting things with a broad brush. Why would I want to use an unmantanable slow language when I can use a fast maintainable language.
my sense is that ruby has a perl problem. yes, you can write very beautiful things in it, and if you follow the idioms you're generally safe. but there's way too much rope to hang yourself with, too much "magic", and no way to reliably refactor large codebases. As a language, it doesn't scale well into "programming in the large" unless you really know what you're doing, and most frankly don't.
amoral, not immoral

but even then I disagree, just look at the life expectancy of the billions of people under capitalism.

Milton Friedman - Is Capitalism Humane?

https://www.youtube.com/watch?v=FHPI1emZFVg
> The same way that blind people do?

Color is a stand-in for any subjective (or creature-dependant) sensation, which would include sounds and feels. Remove those and epistemology collapses.

> I'm curious: what is a concrete answer that you would find satisfying? Even if it's unrealistic, or would only work in a different universe, what sort of answer are you looking for?

I have no idea. How to explain the subjective in terms of the objective? Why does such a division exist? It's a deep metaphysical question.
What we learnt building a library of reusable Angular components across squads
Implying opensource cannot contain backdoors for years. https://arstechnica.com/information-technology/2010/12/fbi-a...
I can see the value in minimising the number of languages you need, and you're already constrained by the client, but I take your point. Node is an abomination, noone would choose it freely.
It's a very approximate list! But since you mention it.. the migrant issue is an outlier I think. It's shameful, but an outlier (I'm Australian btw). Generally we mostly do a decent job. Manus Island makes my blood boil, but we've spent billions trying to stop the solomon islanders killing each other too (RAMSI). The aboriginal health crisis is actually worse IMO, not that it's in the news.

I put Japan there because of its more or less systematic discrimination against people of korean ancestry, lack of support for the economically disadvantaged (eg. freeters, NEET), generally outdated attitudes to women and of course their 99% conviction rate criminal justice system. But honestly, you could make a case either way. Japan's not a bad country in aggregate.

I had to think of something!
Tools for React Native App Development: Expo Review
Ask HN: What is the difference between investing and gambling?
I've been pondering over this question for a long time now. I've discussed it with many people already and have gotten a lot of interesting and sort of valid answers but yet I still don't have a satisfying resolution. With all the hype about bitcoin, ICOs, VC, etc. I feel like the line between gambling and investing has become really blurred and I would like to get a more solid grasp on this.

Because nearly any gambling can be seen as an investment, just a really bad one with known odds if you play in the casino for example. In contrast, any investing done can be seen as gambling because you make a bet on what you think the future will hold. This is especially true in venture capital (moonshot bets) and contrarian "investing" (bitcoin, black swan funds, etc.).

I'd love to hear what you guys think is the difference between gambling and investing and spark some discussion.
> nobody knows exactly how it works.

That's either plain nonsense or trivially true of all css, depending on your definitions.

Flexbox really isn't all that confusing or hard, and it does more than table layouts ever did.

Separate flex-grow and flex-shrink are needed for the same reason there's a min-width and a max-width property. flex-shrink defines if the element is allowed to shrink, and how much it does when needed. flex-grow defines if the element is allowed to grow, and how much when needed. The reason they are unitless values is because they are used to calculate ratios.

I agree that there have been some dubious design decisions, but if you really need to do a table cell with a flex-flowing content you can always stick a wrapper div in the cell.
> After Facebook didn't sell to Yahoo, they lost their entire management team.

Do you have a link where I can read more about this?
If humanity wants to improve the net balance of human rights, what better way than to reallocate available financial capital away from regimes that subscribe to undesirable religious dogma, and toward a new generation of leaders who believe in progress through the erosion of ignorance, by creating platforms of empowerment and enlightenment by means of a freer flow of information, via digital channels that transcend obsolete political and cultural borders. If the Saudi agenda is to propagate Islam, then the internet is a terrible thing to invest in.
I switched from Ruby (after ~8 years) to JavaScript at the beginning of this year, and Ruby is a dream in comparison:

- Thanks to the proliferation of Rails and similar frameworks, most Ruby apps at least have something that resembles an MVC structure. With JavaScript, once you move past the basic TodoMVC examples you are pretty much on your own. It gives you enough rope to hang yourself, all you colleagues, and everyone in the building next door.

- The expect vs should change in RSpec is nothing compared to how fast things are changing in JavaScript. I think there are now 7 different ways of just defining a module.

- The stdlib of Ruby is pretty sensible. JavaScript has many inconsistencies (take Array.slice vs Array.splice - one modifies the original array, and the other does not), and you usually need to rely on third party libraries, or write the code yourself, to do pretty basic operations.

- The JavaScript community seems to have the opposite of NIH syndrome, so that even basic functionality is offloaded to a third-party modules (see leftpad). The project I'm working on has over 1000 modules in it's dependency tree.
missing in title: [2014].
Though I've heard the same things a lot longer than that anyway :)
> so many programmers breaking up everything in useless classes and methods/functions/whatever just because someone wrote a blog post about doing so. This just makes complicated code look simple at a glance

Thank you

I've seen people create classes containing only a string or a list/array of other (existing) objects, it's not even funny anymore.
I can speak of theoretical computer science: if you have work that is worth publishing (as evaluated by your peers), then yes, it is possible to publish without any affiliation. I would be very surprised if a good result is rejected just because the author is not affiliated.

(Indeed, it is possible to get published even if you have negative affiliation; see: http://insa.nic.in/writereaddata/UpLoadedFiles/IJPAM/20005a2... )

The operative word in the first sentence above is "if". In my opinion, unless you are in the Ramanujan or Erdős class, then it is highly unlikely that you come up with a publishable manuscript on your own. Briefly put: you need a lot of "context" to be able to do publishable work, and you are unlikely to get this context unless you interact with the research community.
If we extend our timelines then all of the European nations would go to the top.

Late 19th century unbridled mercantilism killed millions

https://en.wikipedia.org/wiki/Late_Victorian_Holocausts
The more you delay the upgrade, the more painful it becomes in the future.

At a previous workplace we had to go from React 0.13 to React 15. We had to re-write, fork and patch, or get rid of entire third-party libraries. There are no stepping stones in the JS ecosystem that let you do gradual updates if you are several versions behind.
100% code coverage of behaviour you care about should not be a myth. I think the qualifier is implicit in most cases.
am not sure exactly what operations xmysql allows but in the context of PostgREST (which is similar) the advantage over your method is that it does not allow "any query", thus, you can safely expose this api to the open web, while in the method you propose, i can run this query (i need zero db permissions) and kill your db

SELECT
crypt(
encode(digest(gen_random_bytes(1024), 'sha512'), 'base64'),
gen_salt('bf', 20)
)
FROM generate_series(1, 1000000)
So if switching to AMD is NOT the solution, what is? ARM?

For your portable needs there is: https://puri.sm/posts/purism-librem-laptops-completely-disab...
Can you show me the list of President Trump's human rights abuses ?
I tried Tokbox and vanilla WebRTC (using SimpleWebRTC), and I'm still not convinced there are any benefits to the paid services (oh, they provide out of the box signalling? that's nice, that's a one-time cost, along with setting up your own STUN/TURN servers). It's like using Red Hat Linux enterprise edition instead of the free Ubuntu (or should I say, CentOS?).

The thing is, these SaaS companies that simply wrap WebRTC up and sell it don't take you very seriously if you are not a big client. It's pretty frustrating when your customers have issues, and your only interface with a black box is through T1 support who is just asking you to do stuff you already know to do because it's on their script ("have them refresh their page") rather than actually fixing the problem.

With SimpleWebRTC, it's a bit more work, but I'm able to actually dig into issues myself and fix them whenever my customers have problems. Tokbox is more for someone who doesn't want to take time to grok the contents of the linked article and who has a large enough budget to pay for their enterprise support.
If you haven't discovered issues with your language of choice then you haven't used it enough
I find it a little absurd and obscene that Apple users will have to code free software projects for the sole purpose of satisfying basic user needs such as creating a bootable ISO. At some point it makes sense to leave the abusive relationship with apple and switch to an FOSS OS.
> TVs and projectors should be an exception.

No, they are just extremes making the point unmistakably clear, if you decide they're exceptions you just refuse to accept the issue exists at all.

The exact same issue exists going from a smartphone to a tablet to a laptop or desktop computer, just to a lower degree. If you're not solving the issue such that it works from a smartphone to a projector, you're not actually solving it you're just providing one more bandaid, of which we already have plenty.
I agree with this definition, but nobody mentions this qualifier, quite the contrary
Yes, but there are two risks to that:
1) the conventional explosive detonates and it's similar enough to "normal" operating procedures to create critical mass and the nuke detonates

2) the radioactive material is spread out over a large area, contaminating

neither are as benign as an ordinary explosive of any yield, and I'd rather not risk any of that, at all.
You need sensory experiences to bootstrap your way to abstract concepts. Shape has no meaning without objects. Justice has no meaning without human interaction.
Try Shardik too, his next work.
I was in a similar boat as you many years back. Did not get CS at the older IITs, I was too interested in coding and entrepreneurship to be super involved in JEE.

I persisted and got an internship at a top CS place in India. Ended up publishing more research than most PhD students in just a year. And got admitted to all top 5 CS programs I applied to. Was advised by a very well known professor in grad school and even published with one of the grandfathers of machine learning.

I now mentor several undergrads who are going through the same phase. I think just partnering with the right professor helps. Having a vision helps. Most research students just blindly follow whatever the professor tells them to do. Being able to think independently really helps; most of my classmates who ended as Professors still crave for such students. And find it hard to encounter such folks.

To repeat, independence and persistence. You will make it. Good luck!
Node is "Stockholm syndrome". Since you have to use JS for the web if you want to reduce code duplication and the number of languages you use you have to bring it on the backend.
You are right for projectors and TV screens, but otherwise I think I disagree.

Paper also doesn't take viewing distance into consideration.

If my screen is 80 cm away, and my colleague's is 60 cm away from him, should things be smaller in pixels on his screen? What if I walk up to his desk? It would be really hard to compare sizes. The thing is, the brain already corrects for optical forshortening. It's normal that things that are further away use less arcdegrees, or space on the retina.

Now we might be talking about different things. Sure, text in a book or on a phone can be a bit smaller than on a screen further away. That's a large-order effect, effectively you are using a different stylesheet, or viewing a different document. What I and other resolution-independence proponents are talking about are small effects, when viewing the same document on similar devices. A multimonitor setup, a large tablet, your colleagues' screens. In all these places, you should be able to hold up a ruler and have 1cm=1cm.
Sensational pseudo-journalism making an issue out of nothing. There will rarely be a company that has the luxury to turn down funding on some misplaced moral high ground. Should we enact an embargo? Sanctions always work, right? Or at least they make the poorest inhabitants of the country suffer (see NK, Cuba, Yemen).
But just because it's easy doesn't mean it actually happens.

My time is pretty much 50% Ruby, 50% JavaScript. "stdlib can be patched to do random stuff" is a complaint I've often heard about Ruby, but in practice, I've encountered it precisely once in the last five years (extlib breaking with recent Ruby because of a to_h conflict, IIRC). I've lost way, way more time than that to JS idiosyncrasies.
"Infantry tank" was my mistake. Those things only existed around WWII. Regardless any modern tank, infantry fighting vehicle etc. has single man controlling both speed and direction.