skysight-inc/HackerNews huggingface dataset:
Apparently you think the Second Amendment allows people to run from the police.
I have worked for the same employer as both hourly consultant and salaried employee. I saw much more restraint on their part when hours were being counted. On the other hand I am now able to push salary aspect in my favor (ie rely on same salary even if I have to take time off for child’s illness, for example)
regarding (7), I am very interested in reading a nonpartisan take on the relationship between US defense spending and welfare spending in western europe. if it weren't for the current defensive arrangement with the US, would europe spend more on defense? if so, would it still spend the same on social services? do we americans overestimate our contribution to the defensive posture of the west?
Wow. This sounds a lot more like grinding than programming. Memorizing APIs? Seriously? What happens when it changes next year?

Echoing another commenter, every line of code you don't code is coded infinitely-faster, doesn't need testing, and you'll never have to review or maintain it. Programming should be the art of surgically using just the right amount of code in just the right spot to provide lasting value, not filling out forms, wiring interfaces together, or thrashing around online searching for other lost souls. Yes, we all end up doing that kind of work -- but that's a fail, not a win. The more we horse around with our tools, the less we're helping people.

Video games took over the world. That is, everything became a video game, with a sexy UI, enthusiastic community, cheat videos (and classes), and outward signs that you've leveled up.

This makes sense, I guess, if you're goal is to play the game. And whatever you're doing with computers should definitely be fun. But when interacting with the computer is a tool you're using to provide something to somebody else, the longer you spend with the computer providing that value the less efficient you are. The best code is no code.

Somehow this author seems to think that being a great programmer is due to mechanically-interacting with the programming environment. The 10x types faster, remembers more, and has mad skills at the IDE. This would be utterly silly if we were talking about great novelists -- how many words they type per minute, for instance -- but somehow it seems to make sense for coders.
Turning +true into 1 and +false into 0 does not seem surprising or problematical. To me this seems like the obviously only correct behavior. Turning these into NaN would be a giant terrible WTF for me.

The author might want to add !!foo as an additional type of coercion (to bool).
MacIntyre on What’s Sinking Catholic Education
CUZ YOU DONT BELIEVE IN THE PRODUCT, SHOOT IT DOWN NOW!
Im going out on a limb here, but this paltrow lady sounds like a fucking lunatic.
"Otherwise they are just empty claims."

No, it's basic economics actually.

All other things equal, if you increase the supply of labour, you're going to see lower prices.

Of course, the economy is not 'all things equal' i.e. more bodies means more consumers etc. but the logic is fairly sound.

In Northern Alberta, for the Oil sands, the lingo they use to push for more migrants is 'labour input costs': "We're seeing risks due to labour input costs" etc.. It's a slightly extreme case given the isolation up there but it's real.

So in the 'long run' things might work better out but the short run economics are pretty straightforward.
> Seems bad for rust that safe code is 25x slower.

Most of the optimizations listed have nothing to do with unsafe, and have to do with algorithmic changes that you could apply in any language, and could apply to safe code just as well as to unsafe code. Even if we pretend all unsafe used there is necessary, and interpret the source in the worst possible light for rust - that the optimization steps would be impossible without unsafe - I think we'd only be talking 4x to 5x slower from this article, not 25x.

But - I strongly suspect not all that unsafe is necessary, and the post certainly doesn't claim it is.

The first code snippet uses unsafe to skip bounds checks. There are plenty of other ways to get the optimizer to skip them for you in safe code - or at the very least, hoist them out of the loop instead. This seems like a good read showing some concrete examples:

https://coaxion.net/blog/2018/01/speeding-up-rgb-to-grayscal...

Explicitly using SIMD code like the second code snippet does might require unsafe for the transmuted slicing under the hood (implemented as raw pointer derefs in this case), but it's possible to build safe abstractions on top of that. That blog post links this, for example, although it didn't end up using it (EDIT: Actually, it initially didn't, but now does): https://github.com/AdamNiederer/faster . It does use unsafe internally: https://github.com/AdamNiederer/faster/search?q=unsafe&unsco...
https://outline.com/cHyZVa
There are dozens of IP operators offering services over a few different infrastructures. Fibre (mainly Stokab), cable and telephone lines.
Vegetarians are less healthy and have a lower quality of life than meat-eaters
Another +1 on this.
It seems to me focusing on eliminating corruption within the organization responsible for protecting us from crime (well, at least if you believe in "protect and serve" as a judge actually ruled police are not supposed to protect us https://www.usatoday.com/story/news/nation/2018/12/19/parkla...) is more important than being stricter on the criminals that don't happen to be wearing uniforms. Police getting away with murder is a much, much, much bigger problem than non-uniformed citizens getting away with murder.

I'm not saying this to be belligerent, but because I want to better understand your perspective. I truly do not understand how you could feel that trying to curb police corruption and letting them get away with murder is a smaller problem than trying to go after more regular criminals (who are being pursued by the corrupt cops and justice system). What do you think is the hierarchy of issues and how should we approach these problems?

Or to put it another way, how do you plan to enforce the law when the enforcers are criminals?
He'd gonna hard pressed to find anything left over from a 100k salary lol.

Sure you could give a few dollars here, and there but when the shit hits the fan, hes gonna wish he had those dollars over of eating the family pet, or leather accessories.
>I think you're both right

Well, I think I supplemented the commenter above -- I was arguing with him only ironically. I don't think it's impossible for something that happened in the past to stop happening, because the situation re: automation, robotics, and AI are qualitatively different than past evolutions (plus we're already grasping at non-productive straws to keep people occupied, e.g. the rise of bullshit jobs).

(In fact, the fully realized endgame of AI+robotics revolution would be the elimination of the need of a human involved for anything, including even creative endeavors. Why some believe "human jobs" are something that's inevitable to always exist in new forms and always enough for most of the population -- as opposed to e.g. just a 10-20% at some point, if not 0% --, is beyond me).
Do you know what the most energy efficient people moving device is? The counterweight elevator. It's true. Cramming a village worth of people into a highrise, surrounding it with walking distance amenities is by far the most efficient, environment friendly way of supplying said populace. Yes, you need trucks to stock said stores but then again, no matter where they live you'd still need those trucks and this way a) economies of scale apply b) they don't go anywhere in single use cars. Instead of going rural, cities with mass transit is the way to live if we are this many. Reducing the populace slowly would be a strategy but it's not what the reality is.
Thanks for the compliment.

I consider "talent" as the amount skills you have at your disposal. I think a average idiot will be more productive the more broad is their horizons ;)
Script to Create Docker Swarm on DigitalOcean (without Docker Machine)
Hi. I used to run a fanfiction site (which I sold about 2 years ago) and one of the things I found quite difficult was monetizing in this field. (I did integrate ebook exporters, readers and other rings and bells into the app after quite a bit of effort, getting very little in return.)
Is your experience similar to mine? How did you decide on the right pricing model?
The key to building an idea seems to be blind faith.

Blind faith is a bad idea. You want to start with an idea and become its biggest enemy for a few weeks. You need to attack it from all angles, talk to potential customers and try to find reasons why it would not work and why you wouldn't want to spend the next 5-10 years of your life building it. If after several weeks you still cannot prove that you have a bad idea then congratulations you have a good idea candidate.

Luck is still going to play a big role in your success but at-least you have a sound starting point.
> These languages are very powerful, but they don’t scale.

The problem, it seems to me is that software developers often think: "what programming language do we really like && can continue to use for $long_time over $scaling_of_business".

When this is the case, business management expectation problems emerge regarding costs, maintenance and timing when the business scales by 10 or 100x. Early phase teams are lambasted for making poor decisions - and "adult supervision" ( i hate that term ) is hired to "fix things".

Thing is, the early "poor decisions" may not have been poor decisions at all relative to the business needs. However, since costs and retooling issues weren't discussed and planned for - the early team look like a bunch of fools/amateurs.

As software developers, we need to understand and communicate that the tools can we use to accomplish the needs for the business at one stage are different than those of a later high-scale stage. its OK, completely natural, and a requirement if we want to keep our jobs and grow with the business.

analogy:
If a specialty carpenter is designing and building high end furniture with a set of well made brand-name niche tools and techniques they wouldn't expect that those same tools would be used if sales take off and 10x or 100x the number of units need to be produced. It would be understood that retooling would be required, people with expertise in those tools be hire and that there would be new costs involved. Also, the carpenter who starts the business with small scale tools isn't lambasted for being an idiot for picking those tools in the early phases. It would be quite odd to suggest that that person have picked tools and hired people for 100x production when they were selling single digit units a year.
This isn't as horrifying as carrier-iq snafu of prior years [0].

The simplest thing one could do right now to get some semblance of privacy back is to use blockada [1] / intra+adguard-dns [2] (better than blockada, because it does DoH). Of course, you could also use pi-hole [3], to that affect as well, but I am not sure if it qualifies as "simple". These DNS based anti-tracking solutions, are tremendously effective right now, though, inevitably, the trackers would work around against it [4].

Other than that, go over the apps list on Android [5] and see the ones you don't have a need for and...

1. Disable them.

2. If you can't #1, remove all permissions. Remember, certain permissions like "draw on top of other apps", "read notifications" are elsewhere.

3. If you can't #2, remove their ability to talk to the internet for both mobile-data and wifi [6].

Remember to backup your data. I've seen atleast one ROM (looking at you Lenovo) getting stuck in a boot-loop when certain apps are disabled, or permissions removed from them.

I think, I/someone should buckle up and write an open-source app that helps with one-click lock-down. Someday...

Bonus:

Avoid Chrome. Use Firefox with uMatrix, HTTPSAnywhere, CanvasBlocker, FirstPartyIsolation, and DecentralEyes.

---

[0] https://hn.algolia.com/?query=carrieriq&sort=byPopularity&pr...

[1] https://play.google.com/store/apps/details?id=org.blokada.al... (root version has better capabilities)

[2] https://news.ycombinator.com/item?id=18788410

[3] https://news.ycombinator.com/item?id=18075159

[4] https://news.ycombinator.com/item?id=19258717

[5] Use ExodusPrivacy to determine which apps have been found to integrate with known trackers. https://play.google.com/store/apps/details?id=org.eu.exodus_...

[6] https://play.google.com/store/apps/details?id=com.glasswire....
This is great! Pages usually jump up and down multiple times.

I need one more thing. Prevent the same jump up/down behavior when using infinite scoll. E.g. if you use scoll bar to scroll down, new content apprearing changes the page height, making the scroll bar recalculate its position, and the whole thing jumps.

Likewise, when I press the browser back button tp go back to the page with infinite scroll, it is only hard to find the point on that oage where I was.
Because Engineering and Management are a completely different skill set, so most Engineers do not make good Managers.
I have found what works best for me to recover from chronic stress is light training, like walking, and mindfulness meditation, specially body scan.
Devise however is a good example how some parts of the rails ecosystem grow on complexity with your needs. I can start out with a bare devise system. But first you generate the views and handle them yourself and more often then not I end up overwriting some parts of devise controllers as well.

Sure it's kinda complex but their interface makes every form of extension rather easy.
I don't know about 10 years but for 1-year returns. It looks like AMZN is set to test $2400 relatively soon and BlackBerry can test $12-$14 in 4 months. Also AAPL is set to test $250.
I'm not saying that this idea is grounded in reality :)
Cool project, I was searching for something like this a while ago and then tried to build something similar. It's not as cool and full featured as yours though; you have to write your own plugins for each site. It was still fun to build though.

https://github.com/dewey/feedbridge
> LISP is not special in that regard

It's just MUCH MUCH easier, standardized and widely used.
This is not true for a lot of organizations though.It’s not rare for people to effectively have multiple “bosses” that switch depending on what you’re doing.

For instance a product/project manager is effectively a boss to you in that they have the strongest influence in what you will doing. These PMs might not properly represent all the stakeholders and you end up dealing with other departments project sponsors as well.

Then there’s an actual direct manager who can influence your whole career, you can have to deal with your manager’s manager on specific missions or tasks, especially if you are yourself in line to become a manager.

It becomes a mess, but that’s the reality for a lot of people I think.
SIMD requires unsafe for some reason. Not sure exactly why.

I don't see why they used unsafe in `add_assign` - an assert!(octets.len() == other.len()) would likely have elided the bounds checks.
You say that in jest, but that is actually how this process works. Remember when touchID came out and many people mockingly thanked Apple for not having to enter 4-6 digits? Now how many people get pissed off when their wet thumb doesn’t read right and they have to enter their pin?

People get used to new luxuries.
Check out "Fig 2" on this page (coil diagram):
https://ifixit.org/blog/14883/what-finally-killed-airpower/

Or "Fig 5" on this page:
https://appleinsider.com/articles/19/02/19/airpods-wireless-...

P.S. Glad to finally find a technical comment, after scrolling through 200 marketing/business comments. :)
Go Resources for Developers
I cannot stop laughing at this comment.
I mostly program in C#, python and JavaScript. By mostly I mean slightly more than half the time. The rest is old C++, old Java, old Perl, BASH, etc.
I gave up a long time ago trying to remember the APIs/Libraries for all of those. Most programming is doing something slightly different to some other thing you have done before. I make it a point to remember how I do things, so that no matter the language, I can get it done. This also helps tremendously with estimates.
I now see spec op teams (farmers and fishermen) who's job it is to change landmarks with dynamite and diggers...
In my state, there is a public record of all car sales so if you have a car you can look up the address and names of previous owners.

Names and addresses are generally not even considered 'private' information here; its only that the situation for apartment dwellers are inconsistent so no one bothers with record keeping there.
You can, the authors of the paper provide the actual code they used on their website.
I was dumbfounded just the other day when i learned that tokyo is 38 million...

So basically that one city has the population of caifornia.

If i were a wantrapeeneur id be seeing what app services tokyo specifically from and economic and cultural perspective as if you can monitize just fraction of tokyo businesses......
Probably because it's deemed political? The topic policing on "controversial" issues is pretty intense. Or maybe because there's a snuff video on that page. For what it's worth, I actually saw that, read the article, watched the video, and upvoted it - and thought to myself "this will get killed if it gets traction". Looks like I was right.

I do think it's on-topic, gruesome as it is - it's the intersection of technology and authority fraud prevention, in the context of flawed systems with fallible humans. Another topic that falls in this category is the debate about voting machines, frequently discussed on HN.
Thanks. And where do your notes and highlights end up?

I have a flat text file that's nearly 1MB in size, that I started 17 years ago! But it's just stored on Dropbox, which is cumbersome to use to search in the file while mobile.
The Up Down Tides
If you are interested in RSS, I did a twitter-thread [3] recently on interesting projects in the space. Reproducing here:
If you are interested in helping revive #RSS, a thread on some good FOSS projects around RSS:

1. RSS-Bridge[0] - RSS Feeds for websites that don't give you one. Supports instagram/facebook/Google Search and many more (150+) websites. Very easy to contribute, and there are open requests for lots of providers. (I added a Amazon Price Tracker Bridge in <150 loc). Yes, I get a RSS notification when there is a price change on something I follow[1].

2. MiniFlux - Golang+Postgres based self-hosted RSS feed reader. Minimal/responsive design with keyboard shortcuts https://miniflux.app

3. 3. tt-rss - A highly configurable PHP based RSS feed reader. Supports plugins and has tons of options. UI is similar to Google Reader. https://tt-rss.org

4. Winds - A Beautiful Open Source RSS & Podcast App powered by @getstream_io. I haven't tried self-hosting it yet, but it looks really great. Also, under very active development. https://github.com/GetStream/Winds

5. FreshRSS - Lightweight PHP/SQlite self-hosted feed reader. Looks great as well. https://freshrss.org

6. Kill the Newsletter - Subscribe to a newsletter with a one-time generated email address, it generates a RSS feed for you. Your inbox stays clean. https://www.kill-the-newsletter.com

7. OPML Generator - Generates OPML Files using subscriptions on other sites. Supports GitHub stars (generates a file you can import to follow releases from all your starred repos on GitHub) https://opml.bb8.fun/ (Personal project, so count this as a shameless self plug)

8. RSS never really died, so revival is a misnomer in that sense. All major news publications still support RSS. The entire Podcast ecosytem works on RSS. You should also look at WebSub and ActivityPub (both W3C recommendations) if you're interested in this.

9. And finally a cool new idea - build a Telegram Channel to RSS Feed generator. Will open up so much hidden content to the open web.

10. Bonus: https://www.youneedfeeds.com/ Info site that you should share with your friends to help them get started with RSS.

[0]: https://github.com/RSS-Bridge/rss-bridge

[1]: https://github.com/RSS-Bridge/rss-bridge/pull/741

[3]: https://twitter.com/captn3m0/status/1018850458675408902
Unless it doesn't:

CL-USER 14 > (loop for i from 0 below 10
sum i into isum
when (evenp i) sum i into evensum of-type integer
else when (oddp i) sum i into oddsum
finally (return (* isum evensum oddsum)))
22500
> at 14%

It's actually way lower than that, both by output and by headcount.

> and dropping

Not under Trump it's not: https://www.marketwatch.com/story/manufacturing-employment-i...

Quote: "Last year, 264,000 new manufacturing jobs were added, representing the highest number of new workers since 1988. As a percent of the total workforce, manufacturing rose for the first time since 1984."

Must be the "magic wand".
Typescript is a godsend. Once you get comfortable with TS, you just can't go back to normal JS.
https://users.rust-lang.org/t/how-to-zip-two-slices-efficien... explores eliding the bounds checks even without an assert! (though by using the smaller length as the bounds, which might not be the desired behavior)
The question is what the intention was. A carpenter doing models for IKEA would be expected to design for million-unit volumes from the start.
This used to be easy with RSS support in Firefox. Not anymore
This is both really wrong factually and really cynical to a degree that is also wrong. This may be _some_ people's dreams, but the reality is that this is not the foundation story of Java, at all. Java's popularity had more to do with its portability (you could write your code on your Windoze box and then deploy it to SunOS or Linux with a reasonable expectation of it working just fine) and its safety (it was a marked improvement over C) than on the dream that it would be the language that allowed for offshoring your team.

In fact, amusingly, I'd argue Golang is more explicitly designed to be able to bring new developers up to speed rapidly and not requiring them to be language experts to be productive. This has direct impact with respect to being able to hire developers, possibly en masse. And hey, whaddaya know, it was dreamed up by a $bigcorp way bigger than Sun was back in the day.

The reality tho is that $bigcorp just wants to be able to write more code, not replace the coders they already have.
Agree on all these points except I’d elaborate. I’ve seen managers go from good to bad by not realizing a key difference between management of junior and senior engineers. For junior teams you want a manager who tells you what they want, clearly, as you said. However with senior engineers the manager needs to ask their reports what to do. Key difference! You tell junior people what to do but you _ask_ experienced people what to do. That’s the only way to benefit from their experience.
That paper is interesting but it was published in 1991, and it predates the modern use of exogenous shocks to get clear evidence on causality. In particular, it doesn't directly estimate effects on wages - it calculates them from an economic model. Whereas this paper looks directly for wage effects, in the context of a big local labour supply shock, and doesn't find them:

Card, D., 1990. The impact of the Mariel boatlift on the Miami labor market. ILR Review, 43(2), pp.245-257.

Borjas is an interesting guy and I respect him, but I don't think the overall literature supports his negative view of migration's effects on wages.

I stand by my claim, not because I'm a huge expert, but backed up by the two literature reviews mentioned above.
Ha. I agree. People these days just seem to respond to outlandish claims over something real like - I’m building a venture network that helps teams come together and here’s an article I wrote about everything I’ve learned so far.
Find what you dread, and what you avoid. If it’s your job change your job - if it’s your home life, change your home life.