skysight-inc/HackerNews huggingface dataset:
> Is it common for other developers to have issues with it, or is it just me? Is there any material out there that made CSS "click" for you?

If you're coming from an application development background, you will hate CSS layouting. It's the most ass-backwards way of structuring a UI that you will ever encounter. A lot of web people who never used stuff like Qt, Swing, Winforms (etc) just don't realize this. They think there's some sense in CSS. There isn't, it's a bunch of historical accidents.

HTML wasn't designed to be dynamic, it was designed for documents. CSS wasn't originally meant to do layouting. The end result is an incredible amount of technical debt. CSS performance is a complete disaster. It's unfixable. If you need to do a non-trivial amount of dynamic content, you need to use Canvas or even WebGL and re-implement a lot of stuff yourself, but then people will complain that it's not "semantic", that it's poor design and that it goes against what HTML is meant for. It's a complete joke.

The thing is, you don't have much of a choice. The web platform is what it is. If you want to work in the web frontend, you'll have to deal with it. Alternatively, don't work there. There's other opportunities.
It's "good enough", honestly. It will never work perfectly with older apps, which is why Windows has started to default to just bitmap-upscaling them wholesale instead in many cases. And there are still nooks and crannies in Windows itself that are not high-DPI aware (another one is the font installer). But for day to day use, it's not something that you notice.
> what do I miss here?

/s
Is there any way of using Kite in Sublime Text with Vintage mode, so that Kite doesn't capture the Esc keypress?

It makes Vintage mode unusable.
Interesting. Generally, what I do as the first step is immediatelly connect a remote debugger and debug the piece of code that I think is problematic (which is correct in around 90% of the times for me). Then, the answer is generally trivial. I started doing this because it felt way more time efficient than staring into the code and trying to think what goes wrong over there.
>screen savers

You should just turn off the screen when you are away
https://lm-3.github.io/

Seems to be a better link, points to other materials etc.
That does look slim. Wonder if we will start seeing screen notches on laptops as well
you don't have to deal with the distribution issues related to the app store, you can easily roll out changes quickly, you can create "shareable applications" (URLs!) quite easily.

You can also build hybrid apps, where you can take advantage of web tech for certain presentational stuff and still go fast for stuff in the backend
So far this is a particular thing I have run into.

DevOps (yelling): no more shell scripts

Devs: systemd fstab is all kinds of fucked for nfsv4

Devs: Writes super complicated script to mount

Me/DevOps: Makes ansible script to make systemd mount paired with service that is basically a wrapper for... a shell script...
Same thing here. Also, thumbnails and avatars become a lot more useful, because with higher DPI you can make out a lot more.
20% performance or, as I like to say, 20% battery life.

Anyways, there are good uses for WASM even outside browser. Plugins and when you have multiple architectures you need to deal with.

Sandboxing and deterministic memory consumption is a great fit in certain applications. I'd like to use WASM on relatively small embedded devices (even as small as 64 - 256 kB RAM), to provide extendibility, for example.
I think that "add to home screen" is a stupid browser API, serving no genuine technical necessity. Feature creep of browsers must be forcefully stopped.
do we still have this here ? :)
not forgetting https://www.jwz.org/blog/2015/04/i-told-you-so-again/
So is there a generally accepted formula for calculating that given those two inputs?
Marketing Conferences 2019 (SEO, Social Media, Content, Growth, Affiliate, B2B)
I just launched a site that lists all Marketing Conferences worldwide in 2019.

There will be one featured conference per week and you can also filter by location, dates or the price, so you can find the perfect conference for you.

You can see it right here: https://marketing-conferences-2019.com

It's also the #6 of ProductHunt today, and I would love to get it into the Top 3: https://www.producthunt.com/posts/marketing-conferences-2019

Let me know what you think of it and if there is anything else you would like to see!
Given a random variable x with a Gaussian probability distribution function of mean µ and standard deviation σ, we can normalize it by considering a transformed, and also Gaussian, random variable z=(x-µ)/σ with mean 0 and standard deviation 1.

The table gives the probability that z is lower than the given number; as you can see, values lower than -4 or greater than +4 aren't interesting.

Regarding the values, study calculus and you will be enlightened. Sorry, there is no shortcut.
installing a linter and limiting yourself to a subset of the language has to do with the fact that most development is done in teams, so when you limit yourself you limit the team to an agreed upon good subset of the language and nobody screws you over because they think the with statement needs a workout.
By the same token, writing native apps in anything other than C++ is a waste of performance, sometimes much more significantly so... but we still do it.

Performance just doesn't matter all that much in so many cases.
You keep using this word, proportional. I don't think it means what you think it means.

"having a constant ratio to another quantity"

Inversely proportional too is a mathematic relationship with specific meaning (for one the product must be a constant). It doesn't just mean "more pesticide, less ants" (that's a more general statement than inversely proportional).

Perhaps you merely meant correlated with respect to the rent. But even so, in this thread there were so many provisos added, that the relationship is nebulous at least.
Managing Patches on AWS
RedHats collaboration with NSA is well documented. I think given what we know of past actions it's at best extremely naive to not at least entertain it as a possibility.

Linus himself semi-openly admits he's been approached...

https://www.youtube.com/watch?v=7gRsgkdfYJ8
> When a bank 'converts' money for a customer, the bank ends up owning more of one currency (and less of another) than before.

I mean, I guess. The might also even out and I'm sure the popularity of currencies is somewhat predictable.

However yes--I agree with you that a fee is fine. I still think fractional banking should be enough for them to want to wave that fee, but 0.05% is fine. 5% hidden as unfavorable exchange rate that few people pay attention to is what's not fine.
You might say it is becoming riotous
they qualify as a highly evolved corporate entity

Why not? You’re a highly evolved biological entity and you were from the very moment you were conceived! Evolution refers to your ancestors, not to any individual.
Facebook to Integrate Whatsapp, Messenger and Instagram
PG&E files for bankruptcy
Instead of pretending the benefit is so obvious it doesn't require you to discuss it perhaps you could explain it.
I wonder if wasm is feasible to target in hardware. I mean, there were hardware Java bytecode implementations, and that's a lot higher level, so it's definitely possible - but is it worthwhile? Are there any idiosyncrasies in wasm that make it slower than x86 or ARM, that could be fixed if the underlying architecture was more accommodating?
Blockchain Security Issues Explained
Did I say HIV+ => criminal? No. Don't make things up. We have public real estate records not because every homeowner is a criminal.

But the number of people getting pregnant unexpectedly gives an idea why it might be good to have a public registry, as opposed to hoping, that human factor won't let you down.
Tips to Get Better Feedback
Sounds like they’ve just started to realise — like the Russians — what a geopolitical risk it is when the real power brokers in a country have large chunks of their assets in Western countries, seizable by governments. Can’t be a decent strongman if you can’t protect your people.
I hate writing systemd .service files.

I'm always confused with the Type (should it be simple? forking?) and my program ends-up starting but not stopping or things like that.

I know I lack the knowledge to write a good .service file in one go, as I write one every other month at best and forget all the details in between. It would be the same with a traditional init scripts. However, with init scripts, the way to debug is obvious: just add a '-x' somewhere and here we go, you have a detailed execution. I don't know the equivalent with systemd and I end-up bashing my head against the wall trying everything blindly.
Having used both contiki and riot, I found contiki (NG) very good with supporting more devices and peripherals and much easier to integrate and work with. Riot is difficult in that half the times their tutorials themselves didn't work and there was no support online (this was about a year back and maybe it is better now).

I really prefer contiki ng
GitHub-like heat-map for a product updates
The new elite’s phoney crusade to save the world – without changing anything
I really get annoyed when I see people talking about the "huge cut of all sales on apps" in isolation, as though hosting high-traffic downloads, handling financial transactions (purchases, in-app purchases, subscriptions, credit card handling, fraud investigation, etc.), and occasional spots of marketing and publicity when an app does particularly well or is featured in the Stories cost nothing.

It's not like these things are cheap, and plenty of developers wouldn't have a shot of successfully delivering an app without the infrastructure in place to support them.

It should come as a surprise to absolutely nobody that the vendor wants their cut.

If we are having an honest conversation about who gets a cut of what, we have to realise that web apps still have bills to pay and people getting their cut of something — credit card handlers, payments systems, web hosting (and that ain't cheap, especially when demand rises) on top of the cost of hosting an API and databases, and plenty of other costs.
You forget about simple negligence. Are you saying, that no single HIV+ person ever gets drunk at parties with unintended consequences?
>Now, what would I have meant here?

Interestingly (to me, at least), this is also how I remember where I put something if I've misplaced it. I ask myself, and really try to visualize, if I were putting that thing away right now, where would I put it, and what was I just doing with it that might give me a bit more context about where I might leave it for myself cleverly next time? It usually works.
Look at the picture of the laptop. Without top and side bezels, it has the same footprint as a normal 14" laptop.
Your First Machine Learning Project in Python Step-By-Step
BootstraPHP – A Bootstrap Wrapper for PHP
I honestly don't understand the concept of sick days. If you happen to get sick more often than you have the day... What then? Are you expected to come in to work? Hwy on earth would _anyone_ want that, including your employer? I've been fortunate enough to only work places where you can "wfh" if sick and do as little work as you feel up to, so I honestly don't know how it works in the typical case.
It's not just banner blindness. Even as a less tech-savvy person I imagine I'd just assume those notifications to be fake, fictive customer stories that serve to illustrate a feature, similar to how "customers" used to rave about knife sets and fitness devices that changed their life on home shopping TV shows.
"Sagem GSM phone let's you hear the other party's audio before you pick up" - Demonstrated this last time about 6 years ago calling my phone from different networks: fixed, and two other GSM. My conclusion was that it's an implementation bug easy to trip on or a provision in standard that it's easy to misread.

Now - if the audio channel is _right there_ for you to read, what chances are for this to be only a Sagem firmware bug?
It's true that Clang can't compete with the JITs in question on speed. Even at the settings with the most comparable quality of generated code, Clang will be much slower, because its internal design is primarily geared towards maximum optimization potential at high optimization levels, with lower optimization levels as more of an afterthought.

But that's beside the point. The paper isn't suggesting switching to Clang or to the algorithms Clang is using. Rather, it's treating Clang's output as an approximation of 'optimal' code generation for the given C code. There are various reasons to compare it to WebAssembly JITs:

- For one, the paper identifies specific reasons the JIT output is slower, which shows potential areas of improvement they could focus on.

- The comparison also provides a sort of upper bound on how much the JITs theoretically could be improved. It's only a weak upper bound; the upper bound of code quality achievable at the required performance levels is lower and would be more relevant, but there's no way to measure that.

- It also indicates the potential of adding a higher tier to the JIT that optimizes very hot code using slower algorithms.

- And finally, most entertainingly, the benchmarks help answer age-old questions like "can WebAssembly replace native code?" :) Or, at least, "for what applications can WebAssembly replace native code and have acceptable performance?"...
You are somewhat correct. I just tested with the tiny HN logo (upper left of this page), and a div with 3 imgs makes them appear side-by-side. The issue I had previously was that the three images were quite wide, and while I wanted them to still go next to each other (with a horizontal scrollbar in the browser), the browser moved images into a new row if they would overflow past the right edge.

I haven't used JavaFX in a while but I'd bet there's a checkbox you can toggle in the builder GUI to control how an HBox overflows.

The solution for HTML/CSS was to give the outer div "white-space: nowrap" and the three inner divs (with images inside them) "display: inline-block".
He was mythologized at the time and after. I remember having impression of him being genius and being overall good guy. People really wanted him to be that way, because they wanted him to win and kept to illusion long after.

That he is neonazi and harassed people quite hard (to the point of seriously affecting their careers and lives) are things that I learned only much later and people still don't like those two being brought up in pretty much any context.
This is confusing to me. I'm a compsci grad and hobbyist programmer working in IT. I want to switch into software development.

On the one hand, I'm intimidated. I'm pretty sure I wouldn't do that well on a whiteboard interview, and I need to brush up on some concepts. I have around a 50 to 80% comprehension when software developers talk shop.

On the other hand, I hear stories like these of people who are barely functional yet they have my dream job.
TrueLayer’s Payments API lets companies accept payments through Open Banking
Do you have other examples in mind? Trying to think of some and failing...
Key word is services. iCloud had a very public hack, now this. What Google services have been exploited?
> I can tell you with 100% confidence that any of these logic bugs are created by unecessary abstraction.

That's a lot of confidence…
And when two drunk people hook up the first thing they do is check a leak of hiv data? Is that after exchanging photo ID?
I believe even Lichtenstein could issue a red notice. Not sure it has much to do with the power of the US.
> China has apparently offered to balance the trade deficit with the US within 6 years

They were promising the impossible. To fix US deficit, just stop printing money so much money, and shrink government expenses. How can China do that for US administration?
I guess it's because they've been evolving for long time. My biggest take away would be them giving a day story to people (aka gamification) which also needs constant improvement.
Just the last six months or so I've seen educated people posting in my feeds about how fiber might just be included in foods that are beneficial, with fiber itself not being so.

Well, not that it matters for me since I have Crohn's and can't really eat fiber at all.
'Fork me on GitHub' SVG ribbons (10 years later)
That’s the job of doctors, not “authorities”. Does a Singapore also have databases of all MS patients on file? Or Huntington’s? Because those patients are far more desperate to learn about new treatments than HIV patients, who actually have rather good options today.
The bug you've linked to was closed[1] by the reporter with "Thanks for the clarification guys. Much appreciated!", after it was pointed out to them that something they were trying ho do with "KillUserProcesses=no" was better done in another way.

1. Edit: Not literally closed by the reporter. Lennart Poettering closed it, "closed by the reporter" as in "the issue was resolved to the reporter's satisfaction".
What possible motivation would anyone have for reporting a real bug of this nature like this? Other than, yeah, found a crazy bug.
I run Devuan on some boxes. Essentially Debian without systemd. No issues whatsoever. Completely problem free.
The problem is that regular sites that I plan to visit exactly once are just throwing up the banner.

I have seen the add to home screen banner dozens of times and clicked it never. It would quite obviously be better for me if the banner didnt exist.
Because runit openrc perp and s6 aren't a thing?
It shouldn't be that noticeable if scaling is turned on. Could be a pretty good strategy for laptops.
I'm not sure if they have a special process for emergency bug fixes, but for internal testing a new build is done about daily from source, yes. One of these ends up being polished a bit and sent out to users.
I'm not sure how "HIV+ positive people must be tracked" follows from "HIV+ people can make mistakes".

By that logic, everyone's movements and personal details should be tracked by the police/government/some third-party because there's a risk, someday, of someone sexually assaulting (or committing any other crime against) someone else.
An update on our work to prevent abuse ahead of the EU elections
How do you explain the cost of education in the modern world where the logistics of information are as cheap as never before? Any kid on the world could access material from the best teachers on the planet. So why keep this legacy system for education that is more and more based solely on prestige?

Sure, there is a chance for everybody. But why make it a chance that will certainly remain unfulfilled for a significant majority?
What?? This makes no sense.
> "I wonder if wasm is feasible to target in hardware. I mean, there were hardware Java bytecode implementations, and that's a lot higher level, so it's definitely possible - but is it worthwhile? Are there any idiosyncrasies in wasm that make it slower than x86 or ARM, that could be fixed if the underlying architecture was more accommodating?"

You're asking for unified, standardized, cross-vendor hardware + instruction sets.

Why not do this other way around though? "Compile" JS to WASM, then to x86/x64. Finally just execute on the bare metal.
>So an SQL UPDATE statement is purely declarative? "Update" sure looks like an operation to me

The Update statement tells "set this column to this value". It's totally a declaration of intent.

It doesn't specify anything about how the update is going to happen behind the scenes (open this file, use this tree structure, traverse, find the nth entry, write this value to the disk, and so on).

(Databases also support PL/SQL which is more imperative in nature, but here we're talking about SQL the query language).

>but that doesn't mean it's not an operation, or can't be viewed as one. High-level operations are still operations.

Operation in the context of declarative vs non declarative is not about high vs low, it is about whether the language has the user explicitly define control flow.

In the "group by" the user just tells to the DB that they want the results grouped, they don't specify any control flow, or tell how that grouping will happen.
Although I very much like the "don't break userland" approach, I agree with you. Especially in the light, that 1. You can start your background process the systemd way (shown elsewhere in this thread)
2. You can configure the desired behavior
3. Your distro probably already has configured it for you (Debian)

So it comes down to "something changed which is absolutely extremely important for me but I would rather discuss about it for hours then take the few seconds to configure it". Especially since the new behavior is intended behavior and also has upsides for a lot of use cases.

So don't be ungrateful. Be happy that some people are really putting a lot of work behind the software you use daily FOR FREE and just configure the darn thing the way you like.

And last but not least, most people here (me included) are not in the position to complain so much about free software, unless they show some commitment to open source themselves.
Generic 8266 dev board, there are also two specific ones, Olimex and Sparkfun Thing.

http://doc.riot-os.org/group__boards__esp8266.html
Pixel perfect is not possible in HTML/CSS. Stop spreading this.

But it is very possible to make websites look very good and inline with what was designed.

But good luck making an input, button and select the same height. It's just not going to be pixel perfect.

What is pixel perfect in your browser isn't in others.

But what designers should now is it doesn't matter as long as it looks good for everyone.
I wish you weren't right.
Strange question: say I want to buy this display for a hobbyist project, what's the best way to do this?
LOOQME
LOOQME is a service for PR managers which helps to monitor all brand mentions in media and get full PR campaign analytics. Using our service PR managers can design, optimize and control the goals of their communication strategies in a few clicks, measure campaigns efficiency, and get useful insights.

LOOQME system gathers needed data from media and codes it. Based on this it creates full analytics about the impact of every mention, competitor’s activity and market situation in real time.

LOOQME service provides media monitoring, alerts, analytics.

LOOQME helps PR professionals to save time and resources, improve KPIs, always stay informed and maintain a good reputation in media.
Lack of formal methods in the design phase. It would be trivial to express a rule that you cannot hear audio from the called person before they accept it with it.
> The automatic arrest of one of China's "royals" per our extradition treaty with the US was an extremely effective way of erasing our only major leverage on that negotiation.

That's not the only leverage, the other one is PM's extradition veto, which they seem to be so quiet about.

If I were the chairman, I would've jumped out of the bed to fly to Canada and propose a trade pact the very moment Trump threw a tantrum at Canada, and EU.

Sealing off US trade access to their two biggest trade allies, that's priceless. Xi's passive, paralysed by fear, stance from the start has doubled the damage China took.