skysight-inc/HackerNews huggingface dataset:
> Who wants to do the NodeJS, Python, Go, Rust and Haskell reimplementations?

I already requested as issue[0] Python port. In comments to this issue some user give me link to `aafigure`[1,2] project, that available as plugin[3] for AsciiDoc too.

[0] https://github.com/dhobsd/asciitosvg/issues/10

[1] https://launchpad.net/aafigure

[2] http://pythonhosted.org/aafigure

[3] https://github.com/hwmaier/asciidoc-aafigure-filter
Kinda a straw man, though. If you're of the crowd that thinks the government should legislate the 2nd away, then sure, you should take Greenfield's words to heart and have a good think.

But nowhere does he suggest that a constitutional amendment to repeal the 2nd would be a bad thing; he doesn't even touch on the amendment process at all.

(Also I don't get where he's saying that conservatives love the 1st and second, liberals love the 4th, 5th, and 6th, and they both hate what the other loves. I have a dim view of the 2nd but I'm pretty happy with the other 9. It's kinda ridiculous to suggest that liberal are against the 1st.)
I am working in tech sector as a software developer and also do a little marketing/consulting. I use cannabis to boost my creativity and it also helps me calming down after hard days of work. Of course I drink coffee in the morning and until afternoon, don't know many people who don't do at my work. I smoke (e-cigarette) and many colleagues do, too.

When partying I like to drink (beer, wine, cocktails). So pretty normal in my opinion and nothing to hide for in 21st century.
I'd do something similar for the item types, although instead of a floating IsUsableBy() I'd make it a member of the Player (or probably Creature, with Player deriving from Creature) so you could go player->CanEquip(item).

I also think trying to squeegee it into the language's type system is the wrong approach (for this specific problem, I mean - I'm not saying there aren't cases where doing it in the language is useful) purely because we're going to want the art team to add more monster types and player types, and to be able to change the rules for attacks and damage and soforth quickly on the fly to try out new game mechanics. We're going to want it all in data very soon, so it'd be better to just jump straight to a data-driven design.
>That's probably because I change computers/browsers regularly, and having lost all my bookmarks years and years ago, I stopped using them.

Something similar happened to me, so I started storing my bookmarks under revision control. I don't add to them too often, so committing & pushing is a process that reminds me to not bookmark things unless they're _really_ interesting.

https://github.com/skx/bookmarks.public
Him and Hulk Hogan got in a tag team fight versus the online version of a supermarket checkout aisle tabloid. And won! That's pretty cool I guess...

I agree the obsession with the guy is weird, but then the entire cult of celebrity thing never really made a lot of sense, imho.
I use a state machine for text

https://github.com/BurntSushi/fst
Guess i'll continue not using skype then.
Inheritance vs. std::variant
Talking to some programmers the last year I was surprised that state machines was unknown. In embedded systems, and esp in HW design (FPGAs and ASICs) you have state machines everywhere controlling the behaviour of the data processing (the data plane) part of the design.

I first started to really learn about finite state machines (FSMs) during compiler class. The parser in a compiler for example is a FSM. Tools like Bison generates FSMs based on state rules. And in general as programmers we write code to parse stuff all the time. So how can FSMs be unknown? I'm a bit baffled.
Minecraft. Redstone and commandblocks. Later set up a server that allows for plugins to install (spigot). Then install the javascript plugin and the kids can manipulate the minecraft worlds with javascript. Show them all the plugins available and they'll become annoyed with that one plugin that does not quite do what they want. And start to write their own. My 14 year old nephew is now writing a Harry Potter world with the spells and wands, in java.

But the most important thing however is to keep it fun. Let the kid choose his own path. ("Eclipse?! Really?! But Vscode is.... Oh well ")
One big issue common with autism is blindness to body language, which apparently comprises 90% of the (in-person) communication we do.

Does anyone know if there are courses one can take to learn how to recognize and produce correct body language?
How to Replace an Else-If Sequence with an Elegant Ternary Operator
Looks pretty cool - do you have any plans to support subsites other than enwiki?
No JavaScript support but for nice finite state machines in C, C++, C#, D, Go, Java, and Ruby there is Ragel:

https://www.colm.net/open-source/ragel/
I wouldn't have thought to be in the minority when stating that I actually read a lot of foreign code out of curiosity. Especially when dealing with architectural decisions, I like to dig into codebases I consider to be good and professional (a rarity in the professional/proprietary development world unfortunately).
For instance, reading the chromium source code or mozilla for that matter, give you a lot of good input since both codebases are sufficiently complex and deal with a lot of layers and stacks.
Scientists use an Atomic Clock to measure the height of a mountain
The paper on it can be found at [1]

[1] "Geodesy and metrology with a transportable optical clock" https://www.nature.com/articles/s41567-017-0042-3
> The only real difference between a mentally ill homeless person and a normal mentally ill person is the home. Why wouldn't a stable home be the answer?

if the mental illness is as serious as schizophrenia, a home isn't enough. The issue isn't just about the mentally ill person's welfare, but also if that person poses a danger to others who live nearby. There is a strong correlation between schizophrenia and violent crime. Without treatment in a controlled environment like a mental hospital, it's hard to see a mentally ill homeless person being able to safely integrate with society when they also lack a family and friends support network.

> I was his primary caregiver, fair or not, and his doctor didn't want him living alone for his own protection.

This is the issue. The homeless will not have the luxury of having a caregiver to be able to live independently at least initially. I'm sure why it's so hard for people to accept that the homeless people, who also have mental issues, just don't have access to the same resources that a non-homeless person with mental issues has access to.
It is worth questioning why they even wrote this article in the first place if that statement were true.
I've got to admire the graciousness in this response. It's making the point that mraleph's “Maybe you don’t need Rust and WASM to speed up your JS” article completely neglected code maintainability as a factor, but it does so without turning the whole thing into a pissing match. It's all been a fascinating to read.
How the NRA Rewrote the Second Amendment – POLITICO Magazine
In my travels I've gone from fear of a latrine-style loo to enjoying them enough to consider installing one in my home in England. I'm not exactly sure what it is, but it just feels better for my body somehow to hold a more folded posture.

My challenge is flexibility. I did yoga for three years, twice a week, and while the whole of my body became much more flexible (amongst other benefits) my ankles did not yield very much at all. If I try to squat on a level surface, I have to force my arms forward to maintain balance, and it's not comfortable at all.

In Iran several toilets had slightly angled surfaces for the feet. With the toes pointing downwards just a few degrees from level, it was very comfortable.

My wife is from South Korea, a country where squatting in the home is still practiced regularly, especially by the older generations. It always struck me as a very relaxing way of passing the time, though I couldn't quite do it.

Perhaps there is a physiological aspect to this too. Japanese and Korean people appear to have different skeletal proportions to Europeans. I'm curious if this changes anything, or whether it's just a matter of culture/practice.
Worth pointing out that the ragel parser was used to create a pretty bulletproof HTTP parsing implementation in the mongrel webserver. I think that implementation is still used in other http servers.
With the risk of getting down-voted for being too off-topic, here is my setup and observations:

- the three host range from pretty fast (Coffeelake @ 5 GHz, 32 GiB, Samsung 950 Pro) to just ok fast (some i5 @ 3 GHz, 8 GiB, files from a fast NAS on 10 Gibps)

- I two syncthing folders, with a 90/10 split. Some 155k directories between them. The smaller one is scanned every 6 seconds, the other every hour.

- I have disabled relaying etc. so traffic is only p2p and LAN-only, static IPs.

Observations: Scanning is slow, which is expected. However, even when the scanning is done and Out of Date files are found, nothing happens. Zero bytes are transfered. The syncthing process is running, but at a fairly low rate. Sometimes pausing and resuming seems to start things going, but not always. Even when data is traveling, it's pretty slow, at most 70 MB/s, and usually way under this rate.

Another frustration with Syncthing is that there are entirely too many knobs to frob. I like how setting up Dropbox is stupidly simple and to set up a new host is 1) install Dropbox and 2) add my userid/password, done.

As I have honestly looked for a Dropbox alternative for what must be a decade (primarily because Dropbox, Inc. can read my files) it's truly astonishing to me that nothing else works as well. Of course I have considered writing my own clone, but there are other projects to work on and I don't discount how difficult the problem really is.

EDIT: rewording

EDIT2: FWIW, another "solution" I'm evaluating is to endorse Dropbox but run gocryptfs on top for sensitive files.
Since the beginning of this year, I have begun to squat (and sit on my haunches) for 15 minutes daily. The target is to do this comfortably for at least 30 minutes by the end of the year. In my country (India), in the villages, you are likely to see people sit like this, even into their 90s. Meanwhile, here I am, in mid 30s, unable to do this even for 5 minutes, complaining of knee and back problems.
There's also an argument that cryptography should be protected by the 2nd amendment (not to mention the 1st and 5th).

For a long time the US government classified cryptography as "munitions" subject to export regulations (though not all "munitions" are "arms") https://en.wikipedia.org/wiki/Export_of_cryptography_from_th...
Think it is his refusal to toe the valley's ideological line that's causing the obsession. He's pretty much the same guy he has always been but the landscape around him has changed. He refuses to change with it. That makes him confusing to those who have successfully bullied everyone else into groupthink compliance. Why won't he just submit to the hive?
> It's probably not as scary as you think it is; after all, it was written by other people like you.

Most interesting code has been written by people smarter than me (the kernel, compositing window manager, network stack, web rendering engine, virtual machine, etc.), and while reading that code probable isn't intractable, it would take me decades of effort to understand. At the same time, I think I can be an effective developer by building on top of those technologies (i.e., being a great plumber). And that's OK.
I can only say Amen to this. If you ship it, you either accept responsibility as far as you can, or you're "that" person who redirects you another department because it's not technically their job.

Plus, as you mentioned the opportunity for learning is immense.
> looking to dive deep into a pretty specific range of topics

But does the book dive deep enough? Won't be more useful to go with more specialized books/papers?
Large Scale NoSQL Database Migration Under Fire
Now try Donald Trump -> Nazism
I hear that.

Counterpoint: propaganda is a thing, how do you get the benefits of robust (and I don’t mean loud or rude) debate to find the best policies without the risks of propaganda?

How do I know I have not fallen for propaganda myself when I argue for or against some policy?
> but it just feels better for my body somehow to hold a more folded posture.

Have you tried putting a stool or something in front of your toilet so you can bend your legs in a squat-esque position? It's a bit more practical and feels much the same to me.
One? I wasn't aware of any. And GP did say isomer, not stereoisomer.
On a scale of The Monty Hall Problem to Manifest Destiny this is a 5!
I’m sure it would be way less legal that route.
class Wizard extends Player {
type T = Dagger | Staff
var weapon: T = null
}

The billion-dollar mistake in a new language? What a waste.
NPS Survey Guide – Getting Started with NPS Surveys
Here's a good video on improving flexibility for squats: [1]

and then the first part of of a series of more general ankle flexibility exercises you can do: [2]

[1] - https://www.youtube.com/watch?v=zJBLDJMJiDE

[2] - https://www.youtube.com/watch?v=apCIhoPmHW8
This is a bit off topic, but just to blow ones mind: Finnish, which I am natively speaking, is lacking direct "please" word completely and I have to admit that especially orally I forget it often. (We make things sound nice by conditional, "could you", "would you be so kind" etc..) I have no immediate reaction what so ever how it would feel if someone left out "please". I understand the concept, but it feels horrible how much wrong I can go with native English speakers without meaning it. Thanks for the reminder! (thank you we do have;)
Perhaps I should say, "Well defined"? I'm an amateur athelete, and one of my specialties is cycling. If you have proper glute activation, it gets developed. But so are my quads, hamstrings, calves, etc. I do not have very pronounced hips - my hip bones are not wide. Glutes are the biggest muscles of the body and the hardest to exhaust in endurance activities.

I love my body.
Indian IT services and consulting firms long realized these problems. Its just not possible to expect to hire the best and expect them to work for McDonalds burgers. So they state honestly what they want and what they can pay.

At the same to be cognizant of your business, profit margins and by that definition what you can pay and remain profitable is a good thing. Not every shop has to be a world changing venture, and if you can pay low and hire people good enough to run your business is just perfectly Ok.
> spaced repetition software

Is there any that you recommend?
> People have natural rights, independent of any government, and governments are formed among the people in order to protect those rights.

Not really. We've come up with that fiction because we believe -- and we're probably right -- that it gives us the best chance at living together peacefully and without interfering too much with each people's lives.

But it really is a fiction. I personally believe in what you call a person's natural rights, but that's all it is, just a belief. It takes all of us to band together and form structures to enforce and protect those rights for people to be able to enjoy them.

> The second amendment is about defense against a tyrannic government. You could take it away and I would still have a right to bear arms independent of the (theoretically) absent second amendment.

I mean, sure, if you define "right" in that way, then you can say you have the "right" to literally anything. If the 2nd Amendment were repealed, that imagined "natural right" won't help you much when the government comes and takes your guns away, or jails or kills you for having them when you try to fight back.

There is no absolute moral truth here. It's only what we've collectively decided on, and we still have a long way to go before everyone in the world is treated equally and with dignity. We look at the world 500 years ago and think of how uncivilized everything was, and how poorly people treated each other. In another 500 years they'll be saying the same about us, assuming we don't destroy ourselves before then.
How We Increased Organic Traffic by 414% in 2 Months with a Technical SEO Audit
Well if you were sad about all extinct species, not only those gone because of the humans, that would increase your sadness tenfold.
Nope! First signs of life are found on Earth in very early minerals that existed under extremely brutal conditions back then. They're also found in oldest parta of crust that we have.
I was almost in the same situation after years and years of bad sitting. A year of light but daily stretching and a little exercise got me to the point where i can squat comfortably and almost touch my toes standing.

But I can't emphasize how important the point of daily routine in the article is - it doesn't take much to get quite an amount of flexibility back, but habit
How do you know a codebase is good before you invest time digging into it?
I'm waiting till he shows significant interest. If that never comes then I'm not going to try to make it happen. Much as I would like to be teaching programming to my kids, if they aren't that interested then such is life.
Agreed. When I worked on last years Advent of Code problems (amazingly good problems btw) I ended up writing many solutions as small FSMs.

Typically you read a token, moved to a new position and then acted based on the current state and the token, position. You don't need a library since the code is just a few switch statements.

https://adventofcode.com/2017
I love reading code written in Elm.

I always dive in and have a look. The reason I love it is that Elm is quite restrictive, there is a way of doing things and you can't deviate too much. Therefore reading someone else's code is usually pretty easy.

In addition in Elm you can clone and run an Elm package and see the examples, do some "time travelling debugging" all within 30 seconds :-), again because there is one way of building and debugging things. No "Oh no browserify! I normally use webpack" or "WTF all that global npm shit I need to install" moment.

Just once per computer:

npm install elm

Then do this

git clone ...
elm-reactor

And open your browser to localhost:8080

I'd probably say Elm is more Zen than Python!
This looks great. I’m deploying JLab as the new front end to the HPC cluster I maintain and users like it.

Anyone know of good list of extensions like this?
Yup, it's more biomechanically natural. There's a footstool product that makes Western toilets more comfortable, giving you the best of both worlds: https://www.squattypotty.com/

Here's an amusing explainer video: https://youtu.be/YbYWhdLO43Q
> which is why the NHS does rather badly on complicated and chronic conditions like treating cancer compared to the US and other countries).

It might be true that the NHS has poorer outcomes but I doubt that this is necessarily the cause. I live in Norway and have considerable recent first hand experience of the health system. I'm confident that they have incentives to save money too. In fact my wife's cancer nurse when explaining why there was a delay in starting the day's treatment said that preparations like Avastin would not be ordered from the pharmacy until the patient was both present and prepared for treatment because they could not afford to throw it away when the patient didn't turn up or turned out to be too ill for chemotherapy.

It is broadly speaking the same idea as the UK NHS but apparently has better outcomes for diseases like cancer. There are fees to pay, similar to an insurance excess or what the US calls co-pay; but those fees are affordable and capped to a couple of hundred pounds a year.
So what kind of apps did you make? Currently its a closed app store, so kind of curious to understand what is the barrier to entry to this ecosystem.
Lignite: Program Lego Mindstorms EV3 in Ruby
I appreciate seeing the Vancouver perspective. I don’t live there anymore but I went to UBC and the openness about drugs in Canada was surprising. Like everyone’s attitude was “we’ll be fine, have some fun, none of it really matters”.
Python already is a mainstream language:

class Weapon: pass
class Sword(Weapon): pass
class Staff(Weapon): pass
class Dagger(Weapon): pass

class Player:
weapon: Weapon
class Wizard(Player):
weapon: Optional[Union[Dagger, Staff]] = None
class Warrior(Player):
weapon: Optional[Union[Dagger, Sword]] = Sword()
A reactive and single-page Instagram-Clone developed with ReactJS
And in the same era they were also cooperating with NATO to put Polaris SLBM tubes on surface ships as the Multilateral Force ( MLF ).

Both the USN cruiser Long Beach and the Italian Andrea Dorias were fitted for-but-not-with Polaris.

Edit: upon research, actually Long Beach had her tube space replaced during construction.
For an introduction to the theory, Nand2Tetris[0] starts you out with nothing more than an xor gate from which you construct every other logic gate, implement a CPU, then in part 2 you build an OS on top of that. Although that sounds intimidating, it's actually incredibly accessible. I went in knowing nothing about the topic, and was able to implement the CPU by the end of the course, which was a major confidence boost. Also I found the lessons learned from the course (basically, layer simple systems with clear interfaces together to get complex systems) extended well beyond just CPUs and OSes to software design in general.

That uses a very simple educational architecture designed for ease of learning, though. If you prefer a good introductory resource for real-world operating systems, I just finished Georgia Tech's Intro to OS graduate course[1] and found it very accessible as well, and now feel reasonably comfortable with the theory when reading about OS topics elsewhere.

[0] http://www.nand2tetris.org/

[1] https://www.udacity.com/course/introduction-to-operating-sys...
I'll echo the observation: datacomms protocol parsing and generation are nothing but state machines.I started in that domain back in 1973 or so, and some configurations - statistical multiplexors for example - may be running upwards of 34 FSM's concurrently and independently. And that with a mix of multiple instances of one protocol. So I developed a cooperative multitasking pattern that ran on a virtual OS scheduler. Indeed in some systems it was the real OS. State variable is a function pointer to a function that returns its own protoype function pointer. Arguments include event, plus data plus state context. Supports submachines too. Still using it. No switching complex stack contexts, runs fast.
Nice, wasn't there some website when one can play against other to who can get from on article to another the fastest?
Why don't we measure by the number of google searches each company handles?
London Hacker News Meetup – 22nd March
For those who wants to find the "Crucial Message" quickly, I think it is hidden in the 4th last paragraph :

"That’s why there is and will be an even greater pushback against the idea that a small group of companies and executives can reap vast rewards, dictate the architecture of the online, cloud, AI, and robotic worlds and maintain an insular, parochial, and narrow worldview marked by groupthink."

Or was it somewhere else?

To be fair, it is not a small group of companies, but rather clusters of companies working decades together to make it all happen, and I was hoping there was at least a tiny bit of appreciation in the article. But I quickly realized that while the author did the name dropping he had to point out Amazon is not technically in the Valley but part of the equation. I was hoping he could find companies like Western Digital is also making most of the hard drives that contribute to whatever agenda he thinks the silicon valley is doing.
So you've never seen the movie Tombstone? You think there's no legitimate history of measured gun control in this country, and that any departure from the current trend is a slippery slope to a dictatorial state?