News for hackers. Stuff that matters.

paulftw

Re:D3 in Depth on Friday May 17, 2024 @07:06AM (#40388571)
Used d3 on two different react projects. Charts weren’t the main feature but quite big still. When the dust settled I got a feeling React+SVG had made d3 obsolete - there’s some value in d3 zoom and interaction code, but their intricate system of data sources and auto updating views felt out of time. Maybe it was cutting edge stuff during jquery years, but modern FE frameworks do it better nowadays. Without the need to learn yet another api.

Again, I’m not an expert on d3, just someone who spent ~12-18months maintaining couple visualizations (among other things)

Re:Affordable Wheel Based Refreshable Braille Display on Saturday March 16, 2024 @06:05AM (#39724596)
why couldn’t it be done on an off-the-shelf 28-byj-48 stepper?

The reason is probably explained somewhere in the article, I just can’t find where

Re:The golden era of being an open startup is gone on Friday February 03, 2023 @02:56PM (#34646909)
The golden era of being a startup is gone

FTFY What if general demise of startups (due to funding drought, covid, market saturation, bad timing aka world wasn’t ready for our idea, or leave your favorite excuse in comments) also impacted open startups? And what if they weren’t successful because open but because market was easier?

Re:Fornjot – The world needs another CAD program on Monday March 28, 2022 @05:26AM (#30828764)
I spent quite some time in FreeCAD, then switched to makerjs. For the last two covid years "code cad" designs for laser cutter have consumed most of my free time. I am also building my own online editor with focus on UX and live reloading [1].

Few key learnings I had about code vs visual (tldr it's complicated):

- It works great for flat laser cut assemblies, but once you start doing t-nut and finger joints you really need to see your pieces rotated and aligned in 3D. and that's a lot of extra code

- Writing a geometry library from scratch is really hard. I tried multiple newer JS libraries (that aren't ports of OpenCASCADE / CGAL) and all of them had numerous bugs in boolean operations, offsets, etc. There's just too many corner cases, compounding errors, APIs that haven't been thought thru and became a tech debt, etc.

- Maybe I'm looking in the wrong places or building a wrong thing, but there aren't that many users interested in "writing code for a 3d printer". Very few people dropping complex code cad projects on github. It feels like everyone who does is also building their own CAD platform ;)

[1] https://scriptcad.com , https://scriptcad.com/paulftw/OpenSCAD.Tutorial

Re:CadQuery Comes of Age on Tuesday February 08, 2022 @08:23AM (#30258052)
There are actually at least two styles that do exactly that. They are called OpenSCAD and JSCAD. The code above would be simple subtract(cube([h,w,t]), translate([h/2,w/2,t], cylinder({radius, height})))

I don't know why the article makes it sound like cadquery is superior in every way possible. Sure BREP is a lot more powerful than CSG, but with extra power comes extra learning curve. If all you ever design is 3d prints for reprap (and I'd guesstimate 95% of hackaday audience falls into that category) cadquery may be an overkill

I went through is process a couple of times.

Usually they ask you to fill an online form and attach any evidence. After that it always felt like a call center employee decided whether to start the refund or not. If you write something smart, well researched, polite, and long, chances are that poor person will just skim through it and click “accept”.

Then on the other side the company has 30-45 days to object via their bank.

With big companies they probably think it’s not worth their time.

With small companies the bank notices about a new dispute probably go to an inbox nobody monitors.

I simply quoted the original article
Yes, but don't forget that "Ambani family have close ties to the ruling government" and also Jio is "the only firm that won a pan-India 4G license, leveraging the superiority and cost-efficiency of 4G".

I'm super curious what technical reasons mandate that there can be only one 4G license in a country with 1.4 billion people. And how that affects competition in a country that has Corruption Perception Index equal to that of Morocco, Ghana, China or Benin.

edit: formatting

Re:Shirt Without Stripes on Monday April 20, 2020 @02:38PM (#22926896)
Are they also building AI cars that drive without accidents?
What if China says “we’re sending you a plane with the four individuals you are after. We insist on their innocence and want to see a fair and public trial”

Then DOJ would have to reveal their sources, wouldn’t they?

Re:Pad Thai was invented by the Thai government on Monday May 06, 2019 @05:50AM (#19838016)
Scmp website has way too much fancy JavaScript making my iphone lag and not resulting in a better reading experience
Good read, but AFAICT researches still don’t fully understand how birds fly, yet planes fly at higher altitudes and at faster speeds. Computer vision is probably not going to mimic human eye that closely
Re:‘AWS vs. K8s’ Is the New ‘Windows vs. Linux’ on Tuesday March 26, 2019 @06:41AM (#19490597)
So you also agree that there's no standoff between AWS and K8s, unlike an article titled "'AWS vs. K8s' Is the New 'Win vs Linux'" would suggest?

It also talks about building a personal data center quite a few times (at least that's how I read it).

K8s is likely to replace EC2, ECS, and all other unusable amazon bloat to become the default AWS API. But it's not going to damage AWS, it's going to enhance it and become part of it.

Re:‘AWS vs. K8s’ Is the New ‘Windows vs. Linux’ on Tuesday March 26, 2019 @06:05AM (#19490440)
Software Engineer's fallacy: if all you have is software/programming skills you start to look for an open source linux based solution to holding wooden boards in place, one that doesn't vendor lock you into the iron ore.

With Windows vs Linux the premise was you install absolutely free software on a computer you already own and you end up with a superior computing and programming environment.

With k8s - you switched to it, now what? You have to buy server hardware, rent or build a room, run wires for electricity and broadband, build cooling, physical security, etc etc etc. You will stop paying hourly rate to Amazon, but all the upfront and recurring costs will chew into that saving and you'll question whether it was worth the drill. Foremost, it will all take days and weeks, but with AWS it takes intolerable 20 minutes to spin up the k8s control plane (did I remember the term right?)

Even if you do all of that and blog about your great success, what's your plan for when it goes viral and visitors flow in to leave accolades on your visionary move?

With AWS, you could just spin up more servers to deal with extra traffic. With your own datacenter, you'd have to order new servers, perhaps from Amazon's same day delivery...

Re:The State of Caching in Go on Monday March 11, 2019 @08:09AM (#19358297)
thanks, will look into that.
Re:The State of Caching in Go on Monday March 11, 2019 @07:48AM (#19358205)
Do you mind sharing what browser/OS were you using? Clicking on the [x] shouldn't do that.

(i'm the person who implemented that widget)

Real Hacker News would’ve known to avoid PayPal :)

This story only made the front page because of the name confusion. Other comments claim that name choice to be intentional

Re:Ask HN: How do you manage UI/UX for your side projects? on Friday December 07, 2018 @05:02PM (#18632107)
Awesome list. One point I’d add that changed how I think about UI and UX is being aware when UI reflects internal code structure instead of just doing what a user would want to see.

The latter is harder, so engineers tend to avoid it, often subconsciously.

Re:Ask HN: How do you manage UI/UX for your side projects? on Friday December 07, 2018 @04:55PM (#18632054)
And also google “best google webfont pairings” pick one, apply it to your bootstrap site with only 10 lines of CSS and voila the page suddenly feels fresh and cool
Re:Ask HN: How do you manage UI/UX for your side projects? on Friday December 07, 2018 @04:52PM (#18632038)
IMO you need to start loving UI/UX to get anywhere. It’s actually interesting and with modern frameworks is not too hard for a decent programmer to pick up. Getting out of your comfort zone and learning new paradigms, solving new class of coding challenges etc will also make you a better backend engineer. Think of it as a good investment.

Second step - twitter bootstrap and admin templates for it are the little known secret of fast and cheap and good looking UI. Good templates are under $50, recently some nice ones started popping up on github under open source licenses.

One aspect that is hard for me and probably requires another half of the brain is making it “pretty” (or graphic design). Good news is there are tons of UI freebies, UI kits, free app templates shared on behance and dribble. Basically it’s pretty app designs created by people who don’t have skills to convert them into code. So they give that stuff away for free. Taking one of those goodies and using for your side project will make your project stand out without dropping a cent on professional designers. I always recommend freebies designs for MVP even when it’s more than a side project.

Did someone pull the strings at Economist to publish this editorial in order to respond/damage control the Guardian piece? (obviously it's just my speculation but coincidence is also only one of the plausible explanations)
Putting out two fires simultaneously means fewer resources are spent on each individual one.

I could even fantasize about a scenario where Intel: "if you launch an ARM laptop we'll raise our prices" Microsoft: "fine, we will switch to AMD"

Yes, but how many people really need better than netbook performance? Most knowledge workers only need email, excel and web browser. SaaS is eating desktop. Modern smartphone is capable of 3d games and even VR.

Dropping prices temporarily until a newcomer is strangled is something we've heard of in the past, but this time the competitor has a huge and growing mobile market, so the threat and lower prices are likely to stay around for a long time.

Any threats to Intel's (almost?) monopoly on laptops/desktops is a good thing.
Re:Online adverts 'exploit homeless for sex' on Thursday April 13, 2017 @02:27AM (#14104605)
Title says 'exploit homeless for sex' - starts with a negative label. Then it proposes filtering out the ads, changing the law to make it illegal, etc. I think it's pretty clear what the author's view is (or what kind of sentiment they thought would attract more ad impressions).
Re:Online adverts 'exploit homeless for sex' on Wednesday April 12, 2017 @08:40PM (#14103073)
I wonder what would Amnesty International say - they support decriminalization of sex work [1], this article seems to pull in the opposite direction.

[1] https://www.amnesty.org/en/qa-policy-to-protect-the-human-ri...

Part 2 of this investigation should be "whose job it was to check new principal's credentials and and how they profited from looking the other way"

Edit: was that person the only applicant? If not why did the process identify them as the most suitable candidate?

Re:Jawbone denies 'abandoning' customers on Tuesday March 07, 2017 @09:13AM (#13810411)
I bought the original jawbone for my partner. She loved it but 1-2 months later it stopped charging. Took it back to the Apple Store in Sydney and they replaced it with a new one.

A month later I had to go to the store again for the same reason. Apple Store staff said they were seeing a lot of returns like that.

Third band died just as quickly but we didn't bother. Downtime moved the product out of the "habit zone".

There was also a techcrunch article about their terrible quality [1]

With so many chronic issues I'm surprised this company is still in business. Haven't they been acquired by Fitbit or something?

[1] https://www.google.com.au/amp/s/techcrunch.com/2013/06/12/th...

Edit: that was non-wireless version, but I think it was called 2nd gen

Re:WeChat's App Revolution on Thursday January 19, 2017 @07:14AM (#13435155)
You are saying that the guy who cloned Facebook for Russian market (vk.com) is now building WeChat for Russia?
Re:Pebble's next step on Wednesday December 07, 2016 @10:50AM (#13123384)
They probably thought a big KS would convince investors to give them couple hundred million.

What they should have done is cut costs and develop 10x fewer features, let the community grow slowly but organically and wait out the bad times.

Older »