skysight-inc/HackerNews huggingface dataset:
Very pleasant and refreshing to see some activity on the OSS front here. I believe Mozilla would have the resources to bring this to a success.
Although naivety aside - I think it'll take years to only slightly catch up with the comfort and usability 1Password already provides. While it's not OSS it is still the benchmark to beat in terms of usability and integration.

Good luck Mozilla!
Initially Intercom was all about being great in a niche (on-site chat messaging), doing one thing well, focusing. Then growth came, demands for expansion, and so their mantra switched to all-in-one suites. So did their content marketing.
airplanes are kind of unlike banks and trading markets too yet those are also heavily regulated.
I've read that, for a time, "view anyone's profile" was an advertised perk of being a Facebook employee (maybe just a wink-wink, nudge-nudge thing in an interview, I have no firsthand experience). I'm sure they don't do that anymore, but how much have they really tightened up the ship after having a culture like that?
Challenged myself to build and launch an app in a week
Don't you need a ridiculous amount of visitors for it actually to be profitable?
Lambdanaut, if you followed Hitler and believed that nationalism was for the best and then ended up being responsible for the genocide in the camps - do you go back and tell everyone that the only reason you've been killing jews is because you believed that the German people are _simply_ better since Hitler told you so?

I believe you deserve the full responsibility for your ignorance. Your actions are actions of hate no matter how you justify them.
Is affiliate marketing disclosed to consumers on social media?
Basically what I am saying is while should be mostly off limits.

But yes if you end up in a loop you have some sort of counter/null checks or way out if you end up in a constant/recursive loop.

Never leave open the possibility of a lock due to being stuck in a loop.
Interesting indeed. But I wonder whether all the (often accurate) attempts to lay bare contradictions in human perception and judgement lead anywhere.

People might be comfortable with airbags despite them occasionally malfunctioning and killing someone but uncomfortable with an AV that can make its own decisions and that, in extremely rare cases, might make a wrong decision and kill someone - without seeing any problem or contradiction.
I have doubts about whether "real" projects generally have these kinds of concerns. But even if they do, you can clean them up in a `finally`, or your language's equivalent.
Uh huh. We were the first to market with portable electronic medical records. "Fly by night." Sounds about right.

In the USA, there is no way to encrypt medical records at rest and permit data interchange. Because in the USA we do not have universal MRNs (PIDs, GUIDs, whatever). Meaning that if demographic data is encrypted, the system cannot match records across org boundaries, meaning care providers aren't 100% sure they have the correct medical history for the patient, meaning prescription errors, cutting off the wrong arm, misdiagnosis, etc.

Some enclaves like Medicare and VA can encrypt their own data for their own usage, but that protection is moot the moment data is shared with other orgs. It's been a while since I've checked, but I doubt they do encrypt, because that's a bottom up design decision.
Yes, he is a remorseless killer. No he's not "batshit crazy".

You might also want to check out his most recent work, "Anti-Tech Revolution: Why and How" (2016)

Here's what MIT's student newspaper had to say about the book:

"Anti-Tech Revolution: Why and How is Kaczynski’s well-reasoned, cohesive composition about how revolutionary groups should approach our mercurial future….. I recommend that you read this compelling perspective on how we can frame our struggles in a technological society."
-- The Tech, MIT's oldest and largest newspaper

"batshit crazy" haha. A political classification if there ever was one.
That's a really nice approach. Thanks for sharing, I might borrow it sometime!
African Dust Turns Snow Orange in Eastern Europe
> starts to depend on the kind of resource to manage.

Exactly, simple but not too simple. If the condition does not need to return early or can't, you don't.

> quickly end up managing file descriptors, sockets, handles, GUI resources

In some of the cases you describe you wouldn't return early or depending on the need, but if you can you should to minimize work.

Some examples: file descriptors you'd return early if the file does not exist, sockets you'd return if dropped or compromised and you have performed cleanup, handles if null, gui resources can be lots of things but if you were doing something where you needed to cleanup you can cleanup and return. In C# for instance you might wrap some of that in a using such as files, sockets, streams etc. Most of your examples you might already be in the meat of the return early flow and usually there is still a return at the very end but in/after the meat.

Returning early isn't saying do a dirty break or asserting out, you don't return early before cleaning up if you are within some resource.
Woah a couple of hours? cool! It's great to find the hacker news discussion if I'm on a random webpage, I find it very useful :)
Let's say we can see 30 lines on our screen and the average function takes 5 lines with OTBS. That means we can see 6 functions at once with OTBS and 5 with Allman. That makes a difference at least in my case.
There is a niche for players who want realism above all.

Sometimes there is a studio that fills the niche, sometimes not. And while the team is usually very passionate, they simply don't have the resources to match to polish of AAA titles. I don't know what the state of the art is for 4X games. You can probably find realistic wargames though.
11 Essential Elements to Build High-Performing Engineering Teams
The One True Brace Style:

https://softwareengineering.stackexchange.com/questions/9954...

The name tells you that it won.
Yes, exactly - that's one of the points I was trying to make. A curriculum that teaches kids far slower than most of them are capable of learning makes an average-ish student from a better curriculum look "gifted". My experience before and after schooling in the US is that I'm not an exceptional genius, but I sure felt like one in class, and that sucks for all the kids who were just as smart as me but had a shitty education in fairly well-funded school districts. I had the benefit of recognizing I could do better and learning a lot at home. Many other kids would just assume they're not gifted and on-par and not expect more from their education, or wouldn't have the resources to learn better at home anyway.
#CreatePreneurAfrica- Mountaineer Monde Sitole, Peak Performance
LOL of course... like the whole kit and caboodle. I bet they'd make back all the money they could realistically claim to have lost by his antics. I'm just wondering who they could cast to capture his personality profile. Jack Black? :P

He reminds me of an arch villain that you love to hate from some superhero movie... like The Kingpin. We need a superhero to battle him. He has comic book legend written all over him.
He didn’t hack anything nor get rich off of the bubble. He was always a fraud.
> you retain the capability to block/proxy

Only if you are smart enough to know the browser has its own resolver, and that you need to turn it off first. We may not be able to turn it off in the future, meaning if you want to have privacy you have to run a privacy-specific browser.

This may end up breaking traffic as Google shifts more and more of the web into its proprietary products. For example, Google owns the .DEV gTLD, and makes .DEV domains "completely closed for the sole use of Google". It may at some point buy some other gTLD (such as ".BLOG", which it was outbid for) and decide that the only way for you to access websites with domains using that gTLD is to use Google's DNS API. It may sound crazy, but if they already shut out everyone in the entire world from having a .DEV domain, this doesn't seem much crazier to me.
If it weren't for some weapons, you might not be alive today either.
One drawback of returning early is it can complicate debugging. If I want to stop on a breakpoint when a function exits, it's nice to be able to set a single breakpoint on the final return statement. When you spew returns all over the function, your life gets more complicated. Some debuggers let you put the breakpoint on the final brace and will do the right thing, others make you find and put a breakpoint on each return.

Another thing I avoid doing because it complicates debugging is putting a final calculation on the same line as the return:

return combine(foo.calculate(), bar.calculate());

Some debuggers make it difficult for me to examine the result of the combine() function and/or the results of the .calculate() methods. Better to be explicit:

auto foo_result(foo.calculate());
auto bar_result(bar.calculate());
auto combine_result(combine(foo_result, bar_result);
return combine_result;

There, much better, arguably more readable, and I can stop at whatever step I need to.

I've had to debug far more code in my career than I've had to write, which has encouraged practices that make debugging as straightforward as possible.
Tried KeePassXC or just old KeePass?
> He embodies a lot of the stereotypical hacker image that people have - overweight, hacked the Pentagon+NASA+Citibank before he was old enough to drink in the US, a touch dramatic, etc. It's only natural that he's given a bit of attention.

Bullllllcrap.
If data at rest is unencrypted, I don't believe you. Sorry. Someone, somewhere is peeking at the naughty bits.

This is the best resource I've found for protecting such things:

Translucent Databases: Confusion, Misdirection, Randomness, Sharing, Authentication And Steganography To Defend Privacy http://a.co/eLgQACC

Maybe differential privacy stuff will supersede, compliment these techniques. I'm keeping an open mind.
TLDR;
A gas supply utility, Indane, provided an un
-authenticated, non-rate limited API proxy to the authenticated Aadhar API, allowing anyone to make more than a thousand requests a minute to fetch personal information, by just iterating through the Aadhar numbers.
I saw this couple of days ago with Mozilla roadmap. But I have been wondering about few things.

1. Why firefox only?
2. Why encryption is limited to Firefox account.

Such lock-in with firefox doesn't make sense to me with Mozilla's vision. If it's due to this being an experiment still that would make sense but that should be made clear I think.
And affirmative action.
I guess I'm the minority here, I prefer "if else" with the happy path inside the if.

Returning early gives me mental overhead of keeping the "elses" on my head, and doing it in Scala makes the code look more verbose.
People have not always been comfortable with airbags, or even seatbelts. It took many years of technologies proving themselves thousands of times before they achieved widespread acceptance. It probably helped thst in both cases they didn’t represent trillions of dollars in value to heartless technocrats, but were just safety improvements to existing vehicles.
That link's favorite response actually refutes that brace style matters at all. No correlation with bug frequency detectable. So its all religion.
Honest question: Is it really? That can be just my network, but I've never stumbled upon anyone using WhatsApp here in Poland. I only know this name because I follow tech news. Almost everyone uses Facebook's Messenger, some people use Telegram, sometimes Hangouts, gamers use Discord, techies Signal or Jabber and that's pretty much it.
And I didn't have to know because I never signed up for Facebook because it's obvious that centralization leads to perverse incentives. It's been obvious from the start but dismissed without consideration ala https://xkcd.com/743/
im really suprised this is so downvoted, its articulate, and seems right to me. why would you like this guy? some people like anyone rich apparently...
I'm skeptical of a definition of luck where you can be trained to be lucky. That's not luck, that's skill. There is no skill to luck by definition.

But let's take what we've got here and engage with it:

>She came up with a few basic strategies for parents to teach their kids, including being open to new experiences, learning to relax, maintaining social connections, and (yes) talking to strangers. All of these techniques had one theme in common—being more open to your environment both physically and emotionally.

Okay but this is still luck, we've just moved it further down the chain. Now these are kids who are lucky enough to be born into a family which is concerned enough with these things to train them. Heck even prior to this training what is it that a kid needs to become an adult who has 'learned to relax'? Probably a safe environment, one where relaxing won't be punished. Same goes for 'talking to strangers', even more traditional concepts of luck being related to hard work, these all rely on growing up in an environment where these traits are present and are rewarded frequently enough for a kid to draw the connection. That is luck and I don't think these articles with the implicit message: Skill is the real luck, ever do a very good job, they just smuggle the luck away into some other unaddressed reality of our environment.
It’s very naive to believe that past performance is a perfect predictor, and a good way to lose your shirt.
WinZip Registry Optimizer 4.19.4.4 Crack Free Download Here
Can you provide a source (or data) that countries with stricter firing laws have more contract workers?
> I'm still completely convinced that this whole scandal will not damage Facebook a bit, in the long term. Yeah, the stock is going to be a bit lower for some weeks, some people will leave, but the largest part of the Facebook users has not even realised the scandal in full scale

They'll probably be damaged if FB becomes a downmarket social network only used by those who are unsophisticated and unaware. It may not be apparent now, but it will be when some new product captures those users and starts building social momentum that FB can't counter. That's literally how FB got big, and I think they've only been able to so far prevent it happening to them because they've been allowed to buy their competition.
> the value proposition is: neovim, with vscode compatible snippets and typescript-language-server-driven autocomplete (also works with vanilla JS) out of the box

How's that compare to emacs? It sounds like it can be extended with Vimscript or JavaScript? Emacs has several snippet/templating options, and of course it also has several autocomplete options.

> The bonus value proposition is: since it is a GUI wrapper around neovim, you get to retain all of the muscle memory you have built up in your years of using vim, but potentially also get all of the goodies that a graphical IDE like vscode provides.

Emacs has had a X GUI for about 25 years (and of course vim has had various GUIs, too — although I think less powerful & extensible).

I really don't understand what the value proposition is here. Rather than using Electron and JavaScript and Vimscript and an ancient C core, why not use X/Cocoa/WinAPI, elisp & a relatively thin C VM? I always thought that the value proposition of the vi family was small, lightweight, fast-booting, found-everywhere, clean — not arcane, baroque, complex, hyper-extensible, flexible & hairy (that's emacs's value proposition!).

From my point of view, all of these huge environments built atop vi are simply reinventing emacs, poorly — and worse, they're destroying the wonderful things I always loved & respected about vi!

Just as an example, if you want to build a 'gamified tutor mode,' maybe the original AI language might be a good choice?

Certainly, folks should be free to follow their bliss. I don't really begrudge the Oni guys their project (although I'd obviously love it if they spent that energy & brilliance a little further up the stack, e.g. by making a great text/GUI browser mode for emacs) — I just don't get it.
More and more, I am convinced that the video released comes from scapegoat cameras, as someone named them here on HN: "post crappiest video available, have the public believe there's nothing you could have done." It works (tm)
I just feel at home with FreeBSD. I mean it’s not perfect. That’s why I run FreeBSD on some and not all of my computers and instead run Linux on the rest (and also macOS on one of them).

I like the idea of the same group of people maintaining the kernel and the userland utilities.

Also I am strongly in favor of the family of BSD/MIT/ISC licenses over GPL.

I love ZFS. I think dtrace is neat. I think jails are nice. I like pf. Nowadays there are equivalents for pretty much all of that on Linux. In fact you don’t even have to go with btrfs to get something like ZFS on Linux — the ZFS on Linux project makes ZFS available on Linux too. But on FreeBSD all of these things are there in the base install without having to do anything special and they will continue to be there for a very long time.

All in all, I just like FreeBSD a lot, and I feel at home with it in a way that few other systems make me feel.
Sometimes I like to generate a summary for release note purposes. The shortlog command (which is what git merge uses) is good for that. https://git-scm.com/docs/git-shortlog
Sort of. For now.
I guess I would agree with the concept of managing “human time”, but I believe you are focusing on the wrong human. The developer will certainly spend a lot of time writing and maintaining a code base, but that’s minuscule compared to the time spent by the end user. What software design principles will save the user the most “human time”?
Thanks for explaining

However having flexible time is a more important asset to me than doing the occasional overtime
I can tell by your example you don't know idiomatic C++, keep it mind it takes years to get to that point.

Consider using noexcept or just use C.
> ... makes case analysis easier ...

> ...making the code look less complicated than it actually is...

> I'd rather emphasize the underlying declarative intent, the state machines, and pre/post-conditions.

So much this. The goal of refactoring code for readability is not to make it parse more like spoken language (ie, English). Its to aid in understanding and analysis. Having code layed out on the page in a way that mirrors the true control flow graph, makes understanding the CFG easier. Having a data flow graph that mirrors the control flow graph makes understanding the DFG easier.
The main problem with Google is that I expect any service they build (beyond their biggest ones) to be shutdown eventually (probably sooner rather than later). It's not worth taking a chance on them anymore.
I had a similar idea for years now, just without the animation of the exercise. Did it come out of one of the frustrations I had with exercise, which was all of that monotonous counting? Kudos to you for following through with it.
Nothing irrational about feeling joy over what is hopefully more succinct and efficient code.
Gosh, I didn't realize my new MBP had such a bad screen.

Low-contrast UIs can work well in a typical office environment on bright screens.

Take your ideally calibrated monitor, and use it as a second screen while watching a movie in your darkened home theater. Now take it and use it outside on a sunny day.

I prefer to adjust the brightness. YMMV.

Your description of sRGB is incorrect. sRGB was specified for CRT screens in 1996, used in an ideal viewing environment that is very dimly lit ("The current proposal assumes an encoding ambient luminance level of 64 lux which is more representative of a dim room in viewing computer generated imagery... While we believe that the typical office or home viewing environment actually has an ambient luminance level around 200 lux, we found it impractical to attempt to account for the resulting large levels of flare that resulted" https://www.w3.org/Graphics/Color/sRGB.html)

That doesn't match my viewing environments, which include the range above.
I agree. I'm not looking to increase code density. I leave empty lines between logical sections within functions to allow the code "breathe". It helps me parse my own code.
Multiple entry/exit points is the defining characteristic of coroutines(as described by Knuth.)

The functional equivalent would be (delimited) continuations and is extremely powerful (but potentially confusing in an untyped context.)
That is the typical situation. Regulation protects the entrenched large organizations who are mostly 'grandfathered' in and set the standard for what is permissible. And it then shelters the giants from competition coming from smaller organizations. This is how companies ossify themselves into the larger structure of government.
This breaks down immediately because no matter how much is “handled” at the top, any one of the neatly-packed doSomething() and doMore() calls at the end can still fail and need handling. You can’t conveniently omit the mess that would be created for checking each of those.

“Errors in top if” is good advice but every “else” may need its own (indented) top “if”.

Indentation isn’t that nice but it is a very loud indicator of code becoming too complex, and a lack of indentation is a hint that an error might have gone unchecked.
FTC Says It Has an Open Non-Public Probe on Facebook Practices
If it weren't for some cosmetics, many of us might not be alive today either.
I like GitExtensions. I cringe when i see people manually entering hashes when they want to do stuff such as simple diffs. It's busy work. Hammering away on the keyboard but actually accomplishing so little.
Add: not convex (no sticky-outy parts). It all fits inside a rectangular control volume.
Hm? I don't understand the connection you're drawing to her parentage.
I had one incident which convinced me that their algorithm is easily fooled even by single misclick.

I hate ads propagating alcohol so I always report them to FB. Once I misclicked and instead of reporting it I opened linked article. Based on that click FB added alcohol to my interests. It did not matter that I reported all other similar adds before and also after that.
Yes, as long as you recognize where that line of obfuscation (LOO) is and stay just short of it.
Maybe the most important improvement modern society could achieve - make the dang box lighter. Might accomplish more than all the social policy changes
These religious wars can largely be swept away with one simple, practical question: What is going to result in less noise in pull requests and the commit history, given that nowadays everyone uses a different editor with different configuration defaults, and is going to result in less time in pull requests squabbling over these kinds of formatting issues, given that nowadays everyone uses a different editor with different configuration defaults?

Tabs vs. Spaces has a fairly good answer that flows out of this way of looking at things. There is a counter-argument to that answer, but it is invalidated if you move toward conventions for argument lists and chained method calls that are also designed to limit noise in the source control system.

IMO, the argument about bracing also has a practical, non-religious answer once you start looking at your coding conventions this way.
In Common Lisp the syntax for early return is so ugly (```(return-from function-name result)```) that I use it very rarely. In general, it seems that in the languages that use implicit return (Lisps, Haskell, Rust?) having an early return is discouraged by design.
Great project. I tried Atom but was not satisfied with the performance.
I would like to try it but looks like I am a noob with Vim. Where should I start?
Financially it's smarter than being a post-doc or untenured lecturer.
Funny how centuries of race based slavery and discrimination will do that.