skysight-inc/HackerNews huggingface dataset:
Nope, they solve different problems. The OS package manager (apt, etc) is there to provide you the OS install with a set of applications and a set of libraries to support those applications.

Your development, on the other hand, will depend on a different set of dependency libraries (and this must be reproducible!). This may include stuff like having several different versions of a library (for different projects or different branches or build configs of the same project). This set of libraries will sometimes conflict with what you need for the apps the OS provides.

Because you never want to break your day-to-day applications supported by the OS package manager, you'll need a different way of installing your depepdency libs. This is what language package managers do.

Right now for C and C++ the alternatives are 1) bundling it with your source 2) use version control (e.g. git submodules) 3) make install --prefix=$HOME/foo and configure build for that 4) single header file libraries. None of these work particularly well compared to a proper development package manager like Cargo.
Flock Data – Data management framework
Microsoft’s Bold Plan to Bring PWAs to Windows 10
The problem is that the VS Community license doesn't work for people who are building proprietary or in-house software at a company. Even if the code is open source, they are building it into a proprietary product. For that proprietary product, they are behind on toolchains because $$$, so for the time being we need workarounds.

For what it's worth, a lot of the glaring issues will soon be alleviated, I'm not that enthusiastic about C++14, C++17, etc. features anyway. C++11 for me is really about catching up with C99.
... which doesn't exist at the moment. Maybe Nix or Guix could work, but their adoption is rather low at the moment.
Another way to go would be to build your environent from a less "productized" distribution, like Debian's minimal netinstall.

How is it that the OS delivery model from Windows 95 is not dead yet? "Everything you need is right inside this box" has been replaced by discrete change just about everywhere else in the stack.

You don't download an archive of GitHub to use one Repo.
You don't need password but you need a email. I say: "out of the frying pan and into the fire".
Thanks for the links. I've been looking for something where I can save executable snippets (shelling out to things or making RPCs to services) in a smalltalk-like browser, and it looks like this might work. I tried Amber a few months back, but couldn't figure out how to get node to shell out, so I went back to TCL+tk.
Have you had any reliability issues? My wife does transcription work and has had multiple models of the Sony and Olympus recorders fail on her. She has her client use his laptop and Audacity right now because of the persistent threat of data loss.
Reminders are a combination of calendar, alarm clock, or task items in my mobile and tasks in either Thunderbird for my private life or Outlook at work.
Bail is to guarantee appearance to respond to the crime, not insure against the accused, and reflects the seriousness of the crime and how much the state would care if you don’t answer for it. That’s why if you go in on multiple sets of charges you have multiple bails. That’s also why your DUI bail was five figures or less. In most places there is a table for bail amounts that can be stiffened, softened, or denied entirely at the judge’s discretion, but it is all based on the crime and flight risk only.

$1 million is a fairly high bail, generally in the ADW/manslaughter/sexual assault neighborhood. A court is not set up to handle a $1 billion bail, as you’re suggesting. That sort of money isn’t just moved around like that ($1 million is difficult enough), and the court would almost certainly mishandle it.
sounds like a problem for THE BLOCKCHAIN
Chicago is amongst the bloodiest cities in the developed world. Last year over 700 people were murdered and over 3,000 were shot in Chicago. Most cases are never resolved.

In contrast, the entirety of Canada has about 500-600 homicides per year.

https://en.wikipedia.org/wiki/Crime_in_Chicago#Murder_and_sh...
> Any doctor who can be shown to have given addictive opioids to people that aren't terminally ill should be investigated.

No, they should have their license revoked. Those people are not doctors, they are opportunistic capitalists in the medical sector that should have no right to practise medicine.

In fact, this scheme could only work if doctors complied. I would say what they did was much worse than what the billionaire did. They're bad actors.
I am in my forties but I have a less bleak outlook; I feel I am only starting out in my career. I think I understand enough (and that's very little; our field is extremely complex) of software creation and people in general to scale up my influence. I also see companies and people struggle with the creation of software enough to know that we need more 'senior' people and not less.

You mention Google; why would you want to work there? There are millions of companies around the world that need programmers acutely and the larger ones of those need architects/experienced software engineers. That many of them cannot fill positions so settle for less because they have to.

I'm not sure, besides some FUD online, where you get your depressing future life outlook from? I am asking because I did read some articles about this online, but seems that you hear it everywhere...
I have been logging into drupal.org like this for longer anyone is comfortable remembering :)
> You might say, 30 lines, easy no? Well except that Go can be played on 9x9, 11x11, 13x13, 15x15 and 17x17 too, any oddxodd size, no way I'm implementing those 30 lines x 6 times, this is not fun

I'm curious if the author has tried using macros, which would require him writing the code only once.
Trying to start a company that's focused on hiring older engineers is just as ageist as starting one focused on hiring younger engineers.

I was a top engineer for 25-30 years everywhere I worked. In my 50's I clearly encountered significant age discrimination in interviewing. From sitting and pairing on teams where everyone is half my age and being told the team didn't think I'd 'fit in' to interviewing at companies started by 20-somethings where literally 90% of the entire company of 100 people were all under 35.

Age discrimination in engineering is real. Maybe not everyone has seen it because they haven't interviewed at companies where it exists, but there are many companies where it exists - especially smaller companies with highly homogenous employee bases.

My recommendation? Continue learning and stay on the cutting edge, make sure you keep up with current interview strategies (like knowing your algorithms and data structures cold), and continuing to work hard. You'll encounter discrimination at more and more companies, but you'll find some where your skills will keep you employed.
So what does that look like in your program? With respect to failing fast and verbose error reporting in AWK, it's as simple as

!/^[0-9]+$/ {
print "invalid input: " $0 > "/dev/stderr"
exit 1
}

at the beginning of the script. None of the other actions need to be changed; but with your implementation, all of the calls to "int" need to be changed to "intish".

I've got the following script (I stopped playing games with line breaks):

#!/usr/bin/env gawk -f

BEGIN {
FS = "|"
}

$2 % 3 == 0 {
printf("Fizz")
replaced = 1
}

$2 % 5 == 0 {
printf("Buzz")
replaced = 1
}

replaced {
replaced = 0
printf("\n")
next
}

{
system("cal " $2 " 2018 2> errors.txt")
}

Which can produce the following output:

$ ./script.awk <<EOF
> thing1|0
> thing2|3
> thing3|7
> thing4|13
> EOF
FizzBuzz
Fizz
July 2018
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31

$ cat errors.txt
cal: 13 is neither a month number (1..12) nor a name

- What does the equivalent program in Python look like?

- How many characters does it have with respect to the number of characters in the awk script? (259 with shebang).

- How many characters would need to change to split by "," instead? (1 for awk). (You can achieve this in Python, but you'll end up spending characters on a utility function.)

- How many characters would need to be added to print "INVALID: " and then the input value for lines with non-numeric values in the second column, then skip to the next line? (55 for awk)

Character adds/changes are the best proxy for "flexibility" I could think of that doesn't go far afield into static code analysis.

I love Python and don't think awk is a good solution for extremely large or complex programs; however, it seems obvious to me that it is significantly more flexible than Python in every line-oriented text-processing task. The combination of opinionated assumptions, built-in functions and automatically-set variables, and the pattern-action approach to code organization, all add up to a powerful tool that's still worth using in order to keep tasks from becoming large or complex in the first place.
Re: (2), this RFC was merged: https://github.com/rust-lang/rfcs/pull/2133
> I’m not even talking about Rc, RefCell and Box which seems like security through obscurity.

What do you mean?
2do (https://www.2doapp.com) on iOS/Android/Mac, synced to self-hosted CalDav or popular cloud services. Supports audio memos, can parse email to generate todo items, reliable with thousands of tasks, expressive filter queries, regularly updated to use new OS features.
Excellent news for Legal Cannabis.
That's fair, and as this is one of the first SAFTs (link below) sold to SV VCs, there's quite a bit of new ground in the thinking and incentives.

Basically, the deal is that our investors bought the right to future Orchid Tokens, which is a new token used for payments within the Orchid Network. Since it's a utility token it's value should be driven by the utility of the network - the size, health and of course user count of the network.

Since there is a huge market for VPNs which overlaps with the utility of Orchid in terms of enabling access where there is censorship, if Orchid can grab a small part of this market then the utility of the network would drive the price of the token.

Whether this is the right model remains to be seen, and like any project there could be a conflict of interest if investors push for features that are not aligned with the project vision.

The difference is that, unlike traditional startups that are in control of their IP and the deployment of their software, once the Orchid Network is deployed, no one controls it but the users who run nodes. They choose what software to run for their source, relay and exit nodes, and no one can force them to upgrade to some new version. This is similar to other decentralized networks such as Bitcoin and Ethereum.

In practice the developers and teams behind decentralized networks do hold some power of software upgrades from their reputation and control of github repos, etc. But if push comes to show and for example we try to add payment fees or adds or other types of monetization, then users are very likely to simply reject such upgrades or even outright fork client software (thus effectively forking the network once such clients are deployed).

It is my hope that this is a structure that allows for both raising money from VCs and still end up with a truly decentralized network. We'd love to get feedback on this and understand what we can do to ensure that the network remains controlled by it's users and not (too much) influenced by any specific group.

https://www.coindesk.com/saft-arrives-simple-investor-agreem...
The missing link of Ops tools
Which they don't and also it's illegal. You can charge less for cash, but no one does that. (Except your one or two examples out of the thousands of stores)
for one point, an efficient programm probably wouldn't need to pack memory intensive arrays on the stack all at once.
UK pensions among the worst in the developed world, study finds
grow your own food, work remotely, have no debts.
What changes if the company is large and it downsizes instead of going bankrupt?
I don't see any numbers on the scale of the operation... How many prescriptions, net reimbursement per prescription, how many dollars?

Also, if a doctor is writing an inappropriate script based on a kickback are their licenses getting suspended?
Recruiters contacting you means nothing. Anyone who has put out their resumes on linkedin, job websites etc. will have recruiter spam. See if you can translate any of those into a better paid job than what you currently hold.
Extensive discussion on /r/rust: https://www.reddit.com/r/rust/comments/76olo3/why_rust_fails...
You are depressed.

While I won't offer firm action steps, the main thing you should working on right now is your own mental health.
Re: (3), this one: https://github.com/rust-lang/rfcs/pull/2000
From reading this it seems like clojure transducers are the same thing as linq expressions over IEnumerable. Is there any additional functionality they provide?
"I wonder if exercising contributes to killing off these senescent cells. In muscle building one is breaking down and rebuilding muscle cells, this might as well prevent cell "aging" and going into senescence."

I think this is already known and understood - at least with muscle and bone cells. My understanding was that by putting energy production stresses on your cells, you weed out the ones that perform poorly. Specifically, you weed out those cells whose mitochondria are less efficient at producing energy.[1]

So there is a selection process that takes place, over time, in your own cell population.

I find this very interesting but I have also grown very pessimistic about its import ... people that don't like exercising will do anything not to exercise so it really doesn't matter.

We don't need any new findings that demonstrate the (clear, obvious, nearly immediate) benefits of exercise. What we need are fewer cars and more walking.

[1] I highly recommend Nick Lanes first two books - _Oxygen_ and _Power, Sex, Suicide: Mitochondria and the Meaning of Life_.
Show HN: Data Scientist Salary Predictor
I guess you mean sort of like Vegans at parties telling everyone about their dietary choices?
http://tiddlywiki.com/

Tiddlywiki, because it lives locally, is insanely fast and there's nothing I think easier/faster than it for making notes and todo's are more or less just notes.
Are new guys really more fit ? or just passionated and foolish ?
I've built apps which load the entire database into memory at boot. It's a great way to speed things up :)
South Park keeps surprising me with each new season. I died at their portrayal of Zuckerberg.
>Apple effectively has no choice: uphold their end of the agreement and fire the engineer or avoid potentially bad PR while also signaling to the rest of the engineers that the NDA means jack squat.

Well, since it's the daughter that announced the firing while crying, Apple did very much had a choice: to fire him with a special side deal (compensation) and have him sign to not disclose it or have his family go to social media about it.
Probably not, but for someone with a net worth of $1bn it seems extremely low. Just like said bail is extremely high for someone with a close to $0 or negative net worth.

How about setting it at $100m? That doesn't sound unreasonable given the situation.

Not mishandling is easy: you put it in a locked escrow account and don't touch it. It the depositor had to borrow against assets to secure the deposit, then let reasonable interest accrue against the principal and deduct.
This better not be advice for a service I'd like to use frequently, because if I had to open my email inbox every single time, I'd just not use it. Those "unrecognized device" notifications that pollute my inbox from Twitter made me not use Twitter (I've elaborated on this in the past), let alone having to open my inbox before being able to use the site. And no, it won't be able to remember^W track me because cookies are deleted automatically.

I'd much rather just have an option to use a username and password using my password manager, thank you.
Your webserver logs now contain ever user's credentials, presumably in plaintext.
Sorry for the non sequitur, but I got into cryptography and security generally and designed some internal systems that people use. I work in the field, or at least transitioned from SRE to SRE with a security focus. I started following vocal members of the "infosec community" online, Twitter mostly. It took a while, but I came to the conclusion that most (with a lot of exceptions) of self titled security experts had little to no experience in anything. They were more evangelists repeating what other people said with no contributions of their own or research of their own. Notable exceptions are people like Tavis Ormandy of course, but "infosec" seems to have become a title for people who want to be part of an in crowd and just repeat things over and over like "use multi factor authentication".
Oh, that post was you also... Then I was just very confused by the first post I replied to, and thought you were saying the opposite of your point with "it's not exceeding specifications".
WhatsApp finally added 'delete for everyone' feature – BarometerNG
Bail is set independently of net worth considerations and in a relatively impartial manner, which is the point. Judges do not have the flexibility to set a bail that high. Destitute murderers get $5 million+ bails all the time, which we would have to revisit if we started factoring in net worth (think about it).
Since you mention Persona: There is portier[0], a successor project (I'm part of the project). Login via email as default, or via your Google account for gmail addresses, and other email domains could use their own login system.

[0]: https://portier.github.io/
Amazing Cool Inventions #360
Aside from all the discussion around these low-level complaints, the Rust community is well aware of the lack of higher-level scientific computing libraries, which IMO is the more relevant reason not to use Rust today:
http://www.arewelearningyet.com/scientific-computing/

Hell, Rust doesn't even have stable bindings around BLAS/LAPACK/LINPACK and friends which are the lifeblood of every language capable of scientific computing.

Give it time. Scientific computing was never the primary thrust for Rust, and other more pertinent domains have yet to reach complete maturity.[0]

[0]: http://www.arewewebyet.org/
Just make an app that automatically connects to your email, gets and parses the email (there can be a specific format) and asks "would you like to sign in to slack?" And you can just press "ok" and you'll get in. To make it even better, you can make it so that the email is signed by a pgp key you've previously trusted ("would you like to sign into trusted provider 'slack'?"), to make it resilient against phishing emails, and for extra protection the slack sign in page can show a random series of 6 digits, which is also emailed to you, so a phishing email wouldn't have access to those 6 digits; and you can compare those to what the app shows you.
Microservices have won so hard that the fortune 500 are making it standard.
>The Outline (somewhat ironically imho) summed it up when they said "South Park is not subversive"

I'd say the Outline is the one that does exactly what it accuses South Park of: BS for "fake woke white people". It's just that they want to believe that their white people are more "woke" than the ones watching South Park.

Starting with the BS idea of "high-brow" criticizing what in final analysis is just a funny cartoon show -- this reeks of (real, not imagined) pretentiousness and taking things too seriously itself.
What happens when the user returns? Do they need another email or do you leave the session around forever?

If you leave the session, what prevents an attacker from grabbing your cookies that one time you leave your system unlocked?

What about accessing the account from another machine? Do you then need another email each time? Does that access invalidate the tokens associated with other machines, or do you just keep proliferating tokens?
Everyone here is complaining about how they don't want to have to check their email every time they sign in. Why not just make an app that sits in front of your email, scans for emails of the form 'sign in email,' and when it finds them provides a single button for you to press to sign in?
Medium uses this login method and I think it's super cumbersome.

Login + password is just so much more convenient. Even 2FA with an authenticator app feels miles faster and more satisfying than this awkward go to your inbox, wait and click...
The fact that you’ve been there for that long suggests that you’re working for an ‘older’ (both as in the age of the company AND the average age of employees) company to begin with, which would likely NOT have that kind of culture.

As someone who’s worked for older companies and younger ones, I feel like it’s all a matter of where direct technical management is placing emphasis, not some kind of deep seeded collusion between hiring managers.

Companies that want to ‘move fast’ tend to hire younger because they connotate old ~= slow. Companies that want solid, stable, well engineered solutions seem to feel like young ~= junior.

My opinion is: they're both kind of right in the aggregate. By and large the older people I’ve worked with and employed were a fair bit slower to get to initial done. But they got there in a well engineered way that had less post launch defects, was easier to maintain, and in general showed the decades of corner cases they have etched into their soul from all their battles.

By and large the younger/less experienced the more eager they were to pick up and learn the new and shiny tech. Which is awesome when we have to take on a new piece of tech for whatever reason. I typically find them voracious when pointed at a problem that interests them, and they usually hammer out something a noticeable amount faster than the older crowd. However, in general, the post launch defects are atrocious when compared to the more experienced crowd, I often see spaghetti architecture, and there’s much less pragmatism when it comes to decision making.

Surprise! Experienced people lean on their experience and wisdom and young people utilize their appetite for knowledge and their (comparatively) vast amount of stamina. It’s almost like there’s a few millennia of stories around this topic...

A room full of 10 year olds may learn fine on their own. Stick a 30 year old teacher in the room with them and watch their minds expand. A room full of 30 year olds can be kind of boring. Stick some young’ins in there with them and watch them play.

Good teams should have both. Experienced pros have a lot to teach and people that think they can’t learn anything from them are, frankly, stupid. I also strongly believe that youthful exuberance is infectious and makes it more fun for everyone to come in to work.
A Student Loan Nightmare: The Teacher in the Wrong Payment Plan