skysight-inc/HackerNews huggingface dataset:
I can't agree with that. Limits do indeed exist.

In cases like the article, hard limits exist and can require effort to work around.

It's not possible for a computer with 512kb of memory to load a program whose context requires more than that to exist in-memory, because the memory bounds are finite.

Other limits exist as well, such as the number of reads or writes that can take place before hardware decays.

Something like an Arduino Uno couldn't read into memory, and out again, 2 billion decimals of Pi without damage occurring.

But a universal Turing machine could.

Not all machines are equal.
Or by simple selling the one-time code before they put the corresponding disc in a vending machine.
Isn't this a common objection by teacher unions when pushing against using metrics for retention and compensation?
A company that does not trust the employees and tracks them is a company that runs by all the wrong principles. And most likely one in which you don't really want to work in.
Also, is it just me or that "friend that is tracked" story sounds a bit manufactured?
You can do that but why would you want to? The tool you're looking for is wat2wasm, which converts the human readable WAT source to WASM binary, and here [0] is an online tool if you want to tinker with it.

Compiler IR's like WASM or LLVM IR are very laborious to type, they're intended to be produced and consumed by compilers.

You need to write very verbose code with all the type declarations, which aren't automatically propagaged, ie. `(func $foo (param $0 i32) (result i32) ...)` and `(i32.add ...)`. There's very little point in writing code like this by hand, apart from testing and debugging the compiler producing or consuming this code.

It doesn't make much sense to have this "in the cloud" outside of toy tools like this. In any kind of actual work scenario, you'd be running a compiler producing WASM on your development machine and deliver the WASM binaries over HTTP to the client machine. The whole point is to have near-native performance while reducing the compile time on the client side.

But if you want to tinker with it, knock yourself out. Here's the tool:

[0] https://cdn.rawgit.com/WebAssembly/wabt/fb986fbd/demo/wat2wa...
> one naturally finds oneself wanting traverse, cataM and dozens of other such helpers. Maybe the ability to abstract over monads is only useful to library authors, but the libraries they produce are then immensely useful for regular programmers.

I find libraries that help developers save a few lines of code here and there not worth changing a programming paradigm. By far the biggest boost comes from reuse-in-the-large. I fully agree that languages with such higher-order constructs allow writing more reusable code than classical imperative languages. But "more", in this case, does not translate to big savings and does not justify a change of paradigm. We are deep in diminishing returns territory there, even if pure FP had no disadvantages.

But those higher-order constructs do not require a pure language, and could be added to Java/Kotlin once there are no bigger-impact improvements to be made, and if it's judged that their meager contribution justifies adding complexity to the language. Not every added utility automatically translates to "we should do it." Its cost must be weighed as well. Languages like Java/Kotlin choose to be more conservative in the cost/benefit of the features they embrace compared to languages like Scala.

> Perhaps, but at the cost of completely incomprehensible code.

Quite the opposite. Ordinary imperative code (i.e., blocking threads) is programming with continuations. Continuations are the core abstraction of imperative languages, just as partial functions are the core abstraction of pure-functional ones, and all the core constructs in those languages -- loops, exceptions -- are built to work with them. The complex code you're thinking of is analogous to very complex code that can be achieved with monads. While it could be done, there is no reason to ever do it.
Totally agreed that Bootstrap styling-in-HTML sucks, but it was only ever pushed by Bootstrap, BEM and other things that are slowly going away.

I build using CSS grid. Since there's no requirement for stylistic class names, I don't use them: instead I use the class names for what that item is.

Eg, to make a login box I use:

<div class="login">

.login {
@include center-in-parent;
background: $dark-background;
}

Rather than:

<div class="bootstrap-centered-dark-background-silly-styling-in-html">

As a result, when I change what login box looks like I change only my SCSS, rather than both the HTML and the SCSS.
> You know that phrase "machine learning is money laundering for bias"?

Hadn't heard of it. Sounds catchy though. Could you explain the similarity? (Along with the definition of "bias" you're using?)
ML algorithms are only going to have evidence-based biases (although I guess with a motivated choice of training data you can make the evidence have whatever bias you want)
> This [han unification] significantly reduces the number of code points you need, and simplifies normalizing and collating CJK text, at the expense of undermining the entire point of Unicode.

This is the best description of the pro and cons of han unification I've ever seen.

Personally I really enjoy the ease of which I can look up characters from a Japanese text in a Chinese dictionary and see how they are subtly understood differently across the two languages.
Yet private computers and phones are used for company purposes. According to the article employers in the US apparently even think it's normal to force employees to install software on their private devices. Some leeway in the other direction would seem very reasonable.
I would remove 'Google' from the sorting. So you don't have that big amount of APIs once you scroll down a bit starting with Google, at that point Google is a filler word - I would expect Google Ad Experience to be sorted with the other Ad APIs.

Maybe a google history type integration. Logged in, show what searches I have done that brought me to what api pages.
I wanted to find out more about the author, because the post looked interesting. Should not have started with Twitter. Why do people feel the need to wear their political agenda on their sleeve so much in this industry.

"I love writing opinionated blog posts that make dudes go all ape shit and territorial if I didn’t do it the same way as them. Think for yourselves :) there can be more than one way ya doofuses it’s all about what your personal tradeoffs are."

Is this the kind of response you want to have to people sharing their opinions on a public forum; having a productive discussion that you started.
If lower prices were good per se, then markets for Lemons would not occur[1]. The mixture of downward pricing pressure, asymmetric information and arbitrage can lead to a state of affairs which is distinctly bad (and arguably morally bad too) for an economy.

[1] https://en.wikipedia.org/wiki/The_Market_for_Lemons
Cause they make the OS....
You can't ban any statistical reasoning about humans because it's sometimes wrong.

"We stopped testing the medicine because even though it cured 99% of cases those that weren't cured were offended by the possibility that someone might assume that it would cure them"

Statistical reasoning becomes prejudice when you act on it in a way that is harmful to society or you overgeneralize it. If you try to ban it then you're just avoiding emotionally uncomfortable truths.
I wonder if they've got access to historical streetview images, to test how stable the claimed relationship is over time.

After all, when oil prices rise you'd expect people to choose more efficient cars - not necessarily to change their voting patterns. I can't see any mention in the original paper of how they calibrated for that.
Black-Seablue Nylon Nato Straps 18 20 22 24mm
Ask HN: In your company, how important is code quality vs. getting things done
How much value does your employer put on code quality, design patterns, tested code, test coverage vs. shipping features fast and fixing/refactor it "later"?
I think you're confusing the buzzword "cloud" for "rented virtual server".

None of which has anything at all to do with installing a fucking tool chain.
Direct democracy has a lot of conditions that have to be met in order for it to work. Even in Switzerland, which is considered a good example of direct democracy, it produces undemocratic results and practices.

In California voters banned cable TV (prop 15) and gay marriages (prop 8) until it was ruled unconstitutional, and passed damaging tax props like proposition 13 which is still controversial.

Switzerland meanwhile rejected woman's suffrage until 1971 on the federal level and 1991 in some cantons, only after being forced by the courts.
Indeed, the FUD put about by the remain campaign probably made the victory closer than would otherwise have been the case.
Space travel at lower cost-Rocket that lands in Normal Airport
Go Advent Day 3: Minimal Perfect Hash Functions
Microservice Architecture Best Practices
shellcheck is great, I use it, endorse it and recommend it. It is used for programming a computer, I want to exclude those applications. Pugs for the same reason without comparing the two.
China launches Alphaba public self-driving bus project in Shenzhen
With so many IOs, why not just add WiFi? Something ESP-line should do the trick, with little power consumption.
Being part of the Big Four, EY – like other corporations – is on the verge of becoming a more innovative and even more entrepreneurial company. This is essential in order to develop new business models, based on technology, and to stay ahead of potential competition and startups. The Corporate Innovation team advocates to a culture where entrepreneurship is stimulated and is pushing for more bottom-up innovation with a dedicated program. As a member of the innovation team, you will get the chance to take part in the complete innovation cycle (from idea, to concept, to MVP, to finished product or service). You will work in a startup-like environment, with short communication lines and in a small team.

We're currently looking for developers! Take a look at https://thefactory.works/careers.html to know more about our open vacancies:

* Full-Stack developer – Brussels/Antwerp

* Frontend/Web developer - Brussels/Antwerp

* Web/Graphic designer - Brussels/Antwerp

We are looking for people who can challenge the technical standards of the team. Constant feedback, discussions on architecture, programming style and practices will be highly valued.

Access our website at https://thefactory.works and get familiarized with our concept and goals.

Drop us an email if you're interested: thefactory@be.ey.com!
What's interesting here is the approach is to generate the function at load time, as opposed to the fully static approach used by gperf: https://www.gnu.org/software/gperf/
Couldn't you just bind to different addresses under 127.0.0.1/8 ? eg 127.0.0.1, 127.0.0.2 etc
For Africa either English or French, probably one of each, for the Middle East either French or English, French for former French colonies, English for the Gulf because all the IT people are from the Indian subcontinent, maybe Arabic for Egypt and the Levant but probably English too. Educated Arabic speakers have to learn one of English or French to be anywhere near state of the art in anything. More books are translated into Dutch every year than into Arabic.
The amount of vigor you espouse an opinion with is astounding relative to how little you know. The point of WASM isn't for you to hand-edit things. It's to provide a unified IR that many lanugages can target (C, C++, Rust being just the beginning). Any language that compiles to LLVM bytecode today can theoretically target the browser now. One thing those languages I mention have in common? They don't use a garbage collector. AKA, you can now write code that will run in the browser with predictable latency semantics.

Then again, I could just be feeding a troll right now, I really can't tell.
Right, these are just forks of existing systems with very, very trivial changes.

Do you know of any significant programming languages, libraries, or frameworks that originate from China?

Seems like most of the best Chinese software talent moves abroad. I suspect Chinese government's decision to cripple their internet plays a significant role.
Terry Davis (TempleOS author) is now homeless and living in a van.
600 year human history of opposition to innovation
>>> Yet private computers and phones are used for company purposes.

And they should not. Any sane company with a legal department would be clear about that.

I agree though that there is an endless supply of startups and bad companies trying to move these costs over to you. How about you pay for your work laptop and work phone? A good sign to go work somewhere else.
Month 13 is out of bounds – High Sierra bug
Remain too. We were told that on the day after a vote to leave there would be an immediate crash of financial markets and recession. That didn't happen.
Has he been arrested? There was a lot of tech news coverage of his warrant back around 3rd November, and he was on the run. Has he been caught?
range.

I have a 1930s solid brick built house, and a 50 meter garden with a "work shed" at the other end.

with two I have the entire house, garden and shed covered at a decent speed.
Best 8 IDE for angular 2 development
Interesting, Yardsale founders created another app that IIRC basically did this. It never took off for some reason but I thought it was great to get an instant buy and pickup for electronics.
I think the point of this is to try and move towards a place where your "functions that get real work down" are composed from your reusable functions.

It's debatable if it actually helps with that intention.
Powerful people get much better treatment and representation than the common person, despite the best intentions of equality in front of the law that our court system was meant to create.
How much energy does Bitcoin mining really use?
This is just a personal attack disguised as civility.
An HTTP server is an unimaginative application of an FPGA. What a specialized chip in the cloud is more likely to do is accept requests in a specific (but not generic like HTTP) way and perform equally specialized computation.
Page not found – NWBlog
I have one of these, they have the advantage over the NUC being that are silent and cheaper.

The only NUCs that are worth it are the i5/i7s but they are rather warm and need a fan. (I have a first gen i5, its fucking awesome though.)
TravelNest raises €3.4M to help holiday rental hosts maximise revenue
Are you sure that's not your employer's fair user policy? While you were typing this, I happened to be googling (in Dutch) and could find pretty much nothing of the sort. I found a good deal of articles saying that the lack of an employer's specific policy would make it harder to enforce, but that's still quite a ways away from it being allowed.
STRATEGY BUSINESS PLANS
I wanted to share another killer feature of mikrotik routers - it's called metarouter and it's basically vm hypervisor on a router; you can run other routers or openwrt with basically anything you want, only limited by the router's hardware.
Nigeria pirsi
movie-monad is my daily video player now.
https://github.com/lettier/movie-monad

Still, I don't think it's a "fair" question, because the main reason there are not many practical applications written in Haskell, is because companies prefer dynamic scripting languages. They do that to "get things done" or in other words, ship fast a product full of bugs.
In most courts, that is a crime. French courts tend to look primarily at the spirit of the law itself, rather than precedent and arguments over the letter of it to see how it should be enforced, unlike English style legal system where precedent and minor word choices can make or break the implementation of a law.

Its a very practical and approachable court system for the common person comparatively.
Awaiting in a loop usually is not a good idea. Map with Promise.all / any is probably much faster.

edit: now reading about for..await..of. Interesting, I never used that.
Cgo: When and (Usually) When Not to Use It
def foo_with_edge_case(x):
if x == EDGE_CASE:
return 36
return foo(x)

seems clearer to me than stuffing the edge case handling into the foo method
Full disclosure: last time another user called me out to a blatant mistake regarding Dutch law.

So this time, I come well-sourced. My favorite blogging lawyer Arnoud Engelfriet: [1][2][3]. And some more [4] - A man who had to return wages after having spent 58 hours on Whatsapp while (not) working, note that he was not fired!. Number [5] tops it all - giving away company secrets on an employers phone is protected.

[1] https://blog.iusmentis.com/2016/10/17/mag-werkgever-privebes...
[2] https://blog.iusmentis.com/2017/09/13/oh-baas-mag-toch-meegl...
[3] https://blog.iusmentis.com/2012/02/02/mag-mijn-ex-werkgever-...
[4] http://eisenmann.org/nieuws/67/privegebruik-van-de-zakelijke...
[5] https://blog.iusmentis.com/2017/08/14/ook-berichten-op-zakel...

Actually I think this time we are both right. For non-exhaustibles and where usage is really widespread (email, whatsapp) it is clear that some private use is allowed. Main underlying argument is privacy. So that's a sort of negative defense. You can't prohibit it, since you are not allowed to monitor it's usage.

For exhaustibles company specific guidelines can limit or prohibit. The test against those guidelines will be 'is it reasonable'.

On the other hand, taking physical goods (printing paper, disposed machinery) is still ground for termination.
Yeah, VP9 will probably monopolize the market as the libre, royalty free codec. With Google and others boosting it, I'd be surprised if it doesn't win like Opus has in the voice codec arena for any new application.
What separates libwthttp from libhttpd? Or libmicrohttpd?
UK-built satellite shines first light on air pollution
Leadership is not about title but action
I don't think the BYOD movement is coming from startups. Rather that users want convenience. Spoiled brats like us don't want the company-chosen, business phone, nor do we want two of them (own phone and business phone). Somehow, I feel, though, I'm not representative for the employees in the article.
I, for one, don't want google anywhere near my home network.
Great example of Turing tarpit
You definitely could enforce it: isolate the developer from the codebase, give them a function contract to implement. It doesn't sound like a good idea, and I wouldn't want to work that way, but it could be done.
I understand the sentiment behind this, but in practice this is going to be a terrible idea, in my opinion. I can imagine the codebase littered with method1, method2 kind of edits all over quickly.
it's an example of great UX, of which good UI (design) is part.
I don't think the parent was supposed to be production-ready code, it was more illustrative of a different (more interesting, IMO) point.
GDPR (EU data protection regulation) – A practical guide for developers
Because Berkeley, Stanford, MIT and Harvard produce radically superior computer science students vs the average community college.

That doesn't mean no talent comes out of community colleges. It means the average ability level is far lower and the elite students are far more rare.

The school doesn't matter much if you have the ability and can demonstrate it. The kind of grads coming out of elite schools that Google & Co are recruiting, tend to have both the ability and the school. The schools, and the professors there, help more often than not with filtering.
Ask HN: Code review as a (paid) service?
I was wondering if there is a service out there which would get a seasoned developer to provide a code review of my projects?

I'm aware that there are some services which do some sort of automated code reviews, but those tend to be pretty shallow. They wouldn't give you suggestions for choosing a better design pattern or architecture and tend to focus mostly on the coding style.

There is also https://codereview.stackexchange.com but it's mostly for small code reviews.

For indie developers building products with a new language or framework, this kind of service would be very valuable.
Tether tries to do it by holding the total market cap USD in its own reserve (whether or not they actually have it is up to discussion). It's a disaster waiting to happen.
CS schools don’t matter because they’re so bad at teaching that any student from the #3 school or below is probably useless unless they’re self taught. But if it’s Stanford they’ll be okay.
Ethnocentrism overcomes humanitarianism by exploiting humanitarian cooperation
AMPLEXOR DXM/ECS Vice President Speaks at Belgian Marketing and Sales Summit
You could actually exec wasm with a JS/asm polyfill
Introduction to Boosted Trees(2014) [pdf]
There are ~166k Burmese in America. There are around 42k Burmese in China. Given the differences in education between the US and China it would be very easy for Google to employ more Burmese than the entire Chinese internet industry.
The EU is doing a pretty good job of disuniting itself without help from outside what with eurozone woes and consequent blight of mass youth unemployment in many countries, unilateral adoption of mass immigration by Germany, interference in sovereignty of Hungary, Poland, etc.
If it's all about bloodless scientific rigor, why'd they choose to highlight "Dice" in the headline when it is probably a property of "cubes" in general?

I'm imagining some biologists studying how human cells have some unique negative reactions to C3H8O, and then they title the a report "Humans just can't resist alcohol."
Yes, when you don't expect it, I reckon it can be a shocker, considering that it can be quite high depending on which town you live in.

As I said, it is not exactly a tax on rent (it is not a percentage of the rent price and even if you don't pay a rent, you shall pay it), but yes, it has to be counted in your expenses.

That tax is not really going to social services (well, that depends how you define social services, in fact), it is more for the local infrastructures: most of it goes to the municipality, so it is used for streets and small roads, for primary schools, for municipal administration, swimming pool, library, and so on; another part goes to the department (a bit like a US county), it is used for roads, middle schools, and one-off financing of heavy local equipment. Part of it can be used for local social action too, indeed.

The general principle is that it is designed to fund the burden you put on the local infrastructure by living in that place (what is a bit weird is that it is not based on the number of people living in a house, it is assumed that the bigger the house, the more inhabitants, the more burden on infrastructures, I guess). Then anything can happen but that is the general goal :-)

Anyway, this tax is going away soon for most people. What will replace the funding is still mysterious however.
Summary: Looks like a scam asking for money.

Don't know what the product is, all I see is a big page asking for my email address, sign ups and $10 a month.

I'd highly suggest that you add some more illustrations/videos/sample on the main page to understand what this is about. Your product needs to look really useful and really good if you want people to sign up on a whim.

Maybe replace the "sign up now" link/button with a "see how company X doubled their engagement or sign up now" links. There is nowhere to go from the main page except pay or leave.
Thanks for reporting your experiences here even though this discussion ended 3 days ago(!)
That's because ELF allows symbol interposition and PE (Portable Executable) doesn't have a comparable feature. Symbol interposition doesn't come without a price, though, and is often criticized: https://www.macieira.org/blog/2012/01/sorry-state-of-dynamic... |
https://www.airs.com/blog/archives/307 |
https://news.ycombinator.com/item?id=8029564