skysight-inc/HackerNews huggingface dataset:
I upvoted this because I think these sort of tutorials are a good thing. I've learned many things with tutorials like this, which are a great starting point (I used to spend ages reading through tldp howtos etc).

That said, I'd like to see more such descriptive docs about the modern Linux system. I confess, I know very little about how Systemd, dbus, whatever does device management and filesystem mounting, switching of networks in network-manager etc work. I use these daily and I have a vague idea but I would like to read a doc that just opens the boot, points at things and describes them, so to speak. Any recommendations?
I like awk very much, but cut has one big advantage over awk - you can easily output range of fields also open ended ones. Example:

$ cat foo
foo bar baz
foo qux
$ < foo cut -d' ' -f 2-
bar baz
qux

As far as I know you have to loop through the fields, which is (haha) awkward.
I think we agree that companies shouldn't be allowed to discriminate on the basis of sex, reproductive status, or family plans. However, I would contend that a simple blanket rule doesn't address the incentives to discriminate.

I would also argue that burden to compensate companies for employees taking time off for personal or family matters (regardless of sex, reproductive plan or status) should be shouldered at the state or national level, and not at local level where there may be higher disparity in both burden and capacity. If both men and women are allotted mandated time to attend to family, and both men and women warrant access to funding for their employers, then companies would lose incentives to discriminate because presumably everyone would want their time off.

If the federal government compensated businesses, then startups and small businesses wouldn't be exempt from protection, nor unequally stressed relative to bigger businesses. As another commentator pointed out, the UK has a similar model.
> It's not "effectively" losing money. It's losing imaginary money.

Well, to be fair, the money is real (or at least potentially real). It's the loss that's imaginary.

> then every sale to attract customers is a "loss leader" and the term has no useful meaning.

Agreed. We already have the word "sale" (or "discount" or "promotion") without using the inaccurate word "loss".
It’s, IMHO, a terrible idea but the one use I could imagine is if you are doing a lot of stuff with Unix exit codes, where exit code 0 is success. That would cover setting True = 0 ...maybe but not failure which is usually a positive exit code.

No! Actually I take it back this _is_ definitely still a terrible idea and will lead to certain madness for all involved. :)
So, I'm uneducated in this matter. Let me do a bit of googling, because your comment implies two things

>Acrylamide is known to cause cancer

>Coffee apparently contains (significant) amounts of acrylamide

The first thing I come across, as usual, is Wikipedia [1]. The summary says:

>As of 2018 it is still not clear whether acrylamide consumption affects people's risk of developing cancer.

It provides two sources [2][3], from the Cancer Research UK and the US National Cancer Institute. The abstract of [2] implies that animal studies show some interaction with DNA, but fairly conclusively says:

>[E]vidence from human studies has shown that, for most cancer types, there is no link between acrylamide and cancer risk. Some studies have suggested a higher risk of womb cancer, but the evidence is weak and inconsistent, so we can’t be sure if this link is real.

The other source [3] is a bit of a more informal FAQ style, and poses the question "Is there an association between acrylamide and cancer?" Again, I see the implication of animal studies possibly showing real links between cancer and the substance, yet

>a large number of epidemiologic studies (both case-control and cohort studies) in humans have found no consistent evidence that dietary acrylamide exposure is associated with the risk of any type of cancer

Can you explain your comment, and especially the last sentence you provide? My search was extremely cursory, but I would be fairly confident that if it's too strong a claim to say this substance doesn't cause cancer, I could at least conclude that saying

>[T]he state is proposing a rule contrary to its own scientific conclusion

is patently false.

Sources:

[1]: https://en.wikipedia.org/wiki/Acrylamide

[2]: http://www.cancerresearchuk.org/about-cancer/causes-of-cance...

[3]: https://www.cancer.gov/about-cancer/causes-prevention/risk/d...
Arnold Robbins' book is great, I really liked it and I really recommend it for those interested to learn awk.
That's harder to predict especially if fines are based on last years income.

Really though a ~0.1% speeding ticket fine is not going to be an issue even if the press is impressed by a very large number fine.
Why always Peano numbers? If it's doable, I'd love to see something like a web server with provable safety guarantees (e.g. eliminating any SQL injection risk), or a concurrent system with the compiler proving there are no races, even though the code is sharing memory. Or just proving that some simple business rules hold. Is stuff like that doable in a dependently typed language?
Why are you assuming that the causal factor is with the framework?

The reason they're shitty is because they're heavier weight and "mobile first" usually comes with a certain amount of tradeoffs for other devices. React in and of itself as a means of managing data flow is very elegant IMO.

It just happens that if you tell any random group of engineers to do a full rewrite, they're going to settle on whatever is currently popular.
The Hours Average Residents Need to Work to Pay Their Mortgage in Every US City
Game engine != VM.
For now I am assuming nothing. I just ask for examples of user friendly sites made with react.
Can you recommend some good monitors?
I said it, because I believe nerves and vessels can become lodged in between the spine, and block them somehow.
6 months in I rewrote my meteor app in react for a startup. At the time I was worried it was one of those developer procrastination moments, but it ended up as a HUGE win for us. Our customers are amazed at how fast we can implement features and fix problems, which I credit to react and doing things client-side as much as possible (i.e. pouchdb).

Alas, there's a login.
I presume that the departments or project groups you worked in are still there.
I'm definitely getting FOUT. Disabling all javascript does get me a blank page (also a problem IMO), so it seems to be in the script.
#10 made me cry!
How to Set Up a Redis Server and Use with PHP
Seems simple enough. Just feed mice roasted coffee beans as their only food (which should keep them alive, shouldn't it?) and see what happens.

I'm pretty sure if you could find molecules in anything that, if extracted and injected in large quantities into a living organism's body would cause cancer.

But here's the thing: living organisms have evolved to process whole foods. Although coffee could be seen as a sort of extract, it still is a natural product containing very complex and intricate combinations of compounds, not just one single, isolated chemical.

This is why, for example, cocaine is so much worse than natives in the Andes chewing coca leaves, why whiskey is so much worse than alcohol-containing rotten fruit that even bears have been observed to enjoy, etc. etc. etc.
That last paragraph doesn't make any sense.
A few seconds of "research" (despite no interest in the subject): https://speakerdeck.com/eregon/parallel-and-thread-safe-ruby...
Twitter Lite and Airbnb are obvious examples not behind a login.

I'm sure there are countless good examples in this list: https://github.com/facebook/react/wiki/Sites-Using-React

But React and other SPA libraries will always excel more for more complex UIs, those sorts of things tend to be behind logins.
EOS Hackathon London
What do you mean by C-style for? for (key in array) is POSIX.

I miss in awk mainly a structural regular expressions mode. With it I would not miss lack of structures or that functions like gsub do not return a string instead of assigning it to a variable.
She doesn't have to work from the hospital bed if she has paid maternal leave. Even better if the father has paid paternal leave and can help when she's recovering.

Being a Swede, it's just so unreal when I hear about how it is in the US.
EOS Hackathon Sydney
Housing the homeless seems to be more effective than a lot of alternatives.
This is currently a stage 1 proposal for the core language: https://github.com/tc39/proposal-optional-chaining

Depending on your stack it might be possible to make use of it already, e.g. Babel has a transpilation plugin, and Flow supports it for static type-checking.
Twitter lite: Where is that?

AirBnB: I love AirBnBs service, but I totally hate the UI. It's slow and clunky and gets into the way like nothing else. A single page of a room loads over 5MB of data, scrollinig is laggy, everything feels just terrible.
Another World was re-released on Steam by Eric Chahi a few years ago for Windows, Mac, and Linux: https://store.steampowered.com/app/233550/Another_World__20t...
It sure seems you've missed a lot regarding Chrome OS. OS running Android and Linux apps now.

Sure, Photoshop and Lightroom are both mobile versions, but I have a feeling that maybe WebAssembly will tempt Adobe and others to at least try to build their all's for the generation growing up with Chromebooks on school.
And then there's the possibly-apocryphal headline that I read about decades ago, concerning an inmate at an insane asylum who raped a nurse and fled: NUT SCREWS AND BOLTS.

Certainly these little bits of cleverness are mildly amusing. But if computer-generated NLP summaries prove feasible, human headline writers will have a hard time competing economically: many readers will choose the less-expensive alternative — in much the same way that travelers overwhelmingly choose the cheapest airlines over others offering more leg room, in-flight meals, etc.
Teletype with an audio call works well for me:
https://teletype.atom.io/
> The idea of jail is that your personal freedom is taken away as punishment for a number of days.

In fact, the finnish fining above is a system of day-fine: the sentence is expressed in day-fine, each "day" of the fine is multiplied by the offender's day-fine factor (baseline is about half the daily disposable income — daily income after taxes & basic living allowance) and that yields the fine's actual amount.

For court-ordered fines of sufficient size they can also be converted to a prison sentence at a ratio of 3 day-fine to 1 day in prison (rounded down).
> I assume nothing

> every time a site gets reimplemented in react, it gets worse
Seems like a reasonable next step following impeachment.
there is still the remaining issue of customer support - especially with software (of any kind)
I’m not Finnish or a lawyer but I think their courts would see right through that sort of bullsbit
LSP is specialised for static analysis of code, and aims to provide a generic protocol for doing that. However, say I want to run a single test from Vim. Currently I have, for ruby, rspec.vim so ",s" will run the test under the cursor, but all it does is shell out to an rspec command. So it seems the idea is to provide a generic interface for "run this test in this project", or "build this file", without having to care about the specific build tooling involved.

I like it as an idea. We'll see if it gets any traction outside of Scala-land.
كلمات اغنية ايمي هيتاري احلام مكتوبة كاملة
A cool new web app that ranks all your Facebook and Instagram photos
MyPhotoLikes the maker of an Instagram & Facebook app, has launched their free online app www.myphotolikes.com. A site aimed at Instagram and Facebook users who would like to find out their most liked photos. The new online app seamlessly integrates with Facebook and Instagram by allowing users to rank all their photos based on the total number of likes. The app will be of tremendous value to individual users or brands. "This is a very simple and effective tool that does one thing very well without flooding the user with unnecessary detail." said DeLaphante the creator of the app "I expect a lot of users finding this useful due to its simplicity" More users are looking for a way to gauge the effectiveness of their photos in order to draw new followers or get more likes. "With MyPhotoLikes.com, users & brands will effectively be able to optimize their photo uploads by selecting the type of photos that draws more attention and remove those that do not." said DeLaphante MyPhotoLikes.com is the second online app that DeLaphante has created. With the first not been so successful, however MyPhotoLikes.com is now picking up traction and users are starting to flood the site. MyPhotoLikes mission is to simplify how users analyse their photos. DeLaphante is based in London and is shy, but hopes the success of this app can bring him out of his shell. You can chat with him directly at www.myphotolikes.com using the online chat widget.
So will Nature be comfortable with having scientists cross publishing on GitHub in the name of "Open Science"?
Working on building an alternative to stripe for worldwide users
Lazy Connect
Fuzzy search IPSec VPNs by name and connect to it automatically from the command-line on OS X.

https://github.com/arunvelsriram/lazy-connect
Also noting - I've been consulting 2 years full-time at $100 an hour which is a very good wage in my country (I'd have more but I'm subcontracting through another company) at a company that I could never get even an interview at no matter how many years I tried. I'm pretty sure I've tried dozens of times and never a peep of interest, but hiring me as consultant at more than double the amount I'd earn as an employee - oh yes that they're interested in.
> (#2 in class, 1500/1600, 66 college credits)

That doesn't sounds like an average student to me. You were entering college as a junior, effectively.

Thanks for the info, though.
Reminds me of “rm -Rf” meaning “read mail really fast” ;)
In fact, there's still lots of code in the wild that assigns to True/False, presumably for compatibility with very old Python versions:

https://codesearch.debian.net/search?q=%28%3Fm%29%5E%5Cs%2AT...
As far as I remember the big short doesn't though.
awk is a great tool, and I used to use it quite a lot. But now that we have cross platform PowerShell, I find it so much easier to use that, its much more powerful
one could write an assembler - http://doc.cat-v.org/henry_spencer/amazing_awk_assembler/
You missed flex from lex.

And then:

* getty; agetty ("alternative"); mingetty ("minimal"); mgetty (I always think "modem" myself); uugetty ("UUCP"); fgetty ("fast"); and ngetty (probably "Nikola")

- https://unix.stackexchange.com/a/316279/5132

* ex; vi; stevie; elvis; calvin; elwin; javi; lemmy; pvic; trived; vigor; vile; vip; virus; winvi; xvi; vim, view, evim, exim, eview, rvim, rview, gvim, gex, gview, rgvim, rgview, vimdiff, and gvimdiff (VIM); nvi; and nvim (NeoVIM)

- http://www.guckes.net/vi/clones.php3

* pax, a peace treaty in the tar versus cpio argument
I have a little repo called “cleversql”. It’s full of little scripts that represent hard problems that I’ve had to solve, clearly-named and well-documented. I fall back on it often, when I remember that I’ve solved a certain kind of problem before, but I cannot recall exactly how.

It’s an invaluable asset and saves me tons of time on a regular basis. I’d rather search my OWN hard drive for an example of my OWN code for how to - for instance - use a CTE to recursively populate a date dimension table, than to search Google and see someone else’s code, to refresh my memory.
Enter the Zone, fight imposter syndrome, and unlock intrinsic motivation
I don't think so, in Scandinavia we have a very low unemployment rate and Stockholm is one of the most vibrant tech hubs of Europe. We offer every employee some of the most generous paternal and maternal leaves in the world. You can take time off for your children even when they're 11 years old if you save up some days (you get months off that you can take whenever you like).

We also have some of the most generous laws for taking care of your sick child. If you fire an employee because they're taking care of a sick child all the time, boy is your business in for a world of hurt.

The unemployment rate is lowest for people in their 30s, which is the time in life when it's likely people will either be getting a child or they already have a child at home that needs to be looked after. It might have something to do with our government subsidised daycare though.
These are the 19 most reliable used cars of 2018
This press release was taken from this website:
https://www.launchingnext.com/s/myphotolikes-com/35211/
Don't know about the original awk but in gnu awk you have simpler for loops.

https://www.gnu.org/software/gawk/manual/html_node/Scanning-...
I use it all the time.
I wonder why this posting is not getting as much upvotes when there evidently is so much discussion.
I'm very much looking forward to poking both the 20th Anniversary and 15th Anniversary versions on a newer machine at some point.

(On a related note... I typed the line above during heavy swapping/a frozen browser, and this is the ~2nd time I've not made any mistakes :D)
I always end up using both du and df because I can never remember which does what. Half the time, I also can’t remember their names even and have to look them up.

All of the really frequent commands, I can remember (cp, mv, cat, tar, head, tail, ls, mkdir, rm, grep, sed, and a handful of common programs like package managers and git) and everything else I can never remember and have to look up. I personally don’t like the unix command names, most don’t make much sense to me personally. Sure, I like that they’re short, but I can never remember them unless I use them a lot.
Testing HTML5 drag and drop with Capybara
> Twitter lite: Where is that?

https://mobile.twitter.com

> AirBnB ...

Maybe not the best example. I think they still have a lot of legacy cruft they need to fix. I still think their homepage/search UX is pretty good. And like someone else said, it's not like 'React' is the cause of slowness.
>Seems simple enough. Just feed mice roasted coffee beans as their only food (which should keep them alive, shouldn't it?) and see what happens.

Eh, it's not that simple. Whose to say cancer isn't caused by the interaction between coffee and, say, a digestive enzyme in our system or milk or some other factor?
My first thought was of Seveneves by Neal Stephenson - not perhaps his best book but it did clarify the value of mining near Earth objects :-)
> That was already the case before Microsoft purchased GitHub. So why did they start to use it in the first place, if they had this concern?

For the same reason many people use GitHub (or facebook): network effect.
I've never heard of bird, is it like the dozens of 'me too' companies that litter the streets with their shitty bikes in China?

The only way I can see money is to round these bikes up, crush them and melt them for the Aluminum.
> did the FBI break the Signal encryption or just managed to open his device to find all the messages there? Maybe sensitive messages need to be deleted.

I’m also interested in the answer to this question. From my layman’s understanding I see Signal as the most secure messaging solution out of the box, followed by WhatsApp but only if (and it’s a very big if) you don’t plan to do something that might raise the interest of a US 3-letter agency (i.e. you can use WhatsApp for random political corruption cases in European countries, like the politicians from my country do, but it’s not safe to use it if you plan to actively cross the interests of those 3-letter agencies). Telegram I also see as compromised by the Russian secret services, ignoring all the recent public brouhaha.

If anyone more knowledgeable has other views on this please feel free to correct me.
There is not much to be gained by defending Microsoft. But from my view, my appreciation for their tooling is highly correlated with my own technical maturity. I spent about a decade primarily Mac, ran several Linux servers and developed from my Mac environment. But in the last few years I have switched to surface book and a windows development environment. It does not totally suck. Especially, now that I’ve got an Ubuntu logo in my taskbar. Actually, it’s awesome. Now, I’m running our production web app on python with gevent on windows server OS using IIS with a reverse proxy. Dead simple to setup. With windows server 2019 we can even use the subsystem for Linux in production. It’s just awesome while Apple only gives a damn if I’m building IOS crap. Did I ever think I’d be doing it like this? Hell no. But it works great. To me, people that bash anything and everything Microsoft tooling leads me to believe they have a lack of technical maturity.
Ah thank you, I didn't know that!
The world is built by Harvard graduates? Who?
Children are sort of a social necessity, hence carrying more gravitas than conventional hobbies. Obviously "I can't work because I'm cartooning" is gonna be met with more skepticism than "I'm taking care of a sick kid"
Apollographql 2 is in RC let's setup real-time subscriptions
React is just a framework, it's all but impossible to tell if a site is made with it. So the examples of a good usecase for React are out there by the hundred, you just don't know they're using React because you don't think twice when using them.

The most common reason for bloat is people trying to make a site a single page app when it isn't necessary. You can do that with React, but you can also do it with Angular or Ember or plain JS if you're a masochist.
There are plenty of corrections in the siblings.
You seem to have knowledge and an understanding of the concept that I don't. I'd love to hear your articulation.
Sounds about as stupid as declaring that pi is 3
Tab completion to the rescue! Once you're a few letters past the dash in Powershell, you can just hot the tab key until you've cycled through the few commands it spells. Same for parameters.
>> To this day, 90% of the programmers I talk to have never used awk.

Ok, time for someone that doesn't regularly use awk to say something. I understand that awk is great. The language being terse is nice if you use it regularly, but otherwise it's very easy to forget, and it's strange to look at it the first time. 90% of the programmers probably don't regularly need the kind of functionality awk provides, and the few times they do, they can create a simple script in a language they know better.

Awk can be a super useful tool, but I think it's reasonable that most programmers don't use it, and the language is not designed to be used by everyone.

In my opinion, a more universal alternative to this would be something like a web application that allows visual programming and translates the operations to awk, and possibly other languages too (the visual language could encode only a subset of awk, only common operations). You would learn awk yourself if you use it regularly, and you would know that you can simply use an intuitive interface to solve those formatting problems you need to handle from time to time otherwise.
Hub: Manage GitHub from the Command Line
Interesting. I'm genuinely surprised that a company like Google with both massive financial resources and who actively court a progressive public image would be so shortsighted as to start systematically discriminating against pregnant women.
> the crap the unions pull when it comes to tunneling projects is insane.

That tells me all I need to know about why The Boring Company exists.
Surely if you flood the market with asteroid-mined minerals, then the price of those minerals will drop rapidly?
My experience is that there is no difference in such roles apart from how much say you (are willing to) have in decisions.

Especially between Junior and Mid level I'd say the most important distinction is willingness to job hop, to be a bit cynical.
Show HN: A Materialized HackerNews Feed Made Using React and Materialize CSS