skysight-inc/HackerNews huggingface dataset:
The main advantage of C was that it allowed you to type stuff super fast comparing with Pascal ( {} instead of Begin .. End etc.) and had some very handy shortcuts for often used operations like ()?:, ++, --, += etc. Less verbose language, less need to type syntactic structures. You could basically keep the flow of what is in your mind with the progress on your keyboard and forget about typing it; you were simply assembling stuff in your mind and at a rapid face making it happen on a computer. Something similar you can now probably experience with Go, sometimes Scala.
This is correct. There's no harm.
Even worse, you can't expect thunderbolt 3 to work over any cable length. So unless all USB C cables become active cables (unlikely), longer USB C cables won't have thunderbolt support due to signal integrity limitations.
The users used the same settings brightness settings as Apple on their benchmarks (75% brightness) just to be sure. But the observed battery life was often half that of the official one.
Show HN: Schesign alpha
That PEP leads down an interesting path -- hadn't realized there was a completely new packaging tool called "flit" that's aiming to be much more lightweight than setuptools.

https://pypi.python.org/pypi/flit

Looks quite nice, a flat .ini file for specifying deps, though it only builds wheels.
I feel like Docker can be used in place of both python and ruby virtual environments. There are official containers for both.
Great points. Thank you!

I've been thinking about feedback on incorrect answers and providing hints when the learner is stuck. I want to try and make this dynamic based on what the learner tries. Of course there are endless possibilities there, but at least if they do something that's known to be bad, it's a good opportunity to teach them why not to do so.
Hi Everyone,

I am looking for feedback on a side project some friends and I have been working on.

First, do you see any value in being able to create, collaborate with access control, version, and diff data designs, and then output them to different formats? I have done some work in healthcare, energy, manufacturing, and e-commerce and in every one have seen json/xml schemas (or free text data specs) being passed around through emails, word docs, excel spreadsheets, hosted s3 files, power points, custom built websites, etc. I’ve also seen bugs when versions get confused between data partners or comments/changes get lost in email threads. It’s also not fun to read and maintain a 300-3,000 line data schema file.

Second, do you seen any value in being able to compose data designs? I personally think the idea of reusing data structures and composing data designs with a few clicks is interesting, but I’m curious to the practicality of it?

Also the json-ld graph output feels like it could be wrong? I am trying to avoid constraining properties using rdfs:domain as is common in RDF (since properties can be shared between designs and it creates a coupled export), however lib:children seems a little off?
I agree, but actually hooking up guitars to software seems like a cost-effective way to get supplemental "lessons."
Best thing about Windows Phone was the email notifications didn't make noise by default.
Especially since 'to send it' in other sports like snowboarding or skateboarding means "to get air" i.e. freefall.
> You don't think having an easy way to create high quality animations for any purpose that work on multiple platforms is interesting...?

It would be more if they'd have created an extension to the SVG standard that they'd just parse out via JS. Then it'd just be a polyfill, and could easily be integrated natively in the future, and gain support on other platforms, too.

This will change the world for a few months, modifying the standard would change it for years.
It's also heavy. A better choice for this person's application would be Tyvek. (e.g., https://backpackinglight.com/forums/topic/18758/ ).
This is a short article/solution regarding the ESC key problem: http://vim.wikia.com/wiki/Avoid_the_escape_key
> If you don't trust auditd

I know basically nothing about auditd. It's the kernel code I don't trust. Go-auditd may well be fantastic, but treating the kernel part as a reliable black box seems unwise to me.

Edit: you might not need eBPF to get something better. Plain old "perf script" and the underlying ringbuffer API should work decently well on older kernels. There's a performance hit, but Steven Rostedt has a fix, and it should get backported to RHEL at least.
And the reason for this reorganization of responsibility is what, exactly? See, that's the problem. If you rename it, people won't compare it. So it gets easier to sell, because if people compare it, they might get a clue and find some flaw in it.

I am not against some shuffling of responsibility. But ideally, you should know why you do it and best if it's backed up by some studies. You can't do a study if there is no way of comparison.

It's not just people though, it's also stories, sprints, iterations, epics,... you name it. Also, everything that came before was retroactively (and derogatorily) renamed "waterfall", despite the fact that many of the advantages of agile were actively discussed since 1960s.

And, yes, I believe well managed project can be better than agile, at least in some cases. We have Agile in our organization, ostensibly, but in effect it's lot more paperwork than it ever was under so-called waterfall. At least that is my experience, of course some other people can have different one. Maybe you just didn't get in the contact with the right snake-oil salesmen - good for you!
Teams communicating daily with users - i.e. people who will use the software, as opposed to some manager - are some kind of unicorns; I've heard they may exist somewhere, but I've never ever seen one. Especially not the ones communicating daily.

And if your "daily" communication with "users" involves specifications and talking to managers, it doesn't matter whether you're in-house or outsourced.
The BASIC Issue with Retro Computers
This is great! I think all coding education providers should adopt a similar format.
The thing that kills me is how many add-ons you have to buy on day one just to support any peripherals you've got.

It's OK that Apple has bet big on USB-C/TB3, but the least thing Apple could have done (this year at least) is throw in a couple of USB-C to USB-A adapters in the box.

When I bought a Macbook Pro in 2011, the only thing I needed to buy were some miniDP -> [hdmi/dvi/vga] adapters. The standard set of ports and SD reader covered pretty much everything else I could possibly need. And, it included the 3-prong extension to the power brick, which was indispensible to me -- no client I went to ever gave me a cube to sit at with a power bar that was close enough or had enough room for the brick to plug in properly. Now, that extension is an extra $20.
Go outside, find an aloe plant, take a cutting of it (make sure to ask the owner.....) and transplant it into a pot of soil.

Water, and keep your friend alive.

Succulents make good desk plants :)
‘We don’t need the FCC’: A Trump adviser’s proposal to dissolve it
Agreed. I believe that AMQP connections are best suited for wide and articulated local environments. Moreover REST HTTP endpoints are today's esperanto :)
I would tend to be more cynical and put it at right after the formation of the United States. Self-determinism seems to very much be a "Do as I say, not as I do," sort of thing.

Certainly that is another way to look at it. I can imagine that modern-day secessionists, like the CSA founders before them, would argue that it's the other guy who has changed.
> In what way is this a hacker piece of news ?

As always when someone asks such questions (including when I asked one a week or so ago), the answer is that this is a site for news of interest to hackers, not necessarily news about hacking. If you want to judge whether this is of interest to hackers, then just look at the lively activity of the rest of the thread; it compares quite favourably to even some quieter front-page discussions.
Uncomfortably accurate. If tech is supposed to make the world a better place (however you define better) and the people we inflict products on walk away disgusted by the cutting edge of tech, that's a problem.

It doesn't matter how poorly the article articulates itself, when devs care more about the next round of investment, or simply being able to say "I work in a start-up" than if their idea is actually going to help people, then we are doing it wrong.

It is entirely understandable to appear as a Luddite when the people developing and pushing the technology have no regard for the wider societal impact of their creations.
Using 3 year-old GPUs on a much deeper network than the other guys(tm) to demonstrate awesome scaling efficiency == Intel-level FUD. Note also the absence of overall batch size.

Wonder what would happen to that scaling efficiency if those GPUs were P40s?

See also the absence of equivalent AlexNet numbers to further obscure attempts at comparing this to the other guys(tm).

Can't wait for Intel's response to this.
I never said humans should read it, just that it's human readable. And of course requirements.txt is technically human readable, but the problem is that it breaks scripts if you do anything other than pip freeze to it. This is obvious in the npm world (you better put JSON in a .json file!).

My point is that the .txt extension doesn't give any hints to its use or that it's breakable, and that the name "requirements" doesn't describe the intended domain of the file (Python only). Even naming it "python_requirements.txt" would be an improvement.
That probably doesn't help you in the case of running them over on a city street.
Its a $2500 laptop. Apple should ship the cable.
I strongly disagree. What you're suggesting leads to really mediocre practice and that in the long run will get people to give up because they've reached a plateau they set upon themselves without realizing it.

Your teachers know and understand stuff you're years away from grasping as a beginner. Its not about being "professional" but rather having the proper foundations upon which you can build knowledge and muscle memory. Its about spending the least amount of effort at any point in your practice so it becomes actually effective. Its about having a logical progression where each new concept adds up to existing knowledge (music theory is VERY well structured in that regard.)

I personally dread that new crop of teachers using MIDI/apps to teach music. This is anything but teaching music - its teaching MIDI and apps. You dont learn to ride a bike by downloading an app or playing "bike simulator" - its just obvious.

Saying "endless learning of grammar" and other forms of "oh god, I have to put in effort?!" mentalities show off a very shallow understanding of the domain - this is what you expect a teenager to say when looking at his courses because he's years away from understanding why they're useful. Sorry to sound harsh but its just how it comes out as.
Then you keep doing what you're doing, and when you're better than Ahmad Jamal he'll listen to you.
Typing fast usually doesn't lead to working programs that solve what is actually the customer's problem.

Software engineering isn't about "keeping the flow", rather about achieving the quality, deliverables and desired outcomes required by the users of the software.
The entire guide seems mostly consumer-centric: What do they as the one being called want, sender-side concerns are missing entirely.
I suspect we will see the share desktop experience extend to other devices.

In an post release interview Jony Ive implied that the touch bar was the first step in a new paradigm.

Imagine the Photoshop toolbar being available on your iPad's touch screen, while you're editing a photo on your Mac. Or playing a video game while using your iPhone for controls.
Do the new MacBook pros support display port chaining now?
Finally we know why Apple ditched the minijack on the iPhone 7...
Why not the 2016 model without TouchBar?
True. Also having a sample request at the very beginning is useful so you don't have to find a way to trigger the event by clicking around on the product UI.
C# maybe? The amount of features in it is very rapidly nearing those of C++.
Nothing beats pen and paper. Probably you already have it available, it lends itself to be low-fidelity (and high-fidelity if you have an artistic side) and very easy and fast to use.
You’ll have to rely on inorganic means like ads, marketing, or PR to maintain your growth, and this gets very hard to sustain

This is a point that I am always curious/skeptical about because growth will always become marginally harder. So ads, marketing and PR are always going to be necessary at some point.

Using his examples, facebook is creating airplanes to deliver facebook to people they can't reach otherwise - talk about high acquisition cost. AirBnB has a ton of TV [2] and Print ads.

Further, companies like abcmouse [3], dealdash [4] all blanket the airwaves with their ads and seem to be doing well.

So maybe some companies/products lend more to traditional ad spend than others, or maybe the idea that viral is the only way to grow and sustain is wrong.

[1] https://www.facebook.com/notes/mark-zuckerberg/the-technolog...

[2] https://www.ispot.tv/brands/oLp/airbnb

[3] https://www.ispot.tv/brands/d9N/abcmouse-com

[4] https://www.ispot.tv/ad/7Tc0/dealdash
My takeaway: Build a product that people will love (don't forget about yourself too!). If not, fix it immediately before it's too late/difficult.
Love to help you out on this if I can. The other thing to note is that because of the fear of double dealing there's a lot of stuff on the regulatory side about what kind of fees you can charge – my sense is, even saying, "any quarter in which you lose money, I'll just waive my fee" is illegal (perhaps because it would push the advisor to focus on preventing loss rather than tracking the market). But it's something that to a typical retail investor seems incredibly obvious – why do you get paid for losing me money?? – and I'm kind of sympathetic to, like I'm happy to share the pain in a down market (and to retain the customer). And saying "I actually have to charge a fee in a down market because it's in your best interest for me not to try too hard to avoid bad quarters…" well… there's only so much game theory your typical retail client wants to be doing sitting there in your office.

My gmail address is the same as my HN name. :)
A few great resources for SaaS founders (particularly those targeting enterprise buyers):
http://www.saastr.com
https://hitenism.com
http://www.enterprisesales.nyc
http://www.heavybit.com/library
https://www.enterpriseready.io
Flaws in deterministic password managers
75% brightness on a 500 nit display is insane. Did the previous generation specify 75% brightness setting for the wireless web test? Typical indoor tests are conducted at 100-200 nits.
Get it out as soon as you can to gather feedback, possibly in closed beta. Wait before net promoter score is good enough before spending lots of money on marketing?
I think it important to realize that everyone has opinion, and they are always different and you don't know who's right.
The fact that I need a 3rd party adapter to connect my Apple branded monitor to my Apple branded laptop is patently ridiculous.
Heh, that makes me think about Finder that is always open. What if Finder is the only app you have open, and it hangs?
Love it! glad to see other efforts in the same domain.
I'll look at everything. Thanks.
Yes but that's why you build webhook for, to let people consume your content. I think DX is critical today and big companies can afford to do the heavy-lifting. As I mentioned in the Subscription Expiration paragraph I totally get Microsoft's reason to put a 72hrs expire date on subscriptions but it adds some friction on the consumer side.
One difference is in "dead connection detection". How do you know that your AMQP connection is down? At some level you're polling, whether that be TCP keepalive, application keepalive or something else.

If you're doing polling, you're actually back at the same pre-webhook place - polling their server on some timescale which is a compromise between latency and load.

Yes, a TCP keepalive is generally cheaper than an HTTP long poll request, but only by a constant factor.
Notepad++ 7.2.1 released
I've done a crappy implementation for my blog to fight spammy comments. It works OK, probably more because it's a totally custom thing that isn't worth time for spammers to fight, rather than because it's actually effective.

The way I did it is:

- When the user focuses in a comment field, the page makes a request to the server asking for initial parameters.

- The server returns the number of leading zeroes required, the number of distinct hashes it needs, and a salt to use. (This is just a constant in my code right now, but could be varied based on client specifics.)

- The page then crunches on the work as the user types their comment. The submit button is disabled until it's complete.

- The proof of work is submitted to the server along with the comment. The server then checks to see if it's good and accepts or rejects. A properly working client should never be rejected (since it fetches the required parameters in advance) so the rejection doesn't have to be too fancy.

- Replays are prevented by storing the salts in a database, and deleting them once they're used for a comment.

I changed the standard hashcash technique a bit by requiring the client to submit multiple distinct hashes. Requiring only one hash works fine, but results in a lot of variance in how long it takes to compute the proof of work. You might tune it for an average of 30 seconds, but a decent percentage of clients will get it in 1 second, or will take 60 seconds. By, for example, requiring 7 fewer leading zeroes but requiring 128 distinct hashes, you get the same average but with a lot less variance. You can also display a semi-accurate progress indicator this way. The downside, of course, is that you have to send more data and the server has to do some extra work to verify.
Don't forget that pip 8 and above have hash verification built-in if that's all you need: https://pip.readthedocs.io/en/stable/reference/pip_install/#.... A hash-happy `pip freeze` equivalent is https://pypi.python.org/pypi/hashin.
Thanks for the response. I didn't know F5 had such an offering, I will certainly check it out.

">For simple flood attacks, connection rate-limiting per source IP is very effective."

But if a each of the 8 million bots in a hypothetical botnet sends exactly one syn packet then you can't really rate limit per source IP. Or the case of DNS a single UDP datagram which might be indistinguishable from a "legitimate" DNS query datagram.

Also rate limiting is different that what I would think of as "scrubbing" unless I am thinking about scrubbing wrong. Back to my example of the botnet where the command and control tells each node to send a single packet or a small handful of packets towards a destination, theres very limit match a rate limit filter on in that case no?
Open source IoT operating systems that are democratizing the IoT space
We built the same mechanism using HashMap and `SCRIPT LOAD` on restart/deployment to make a mapping table between function name and its SHA. Any client want to call the function just need to fetch the table and using the according SHA via `EVALSHA` command.
Does not come in 15 inch.
Growth of capital is not an income, because it is subject to uncertainties in valuation and depreciation.

Income is usually measured in a set amount of currency, and is generally perfectly liquid, while capital can sometimes only be valued if there's a buyer.

So no, it is not also an income. This is one of the most common misconceptions here on HN (I often see wealth and income used interchangeably)
There are 3 pricing models for S3, the 3rd one (glacier) having 3 sub-pricing models to be chosen at time of requests.

I don't think you realize how insanely complex the entire S3 pricing model once you get out of the "standard price".

Maybe I just have too much empathy for my poor devs and ops who try to understand how much what they're doing is gonna cost them. It's only one full page, both sided, of text after all.
A ridiculously simple way to procrastinate less online
Sometimes when I use XQuartz and Inkscape or some other X11 app on Mac, it will freeze such that you can't switch apps or use the Apple menu. Option-Command-Esc used to work...

In the video linked above the Apple menu also didn't appear to work, despite the mouse cursor moving, which matches my experiences.
Pundits believe Jony Ive no longer involved in iPhone, Mac product design
If I buy a $2500 flight I get a toothbrush, why does the $2500 macbook not come with a toothbrush?

Edit: In case it wasn't obvious to the readers, the reason behind the missing toothbrush and missing USB-C 3.1 cable are the same.

Who the hell expects a toothbrush with their laptop? Or a random USB cable in that matter?
> Does the 'fn' key force-change the touchbar to display F1-F12?

Yes it does
If nothing else, you'll need to rework the verifier. The time complexity of verification is super-linear right now. Awhile back I proposed a linear time algorithm that was a bit stricter, but it didn't get implemented.

Also, from memory, there aren't real stack frames right now. (This is a limitation of the implementation and the verifier, not a fundamental issue.)
I can confirm canadian geese are jerks; especially while nesting they bite. Really hard.

To be fair, it's the humans that have encroached on the geese's territory. Of course they will defend themselves, it's only natural.
... If all those sites blindly rely upon automatic updates.
That and the fact the new MacBook pro doesn't work with the majority of currently released thunderbolt 3 accessories that use that old to chipset.
Instead of focusing on music and sound, music teachers try to teach note names, sitting posture, curving your hands ect

Poor hand and back posture can lead to very serious injury, potentially even the loss of mobility. Of all the tedium of learning to play the piano, this is one area you should not skip.

Further, you need to learn note names so you can communicate with others about your music. You need to learn good fingering or you'll never be able to play fast, and your fingers will be tripping over themselves all the time.
I have an even harsher take.

In the old days if you didn't have a product that "sold itself" (i.e. loved) then you'd just make it cheaper than the competition.

These days software products are by and large free (your users pay in time), so there is no obvious competitive strategy on similar products. If you don't have evangelical user base that loves your product and spreads it or at least a well defined niche use case, you've literally got nothing.

There is no room for "Facebook but cheaper". Heck there isn't even room for "Facebook but marginally better" anymore.
Adding an extra adapter to the chain makes it work? That's crazy!
I have noticed that window resizing is a bit laggy on this machine, especially in apps like iTunes. I wonder if that has to do with the decision to use Intel's HD graphics instead of the Iris Pro on the 15. The Radeon probably isn't going to get activated every time I need to resize a window with a few graphics on it.

Also, I hope Apple fixes the palm rejection on the giant trackpad soon. I wind up accidentally activating Siri quite a lot.

Otherwise, good machine.
Point 3 is spot on. I think it would be a good strategy to avoid expire dates on subscriptions. Producers could take decisions on whether or not keep sending data by monitoring responses on the consumer's target URL.

Another thing that it should be worth mentioning is that some services batch notifications (e.g Facebook Messenger) so that they can send more data in a single POST request.
Corey Lee – “Billboard Melodies” (Prod. Yung Trel) – EarlyBBQ