HNHacker News
TopNewBestAskShowJobs

raquo

3,253 karma · joined March 15, 2008

submissionscomments
raquo··on Soviet-Era Industrial Design
I like that the pasta box indicates net weight at 13% humidity level. One can only wonder what led to this.

https://assets.atlasobscura.com/article_images/54191/image.j...

Does anyone happen to know the meaning of "пояс" (belt) in the pricing scheme on the same box?

raquo··on Why Entrepreneurs Start Companies Rather Than Join Them
Huh. So when baby boomers were young they enjoyed all the cumulative public benefits of high taxes in prior years, but were never subject to such high taxes themselves? No wonder they look back at those times with admiration.
raquo··on I Downloaded the Information That Facebook Has on Me
I used to always update my LinkedIn a few weeks before performance evaluation meetings. Was hoping the HR would notice and recognize retention risk. They were still surprised when I eventually quit, ha.
raquo··on Proposed NYC legislation would give employees right to ignore after-work email
For one, if you limit your definition of freedom to "freedom to do things" and disregard "freedom from things", you end up being pro-organized-power, which is essentially pro-business.
raquo··on We saved $50k/year with a Go microservice coded in a hackathon
Having a fairly small, well defined problem, working in a small self-selected team, with no outside interference and typically no clients outside the team. No managers, no PMs, no bug reports. This is not how day-to-day projects get done.

Regardless of all of that, in my experience a typical impressive hackathon project is still just a barely working demo that benefitted from a significant amount of research and planning beforehand, and will require an even greater amount of hardening and polish afterwards.

There is no magic, it's just a vastly different kind of work environment with both inputs and outputs incomparable to day-to-day work.

raquo··on Publishers Haven't Realized How Big a Deal GDPR Is
Personally, I use adblocker for both purposes, but if not for tracking, I would be disabling it on many more websites to support them.
raquo··on Don’t Fix Facebook, Replace It
You can't actually opt out of tagging anymore, you can only opt out of tags appearing on your timeline, but people can still see the photos and see that you are tagged in them.
raquo··on Russia Asked ISPs to Block 13.5M Amazon IP Addresses to Silence One App
They _are_ tired, in the same sense as inmates are tired of being in prison.
raquo··on Russia Asked ISPs to Block 13.5M Amazon IP Addresses to Silence One App
Yeah. Add to that the paperwork and limitations associated with being a 'currency resident' if you decide to step into Russia for even one day a year. Ugh. I meet my family in other countries now.

That said, what's this about exit visas? Is it being seriously discussed?

raquo··on Tesla issues its largest recall ever over faulty Model S steering
Ha. That actually happened to my dad decades ago (Russian cars lol)
raquo··on Tesla issues its largest recall ever over faulty Model S steering
Not really, a lot of other manufacturers had recalls for various parts and even frames in excessive salt conditions.

It's just that such challenging environments trigger the problems first.

raquo··on Ask HN: Which sites/platforms do you wish had an API?
I'm pretty sure APIs #1/2/3 do exist, although access costs thousands of dollars, making hobbyist usage impractical.
raquo··on EU GDPR – Another reason for SaaS to reconsider on-premise
For the same reason you typically don't optimize for the Chinese market even though it's also huge.

There is a significant cost to compliance, even if you do it right from the very beginning (assuming it's even possible for GDPR right now), and for a lot of startups it's not worth it to spend time on that because they'll most likely be dead for unrelated reasons before they get any significant amount of GDPR clients.

It makes more sense to spend the effort on not dying instead of chasing incremental gains in markets with complicated regulatory requirements, unless dealing with those is explicitly your business proposition.

raquo··on EU GDPR – Another reason for SaaS to reconsider on-premise
GDPR has its own, vague criteria for when it applies, and it's much more inclusive than the typical criteria for a nexus.

For example, things like the company actively seeking out clients in EU countries, or offering the service in EU countries' languages, make it more likely that EU will consider the company to be subject to GDPR even if it has no presence in the EU.

It seems to me that EU is overstepping their jurisdiction here, but I really don't know how international law works.

raquo··on Ask HN: How many hours do you sleep on average?
Just to counteract the crazy low amounts of sleep people are reporting here - I sleep at least 8 hours on weekdays, and 9 or more hours on weekends (up to 11 if I didn't sleep enough on weekdays). I can't do less than that and remain productive for more than a few days.
raquo··on “Pinterest needs to be removed from Google IMO”
Almost all the images on Pinterest are available elsewhere. If Pinterest results were not polluting Google images, the originals would surface easier.

---

I don't really see a problem with targeting the biggest worst abuser. Not everything has to be a one-shot solution to grand problems.

raquo··on “Pinterest needs to be removed from Google IMO”
Which is why they should have done it before Pinterest got so big in the first place.

And honestly I don't think any significant amount of people search Google images wanting Pinterest results. People want images, they don't care where they're from. AFAIK there is almost no OC on Pinterest anyway.

raquo··on Manafort Left an Incriminating Paper Trail Converting PDFs to Word
On a Mac I think printing to the built in PDF saver might work?
raquo··on Electron 2.0.0 beta
Have you seen a built in HTML date picker? It's horrible and is exactly the kind of built-in uncustomizeable frameworky misfeature that I don't want in HTML / CSS.

Tables are just unstyled boxes with an alignment rule. Not very high level.

Buttons are provided by the host OS, HTML and CSS have nothing to do with their default style or behaviour, and if you start styling them you basically revert to working from unstyled boxes.

raquo··on Electron 2.0.0 beta
Because it's a markup language, and a style definition language respectively, so HTML / CSS lack the high level features and components found in desktop UI frameworks such as Cocoa (standard buttons, lists, file explorers, image grids and such). Building a HTML / CSS UI is done from the ground up with basically nothing more than completely unstyled boxes, in contrast to composing higher level components.

On the web the role of desktop UI frameworks is distributed between third party frameworks such as Bootstrap which is great because those are optional.

I haven't worked with the windows frameworks you mention to compare directly to them.

raquo··on Electron 2.0.0 beta
Being relatively low level is a feature. HTML / CSS / JS are languages, not frameworks. One liner modals are not a feature a language should have.

If you want, you can make a framework on top of it that will behave like a desktop UI framework with standardized elements and behaviours. There are plenty of such frameworks actually. But not having to use such a framework is nice.

Besides, the current browser environment has been historically heavily optimized for websites, not desktop apps. If it became a popular choice for desktop app UI we'd have developed more appropriate features for that use case.

raquo··on Electron 2.0.0 beta
I really don't mind the HTML / CSS part with new developments such as CSS grid. If you're running it in a controlled environment (embedded browser), you could cut out a bunch of legacy crap, leaving a much leaner engine. Similar cleanup could be done on the DOM API, I guess.
raquo··on React Native and Yoga Both Given MIT Licence by Facebook
It's not at all different from loving music written by drug addicts whom you wouldn't want as friends. Software developers are people too.
raquo··on Why I don't use my real photo when messaging with customers on my website
One of my more depressing findings in life is that no matter how you slice and dice the population, you'll find an abundance of assholes in every slice.
raquo··on Ask HN: What should I do if I found my self a target for a hacker?
- Remove your most precious info from online accounts (e.g. everything in the real world, such as your physical address). Use PO boxes / mail forwarding / etc. for that

- Create a new, anonymous email account and use that for accounts that you care about to minimize the chance of successful social engineering attacks

- Depending on how serious this is and how much the hacker knows, consider warning your friends and maybe even colleagues about the situation

- Obviously don't have anything visible to friends-of-friends or to the public on facebook, remove your public photos especially those that can be photoshopped into a fake id, etc.

I'm not an expert in this, just some ideas.

raquo··on How do you break the cycle of needing experience to find a developer job?
Yep. That worked more than once for people I know.
raquo··on RFC: Ubuntu 18.04 LTS Minimal Images
As a non-native English speaker: this means nothing to me.
raquo··on An introduction to Reactive Programming
Which are exactly equivalent to a function call, just with a different type, and a syntax without parens.

"this will be re-evaluated every time you access it"

raquo··on An introduction to Reactive Programming
Call-by-name is just syntactic sugar for anonymous functions. It has all the same problems.

But more importantly, the whole premise is wrong. "Cache invalidation" for data that has an average lifespan of 30 lines of code in a single function is not a hard problem. Real cache invalidation is hard for reasons that don't translate to the case of ephemeral constants with properly limited scope.

raquo··on An introduction to Reactive Programming
This "assignment is caching is bad" analogy does not hold any water.

You get a result from a call to `foo(bar)`. You have to _do something_ with that result. One common thing you'd need to do is to call another function: _baz(foo(bar))_. But then you're just hiding the assignment inside a baz function call (the result of _foo(bar)_ will be available as a variable/constant inside of _baz_).

That doesn't so bad if you only need to do one thing with with the result of `foo(bar)`. Now what if you have to do something with that result twice. In this case all you've done is reduce the scope of a constant to be smaller than it needs to be, requiring you to make a duplicate `foo(bar)` call.

Now you're repeating yourself and you don't know anymore if you're conceptually dealing with the same result or if foo(bar) might produce a different result on second call. You removed philosophical/semantic meaning from your code and did not gain anything from it.

If you find yourself wanting/needing to "expire" variables that you define before you run out of scope, then the answer is a combination of:

1) use constants of immutable data structures, not variables or mutable structures 2) better name such constants so that you know what they represent 3) better manage scope and function size

In practice, the above is much easier to achieve than what you're proposing, and makes the code easier to read and maintain.

> The right way instead is to evaluate (or "re-evaluate") the function every time you need it unless you have a good reason not to (the only good reason is that the function is a bottleneck that affects the experience of the user)

That does not scale to using the coding paradigm that you're proposing application-wide. Your whole app will be one big bottleneck because it's doing a multiple of the computations that it needs to be doing, with no easy way out. I guess you can get away with that by throwing more money at your backend infra, but you can't do that on mobile or for web frontends or desktop apps.

← PreviousPage 6 of 31Next →