skysight-inc/HackerNews huggingface dataset:
Let's be clear on the difference between C and C++ undefined behaviour, and machine behaviour that GCs and runtimes can use for implementation.

It is not unusual to rely on triggering a hardware exception in runtimes and GCs, up to and including segfaults. For example, a check for safepoint might be implemented by attempting to read a particular address. When the GC needs to stop the world, it could change the protection bits on the page that contains that address. This technique minimizes the amount of code in the safepoint test and doesn't require any branching logic.

See e.g. https://stackoverflow.com/questions/46394575/safepoints-in-j...

Another technique: a runtime can support dynamic growth of the stack by keeping an unmapped or protected page at the limit, and extending it when hit. This is how stacks work on Windows, and it relies on help from codegen: compilers targeting Windows need to generate code that performs a loop touching every page in its stack frame allocation one at a time in allocation order, if the stack frame is larger than the page size.

See e.g. https://geidav.wordpress.com/tag/stack-probing/
Have you tried Toptal? As a tech-savvy Western client, we prefer them to sites like Upwork because of how they screen their developers and because their rates are more realistic for good talent (it's really hard to find good people in a place where prices race to the bottom).

And as a bonus, you'll probably find that the rates there are higher than what Upwork has converged on.
Github Pages is free. You can use "wget --mirror" to capture the website.
Presumably you don't understand that the $3 is as much for a spot to sit as for the coffee, but considering your comment, it isn't surprising that you don't understand how coffee shops work.
Last is the only consistent though
Exactly, this is platform economics 101. If you missed this then read:
Parker, G. G., Van Alstyne, M. W., & Choudary, S. P. (2016). Platform Revolution: How Networked Markets Are Transforming the Economy and How to Make Them Work for You.
Mkultra
Mkultra was designed to give a psychosis to potential threats to the NSA or CIA.
Google should have just not used a scrolling iframe. MobileSafari has this beautiful quirk that iframes greater than 8 pixels tall automatically expand to the size of their content, solving all of the awkward coordination problems of sizing the iframe. It would have been just so damned simple for Google to fix this in MobileSafari :/.
Data Center Connectivity Startup PacketFabric Raises $25M
Don't be ridiculous, Google is a platform company. Any service they create contributes to the same platform. Hence, if search is a monopoly so is the rest of the services.
Perpetually flawed. No matter how much resources you throw at fixing it.
Why millennials are making memes about wanting to die
> AMP is, to begin with, Google exerting its market power to extend its control over others’ content. Facebook is doing it, so Google has to

The last thing Google needs to do these days is copy Facebook. Almost everything Facebook has done in the past few years has pushed users away from the platform.

Also, if Google's goal with AMP really was to "make the web faster" how exactly will integrating AMP web pages into email make email faster? Seems to me like it would make email slower...? (at least if we discount marketing spam).
Ask HN: Best business advice for developers
For those of you who made the jump to entrepreneurship, what is the one thing you wish you knew before starting out?
I had a similar sort of experience with both a 48SX and a 48GX. They were great little portable computers back in high school, but as soon as I got better access to bigger machines, I lost interest/motivation.

With that said, there are some technical aspects of the 48 series that were particularly gratifying. The unified programming model (RPL all the way down to assembly) and focus on customization made it easy to extend the calculator in interesting ways. (ie: I remember writing a reasonable improvement to the stack display in a couple hundred bytes of user code, etc.)

The USAG command was another fun example. The HP48's programming language was dynamically typed... every user command had a standard type check/dispatch prologue at the beginning of its code that would check the arguments on the stack and dispatch to the right block of code based on types. What USAG did was to take the name of a command, inspect the code to look for what combinations of types it could accept, and then present those in the UI a form of 'online help'. (Editing RPL programs worked similarly... the calculator didn't retain the text of a program you entered, it would reconstitute the text by inspecting the 'compiled' code).

Reading back over those examples, they aren't the kind of thing you'd expect to write about a calculator... which is part of what made the HP48 series so much fun.
There tactics are poisoning children with over dosage of benzodiazepines, which causes paranoid delirium. There is no such thing as a paranoid delusional disorder. Delusions and delirium are two different things
These templates are also used by gitignore.io

I made a simple alias for generating a .gitignore using their service:

ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ > .gitignore;}; gi"

Example usage:

git ignore 'node,osx'

Note that the alias is potentially destructive! So some may prefer to do the output redirection themselves, especially if there is an existing .gitignore to which you wish to append.
Tools we use in our agency to stay organised
> Are you suggesting that if they end up with a hypothetical 10% raise, to [1.1x] because [.2x] was spent on training?

Either that, or the company makes cuts somewhere else which -- all else being equal -- puts it at a competitive disadvantage. Budgets are generally zero-sum at a particular moment in time.

> You have to devote resources to the hiring process, which are probably nearly as expensive as training up a junior dev, all things considered.

If you can prove that to the bean-counters, by all means spread the good word.

However even if true you must consider a third potential outcome: You train up the junior employee, and then they don't stay with your market-rate offer for whatever reason, and you have to incur the hiring-process costs anyway for the empty senior position.

That scenario is always be more expensive than the other two, and it can only strike junior-trainer companies. Senior-poacher companies don't have to even worry about the odds of it occurring.
I work remote, I enjoy working from my pleasant private environment about 90% of the time. But I get bored of it and want a change of pace, and I enjoy espresso drinks that I can’t duplicate at home.

$25 a week spent on breakfast and coffee plus a new environment isn’t really going to ding my budget, maybe that is different for other people depending on their field.
>Nursery school kids have access to knives, hot glue guns, splinters, etc.

Maybe this has something to do with the school getting into big trouble when something does happen. I mean we have all heard of legends of the cat and the microwave oven. I guess companies and organizations just get sued over ridiculous things in the US?
Depends what caliber person you want. Highly educated, motivated, top 10%, maybe even 20% should be able to earn almost $100k upon earning a Masters, maybe even engineering/science degree. In the bigger cities in the US, I would expect most technical/finance/medical professionals to be making six figures easily by the time they are mid to upper 20s.
With "ignore the law", I meant not (fully) implementing the requirements that the GDPR imposes. If a judge actually rules that they did not properly implement the GDPR requirements, then yeah, they will correct that.

But until someone sues them and that court case concludes, there's going to be a lot of time, in which they can probably make enough money by not properly implementing the GDPR requirements to easily recover however high that fine is in the end.
been using ngx_brotli with my Centmin Mod Nginx stack for what seems like years now https://community.centminmod.com/threads/how-to-use-brotli-c... :)
A good share of Starbucks locations worldwide actually run at a loss. The mega-busy ones elsewhere make enough profit to cover the loss making stores. It's simple economics of scale.

Obviously independent coffee shops can't do that, so if you want to sit in a coffee shop all day working on your laptop, try to pick a large chain, instead of an independent.
I live in Bonn and I can tell you that the price is 110% the reason why I'm using my car inside the city.

Small calculation: I take my wife to have dinner in the city center on Saturday evening. The city center is 3km from where I live. If I take the tram, that's 2.8EUR for each of us, one way, so 11.4EUR just for transportation. Whilst, taking the car will cost me less than a liter of gas (1.3EUR) and the parking will be 2 or 3EUR.

Plus, I feel that the quality of the public transport services really does not reflect in the huge price: constantly being late or not coming at all, poor communication, dirty trams or buses.
I love Gmail's UI but years ago I realized that I couldn't trust my online identity to a single entity.

What I did was to sign up for Fastmail with my own custom domain and forward stuff to my @gmail.com address. This way I continue using Gmail but with my own domain.

I could do this with GSuite (and in fact I did for a couple of years) but GSuite accounts often have limitations compared to regular Gmail accounts and I didn't want to deal with that.
Top Dressing Method for Your Lown – Make It Better
On my PC desktop I use an RPN calculator, I find it so much more useful than a standard style calculator. I think it's because you can see the stack and visually validate the numbers you are working on.

I use RPN Calculator v1.3 by Bill Menees, I find the interface a lot cleaner that the others I've tried.
Bing, Yahoo and DuckDuckGo are not a list of competitors. Yahoo is based on Bing & Google¹. DDG uses a lot of sources, but I believe the bulk of results come from Yahoo and Bing.

I agree there are options, but they are Bing and Yandex. The others are just mashups.

[1] https://en.wikipedia.org/wiki/Yahoo!_Search
Also - fellow Italian here - I guess we must apologize for the English grammar/syntax in:

>Error! :(

>Your browser is not running Javascript that is required to use the whistleblowing client.

>It's common believe that Javascript and security don't sound well together, for this reason we suggest to use the Tor Browser, an extremely tuned FireFox browser with Tor integrated. Here you can found and download the latest release of: Tor Browser.

This said, the issue revolves more generally about the Italian Law, anonymous reports have much lesser credit/relevance than signed ones (this is understandable).

Besides the internet/modern way, the concept of "esposto anonimo" (anonymous report ) is well planted in the Law, but has very low "relevance", basically if you send one you are just suggesting the Authority to look in a certain direction, but there is no guarantee whatever that they will do so.
Why Tutanota? Which were the services you compared?
or Algo: https://github.com/trailofbits/algo
Slightly off-topic maybe, but I went to Taco Bell for the first time two weeks ago while visiting the beautiful USA. And my god what a terrible food do they make. Why would you go there more then once?
> If I'm going somewhere for a coffee, it's good to be able to charge my phone too.

Here it's more common you leave the phone at the bar to be recharged if charging your phone is what you want.
been testing Nginx 1.13.9 via master branch with my Centmin Mod Nginx stack and HTTP/2 push testing by setting up cache aware HTTP/2 push via conditional preload link resource hints headers which only show up when a cookie is absent https://community.centminmod.com/threads/hurray-http-2-serve...

works so far but still waiting on bug fix https://trac.nginx.org/nginx/ticket/1478 as Nginx has pushed back 1.13.9 release until next week https://twitter.com/nginx/status/963442197436678144
Did you continue reading after that sentence?

I also like forks, but I'm usually not telling people how great forks are. That's what the article says.
What a guy!
Just want to point out that often the interns will receive additional compensation from their programs. When we hire interns from Erasmus+, they are given 500 euro from us, as well as 500 euro from their program. Additionally, Erasmus students are eligible for student housing from UvA or the VU. Finally, because they are in a special class, as interns, here in NL, we can actually get in trouble with the government for paying them more than 500 euro. It sounds to me like your management team isn't giving them the resources they need to survive in the city, but know that they are there. We have taken on four interns over the past two years, and after their internships placed them at large companies like Trivago and Elsevier, hired one on fulltime, and are working with the last to land a job in his preffered location. With the proper mentorship, it can be a great deal for students! If you are looking for a company where you are expected to mentor the junior devs and interns, send me a DM and we can see if you would be a good fit :)
Thanks mustoffa, I've replaced the numerical input with a slider, it should act more reliably now.
If a PR has bogus tests that provide no value other than to make more green check marks, how do they pass code reviews? That indicates that your code review process is kinda broken--tests should support the code review process by indicating what edge cases the writer of a PR has thought of and then prompting the reviewer to ask what hasn't been thought of.
If I recall correctly, many Wi-Fi hotspot systems can employ a MAC address block list. So that after X time, the laptop gets disconnected, and cannot reconnect for Y time afterwards. Obviously this can be circumvented by savvy users, but for non-technical remote workers, it's a good way to 'nudge' them on their way.

I wonder why more places just don't employ this as a tactic?
I agree with what you are saying in that it needs to be called out that time needs to be specifically set aside in agile / sprint planning for mentoring. My manager understood this and I was allocated at least a day sprint to just 'mentor' my junior dev through a 8 months rotational stint in the team. Mentorship is very rewarding and I found out that I got just as much out of the relationship as they did. It also helped that for the first 4 weeks I was allowed to run her through a self lead learning program that I designed for them. Giving a new hire out of univiristy time to learn enough of what they needed to tackle some high value work just made the final outcome so much more successful.
Recently I created jkt library for my NodeJs project. https://github.com/slaveofcode/jkt
The symbol for medicine is ONE snake: https://en.wikipedia.org/wiki/Rod_of_Asclepius

The symbol of commerce is TWO snakes: https://en.wikipedia.org/wiki/Caduceus

It's likely accidental that some organisations use the Caduceus thinking that it is the rod of Asclepius, but I personally see it as symbolic of itself: some health organisations are indeed focused on health, others on commerce.

Either way, it's always a good idea to at least make a basic attempt at knowing the history and meaning of the symbol you're employing.
Bill Gates: tech companies inviting government intervention
But not necessarily on interviewing.io.

I am not from MIT, but instead a top university in China. I was accepted into Google last year, and I never even heard of interviewing.io before.
The TTL (time-to-live) field of outgoing packets is one of the ways to detect when someone has another device behind the connected device (phone). The traffic from this device has an extra hop to go through, so TTL of every TCP packet will be decreased by one, compared to packets originating from the phone, when it reaches the ISP.

This, together with the fact that default TTL different OSes set for packets they send is well known, and virtually no user ever changes these defaults, means that if the ISP detects different packets with TTL for example 64 and 63 coming from you, you very likely have something tethered to your phone.

There are tools like https://github.com/p0f/p0f (it does much more, than just this, though) to make exploiting this technique easy. I remember we used p0f to detect unauthorized connection sharing in a certain university dorm network, and caught quite a few people.
> A good share of Starbucks locations worldwide actually run at a loss. The mega-busy ones elsewhere make enough profit to cover the loss making stores. It's simple economics of scale.

I'm probably missing something obvious, but how does this work? What is the purpose of keeping the loss-making stores running?
Why Google AMP Is a Threat to the Open Web
At least a $50 bill for re-wallpapering.
Masters thesis write up. Especially the Literature review, was made more bearable by shitty caramel machiatto's in Starbucks.

If you don't need your workstation for heavy lifting.

If you're mainly reading research papers or writing little scripts, to apply the documentation to your use case or something, then coffee shops can be great.
Put overly simply, your choice of tech stack and tools is of absolutely zero interest or importance to your customers, and is probably rather uncorrelated to your chance of success. All the value that you provide will be in solving "people problems" and making their pain points go away.
I don’t get it. Those people shouldn’t sit at the tables... because you want to be sitting at the tables instead?
$2 per hour sound like a honest and fair price.
I'm guessing that rents are low for the coffee shops.

I also decry the loss of public spaces such as libraries (in my northern European city the main public library was rebuilt at fabulous cost and has less seating than the old one).
Agree that it's disappointing... but I'm very glad to see that he came up with a good way to deal with it. /dev/null (or its rough equivalent) has its uses.
The problem is that this looks like an explanation but it doesn't explain anything, After reading it, the reader is as confused as before. For example, if you replace "Sunnah" with "Jesus" this is an explanation of the difference between Muslim and Christians.
One of the unsung heroes of kernels. Good luck Rusty.
While I tend to get mad at the cafe dwellers that spend 4 hours on a table sipping on the same latte, I disagree with you here. It's all about finding the middle ground. I have had to work in coffee shops before and if you hold yourself to a code of conduct (e.g. consume something regularly, don't take up too much space, pack up and move somewhere else when it gets busy and you see people looking for tables) you are literally costing nothing to the coffee shop, while making it appear more full.

The problem isn't laptops, it's people being assholes.
So what is the rational reason you're talking about? Respectfully, I don't think you know what you're talking about at all. Do you have any kind of experience or knowledge about macroeconomics or economics at all?

Let's see what would happen:

- the government will soon require degree to be accepted, ruining the nonexistent entry barrier we have right now. Why? The government has incentives not to allow as much people as possible, but the opposite: to have as little work as possible because there would be no free market competition.

- how does this regulation work? Every software developer has to be allowed to write SW? Every software that is used has to be written by people who have passed the test? Will you forbid importing software?
Because if no, then this will just extremely increase prices and everything will be outsourced to foreign countries.

- what about foreign software such as Linux? What about software where some contributors are anonymous?

- do you really think that people who focus so much on their freedom and privacy will accept this or will they rather find a workaround?

All in all, this would ruin the IT market in the US. Please do it! I would love to sell my services to the US for at least triple the price.

Did you even think about this? Please stop going around and suggesting such destructive social experiments without even giving any real arguments.
> Did you view our marketing site at https://kwoosh.com/ ?

Yes, that's what I am referring to, the workshop-link goes to some kind of blog, but it seems to be more about tech and entrepreneurship in general.

Some kind of "About" section with screenshots would be nice.
I think there have been a number of studies showing that poverty does directly make people unhappy, though - or at the very least, happiness is definitely correlated with wealth. Being poor is extremely stressful. Being stressed is not necessarily going to make you unhappy, but it's certainly likely to.
I would consider soliciting a formal mentor here on hackernews. Hacking on a open source project together would be a way to recieve that help in a remote fashion.

Sounds like there should be a thread to match mentors and mentees here on hackernews. Maybe a bunch of mentors post some open source projects that they want mentees for?
I'm in love with https://mailbox.org since I moved with them, almost a year ago. They support standards. It works on the browser, on Apple Mail/Calendar/Contacts/Reminders and even on Android with open source software (or others, of course).

The basic plan costs 1€/month to have 3 email addresses that always go to the same place. They have something that I can't live without anymore: Disposable email addresses. On the basic plan you can have up to 11 disposable email addresses to sign up on services without the worry of spam or that they share your email address with third parties.
My analogy for non-IT people for a VPN is that it's a tunnel between houses so you don't have use the road or footpath.

Then I point out that if it's easy for you to get out, it's easy for others (in the other house) to get in. And by extension anyone who visits their house.

That usually makes them think.

Managed/service VPN makes the hole wider or tighter depending on how trustworthy the manager is.
Two Ways AI Is a Game Changer for Recruiting
Ripple Keeps on Building
Show HN: Website Metatag Grader. Preview and Correct Your Page Across the Internet
That would mean it did not work.
This bullshit better not come to enterprise customers.
Bogus tests have to be caught in code review. When I talk about educating the team that's what I mean.

I've only ever had to do a test rotation once or twice, and it was like pulling the rip cord on a lawnmower. Requires effort at first and then it becomes self-sustaining over time. It establishes or affirms a culture of testing. The rotation doesn't even need to last long.

You should know which portions of the code are here to stay and which are nearing their end of life. Naturally, you want to spend your time where it will have maximum payoff.
> verifying your ADD function did indeed add N consecutive numbers correctly

This kinda depends on if it is a public or private (or `__private(self):`) method. If its private, no need to test it. But suppose that rather than using something in an existing library, you are bothering to write your own ADD function and expose it to the rest of your codebase. Wouldn't that indicate that your function was special enough that it should be tested?
The "active email" demo on the original article is a great example. I want to ensure that my primary inbox is a place where others can never ever send something like that.

It's an exaggerated version of the image-heavy email newsletters - these are obviously nice for the marketer, but the messages that I want to receive are not like that, they don't need this feature, it's only useful for those who want to steal my attention.

If marketers really need it, perhaps it could be a useful way to automatically forward any messages using this technology to spam.