skysight-inc/HackerNews huggingface dataset:
I love generative art, so I quite often run into things like Lorenz attractors. I looked up how they are made and that lead me to differential equations which lead me to better understand calculus. So my love of pretty graphics lead me to learning math with a purpose.

I haven't won any awards yet.
Agreed, these strategies might help people who already possess a certain level of conscientiousness and these are merely the strategies they use to maximize their results.

At an even deeper level, it ignores the deep motivations that drive people. Especially for people who are low in conscientiousness like myself, they need a deep existential reason for pursuing their goals. Merely setting up a goal I think I want and then working toward it isn't sufficient to drive me.

It has to be tied to a sense of meaningfulness toward my life (e.g. I'm not depressed or nihilistic), actively policing my negative self-talk, questioning my sense of paranoia or bad intentions in others, feelings of gratitude, etc.

I find if these drivers of my behavior/psychology are fixed, the other stuff just "snaps" into place.
Hey guys,

Zeeshan from HugoBot here. Most of my time while I am prototyping something, working on some project or just want to tinker with some snippet to see the output, I had to go through the hassle of saving the script, opening my terminal and running the code from there which was a little time taking and annoying if you have to do that a lot. So I came up with this idea to build an extension for VS Code that can run my PHP code on the go and show me the output right beside my code without ever having to leave the editor. Hugobot allows me to run my code and see the output right beside the code, all I have to do is just hit some keystrokes and the output will be shown.

I have been working on the product for the past couple of weeks and I am excited to share it with you all. I would love for you to take it for a test drive and leave your comments, feedback, feature requests and questions here. Happy to answer any questions that you might have.

PS. the extension is only available for VS Code currently, but our team is working hard to make it available for the other editors and IDEs - you will soon be able to use it on Sublime Text and IntelliJ. Stay tuned!

Thanks
Leaded gas was a big one, AGW denial is a big one.
I don't know if this is his reason, but at the price range of a Chromebook I assume all Windows notebooks are crap and Macs are non-existent.
cancer/bleeding out/religious martyr
Grandma "I can feel his warm light on my body!"

cancer/coma
Grandpa "I am sorry for all the things I did (as a Nazi)we where just fighting for our rights and lives."

cancer/coma
Grandpa 2 "Y'all talk to much." joking

cancer/coma
Cousin 1 "I fought as long as I can don't cry it's all cool"

sleeping pills/instant
Cousin 2 "Fuck this world and fuck you're gods" heard over the internet

old age 102/stopped breathing
Great grandma "(I have seen a lot of stuff) I'll tell you more tomorrow right now I'm tired."
Even if if you don't roll your own code, knowing how it works is still important. I see cargos cult code far too often.

Granted that you only need a vague idea about the algorithm. But going from a vague idea to working code is also a valuable skill.
Is there some way I could try ChromeOS on my regular PC? Inside VMware or natively.
I can tolerate anything except the outgroup (2014)
Taiwan Prosecutors Claim Bitcoin Traders Ran a Crypto Scam Worth $51M
GitHub API has a good Python wrapper, it is usually not too difficult to roll your own. In this sample you can probably get the file list without a Git repo checked out at all. The key is to make every event from GitHub feed into a "reconsider_pr" function that refetches all info on the PR, rather than keeping state and trying to minimise your API requests.

However it looks like you could build this out of combining bulldozer & another bot from palantir, if you really want to go no code.
You could also look at JavaFX. It's very modern but also has the sorts of controls you may need for complex apps.
MIDI 2.0 Prototyping announced
But is it actually any easier given you have to also factor in going through their painful recruitment process and actually getting employed by them in the first place?

Maybe my things are different in London than they are in SV but I've never had any issues. Quite the opposite in fact; I've been turning awesome jobs down.
"In the latest teacher strike in Los Angeles, the nation’s second-largest school system, some 30,000 teachers walked off the job saying unchecked growth of charter schools and charters’ lack of transparency and accountability have become an unsustainable drain on the public system’s financials."

That's odd. The union's own release[0] states no such concern (beyond an offhand mention to charter co-locations in bullet point #5 of 7).

[0] https://www.utla.net/news/utla-will-strike-monday
I”m glad you added this and want to add further that GP’s impression is less than a decade out of date.

The price of a whole genome sequence has fallen dizzyingly fast, faster than any technology of which I’m aware. We’re close to the point where it’s priced like any basic blood test. Exciting times.
Drag queen or delivery driver: What's your 'side hustle'?
Bloom filters! B-trees!

There are MUCH smarter ways to implement this than grepping a list line by line. I mean seriously who the hell would do that... If your bio isn't complete BS then surely you understand that proposed implementation is BS.
UT1 is a disaster for many purposes. It is, quite simply, a measure of the Earth's current angle in space. This is ideal for pointing an Earth-based telescope. Trouble is, we can't reliably predict how fast this will tick. You may think leap seconds are bad, but how about if you simply can't know the current time without having a current measurement of the position of quasars in the sky? The length of a second isn't even constant.

TAI matches up with the atomic second, and UTC is that plus enough leap seconds to approximate UT1.

It all sucks, but this is reality. You can't fix reality. You'd have to tell the Earth to obey an atomic clock.
My tin arse Cnc mill I made has stop switches. Probably the cheapest part of the whole thing and saves it grinding itself when you balls the code up :D
Lightweight but still STL-compatible unique pointer
You can do hot reload for a long time with Java already. Go download TornadoFX and experiment with its hot reload functionality to see what you can do. This is definitely not a feature invented by Dart. From what I recall when I last looked at Dart/Flutter it doesn't have any new features not previously seen elsewhere.
So is this a way to help reduce the risk of leftpad type problems in NodeJS?
https://www.theregister.co.uk/2016/03/23/npm_left_pad_chaos/
There are three techniques in play here: Sequencing, fingerprinting, and SNP sampling.

You have described sequencing and fingerprinting. These services use SNP sampling.

Sampling has been described several places in this thread so I won’t repeat that here;
> Julia is even slower

Huh? This has definitely not been my experience -- most of the things I've ported over seem to run about twice as fast in Julia as in the original vectorized Matlab (and probably more like 10x faster than naive non-vectorized Matlab)..
Somebody might have flagged it, or it was a moderator.

That's why I generally read HN through http://hckrnews.com/, they show all frontpage items sorted chronologically.
Would be a pleasure to hear your feedback and questions. We have a bold mission, but sometimes big dreams come true. Our in-app Intercom chat is a good place to drop us a line <3
Automatic type deduction is not the same as dynamic typing. There are still types and you still get compile time errors if they don't match.
> Wouldn't it be better to hire somebody who thought that was lame and who spent 100s of hours learning performance testing, new libraries, design patterns, or just working on projects?

I would hope so, because I do all those things and, after over a decade writing software, find the ability to solve puzzles almost completely useless for most coding I've ever done. But reality doesn't need to make sense. So, if you want to work for Google or Facebook, learn puzzles anyway :)
That hasn't been my experience with Rust at all. Autocomplete never works.
IQ: Still the Best Predictor of Upward Mobility
Program Typing – Cliff Click's Blog
Ask HN: Is it possible to create a new social network of the size of fb/twitter?
What would it take to overcome their network effects?
You should check out JavaFX. It has a full set of cross platform widgets, can be styled with CSS, is hardware accelerated with Direct3D on Windows and OpenGL on Linux/Mac. You can do arbitrary 3D transforms of any part of the scene graph, but it also has sophisticated widgets like table views, tree views, CalendarFX, etc. There's a Material Design library for it called JFoenix. There's a visual GUI builder for it. It can play and stream hardware accelerated video. The entire toolkit is designed for reactive programming, there are libraries like ReactFX that go further and add the very latest and most advanced combinators. It's fully open source and developed on github.

It's really not that bad but the world seems to ignore it.
I was a bit astonished at first because my brain read "Bernie Sanders"
It's clickbait; they don't say it, they imply it. It is said that Google employees were "told" to "stop" using the word after complaints. No context; it conjures up the image of people being censored and oppressed in their everyday activities. In reality, "VP Pavni Diwanji ... told staff to be more conscientious about referring to family" in the context of product advertisement for children, which is absolutely reasonable since the word "family" means different things to different people. And, well, the article is garbage in many more ways than I'm willing to discuss further.
No, organic regs in the US are not at all equivalent with Swiss Bio regs.
oh sweet, thanks!

If it was flagged I'd still see it, no? (I have that enabled)

edit: now it shows as [flagged] [dead]

edit2: and back on the front-page again, thanks for undoing this mods

edit3: now vanished (even from "new"). weird mechanics or a mod-battle :) ?

edit4: I'll take the down-votes with pride
I agree with you that my gist demonstrates "table stakes", but I think that is the level of tree traversing most interview questions require. I don't think any interviewers are asking people to implement distributed algorithms like the one you linked. They are asking for algorithms that just combine a few of the basics. With that said, I'm inclined to believe our fellow commenters are arguing about the utility of what I shared. For example people siding with me gave examples of finding the biggest file in a file system and constructing a dependency graph to refute the idea that tree traversal are useless and mentioned that there isn't any "deep understanding" in BFS because it's so simple. It reminds me of the tweet by the creator of Homebrew[0] about not being able to reverse a binary tree that so many people bring up when this topic arises. To me that's just table stakes.

On the topic of my example not constituting "knowing BFS", the BFS I shared is just a slight modification of what most students are taught and is close to the second method for level order traversal of a tree on geeks for geeks[1]. If you don't like the BFS usage because it isn't on an explicit tree (although nested HTML templates most definitely form a tree), the result of parsing an AspxFile in my gist returns an explicit tree data structure[2][3] and the helper method[4] at the bottom does a standard preorder traversal[5] on that linked structure. That feels like "actually using DFS on a data structure".

[0] https://twitter.com/mxcl/status/608682016205344768?ref_src=t...

[1] https://www.geeksforgeeks.org/level-order-tree-traversal/

[2] https://gist.github.com/tohsa/2d906942f8712abdfc7df72128479c...

[3] https://github.com/PositiveTechnologies/AspxParser/blob/mast... (AspxParseResult has a reference to the root AspxNode, and btw I didn't write this parsing library)

[4]https://gist.github.com/tohsa/2d906942f8712abdfc7df72128479c...

[5] https://www.geeksforgeeks.org/dfs-traversal-of-a-tree-using-...
I only skimmed the github page, but this seems to be more of 'what the author commonly uses' rather than what you'd normally expect of a standard library. For example, I'd expect that many of these features be more in a separate dedicated library rather than the 'standard':

- 40+ PRNGs (You might want one or two, but do you really need so many varients?)

- Plot API (Definitely more suited for a separate library)

- 50+ Sample Datasets (Often useless and a lot of wasted space if not used)

- Native BLAS Interface (Extremely niche usecase)

Edit: To be fair, it does say right at the very beginning "with an emphasis on numerical and scientific computing applications". So they are upfront about it, but the library name and HN submission name are confusing because they don't make this obvious.
I'd suggest either Lazarus (Free Pascal) or Visual Studio (VB.NET/others).
Hey that’s really cool I’m going to have a play with this. Thanks
Tesla drastically increases Supercharger prices around the world
Would it be possible for TS to skip JS and compile directly to Wasm? Would that bring noticeable difference? At least for mobile browsers?
So tons of open source contribution in relevant areas with quick high-quality, low-bug-count, beautiful code check-in and demonstrated knowledge in breaking down problems into sub-problems and come up with elegant algorithsm? (something you can see in the field?)

Some analogies make sense, some probably don't map well.

Google prefers to hire Devs with strong CS foundations because they assume these Devs can contribute in many areas.

If they were only to hire someone based off something that they've done before and excel only in that area, they'd be like other companies who only hire selectively based on specific skill-set (e.g.: Java Dev, or 3D/game devs).
This is all very cool stuff of course. Somewhat tangentially, I wonder if, collectively, a lot of recent developments such as WSL and crostini push the year of the linux desktop even further out. A new generation of people will experience traditional GNU/linux as we know only in the context of walled garden setups like windows, chromeos, and android (samsung dex I think has something similar). Objectively, this is an improvement by most metrics. However, it also means that this will be good enough for most people. I'm worried that it may lead to even fewer resources and exposure to full blown linux desktops. Canonical has also shifted focus away from desktop.
It's about having control over your life. If you have to work it sucks.
My objection to putting toddler pics on social media is that we ask friends and relatives if it's OK to post photos of them, but by the time a child is old enough to give informed consent it's too late.
Same for when I studied Electrical Engineering - we had analyzed circuits, and solved diff. equations the lengthy way, often times a real pain in the ass (the more complex a network was). Then in our electronics class we were introduced to Laplace transforms, and it almost felt like cheating.

For some reason, we got the formal introduction to transforms (Fourier, Laplace, Z, etc.) the semester after in our calculus and diff. eq classes, but method was simple and intuitive enough that anyone with Calc 1 could jump into it - at least for the application of electronics.
This reads like a creepy pasta.
See also the open access paper:

http://delivery.acm.org/10.1145/3220000/3211335/lctes18main-...
I dont know if I would follow the argument as sugar being an addiction, but I do agree with your description in general and the accountability when it comes to beeing addicted. To be frank, if you dont want to consume a substance any longer, dont look to your dealer, look at yourself.

Some people might find that a bit offensive, but its not really a moral argument but one of self determination. You chose to consume something and you choose to continue to consume that substance. The fact that it is a lot easier to start and to keep doing it then it is to stop, doesnt mean that you dont have a choice in the matter. The ods being stacked against you doesnt rob you of, or relieve you from, your freedom to choose.

If I understand the the concept correctly, Alcoholics Anonymous is partly to blame here for that mindset, with the focus on your powerlessness. But if you want it or not, it still is your choice, not an easy one and not one with a right or wrong answer, but ultimately your choice.

You are fundamentally not an object at the mercy of your circumstances, as easy as life would be that way.
On overnight "engineers": https://www.cs.utexas.edu/users/EWD/transcriptions/EWD11xx/E...
What I see posted here is light-years more readable and more pleasing than what I see at the author's site[0].

[0]: http://www.catb.org/~esr/writings/taoup/html/
There was no push back because it benefitted them.

By villifying fat, they were able to remove naturally occurring fat from whole foods and turn it into new products to sell consumers.

The public didn't stop consuming fat, they continued consuming fat but it was spread across a greater variety of food stuffs.

An obvious example is skim milk, it's practically water. They don't throw the fat away, it goes into other products like cheese, which people who drink skim milk also buy and consume.

Sugar didn't replace fat in the diet, it displaced fat from some foods, then more foods were added to the diet containing the displaced fat. Sugar just joined the party across the board.
This is a perfectly valid criticism. What I objected to was the low effort snark in the original comment.
Costco sells its rotisserie chickens at a loss.
I can't wait until they invent a magic machine to turn numbers into pictures!
That has the overhead of initializing the entries (which may or may not be necessary).

Apparently you can prevent this by using custom allocators, which might be a fine solution but makes the code look less idiomatic.
Agreed, it's easy to tell there are only a few scenarios where it's actually used.
Looks like more of a programming language than a list of commands like g-code. That's not a good design in my opinion. I mean do you expect CNC machines and CAD programs to embed JavaScript interpreters? Or does it export to g-code? In which case it isn't really an alternative.
Well soccer have head play and hockey has a lot of full contact. While probably not in the same league - we should probably monitor.
Securing a neurosurgery interview
Very fun read, it contains just the right amount of detail to stay entertaining without getting bogged down in minutiae.
Neat concept, wonderful execution, and beautiful presentation. Now if only the entire web could follow suit.
I'd love a version of Half-Life (using the original engine) with this, that's for sure.
That's terrifying. The IT section of their business continuity plan must be empty beyond "don't get kicked off WeChat"
How good is the Virtualized Linux Environmen for developmentt? Can I run stuff like Docker on it?
Show HN: Tensorflow Image classifier post for newbies
It keeps me up to date on what my colleagues and competitors are interested in and working on. I often find great new papers by discovering their implementations first.
Hi guys,
I wrote my first blog documenting how I set up an image classifier using Tensorflow. I plan to use this blog to document my ML learning journey. All feedbacks are welcome :-)
> In some industries knowledge of algorithms can be more valuable than knowing a myriad of frameworks that change every few years any way.

This is exceedingly rare... so you wrote a HashMap implementation in Java?? None of the custom maps discussed [here](http://java-performance.info/hashmap-overview-jdk-fastutil-g...) were enough? It must be a really rare problem you're working on if there's no library that provides an acceptable solution for it in Java.

> I would rather work with someone who knows how neural networks really work rather than who knows pytorch or keras

I would rather work with someone who knows general programming (which is not the same as algorithms - there's so much more to it!) and software design... but if working on a product that uses a framework heavily, good knowledge of that framework can be the difference between getting things done in minutes VS weeks (of painful and time-consuming battling with the framework to do thing the way you think they should be done, rather than how it's done within the framework).
Actually it seems like motor skills are a part of neuro-surgeon evaluation - https://www.bmj.com/content/355/bmj.i5976

There is also an experimental virtual surgery simulator for objective evaluation - https://www.ncbi.nlm.nih.gov/pubmed/26153114
It lacks blockchain technology. Given the development cycles in play for such consumer products the blockchain support will probably come two weeks after bitcoin disintegrated.
It's interesting to me how many people value personal projects. From my personal experience, a confusing Github account with a number of small, questionable projects pushed in one commit half a year ago hurts you more than helps you. Personal projects are fine, but I think many people have the mentality of "getting a TODO app in Angular will help me waay more than implementing algorithms in C, that's useless!" which may not necessarily be true.
I guess the question to ask is, whether the next social media behemoth will be able to slap people through the phone?
Your source does not support your thesis. All of the professions with the lowest rates of divorce require high levels of intelligence but they’re not all very well paid. Clergy certainly aren’t and veterinarians generally have other, much better paid options. Looking at the low end of divorce professions it looks more like a combination of intelligence and systematic thinking being protective against divorce. The only people on the list that might not have degrees are Military Enlisted Tactical Operations and Air/Weapons Specialists and Crew Members and Graders and Sorters, Agricultural Products. I’ve no clue about the second but the first seem very likely to be the kind of people who do very well on the ASVAB and get assigned to nuke tech or aircraft mechanic.

The highest divorce rate professions aren’t particularly well paid by any measure but there are plenty of other professions with lower pay and lower divorce rates.